On 6/29/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 29, 2007 at 10:37:38PM +0200, Lars Lindner wrote:
> > For correctness LJ should provide Atom feeds which wrap everything in a
> >
> > <div lj:ns="http://livejournal.com/something";>
> >
> > Of course prefix "lj" and URL are fictional and should be replaced
> > with the real values I do not know. Alternatively as you suggest we
> > could have a filter adding it afterwards.
>
> Hmm, the header is:
>
> <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
>
> It's just when you go to parse the <description> that that namespace
> prefix is not applied; I presume the <description> is treated as a
> separate document.
>
> Is that at all useful?

Yes, it is. I've thought a while over it and I think it is a good idea
to treat global namespaces and add them to the extracted feed items
content.
What I'm missing at the moment is a LiveJournal example feed. I
searched a bit but could not find any RSS feeds on LiveJournal. It
seems like they per-default only advertise Atom feeds (which of course
is a good idea).

Maybe you could send me a copy of a feed? Or URLs of freely available
feeds with the problem?

Lars



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to