RSS Feed

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 14, 2012   (RSS)

Re: [design9] RSS Feed

By gkornbluth - February 11, 2012 - edited: February 11, 2012

Hi April,

Just a quick guess, but, based on a snippet from the recipe on RSS Feeds in my CMSB Cookbook http://www.thecmsbcookbook.com, I think you may be missing the ">" in the opening description tag and the closing </description> tag.

You can validate your RSS feed before you publish it at: http://www.validator.w3.org/feed/
You can find out more about the tags that are available for use in an RSS feed at: http://www.rss-specifications.com/
<description>
<![CDATA[

<p><u>Here is an image thumbnail</u> </p>

<?php foreach ($record['image'] as $upload): ?>
<img src="http://www.my_web_site.com<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo
$upload['thumbHeight'] ?>" alt="" />
<?php endforeach ?></p>

<p align="center"><strong><font color="#ba1419">My First Image</font></strong></p>
]]>
</description>


Hope that does it,

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] RSS Feed

I fixed the tag but the image still does not appear in RSS feed. Also, is it possible to include a summary and embed photo in description tag?

Re: [design9] RSS Feed

By Jason - February 14, 2012

Hi April,

There are specific tags to display an image in an RSS feed. Take a look at this:

http://www.w3schools.com/rss/rss_tag_image.asp

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/