You are here: Re: Post RSS feed w/o RSS-to-Javascript.com « HTML « IT news, forums, messages
Re: Post RSS feed w/o RSS-to-Javascript.com

Posted by Jim Higson on 08/05/06 10:53

Andy Dingley wrote:

>
> Jim Higson wrote:
>
>> Just curious, but why is this tricky to do?
>
> RSS isn't XML (for most of the non-RDF versions - read their spec!).
> There is no XML-valid RSS 2.0 as there's no way to define validity for
> it. Practical RSS is also very frequently not well-formed RSS -
> references to HTML entities being the usual culprits.
>
> If you try to load RSS through an XML parser, then unless you're just
> dealing with RSS 1.0 and Atom feeds, then you'll regularly find parsing
> errors. A practical real-world RSS aggregator has to cope with this,
> without failing.

Thanks for the heads-up. Interesting how bad the situation is. I'd have
imagined it was plain XML and pretty easy to parse as such.

--
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация