Hive Learning Networks - Add preview images to blog feeds on /buzz page

REOPENED
Assigned to

Status

REOPENED
4 years ago
4 years ago

People

(Reporter: mavis, Assigned: mavis)

Tracking

Details

(Whiteboard: [studio mofo])

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Add preview images to blog feeds section on http://hivelearningnetworks.org/buzz/

Have to wait till https://bugzilla.mozilla.org/show_bug.cgi?id=1023578 is complete before I can proceed.
(Assignee)

Comment 1

4 years ago
Hi Lainie,

Sorry for the wait!  This is finally live: http://hivelearningnetworks.org/buzz/  As this is a feed aggregator, the preview depends entirely on the source post.  I grabbed the first image and first paragraph of the source post and make them as post preview to show on our page.

I'm going to mark this bug as FIXED.  Feel free to reopen it if more tweaks are needed.   :)
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Comment 2

4 years ago
Looks great - can you let me know why the Pittsburgh and Gigabit posts don't start with the blue icon and link to their sites? They only have the date.
(Assignee)

Comment 3

4 years ago
You can think of this /buzz page as a simpilied version of http://planet.hivelearningnetworks.org/ - we are just consuming what that site provides.

The sources of the Pittsburgh and Gigabit posts aren't specified in http://planet.hivelearningnetworks.org/.  ie. no "The post ___ appeared first on __source__." line.  Since we will still be updating the Planet Hive Feeds Google Spreadsheet in the future it'll challenging to write rules to extract the source.

Options
1) Extract the top domain portion from the blog post URL. (e.g. Gigabit posts will have `https://blog.mozilla.org/` as its source)
2) Write special rules to parse the source.  But the rules will need to be adjusted every time the Google Spreadsheet is updated.
3) Keep it as is

Let me know which option you prefer :)
Flags: needinfo?(lainie)

Comment 4

4 years ago
I am seeing "Hive Pittsburgh" and "Gigabit Hive (CHA and KC)" listed on http://planet.hivelearningnetworks.org
Flags: needinfo?(lainie)
(Assignee)

Comment 5

4 years ago
Good catch. I think the source might be embedded somewhere in the content of the feed.  Will dig into it soon.
(Assignee)

Comment 6

4 years ago
Created attachment 8484571 [details]
blog-post-preview.png

Just realized we can just extract the source from the post title!  Since we are showing the source in blue, do you want me to remove that portion from the Title? eg. Title will be "PARTYING WITH PITTSBURGH MAKERS" instead of "HIVE PITTSBURGH: PARTYING WITH PITTSBURGH MAKERS"
Flags: needinfo?(lainie)
(Assignee)

Updated

4 years ago
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Updated

4 years ago
Flags: needinfo?(lainie)
You need to log in before you can comment on or make changes to this bug.