WP-o-matic WordPress Plugin Does Not Fetch Results

If you are into autoblogging, feeds, rss, atom, aggregation, content, syndication, WordPress, plugins, then you have likely heard of the WP-o-matic plugin.

This handy plugin takes a feed (rss or atm format) that you provide the link for and posts the contents on your self hosted WordPress blog.

Here’s what you do to use WPomatic.

Download the wpomatic plugin

Visit the download page (or download the “fixed” version I provide … keep reading) at worpdress.org, extract the contents to your computer, then upload the plugin to your plugin directory on your web server.

Setup the plugin

Login to your WordPress blog, click on plugins, Activate WP-o-Matic, click on Settings->Wp-o-Matic and go through the 4 step setup.

The setup includes testing that your web server has all of the necessary components for using this plugin.  Setting up a cron job to run the script on a scheduled basis (or letting a page load of your blog kick off the script).  I don’t recommend using the page load option as it might slow down the page load for the person visiting your site.

Add campaign

Now you are ready to add your first campaign.  Click on Add Campaigns and you are presented with tabs that say “Basic”, “Feeds”, “Categories”, “Rewrite”,  and “Options”.

Basic

Select a title related to the subject of interest.  This will also auto insert the same information into the campaign slug text box.  Leave the Active? option checked.

Feeds

You will need to provide the url of an rss or atom feed.

As an example, go to Google’s blog search and type in a keyword phrase.  Once results are returned, you will want to get the address of the feed associated with that keyword phrase.

You can use either the Atom or the RSS feed address.

wpomatic

wpomatic

You can find either of those two links on the left side – copy either link.

RSS link should look something like this:

http://blogsearch.google.com/blogsearch_feeds?hl=en&q=iphone&ie=utf-8&num=10&output=rss

The Atom feed looks like this:

http://blogsearch.google.com/blogsearch_feeds?hl=en&q=iphone&ie=utf-8&num=10&output=atom

Take one of the two feed addresses and paste into one of the four the Feed URL text box under Add Campaign.  You could also add more feeds and WP-o-Matic will “blend” the results when it posts to your blog.

Categories

I recommend using the Quick Add option to create a category with the exact same name as the keyword phrase you titled this campaign with.

Rewrite

Skip unless you want to get fancy.

Options

Change the default frequency to fit your needs.  I typically change the Max items to create on each fetch to something less than 10.  Check the box for Post title links to source to give credit to the original source.  For discussion options, I typically choose Closed and uncheck the Allow pings option (just my preference).

Now Submit.

Done

That’s is how you setup your first wpomatic campaign.

Once you clicked on the submit button, you were given the message that said Campaign added successfully.  Edit it or fetch it now.

Click on the fetch it now link.

What happened?

Unfortunately, you probably received a message that said Campaign processed. 0 posts fetched.

So what gives, you would expect up to 3 posts to be made, but zero?

There is a piece of  code missing.

If  you are willing to mess around with some php code, then dig into the wpopmatic.php file and include the htmlspecialchars_decode command.

If you would rather skip the editing, at the end of this post is a download to the fixed version.

wp o matic
wp o matic

If you are interested in more details, the following video shows what was described previously.

[6:30] – the problem – wp-o-matic does not properly format the url.

[8:30] – the solution – edit line 1011 in the wpomatic.php file and add htmlspecialchars_decode to the line that formats the url.Or, save yourself the explanation and download wpomatic with the fix.

Here’s where you can download wpomatic plugin with the fix.

optimizepress

{ 8 comments }

pinusnegra

function fetchFeed($url, $stupidly_fast = false, $max = 0)
{
$url = htmlspecialchars_decode($url);

This is a better solution.

bloggernewbie

How do I setup the cronjob for a windows xp machine? wp-o-matic is not working on my computer, I think the only problem is the configuration of my cron job. I’ve tried running the webcron-ready url and it says that it is running the cron job. The problem is I cannot Add Campaign, whenever I click the Submit button, nothing happens, no campaign where added. I am trying this to run on localhost first since I am a completely newbie on blogging and wanted to try these things first before I will setup my autoblog. I’ve searched different forums and google but no luck on finding the right answer. I really need help from experts like you guys. Thanks in advance.

edwin

wow it works for me. The wp-o-matic I downloaded from wordpress was not working properly. What I did was I uninstall my previous wp-o-matic then install wp-o-matic with fix. I add new campaign then fetch…yahoo….

thank you very much.

from philippines manila too.

sir bloggie contact me maybe i can help you.

Surfer Boy

The problem I”m having is that wp-o-matic is not fetching automatically. I can hit ‘fetch’ and it works fine, but I have it set to fetch every 3 days and nothing is being fetched automatically every 3 days as I have it set to do.

Johnny

Hey Dave,
Is WP-O-Matic no longer available?

admin

Johnny,

It’s looking that way when I try to visit the download page at http://wordpress.org/extend/plugins/wp-o-matic/. Even when I visit the author’s page http://devthought.com/wp-o-matic-the-wordpress-rss-agreggator/

I still have a copy available at the end of this post.

Dave

Johnny

Thanks Dave!

Juri

Hi guys, i replaced my WP-o-Matic files, but it still has “Campaign processed. 0 posts fetched.” ;(

Comments on this entry are closed.

Previous post:

Next post: