RSS Feed help

2 posts by 2 authors in: Forums > CMS Builder
Last Post: October 27, 2009   (RSS)

By yallaf1 - October 26, 2009

Hi
My RSS feed (below) works fine.However I would like to show the entire article including images. How would this be done?
Thanx in advance

Current RSS code:

<?xml version="1.0" encoding="UTF-8"?>
<rss
version="2.0">
<channel>
<title>YallaF1 Top Formula 1 Stories</title>
<description>YallaF1 Top Formula 1 Stories</description>
<link>http://www.yallaf1.com/stories.php</link>
<language>en-us</language>
<lastBuildDate>Mon, 26 Oct 2009 23:22:46 +0400</lastBuildDate>
<pubDate>Mon, 26 Oct 2009 23:22:43 +0400</pubDate>
<generator>FeedForAll v2.0 (2.0.2.9) unlicensed version http://www.feedforall.com</generator>
<?php foreach ($top_storiesRecords as $record): ?>
<?php endforeach ?>
<?php?>

&lt;?php echo htmlspecialchars($record[&apos;title&apos;]) ?&gt;<item>
<title>&lt;?php
$text = $record[&apos;introduction&apos;];
if (strlen($text)&gt; 247):
$minCharsToRemove = strlen($text) - 247;
$text = preg_replace(&apos;/^(.*\S)\b.*?.{&apos;.$minCharsToRemove.&apos;}$/s&apos;, &apos;\\1&apos;, $text) . &quot;...&quot;;
endif;
echo htmlspecialchars($text);
?&gt;</title>
<description>http://www.yallaf1.com%3C?php%20echo%20$record%5B&apos;_link&apos;%5D%20?%3E</description>
<link isPermaLink="true">php echo $record[&apos;_link&apos;]</link>
<guid>&lt;?php echo date(&quot;r&quot;, strtotime($record[&apos;date&apos;])) ?&gt;</guid>
<pubDate>&lt;?php echo date&quot;r&quot;, strtotime($record['date'])) ?&gt;(</pubDate>
</item>
</channel>
</rss>