I spent more than 2 hours in searching this board, but couldn't find the solution.
My feed is
http://www.labedzki-art.com/cpmfetch/rss_lastadded.phpOn IE7 it shows me all text like garbage, means no fomatting and just html etc.
It works fine in FF3.x but doesn't show any images in the feed.
When I take source of image path, it searches for albums dirs under cpmfetch.
Please help. I am using the latest version of cpmFetch and here is the code of rss_lastadded.php
<?php
//
// cfrssget example file that returns the last added images
// RELEASE VERSION: 2.0.0
//
$ENABLED = true;
if ($ENABLED) {
include "cfrssget.php";
// THESE SPECIFY THE INFORMATION USED IN YOUR FEED
$rssFeedTitle = "Labedzki-art.com";
$rssFeedDescription = "The last 25 photos added to Labedzki-art.com.";
$rssFeedSiteUrl = "http://www.xfistfullofcode.com";
$rssFeedProviderUrl = "http://www.labedzki-art.com/";
$rssFeedImageTitle = "Labedzki-art";
$rssFeedImageURL = 'http://www.xfistfullofcode.com/images/ffoc_logo.gif';
$rssFeedImageLink = "http://www.labedzki-art.com";
$rssFeedImageAlt = "logo";
$rssItemTitle = "%a :: %t";
$rssItemAlternateTitle = "%a :: %f";
$rssItemDescription = "%f from album %a<br/>Filesize %S kb<br/>%c<br/>Rated %V / 5 stars (%v votes total)";
$rssItemAlternateDescription = "%f from %a<br/>Filesize %S kb<br/>%a: %d<br/>Rated %V / 5 stars (%v votes total)";
$totalToShow = 5;
///// END OF USER SETTINGS /////////
$cfrss = new cfrss();
$cfrss->startFeed($rssFeedTitle, $rssFeedDescription, $rssFeedSiteUrl, $rssFeedProviderUrl);
$cfrss->setFeedImage($rssFeedImageTitle,$rssFeedImageURL,$rssFeedImageLink,$rssFeedImageAlt);
$cfrss->setItemTitle($rssItemTitle,$rssItemAlternateTitle);
$cfrss->setItemDescription($rssItemDescription,$rssItemAlternateDescription);
$cfrss->addLastAddedMedia($totalToShow);
$cfrss->endFeed();
}
?>
Another problem is, I want the feed url to end with .xml instead of php, how would I do that?
Thanks for your help.