Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • eaus 9 posts 39 karma points
    Jun 08, 2015 @ 14:56
    eaus
    0

    RSS feed for Umbraco 4.0.3 - error line 68 column 99

    Hello!

    I am trying to follow the tutorial on this video:

    http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/more-xslt/setting-up-an-rss-feed

    .. 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 page contains the following errors:

    error on line 68 at column 99: Opening and ending tag mismatch: br line 0 and p

    Below is a rendering of the page up to the first error.

    This is all any of my pages will output. Any ideas?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2015 @ 15:03
    Dennis Aaen
    0

    Hi eaus,

    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,

    /Dennis

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Jun 08, 2015 @ 17:11
    Chriztian Steinmeier
    0

    Hi eaus,

    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.)

    /Chriztian

  • eaus 9 posts 39 karma points
    Jun 08, 2015 @ 18:10
    eaus
    0

    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" />
  • eaus 9 posts 39 karma points
    Jun 08, 2015 @ 19:35
    eaus
    0

    Shouldn't the generated RSS be a simple RSS file with some tags and values? Why is the whole Master-page rendered/needed anyway?

Please Sign in or register to post replies

Write your reply to:

Draft