We need to pull in some blog feeds to display on the Technology landing page being built in Bug 1295248. A rough visual mockup can be seen at the bottom of the page here: https://drive.google.com/a/mozilla.com/file/d/0Bw8GuIJD9hBMSWl3Nl9ObVJUUnM/view (Note: ignore the comments count underneath each item, this is not required.) Blogs to feature: https://hacks.mozilla.org/ https://connected.mozilla.org/ https://blog.mozilla.org/futurereleases/ Display 4 most recent blog posts total Sort order by date Headline is blog post title Subhead is blog name Display 25 first words of blog post, ending with ...
Working branch is here: https://github.com/mozilla/bedrock/tree/bug-1295248-technology-landing-page Template mock for the blog feed is here: https://github.com/mozilla/bedrock/blob/bug-1295248-technology-landing-page/bedrock/mozorg/templates/mozorg/technology/index.html#L210-L235 Paul, feel free to pick this up when ready. Any questions just ask, thanks!
How often should this update? Is updating on deployment okay (assuming we deploy at least once per work day)?
(In reply to Paul [:pmac] McLanahan from comment #2) > How often should this update? Is updating on deployment okay (assuming we > deploy at least once per work day)? Sounds reasonable to me.
(In reply to Alex Gibson [:agibson] from comment #3) > (In reply to Paul [:pmac] McLanahan from comment #2) > > How often should this update? Is updating on deployment okay (assuming we > > deploy at least once per work day)? > > Sounds reasonable to me. How much more complex is it to have it update once every 24 hours automatically?
(In reply to Jennifer Bertsch [:jbertsch] from comment #4) > How much more complex is it to have it update once every 24 hours > automatically? I was thinking of trying to do this w/o involving the database. I've since realized that what is desired is a mix of posts from the various blog feeds, so the easiest thing will be to use the DB after all. So we'll be able to update automatically as often as we like. I'll start that at every 24 hours.
Commit pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/8d95971190fa32470032e392fc2694242acd7fac Fix bug 1303794: Add blog feeds for about/technology page * Add command for updating blog feeds * Add settings for first set of blogs * Add model for caching blog articles
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Commit pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/e7a9db117d1d5126e57cf0a15f8bfd5d281d5914 Improve code and tests for blog feed fetching/parsing (#4389) Refs Bug 1303794
You need to log in before you can comment on or make changes to this bug.