Autoblog add image as thumbnail

Hi

I am using the autoblog plugin to bring in some newsfeeds from a couple of sites, but I am using the daily theme and the posts dont have images attahed.

Is there a way to add a standard image for every post created in a category, I dont mind it being the same image just so the front page doesnt like so bear?

Regards

  • Aphrodite
    • The Reaper

    adding a +1

    Is it possible to have the "featured image" in the rss post ?

    In fact I dont know.

    But what I would need is to import posts from all over the network, that have featured images, so that the feed also take the image to disply it on front home page

    I use themes setting up automatically thumbs and featured images tha function just would be... greatissima !

    Found this http://wordpress.org/extend/plugins/wp-rss-images/ that should associate images to thread, but as mentioned it is not update for WP 3 :slight_frown:(((((

    Also found this for custom fields : http://justintadlock.com/archives/2008/01/27/custom-fields-for-feeds-wordpress-plugin

    And this one : http://wordpress.org/extend/plugins/rss-feed-add-images-to-your-posts/

  • Mason
    • DEV MAN’s Sidekick

    Hiya Ugosta,

    First off, welcome to WPMU DEV!

    The autoblog plugin should pull in anything from the RSS feed including images. If it's not in the RSS feed, it obviously can't pull it, but otherwise I believe the image is pulled as well.

    If you need further troubleshooting with this, provide a sample feed and we'll assist further.

    Thanks!

  • Scott
    • Flash Drive

    I've been through this many many times and the best solution I've found is a plugin called "Get The Image" (http://justintadlock.com/archives/2008/05/27/get-the-image-wordpress-plugin)

    It does take a little bit of modifying what ever theme you are using. But it does the trick quite well. It uses method's similar to phpthumb and timthumb. But the advantage with get the image is that it is much smarter about it. Most other plugin's that do similar things rely upon the image having been uploaded into the Wordpress Media Library via the post. Which simply does not work when using something like Auto Blog, FeedWordPress or WP o matic because the other plugin's are dumb and ONLY look in the WP Media library.

    They all "say" it takes the first image in the post, but what they really mean is it takes the first image attached to the post via the post's media library.

    However, Get the image will actually look at the html source for the first image, second image or what ever you specify. It'll cache the meta data if you have/use some sort of object caching. So unlike phpthumb or timthumb. It doesn't require a run through php to figure out the path to the image.

    There's much other cool stuff about it, but check the site for all that. The only time it will require phpthumb or timthumb is if you need your images resized on the fly.

    In my particular case, the RSS feed's I use are custom made and all the images are already pre sized to the correct width and height needed for my themes. So I don't need any php/timThumb what so ever.

    Surprisingly, the majority of developers out there don't get how useful get the image is and why. They all seem to go the easy route if/when they build in these image generating features. I can't tell you how many times I've tried explaining this to the developer of the Arras Theme. That theme in particular uses it's own custom image script to add extra functionality and more thumbsizes for the theme's needs. But for the most part, most themes do no do this and get the image is pretty easy to integrate into your site's themes.

    so yea, I highly recommend it

  • hoppare
    • New Recruit

    Add this lines

    $enclosure = $item->get_enclosure();
    	update_post_meta( $post_ID , 'Image', $enclosure->get_link() );

    to autoblogprocess.php after this line:

    update_post_meta( $post_ID , 'original_imported_time', time() );

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.