CGFeedMaker 1.0.4
I was able to tie in my news module with CGFeedMaker with no problems, but 've been unsuccessful in my attempts to create RSS feeds through the comments module.
On CGFeedMaker's help page it states:
Does anyone know if the comment module meets this criteria? My most recent failed Comment Module RSS Feed Template is below:This module provides the ability to build and manage RSS Feeds consisting of data from any CMS Made Simple module that supports a summary view
Code: Select all
{* original rss feed template *}
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
{* note: if you have not configured pretty urls or mod rewrite, the next line may fail when trying to validate the feed *}
<atom:link href="{$feed_url}" rel="self" type="application/rss+xml" />
<title>{$feed.title}</title>
{if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
{if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
{if isset($generator)}<generator>{$generator}</generator>{/if}
{if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
{if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
{if isset($feed.image) && !empty($feed.image)}
<image>
{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
{if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
<title>{$feed.title}</title>
<url>{$file_location}/{$feed.image}</url>
</image>
{/if}
{comments assign='junk'}
{foreach from=$items item='entry'}
<item>
<title>{$entry->comment_author} | {$entry->comment_title}</title>
{capture assign='description'}{$entry->comment_data}{/capture}
<description>{$description|summarize:200}</description>
<pubDate>{$entry->date}</pubDate>
</item>
{/foreach}
</channel>
</rss>
Added notify functionality (EMail and RSS) for a comment author by new comments.
Thank you in advance for your assistance.