Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to follow the tutorial on this video:
.. for creating an rss feed on my Umbraco 4.0.3 site.
However, whereever I try to apply the RSS i get the following error:
This is all any of my pages will output. Any ideas?
Did you try to download the finish code example from here http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/more-xslt/setting-up-an-rss-feed bottom of the page, and see if this file works.
If it does then you try to use some compare tools to see the difference between your file and the file from the video. For the comparison you could use tools like WinMerge http://winmerge.org or DiffMerge https://sourcegear.com/diffmerge/
Hope this helps,
Judging by the errormessage, it looks like you've got an HTML <br> tag instead of an XML <br /> tag - an XSLT file is "just" an XML file in this regard, so it has to be valid (well-formed) XML. You can do a search for <br> and replace them with <br /> instead.
(The same holds true if you're generating any <img> tags - they need to be self-closing (<img />) as well.)
I did try the example provided (now) but I get exactly the same error message. I am not sure where to search for and -tags?
Ok so I headed for the Master-template for my current site and it seems to be the culprit. However, i am now facing a new error message and not sure how to go about it.
Error message is: "error on line 256 at column 16: XML declaration allowed only at the start of the document"
And this is the culprit:
<asp:ContentPlaceHolder Id="PageContentPlaceholder" runat="server" />
Shouldn't the generated RSS be a simple RSS file with some tags and values? Why is the whole Master-page rendered/needed anyway?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted