jwz (jwz) wrote in suggestions,

Generate correct embeds for Youtube videos in Atom/RSS

Generate correct embeds for Youtube videos in Atom/RSS

Short, concise description of the idea
Livejournal should generate correct HTML in RSS/Atom for LJ entries which contain Youtube videos.

Full description of the idea
When I make a Livejournal post with a Youtube video in it, the RSS and Atom feeds that LiveJournal generates for it are wrong.

Instead of including the original EMBED or OBJECT tag, LiveJournal is instead including the LJ-EMBED tag only.

The entire point of RSS feeds is to be able to present those items in feed readers and on other sites. And other sites, pretty much *by definition* do not understand the LJ-EMBED tag.

The fix is trivial. Livejournal should simply include the un-altered source of the post in the RSS feed, rather than the "sanitized" version. Include the version of the HTML that one sees when one does "edit".

Here is an example:

My post: http://jwz.livejournal.com/1122617.html

What I see when I "edit source" on that post:

What is included in the Atom and RSS feeds at http://jwz.livejournal.com/data/atom --

    <lj-embed id="298">

This is, quite simply, a bug. But "support" replied to my email with a brush-off telling me to make a "suggestion" that this bug be fixed, so here we are.

An ordered list of benefits
  • The RSS feed of my journal would be useful and correct.
An ordered list of problems/issues involved
  • I guess if you like it being broken, this would be a drawback.
Tags: embedding, syndication, § migrated
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded