You are not logged in.
The Atom feed double encode entities, but seemingly randomly. Happens with various TXP sites: take mines, I see it with the Reid (photodude) feed, with the ubernostrum (Shtuff) feed – random selection. I saw it before on the ParticleTree site, but they’ve now switched to MT.
My RSS feed fares better, except with code blocks (wrapped in
< pre>< code>). What it does with the latest article on my site is definively not expected, esp. at the end (my RSS feed).
The problem happens independently of using Textile vs MarkDown, and happens on an absolutely clean, non-hacked TXP 4.01 on localhost.
I checked all those feeds in various feedreaders (NetNewsWire, NewsFire, Sage on Firefox).
Diagnostics at [EMPS]: flying colours, @rev 900.
Apache/1.3.29, PHP 4.3.11, MySql 4.0.25-max-log
> zem wrote:
… it’s intermittent, as you say.
One pattern I see on my tests on localhost, and in my live atom feed: it is always the first entity that occurs in a block level tag. hth.
I don’t know about Reid either, his comments use Textile. But would that matter ? Anyway, I’ve been able to reproduce the problem with Textile on a Textpattern 4.01 on localhost. Maybe more random occurences, but still.
> zem wrote:
> Found it
It was difficult to reproduce because it only showed up when an entity was followed by an ‘=’ character.
Uh, Zem. You know what ? It works !
(tested from localhost server with Markdown).
Thank you. :-)
Unfortunately, my feeds are still having problems after upgrading to r921. It used to only be Atom, but now RSS is having trouble, too. From <a href=“http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.penumbrae.com%2F%3Fatom%3D1”>feedvalidator.org</a>:
This feed does not validate.
Feeds should not be served with the “text/html; charset=UTF-8” media type [help]
line 1, column 0: Undefined root element: br [help]
line 2, column 0: XML parsing error: <unknown>:2:0: junk after document element [help]
<b>Parse error</b>: parse error, unexpected T_SL in <b>/users/home/elenita/ …
<b>Parse error</b>: parse error, unexpected T_SL in <b>/users/home/elenita/public_html/textpattern/publish/atom.php</b> on line <b>187</b><br />
I get the same results when <a href=“http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.penumbrae.com%2Fatom%2F”>checking www.penumbrae.com/atom/</a>, <a href=“http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.penumbrae.com%2Frss%2F”>penumbrae.com/rss/</a>, and <a href=“http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.penumbrae.com%2F%3Frss%3D1”>penumbrae.com/?atom=1</a>.
Last edited by Elenita (2005-09-20 15:00:20)
Your atom.php file has a conflict, probably because you’d made some local edits. You need to edit it manually
nb: this is one of the reasons why it’s better to use svn export than directly uploading your working copy to your server. Export will refuse to work if there’s a conflict.