Copied to clipboard

Flag this post as spam?

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


  • andi8u 10 posts 30 karma points
    Sep 08, 2011 @ 17:34
    andi8u
    0

    Error when i try to subscribe to Rss feeds

    I keep getting this error when the Xml has to be generated..

     error on line 25 at column 12: Opening and ending tag mismatch: link line 0 and head

    Any idea why?

    Thanks!




  • Allan Hawkey 232 posts 303 karma points
    Sep 12, 2011 @ 18:42
    Allan Hawkey
    0

    I got a similar issue - there was a problem with the way the templates are set up - in the uBlogsyBase template, you need to bring the content placeholder up on to line 1 - that sorted it for me.

    Hope this helps

  • andi8u 10 posts 30 karma points
    Sep 13, 2011 @ 10:09
    andi8u
    0

    I have this 

    <%@ Master Language="C#" MasterPageFile="~/masterpages/ConGuideMaster.master" AutoEventWireup="true" %><asp:Content ContentPlaceHolderID="MasterBodyContent" runat="server"><asp:ContentPlaceHolder ID="ContentPlaceHolderDefault" runat="server" /></asp:Content>
    <%--NOTE: FORMATTING MUST BE LEFT LIKE THIS TO ENABLE THE RSS DECLARATION TO APPEAR AT THE FIRST CHARACTER--%>

    on my uBlogsyBase the only difference is that I have a different masterpage for uBlogsyBase and different contentPlaceholder.

    My uBlogsyRSS is not modified at all, but still doesn't work..

  • Allan Hawkey 232 posts 303 karma points
    Sep 13, 2011 @ 13:32
    Allan Hawkey
    0

    Looks like we're working off different versions then - my fix worked on the new 2.0 beta.

    However, I would double check that your masterpage for uBlogsyBase does enable the RSS declaration in uBlogsyBase to appear at the first character.  Maybe take a look at the source code of the page which is trying to display - that should give you a clue.  But at a guess, your placeholder containing the RSS declaration is contained within the body of your page, rather than as the very first character on the page.

  • andi8u 10 posts 30 karma points
    Sep 14, 2011 @ 11:32
    andi8u
    0

    I've created some aditional base template and managed to get the placeholder with the declaration to be the first character on the page.

    Now the error is gone but i have a new one:

    error on line 1 at column 96: expected '>'

    I'm not sure where this commes from.

  • Allan Hawkey 232 posts 303 karma points
    Sep 14, 2011 @ 12:16
    Allan Hawkey
    0

    Sounds like you're missing a > in the template code, probably at the end of line 1 - easily done in the editor!

  • andi8u 10 posts 30 karma points
    Sep 14, 2011 @ 12:41
    andi8u
    0

    Solve it ! It was a problem in uBlogsyRss.cshtml i think i had an older version all i did was to update it to 1.35 version.

    Thanks Allan for the help ! 

  • SFarron 9 posts 31 karma points
    Jun 23, 2013 @ 19:30
    SFarron
    0

    For anyone still having this issue.  Just remove the comment block at the beginning of the template cshtml file.  For some reason, it's inserting the whitespace at the beginning of the XML, causing the parser to croak.

Please Sign in or register to post replies

Write your reply to:

Draft