Closed Bug 909304 Opened 11 years ago Closed 11 years ago

Display event title first in og:title tag on event details pages

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: williamr, Assigned: hardfire)

Details

(Whiteboard: [kb=1099921] [mentor=giorgos@mozilla.com][lang=html][good first bug])

As an enhancement to the og tags we added in bug 904608, I suggest we slightly adjust the value of the og:title tag to focus more on the event title. I think this will lead to more people 'liking' and sharing events since the event name will be shown first.

Suggested change: Show the title before the 'Mozilla Reps' string

Current behavior:
og:title has the value "Mozilla Reps - New test event"

New behavior:
og:title has the value "New test event - Mozilla Reps"
Whiteboard: [mentor=giorgos@mozilla.com][lang=html]
Whiteboard: [mentor=giorgos@mozilla.com][lang=html] → [mentor=giorgos@mozilla.com][lang=html][good first bug]
Is this bug and https://bugzilla.mozilla.org/show_bug.cgi?id=909295 open to work on ? are they confirmed ? I have Reps portal cloned and setup, I can take this on.
Hi Avinash, yes these are open for business. I'm assigning them to you! 

Ping me on IRC if you need anything. 

Thanks!
Assignee: nobody → avinash
Status: NEW → ASSIGNED
Whiteboard: [mentor=giorgos@mozilla.com][lang=html][good first bug] → [kb=1099921] [mentor=giorgos@mozilla.com][lang=html][good first bug]
Avinash reports that after a hiccup, Facebook reads the event as

"Event name"

and changed it to read

"Event name - Mozilla Reps"
Commit pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/0aabafb15f927355c2ba48202e52a06ea6165f3a
[fix bug 909304] Display event title first in og:title tag on event details pages.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Version: unspecified → 413
When I share an event in facebook (e.g https://reps.allizom.org/e/test-event-ben-3/) it populates a correct title, according to the commit, with the ReMo logo and the event description.

Are there any other verification steps?
Thanks!
Flags: needinfo?(avinash)
That should be enough to test. Correct title and correct description.
Flags: needinfo?(avinash)
Status: RESOLVED → VERIFIED
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.