Syndicate

You can now syndicate my weblog, but the RSS feed gets uppity whenever special characters come into it. Don’t know why.

Comments

  1. Bam says:

    What do you mean uppity? If you mean that the IE XML parser flags an error, you should know that XML is very strict about syntax and entities.

    What characters are causing the breaks? A bunch of HTML entities can dork things up, as XML only allows amp, lt, gt, apos, and quot by default. Non-XHTML compliant markup can also do it, since the parser doesn’t like unterminated or improperly nested tags.

    If you’re in control of your RSS feed generation you can place tags around any areas that may contain offending characters. That tells the parser not to interpret what’s in between.

    By the way, you may want to consider prefixing slashes to your inlined URLs — clicking on them from the quoted part of your comments screen references them from /mt/cgi/

    Contact me if you need more detail.

  2. Bam says:

    Grr. I forgot CDATA tags would get dorked up.

    Let’s try that again:

    If you can control your RSS feed generation, you can put the following tags around your content like so:

    <![CDATA[ The text in between is not processed by the XML parser ]]&;gt

    and it won’t complain. Was it the “n” in Paranaque triggering things?

    Also, re the inlined URLs, I just mean the internal-to-brownpau links.

  3. Bam says:

    Crap. Messed up the semicolon. Ah well, you know what I mean.

  4. Paulo says:

    Hi there Bam! Nice hearing from you! Yeah, I found it was just the “–” in “Para–aque” that was causing the mess. It parsed fine once I removed it.

    Man, I have a looot of stuff to study. XML and PHP are still way beyond me, but they call to me… Oh, how they call… ;)