I broke my RSS feed. Options
ferret
Posted: Tuesday, January 22, 2008 11:54:22 AM

Rank: Enthusiast

Joined: 1/10/2008
Posts: 25
Location: Nottingham, UK
Got a site up and running with the Creative Website Package and the RSS worked fine when it was installed. I'm not sure what I have done to it, but it's broken now in Firefox. Internet Explorer gives an error, but Safari shows it ok...

In FF I get an unstyled page with the RSS feed title etc on the first line. The second line is an end to end list of the RSS feed items. Anyone else have this issue? I have been through the XSLT and templates comparing them to a fresh install that works, and can't see any differences!

I do get this error when trying to save the RSSFeed.xslt file, but I also get that on the working version...

System.Xml.Xsl.XslException: " is and invalid value for the 'order' attribute.

thanks in advance,

Nick

Nottingham web design and green hosting - FCS Websites
Umbraco documentation wiki - Come and join in!
warren
Posted: Tuesday, January 22, 2008 5:51:31 PM

Rank: Addict

Joined: 7/19/2006
Posts: 820
Location: Benfleet, Essex, UK
Hello Nick.
The save error in the XSLT editor is fine. Just check the box and skip the error it is to do with that I am passing the sort by and sort order values from the document type node via the macro attributes and gets slightly confused by this but works perfectly fine.

In regards to your RSS feed view the source of the output XML and check that it is well formed, but finally check that the page is not cached.

Let me know how you get on resolving this.
Warren

Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
ferret
Posted: Wednesday, January 23, 2008 3:20:37 PM

Rank: Enthusiast

Joined: 1/10/2008
Posts: 25
Location: Nottingham, UK
Hi,

My RSS feed problem is now fixed. The problem was a blank line at the start of the outputted XML. After rummaging around in all my templates and the RSSFeed.xslt file for blank lines, I noticed that all my site pages also had a blank line at the start. A Google marathon resulted in me finding an old post about Umbraco at:

http://article.gmane.org/gmane.comp.windows.devel.dotnet.umbraco/4708

Niels' answer solved my problem, it was down to a line break in the default.aspx file :D

All sorted now, and the site will be launching shortly!

regards,

Nick



Nottingham web design and green hosting - FCS Websites
Umbraco documentation wiki - Come and join in!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.