Opened 10 years ago

Last modified 8 years ago

#1042 new enhancement

Embed Open Graph data into relevant pages

Reported by: Matt Molyneaux Owned by:
Priority: trivial Milestone:
Component: programming Keywords: small
Cc: icewater Parent Tickets:

Description

The Open Graph Protocol is used by a number of websites (such as Diaspora) to fetch thumbnails, descriptions, previews, etc. of media linked to in posts and comments.

I think this only requires a template change - all needed data should be in context at render time.

Change History (9)

comment:1 by Matt Molyneaux, 10 years ago

Summary: Embed Open Graph data into relavant pagesEmbed Open Graph data into relevant pages

comment:2 by Christopher Allan Webber, 10 years ago

Could someone help clarify something for me? This says "We've based the initial version of the protocol on RDFa". Does this mean this really is RDFa, or that it's some fork of that standard? It looks like this is a specific namespace and vocabulary, right? (I wonder why not reuse some existing vocabularies... hm. But still, good if it's RDFa based...)

I'm interested in increasing RDFa support in our pages.

comment:3 by Matt Molyneaux, 10 years ago

Yes, it does seem to be a bit NIH, and it only has three users/consumers (Diaspora, Facebook, and Bing) as far as I can see.

Bing also supports RDFa, see here

comment:4 by icewater, 10 years ago

mediagoblin and diaspora* users have in common the desire to host/control their own information - seems like a natural fit. Is there any reason not to add support for Open Graph?

comment:5 by Matt Molyneaux, 10 years ago

  1. No one seems to be using it other than those mentioned in comment 3
  2. It looks a bit like Facebook took RDFa and turned it into their own thing
  3. Diaspora also supports oEmbed, which might work better for this use-case

However, don't take this as a decision. There is much to discuss!

(also, patches welcome ☺)

comment:6 by Christopher Allan Webber, 10 years ago

http://rdfa.info/ mentions Open Graph Protocol, so presumably it is RDFa, just using a specific vocabulary.

comment:7 by icewater, 10 years ago

patches

I'm not familiar with mediagoblin, or git, or open graph / oembed for that matter, but I have some pyramid/pylons/svn experience.

oEmbed

I don't think this would currently work. diaspora* whitelists oEmbed only for specific sites (youtube, vimeo, soundcloud, mixcloud and dailymotion) due to security concerns. It supports link previews for any web page that provides the necessary meta tags.

Version 0, edited 10 years ago by icewater (next)

comment:8 by Christopher Allan Webber, 10 years ago

Cc: icewater added

I'm not familiar with mediagoblin, or git, or open graph / oembed for that matter, but I have some pyramid/pylons/svn experience.

That's more than enough to get started! See the HackingHowto to get a development instance up and running, and git workflow for tips on contributing code.

I don't think this would currently work. diaspora* whitelists oEmbed only for specific sites (youtube, vimeo, soundcloud, mixcloud and dailymotion) due to security concerns. It supports link previews for any web page that provides the necessary Open Graph meta tags.

Okay, interesting. I guess I find it curious how oEmbed is a decentralized in theory, centralized in practice system ;)

comment:9 by Ben Sturmfels, 8 years ago

Keywords: small added; bitesize removed
Note: See TracTickets for help on using tickets.