I'm using the Blog.RecentChanges page as a trail for an rss feed. My blog posts are named 2012-09-02-PageNameHere.<br><br>My config.php contains this:<br><br>##  The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf,<br>
##  and ?action=dc, for generation of syndication feeds in various formats.<br>if ($action == 'rss')  include_once("scripts/feeds.php");  # RSS 2.0<br># if ($action == 'atom') include_once("scripts/feeds.php");  # Atom 1.0<br>
# if ($action == 'dc')   include_once("scripts/feeds.php");  # Dublin Core<br># if ($action == 'rdf')  include_once("scripts/feeds.php");  # RSS 1.0<br><br>## Specify default feed options<br>
if ($action == 'rss')<br>     SDVA($_REQUEST, array(<br>       'group' => 'Blog',<br>       'name' => '????-??-??-*',<br>       'order' => '-time'));<br><br>
## Function to include the body text in the rss feed<br>function MarkupExcerpt($pagename) {<br>      $page = RetrieveAuthPage($pagename, 'read', false);<br>      return substr(@$page['text'], 0, 200);<br>    }<br>
<br>## Add items to the feed<br>$FeedFmt['rss']['feed']['rights'] = 'All Rights Reserved';<br>$FeedFmt['rss']['item']['title'] = '{$Title}';<br>$FmtPV['$MarkupExcerpt'] = 'MarkupExcerpt($pn)';<br>
$FeedFmt['rss']['item']['description'] = '$MarkupExcerpt';<br><br>Each blog page starts with:<br>(:toc-float:)<br>(:title Blog Layout Update :)<br>(:Summary: Blog layout update :)<br>I've redesigned the blog layout to be easier to navigate. I've also added archives so older blog entries will always be available.<br>
<br>The feed is working great except that it's also pulling in the top of each page (:toc-float:) (:title Blog Layout Update :) (:Summary: Blog layout update :), due to the MarkupExcerpt function,  and I don't want those in my rss feed.<br>
<br>What do I need to do in order to have the rss feed not include things like (:toc-float:) (:title Blog Layout Update :) (:Summary: Blog layout update :) in the rss feed? I'm assuming I need to edit the Markup Excerpt function in some way.<br>
-- <br>Regards,<div>Ian MacGregor</div><br>