You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'topics' bar at the bottom of fronts pages is made up of two parts.
The 5 most popular (non-section) keyword tags in the stories contained on that front (this is implemented in Trending topics bar #7101)
Sometimes there is also an All today's stories link at the beginning of the list (highlighted below).
Status quo for "All today's stories"
Generally speaking, for a tag or section page the allPath link should link to the non-editionalised front which displays all stories in that tag or section, e.g. All today's stories on the uk/lifeandstyle front will link to lifeandstyle/all.
The allPage URL is not defined in the CAPI or facia-press models, so Frontend uses a heuristic to find the relevant path.
Current heuristic for generating an 'allPath'
Roughly: if the page id matches the section id of at least one tag belonging to a curated story in that page, then remove the edition (if any) from the page id and add '/all' to the end of it.
e.g. uk/lifeandstyle -> lifeandstyle/all
This won't always yield a path. If it doesn't, then Frontend tries to find a path ending in '/all' in one of the treats on the front. (This is how the allPath for the /uk front gets determined.)
Issues/Questions
Is the allPath functionality in Frontend currently working as intended? (the /uk front's All today's stories link goes to tone/letters/all -- drawn from a treat on the front -- which is unlikely to be what users would expect).
More generally, what is the intended functionality for this link?
Worth noting that there don't appear to be tests for this functionality, and we haven't been able to find documentation of the original intention yet.
Navigation/discovery is a good aim, but from preliminary exploration it looks like these links get very little traffic (e.g. ~20 clicks per day on the UK front).
SEO has been mentioned a few times; do we know how to clarify its role in SEO?
UX may be looking into this in the near future, although no specific work is planned.
Do we need to migrate this over to DCR as part of the 1% test? If we're unsure, how can we find out the information needed to make a decision?
The 'topics' bar at the bottom of fronts pages is made up of two parts.
All today's storieslink at the beginning of the list (highlighted below).Status quo for "All today's stories"
Generally speaking, for a tag or section page the
allPathlink should link to the non-editionalised front which displays all stories in that tag or section, e.g.All today's storieson theuk/lifeandstylefront will link tolifeandstyle/all.The
allPageURL is not defined in the CAPI or facia-press models, so Frontend uses a heuristic to find the relevant path.Current heuristic for generating an 'allPath'
Roughly: if the page id matches the section id of at least one tag belonging to a curated story in that page, then remove the edition (if any) from the page id and add '/all' to the end of it.
This won't always yield a path. If it doesn't, then Frontend tries to find a path ending in '/all' in one of the treats on the front. (This is how the
allPathfor the/ukfront gets determined.)Issues/Questions
allPathfunctionality in Frontend currently working as intended? (the/ukfront'sAll today's storieslink goes totone/letters/all-- drawn from a treat on the front -- which is unlikely to be what users would expect).