Support » Plugin: All in One SEO Pack » All In One SEO Post Description Appear to Include Illegat CDATA characteres

  • Resolved mymjf

    (@mymjf)


    Hello,

    I’ve been debugging my RSS feed that won’t work with Zapier. I’ve been using the NU HTML Checker (https://validator.w3.org/nu) and WWW Feed Validation service (https://validator.w3.org/feed/check.cgi). The NU HTML Checker indicates that under the <item> for each post there is a <description><![CDATA[  ….. listing the description I put into the post SEO Description area provided by All In One SEO. I’ve found information from the W3Schools site (http://w3schools.sinsixx.com/xml/xml_cdata.asp.htm) that indicates the ampsand charactor & is an illegal character for XML format.

    >>>>The term CDATA is used about text data that should not be parsed by the XML parser. Characters like “<” and “&” are illegal in XML elements.
    “<” will generate an error because the parser interprets it as the start of a new element.

    “&” will generate an error because the parser interprets it as the start of an character entity.

    Not sure what to do and can’t seem to remove the CDATA character. Please advise. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpsmort

    (@wpsmort)

    @mymjf I am not able to reproduce this on a site here. The w3.org validator does not find any problems with the use of the & symbol in my RSS sitemap. Can you please provide the URL for your RSS sitemap so we can check it.

    Hello. I re-wrote the description in the SEO description field and the ampersand went away. I migrated my site from squarespace to wordpress recently and squarespace does some unusual formating using a lot of <p class=”” style=”white-space: pre-wrap;”> on everything. I’ve been slowly removing it where required. Most of the time it doesn’t matter. I’m wondering if re-writing the description affected whatever I was seeing in the W3 check or cleaned up any formatting from squarespace. This is not my background but I still have some errors I don’t understand. You can check the feed here> https://designedbliss.com/feed. I still have a namespace issue that NU checker sees and I still can’t get Zapier to read the feed. I contacted Zapier but they said it wasn’t their issue. Thanks Martha.

    Plugin Author wpsmort

    (@wpsmort)

    Sounds like the issue could be with the Squarespace formatting.

    As for the namespace issue, there shouldn’t need to be one as this is RSS and a namespace is optional with RSS feeds. The namespace is only needed if you want to extend the XML to include elements not specified in RSS 2.0. NU checker doesn’t realize this is RSS and just thinks it’s XML and therefore needs a namespace which is wrong.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘All In One SEO Post Description Appear to Include Illegat CDATA characteres’ is closed to new replies.