Forum: Typo Atom feed is fragile?!?

Posted by Rick Denatale (rdenatale)
on 2009-03-26 17:48
(Received via mailing list)
I'm having lots of problems getting the atom feed for my blog to 
validate.
One issue was in my article about the text filter I had the following
snippet in the post

<typo:code>
<typo:tweetmeme>
</typo:code>

To show an example of how to use the new macro.  It looked fine when 
viewing
the page, but Safari and other browsers can't read the atom feed because
somehow the <typo:tweetmeme> is being put into the feed without any
escaping.

I tried ALL kinds to ways to fix this, like changing < to &lt; and > to 
&gt;
but the feed still had the bare tag.  I finally had to resort to 
replacing
the example with an IMAGE.

But as I try to work through other feed validation errors I run into 
things
like spurious </div> tags that I can't find in the page source.  Some of
these I've tracked down to errors in my articles (I have a tendency to 
user
xhtml.

Is anyone else seeing things like this.

For what it's worth I'm currently using the Typographic theme.

--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
Posted by Cyril Mougel (shingara)
on 2009-04-03 00:29
(Received via mailing list)
Rick DeNatale a écrit :
> To show an example of how to use the new macro.  It looked fine when 
>  Some of these I've tracked down to errors in my articles (I have a 
> tendency to user xhtml.
>
> Is anyone else seeing things like this.
>
> For what it's worth I'm currently using the Typographic theme.
This issue seem appear only with typo:code text-filter.

Our text filter don't change tag inside. If you don't close your tag,
the problem appear.

I fix it in next commit made soon as possible.

I create a bug in lighthouse about your issue
https://fdv.lighthouseapp.com/projects/11171-typo-...

--
Cyril Mougel
http://blog.shingara.fr
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.