TIGblogs TIG | TIGblogs GROUP TIGBLOGS LOGIN SIGNUP
toddfraser.ca - tigBlog edition
toddfraser.ca - tigBlog edition
« previous 10


RSS feed fixed

Ever since I created my RSS feed, I wondered why my links never showed up as links in any feed reader. The reader would always show the full html href. I finally figured it out.

My ColdFusion script that generates the feed was doing a standard character replacement to make the feed xml compliant. However the order in which I did this replacement was causing the problem. The greater-than and less-than characters were being replaced with '&.g.t.' and '&.l.t.' and THEN it would check for the '&' character (and replace it with '&.a.m.p.'). So it found all the instances in my greater-than and less-than replacements and messed them up. I can't help but laugh at such a stupid problem.

EDIT: Periods were inserted into the replaced characters because they were showing up as the actual characters!

November 18, 2004 | 10:35 PM Comments  0 comments

Tags:


« previous 10


Todd Fraser's Profile

Todd Fraser's Friends


Monthly Archive
September 2004
October 2004
November 2004
March 2005
April 2005
July 2005
February 2006
March 2006
April 2006
May 2006
July 2006
August 2006
October 2006
January 2007
February 2007
April 2007
October 2007

Change Language


Tags Archive
automobiles hardware opinion personal software uncategorized updates

Friends
bizaa
cicchino
Emily Briggs
Emily Kornblut
Francisco Pereira
Franziska Seel
ghazaleh
Hugh Switzer
Jarra McGrath
Jennifer Corriero
Jo Anne
Kimia
Kirsten
Luke Walker
Madelaine Hamilton
Mehrdad Nadimi
Michael Furdyk
Nick Yeo
Paul De La Merced
Robert M
ryann
Susheela
Trevor Kellogg
Willis
Xingtao
Yasmary Mora

Links
Strong Bad
toddfraser designs


32094 views
Important Disclaimer