• I’m currently using WordPress with a ComicPress theme. Therefore, My WP is mostly art based.

    What I’m looking to do with my RSS feed is this: I want people viewing my RSS feeds to view thumbnails of said artwork, not the full size art. When the thumbnails are clicked on, it will bring them to the entry page with the art on it. Is there a plug-in that will do this?

    Thanks in advance,
    Patricia Lupien
    http://www.swiftriver-comics.com

Viewing 1 replies (of 1 total)
  • there isn’t that i know of, but it might be quite simple to knock up something to pop in your theme’s functions.php. something like

    add_filter('the_excerpt_rss', 'rss_thumbnails');
    add_filter('the_content', 'rss_thumbnails');
    
    function ('rss_thumbnails',$output)
    {	if (is_feed()) $content = ereg_replace("(src=.*?)\.(gif|jpg)', '\1-thumbnail.\2', $output);
    	return $output;
    }

    where this replaces an image called filename.jpg (or .gif) with image filename-thumbnail.jpg in the content/excerpt of the RSS feed only.

    getting the name of WPs automatically generated images is a harder (not too much harder now i look at it) trick, but if you make your own thumbnails, this will do you.

    nb, not actually tested that code – the ereg_replace code may need fixing

Viewing 1 replies (of 1 total)

The topic ‘Looking for particular RSS plugin’ is closed to new replies.