Copied to clipboard

Flag this post as spam?

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


  • Paul 1 post 21 karma points
    Mar 22, 2013 @ 04:21
    Paul
    0

    RSS Feed Error

    I installed a clean version of umbraco 6.0.3, as well as uBlogsy.  Aside from publishing / making the default render engine MVC, I didn't do anything at all.

    When I clicked on the RSS "Subscribe" link on the blog page, I got an error telling me that the "<?xml . . ." tag needed to be on the first line (it was on the 2nd).

    After some tinkering (and I have almost no idea what I'm doing), I got it to work by changing this:

    (Line 43): @Html.Raw("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");

    to this:

    (Line 43): Response.Write(@Html.Raw("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"));

    in the uBlogsy RSS view.

    Has anyone else had this problem?  And if so, is there a better way to accomplish getting rid of the first line?

    Thanks

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 10, 2013 @ 01:35
    Anthony Dang
    0

    Sorry for the late reply. I've been ultra busy. 

    Has anyone else had this problem? 

     

  • Steve Brown 125 posts 290 karma points
    Apr 12, 2013 @ 19:34
    Steve Brown
    0

    I'm having this problem as well, running umbraco 6.03 and uBlogsy 3.0.  I fixed it a different way, by removing this comment at the top of the ublogsy rss template file:

    @*
        RSS layout.
    *@

    it seemed to be putting a blank line in the top of the generated RSS, causing the error

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies