Problems with custom RSS feed (XML component)

Options

Is anyone else having trouble with a custom RSS feed built with the XML component, not the regular RSS feed?  I am trying to embed into a page a custom XML that worked until our last update.  Now, when I embed as a component and try to save the page, I get this popup error:



Parameter text: "<DIV style="DISPLAY: inline" id=templatelist-133383352 class=templateComponent></DIV>" is not valid XML: Open quote is exprected for attribute "id" associated with an element type "DIV".

I have identified part of the problem. For whatever reason, insert component no longer includes the necessary " " around attributes. If I edit the code and add " ", I can now save the file. Example:



<DIV class="templateComponent" id="templatelist-135230750" style="DISPLAY: inline"/>



However, the feed can't be displayed in IE8. If you do view source, the data is there but it doesn't display. I put the URL into http://feedvalidator.org and it identified the problem



line 2, column 0: Undefined root element: div

<div id="templatelist-135230750" style="DISPLAY: inline">



Anyone have a clue about what I'm doing wrong?

Alison

Tagged:

Comments

  • Alison,

    Try this instead:



    <t:include id="templatelist-135230750" />
  • Noah Cooper:

    Alison,

    Try this instead:



    <t:include id="templatelist-135230750" />

    That did it!  Thank you, thank you! I should have posted to the community instead of trying to go through support.

    Unfortunately, the only way to get the component ID is to use the insert component feature and it's adding all the extra code.  Would be great if it didn't require hand editing every time.  But the important thing is that it works.

Categories