Hi,
I need to add a little piece of html to one feed (http://www.deimeke.net/dirk/blog/rss.ph ... enichsachs).
How can I achieve this?
Cheers
Dirk
Need to add a piece of html to a feed ...
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Need to add a piece of html to a feed ...
I don't think HTML is allowed in an XML feed. What do you need to add?
=Don=
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Need to add a piece of html to a feed ...
A comment containing an authorization code.Don Chambers wrote:I don't think HTML is allowed in an XML feed. What do you need to add?
Cheers
Dirk
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Need to add a piece of html to a feed ...
You will see smarty templates in the default template folder:
feed_0.91.tpl (rss 0.91), feed_1.0.tpl (rss 1.0), etc. You can copy these files to your template folder and modify the copies.
I think your feed will be invalid if you add html to it. Will your validation code work if the html is escaped ie, < becomes <?
Not quite sure how to detect the specific tag. Perhaps Garvin has an answer for that.
feed_0.91.tpl (rss 0.91), feed_1.0.tpl (rss 1.0), etc. You can copy these files to your template folder and modify the copies.
I think your feed will be invalid if you add html to it. Will your validation code work if the html is escaped ie, < becomes <?
Not quite sure how to detect the specific tag. Perhaps Garvin has an answer for that.
=Don=