[pmwiki-users] RSS feed with text and images?
Derek Lerner
lernaway at gmail.com
Tue Oct 23 12:01:03 CDT 2007
Hello all,
I am attempting to set up a RSS feed using "WebFeeds" ( /Category/RSS?
action=rss ) that feeds pages marked with [[!(RSS)]] and have a few
questions/problems I am trying to work out.
My main goal is to create a feed that has a description as well as
associated images. This could be the full content of a page or an
edited down version of the content, whatever is easiest to accomplish
would be fine by me. An example of how I would like the feed to be
formatted can be viewed here ( http://www.creativereview.co.uk/
crblog/feed/ ). Basically a simple blog type of feed that I will be
running through FeedBurner once it's working correctly.
Right now I am only able to get page titles to show up as links in
the feed with no description or images.
------------------------------------------------------------------------
-----
this could be the issue causing descriptions to not work correctly?
{$description} is not displaying (:description text:)
where is this defined?
i think I am missing some code in "config.php" or is there a specific
page that this is defined in?
------------------------------------------------------------------------
-----
in "Category.RSS" I am currently using...
(:pagelist order=ctime link=Category.RSS group=-PmWiki,-Site
fmt=#teasers:)
------------------------------------------------------------------------
-----
in "config.php" for the feed I am currently using...
if ($action == 'rss') {
include_once("$FarmD/scripts/feeds.php");
}
$FeedFmt['rss']['item']['title'] = '{$Title}';
$FeedFmt['rss']['item']['description'] = '{$Description}';
------------------------------------------------------------------------
-----
Any help or suggestions would be greatly appreciated.
Kind regards,
Derek
More information about the pmwiki-users
mailing list