 |

twheeler
User
Dec 15, 2005, 12:24 PM
Post #1 of 3
(1710 views)
Shortcut
|
|
RSS XML Template Mods?
|
Can't Post
|
|
I have the RSS feed up, running and validated for our site. But all I have in the feed are the article titles and links to the article pages. I would like to also include summaries for each article. How do I do that? I modified the XML file to include a <summary> tag. I guess if this whole hack is based on taking a search query and formatting it with XML then the summary should somehow be pulled in with the query. I really didn't get how to do that from the examples given. So, help! Please
|
|
|  |
 |

Cliff
Staff

Dec 16, 2005, 12:26 PM
Post #2 of 3
(1693 views)
Shortcut
|
|
Re: [twheeler] RSS XML Template Mods?
[In reply to]
|
Can't Post
|
|
Hi twheeler, Thanks for posting. You can include the article summary in a <description> tag if you want to. Here is what the code for something like that:
<description>$art_summary$</description> One thing to keep in mind is that you will not be able to have any HTML in your summary fields, as this will not validate properly. So things like images and formatting will need to be excluded. If you need a reference for the RSS 2.0 specifications, check out this site: http://www.feedvalidator.org/docs/rss2.html I hope that helps Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 |

twheeler
User
Dec 16, 2005, 2:14 PM
Post #3 of 3
(1686 views)
Shortcut
|
|
Re: [Cliff] RSS XML Template Mods?
[In reply to]
|
Can't Post
|
|
I have it working as best as it can under the circumstances - thanks for the help. I probably won't be able to use or publicize the feed for our site without a lot of additional work, but at least now I can do it for client sites. Our summary fields aren't always used for summaries, and there were enough other strange workarounds used at the setup stage that, as I put it to my boss, we'd have our underwear showing with a feed.
|
|
|  |
|