Closed
Bug 1083256
Opened 11 years ago
Closed 11 years ago
mozilla.org homepage should display 5 articles for each TOS category
Categories
(Websites :: The Open Standard, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbertsch, Unassigned)
References
Details
Attachments
(1 file)
Placeholder. Ben will add details.
Comment 1•11 years ago
|
||
= TL;DR =
The Open Standard should do nothing, moz.org should remove logic for removing duplicates.
= The Discussion =
There was an editorial decision made to cross-post. This means articles can live in multiple categories. If article "Foo" lives in Live and Opinion... the feeds for both Live and Opinion should include this article. The feeds should reflect what you see on the site.
If the mozilla.org homepage is supposed to show the latest 5 articles in each category, then essentially our work is done. The only change is that the moz.org should remove whatever checking it is doing to remove duplicates. The latest 5 articles on the moz.hp would then exactly match what you see on the blog.. duplicates and all.
If the purpose of the mozilla.org hp is not to display the latest 5 articles but something more curated..then we have to do something different. In this scenario I could see a custom RSS feed from TOS that includes the last published 5 articles in each category based solely on what their "primary category" is.
This would be custom work solely for the purpose of the mozilla hp.
Flags: needinfo?(jbertsch)
Reporter | ||
Comment 2•11 years ago
|
||
I'm good with the solution proposed in #1 as a solid first step.
Later we can see if TOS is in fact a significant source of TOS traffic and whether or not we should do additional work to remove the dupes.
Josh - Thoughts?
Flags: needinfo?(jbertsch) → needinfo?(jmize)
Comment 3•11 years ago
|
||
Yes, I'll update the DB schema, parsing, and display logic to reflect the many-to-many relationship between articles and categories.
Flags: needinfo?(jmize)
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock
https://github.com/mozilla/bedrock/commit/5e81aced8f7c30bed78ed101ea1ac271d7e78f6a
Store mult categories per article: fix bug 1083256
Add Article.on_homepage field and associated cron task to avoid
race condition that could cause broken images if cache miss during
update_openstandard_feed cron job before images rsynced
Change Article.link to URLField and add db_index
Implement delete_old_articles and separate cron job
https://github.com/mozilla/bedrock/commit/ca2efd55905c5bfe9d6be0afcfcb2db611f30d97
Merge pull request #2381 from jgmize/openstandard-articles-multiple-categories
Store mult categories per article: fix bug 1083256
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•