From: Andrew T. <ajt...@hi...> - 2005-12-13 18:54:22
|
Not sure, this is historical (was there in FoF). More than likely to handle feeds that aren't properly encoded. How to detect if something is already encoded, or just hope it is? Andy On 12/13/05, Kevin <ke...@dr...> wrote: > > > This article just showed up as new in a feed I have. I've seen this > > happen often with articles where the title is not generated correctly. > > > > Here is the title: > > WireTap: Tookie’s Final Hour > > > > Here is the link to the article. > > http://www.alternet.org/wiretap/29508/ > > > > This also happens frequently with pronounciation symbols in a title. > > Annoying indeed. > > Question for other devs: What is the reason the titles and url's are > passed through htmlspecialchars()? > > In this case, the source feed already has the html entities set correctly= . > > <item> > <title>WireTap: Tookie’s Final Hour</title> > ... > </item> > > -- > Kevin > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&opclick > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |