Open Graph Protocol for Airtime
  • Vote Up0Vote Down Jakub GórnickiJakub Górnicki
    Posts: 134Member, Administrator, Sourcefabric Team
    For those who are not familiar - OGP its a standard of content sharing in social media which received huge push by Facebook two weeks ago when they merged Like/Share buttons into one forcing everyone who wish to have new Like button properly configure to implement OGP.
    Full description is here - http://ogp.me/

    As for Airtime, there's an interesting part about adding meta parameters to audio:

    og:audio:title - e.g. "Amazing Soft Rock Ballad"
    og:audio:artist - e.g. "Amazing Band"
    og:audio:album - e.g. "Amazing Album"
    og:audio:type - e.g. "application/mp3"
    For example:
    <html xmlns:og="http://ogp.me/ns#">
    <head>
    ...
    [REQUIRED TAGS]
    <meta property="og:audio" content="http://example.com/amazing.mp3" />
    <meta property="og:audio:title" content="Amazing Song" />
    <meta property="og:audio:artist" content="Amazing Band" />
    <meta property="og:audio:album" content="Amazing Album" />
    <meta property="og:audio:type" content="application/mp3" />
    ...
    </head>
    I see couple of possible ways to adapt:
    a) on radio website, we have "now playing plugin", and one can click Like which will grab the proper parameters and send it to FB e.g. Jakub likes "Two Step" by Dave Matthews Band on Radio Prague + nice image and link back to

    b) it also could be added to static playlists later on (every item in playlist has its own like)