Project

General

Profile

Actions

Feature #5645

closed

[Workbench] Social media optimize anonymous collections/projects/pipelines

Added by Nancy Ouyang over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Story points:
0.5

Description

everyone wants to share their cool datasets on social media, right? :)

This is how Google+ generates those previews:

https://developers.google.com/+/web/snippet/

And for Facebook, we want some 'open graph' meta tags:

https://developers.facebook.com/docs/sharing/best-practices#tags

Looks like Google+ supports open graph too.


Files

SEO-arvados-facebook.png (39.5 KB) SEO-arvados-facebook.png Nancy Ouyang, 04/02/2015 06:25 PM

Subtasks 1 (0 open1 closed)

Task #6001: Review branch: 5645-open-graph-meta-tagsResolvedRadhika Chippada05/12/2015Actions

Related issues 1 (0 open1 closed)

Precedes (1 day) Arvados - Bug #6174: [Workbench] Propagate old search engine meta tags in sync with Open Graph dataClosedActions
Actions #1

Updated by Ward Vandewege over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Ward Vandewege over 9 years ago

  • Target version set to Bug Triage
Actions #3

Updated by Ward Vandewege over 9 years ago

  • Subject changed from Social media optimize anonymous collections/projects/pipelines to [Workbench] Social media optimize anonymous collections/projects/pipelines
Actions #4

Updated by Brett Smith over 9 years ago

  • Category set to Workbench
  • Target version changed from Bug Triage to Arvados Future Sprints
Actions #5

Updated by Ward Vandewege over 9 years ago

  • Target version changed from Arvados Future Sprints to 2015-05-20 sprint
Actions #6

Updated by Tom Clegg over 9 years ago

  • Story points set to 0.5
Actions #7

Updated by Radhika Chippada over 9 years ago

  • Assigned To set to Radhika Chippada
Actions #8

Updated by Radhika Chippada over 9 years ago

Discussed this with Ward this morning and we agreed that:

  • Add open graph meta tags to our pages
  • Add these tags for all objects (since the search engine won't be able to access private data anyways)
Actions #9

Updated by Radhika Chippada over 9 years ago

Implementation notes:

  • Also, manually verified by looking at the loaded page html
  • All existing automated tests passed
Actions #10

Updated by Radhika Chippada over 9 years ago

  • Status changed from New to In Progress
Actions #11

Updated by Brett Smith over 9 years ago

1be4d28 is good to merge. I just see a couple of small opportunities to smooth things over for future readers:

  • Expounding the comment about Open Graph with a sentence or two about what it is and why we include it us might be useful for people who don't recognize the name. (I'm not sure I would've known without being able to refer to the background materials you provided in this ticket. Those were very helpful, so thanks.)
  • Why do the conditions rescue exceptions raised by @object.respond_to?. respond_to? is a method that Ruby defines for all objects, so it really should never raise an exception, and I don't see any other places in the Workbench code where we rescue it. These conditions might be easier to follow without those.

But go ahead and merge whether or not you make changes. Thanks.

Actions #12

Updated by Radhika Chippada over 9 years ago

Thanks for reviewing Brett.

  • I expanded the comment to include the feature number and the url, which should greatly help with code maintenance.
  • I removed the "rescue nil" from respond_to? usage.
Actions #13

Updated by Radhika Chippada over 9 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:01574a902d99cba21ed53e62cef6bef683bed2a2.

Actions #14

Updated by Nancy Ouyang over 9 years ago

From the sprint review a week ago: we could also consider adding either user-upload(able) "thumbnail" images to the collection/project, or perhaps try to generate one automatically (e.g. the curoverse logo, or some permutation of text on top of the logo with the title or size of the collection or something along those lines) or by default if the user does not select or upload an image.

Actions

Also available in: Atom PDF