We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2317
    • 3 Posts
    Hi there.

    I’m new to the wonderful world of MODx, and I’m looking forward very much to contributing to the ongoing development of the project in whatever way I can!

    I have found a little bug though... I’ve just done a new install of MODx, and set up my site title to be ’Astetix Design & Print’. When I click on the ’Blog Entries (RSS)’ link in the footer I get the following error:

    XML Parsing Error: not well-formed
    Location: http://astetix.hazoom.com/pagefeed.html
    Line Number 5, Column 25:
    <title>Astetix Design & Print | RSS Feeds</title>
    ---------------------^


    I’m guessing that the ampersand I’ve used in the site title has screwed up the RSS output module. I don’t know enough about the RSS format to know why this would be a problem, but it obviously is...

    Is there a fix/workaround for this? I’m guessing that there aren’t that many people using ampersands in their titles, but it is the registered name of my business so I’d like to do it right!

    Thanks in advance!

    Paul
      • 13577
      • 302 Posts
      First read my disclaimer below.

      Have you tried replacing the "&" with "&amp;"?
        Standard Disclaimer
        I could be totally wrong.
        • 3763
        • 155 Posts
        What snippet are you using for the RSS feeds?

        Have you tried Ditto?

        Boby
          ...my Photo Gallery on Flickr...
          • 10487 MODX Staff
          • 1,535 Posts
          Hi Astetix, you also need change the page with the feed so that it uses the blank template.
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com
            • 2317
            • 3 Posts
            @jaredc: changing it to &amp; stops that error, but generates this one instead

            XML Parsing Error: xml declaration not at start of external entity
            Location: http://astetix.hazoom.com/pagefeed.html
            Line Number 83, Column 282: <a href="javascript:;" onclick="javascript: QE_OpenEditor(11, ’content’, 1);" onmouseover="javascript: QE_HighlightContent(this);" onmouseout="javascript: QE_UnhighlightContent(this);" title="Edit Document content" class="QE_Link" style="display:none;">&laquo; Edit content</a><?xml version="1.0" encoding="ISO-8859-1"?>
            ---------------------------------------------------------------------------------------------------------------------------------------------^ (arrow pointing to red character in above source)


            @Boby: using whatever the default is in the ’Default Template’.

            @garryn: can’t figure this one out... Would you mind detailing how I go about doing this?


            Cheers for the lighting fast replies guys! Just stopped using MicroCMS for a client site, and they took six weeks to respond to my only post on their forum!!

            Paul
              • 10487 MODX Staff
              • 1,535 Posts
              Astetix, the errors are being caused because the XML RSS information is being inserted into a HTML template and that isn’t good.

              Edit your RSS page in the MODx Manager, and select ’Blank Template’ from the template dropdown box. Save your changes and that should sort out the errors.
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 2317
                • 3 Posts
                Quote from: garryn at Sep 01, 2006, 09:56 AM

                Astetix, the errors are being caused because the XML RSS information is being inserted into a HTML template and that isn’t good.

                Edit your RSS page in the MODx Manager, and select ’Blank Template’ from the template dropdown box. Save your changes and that should sort out the errors.


                Yup, you were right... smiley

                Thanks for the input everybody! I’ve already started work on a couple of new templates... Watch this space! laugh

                Paul