RSS2Post – WordPress Autoposter – create posts from RSS feed

I have to host this here because WordPress.org does not allow automatic poster plugins.

You can find it on as project https://github.com/kpgraham/Wordpress-RSS2POST at github.

Use this in conjunction with my Cloak-Links plugin.

=== Download: Rss2Post Plugin ===
Tags: rss, post, cron, ebay, youtube, scheduled, google
Stable tag: 0.9
Requires at least: 2.8
Tested up to: 3.0.1
Contributors: Keith Graham

Converts an RSS Feed into Posts automatically using a scheduled event. Uses feeds from blogs, Google Alerts, eBay partner network, or YouTube.

== Description ==

Reads an RSS feed from another blog, eBay, Google alerts, or YouTube, and converts the entries into posts. It does this as a scheduled task every hour.

Useful for creating a blog which summarizes other blogs, aggregates news, watches eBay auctions, or lists YouTube videos.

Tested under WordPress Multisite installations.

New Features include:
Option to add more feeds (up to 50).
Option to create excerpts of the content.
Option to change the frequency of updates (hourly, twice daily, or daily).
Ability to pause and restart scheduled events.

== Installation ==

1. Download the plugin.
2. Upload the plugin to your wp-content/plugins directory.
3. Activate the plugin.
4. Using the RSS2Post link under posts, enter RSS feeds and select a category from the drop down list. Scheduled event starts 30 seconds after pressing the submit button.

Please note that the scheduled events are only triggered on a visit to your site. If you have no visitors there will be no events triggered.

== Changelog ==

= 0.7 =
* initial release of working code. I need comments and recommendations for improvements. Please report any bugs.

= 0.8 =
* Fixed many bugs. Added new features. Tested with a greater variety of feeds.

= 0.9 =
* Working on html characters double encoding

== Support ==

This plugin is in active development. All feedback is welcome on My WordPress and other program development.

26 Comments

26 Responses to “RSS2Post – WordPress Autoposter – create posts from RSS feed”

  1. Ken S says:

    Hi, I haven’t tried this yet but thanks in advance! I have a question – when you say that “scheduled events are only triggered on a visit to your site. If you have no visitors there will be no events triggered”, does that mean that no new posts will post until there is a visit? If so, will all of the backlogged posts post at once? Sorry, I am not familiar with the scheduled events in WP. Are they time based? Thanks, Ken

  2. Keith says:

    They are time based, but don’t kick off until the website “wakes up” and that’s when a visitor views a page. It will kick off any unfinished events at that time, but the first one will fetch the RSS posts. All subsequent ones will get the same posts, but not insert them because they are already inserted.

    Keith

  3. Ken S says:

    So, effectively the posts will never be out of date, because when a visitor arrives any posts that have become available from the RSS feed since the previous visitor will be posted – is that correct?

    Also just a FYI – if a website address is entered in the Website field of this comment form, the comment does not get submitted and an error message like “no URL’s allowed…” appears. I had to try a couple of times, there are probably people trying to post comments but can’t figure it out… Thanks again for your help.

  4. Keith says:

    As long as someone views a page from time to time the site will never be out of date. If the website has no hits for a week or two, you may run into trouble.

    The no urls plugin helps keep the spammers out. I am using the stop registration spam plugin I wrote and that is doing a better job. I’ll disable my no url plugin.

    Keith

  5. Ken S says:

    Ok cool, have you heard of host-tracker.com? It is designed hit your website at periodic intervals, to make sure that your site is up and running. If not, it emails you an alert. The side benefit is that it “wakes up” your site if you have no traffic. I use it on DNN sites because the application would be slow to come out of its idle state when I had little traffic. I think it’s about 5 bucks a month for multiple sites. I will try it with this too, and let you know how it goes. Thanks, Ken

  6. Ken S says:

    Well, no luck – nothing is posting. I have tried other similar plugins with a similar result, and it seems to be a problem with permissions at my hosting company. Sounds like a common problem from what I see online. Do you know what that is off-hand? Maybe I can contact my hosting company, because I really want this to work for me.

    -Ken

  7. ztaylor says:

    Hey Keith
    I am just now trying the plugin to load some articles. Is there any way to just have it post a snippet of the article/text from the feed?

    Ken if you can’t get it right try using a web based cronjob.

  8. Keith says:

    on Line 355 change the content to excerpt and on line 351 change the size of the excerpt from 64 and 61 to whatever you like.

    line 355:
    ‘post_content’ => $content,
    to
    ‘post_content’ => $excerpt,

    and

    line 351:
    if (strlen($excerpt)>64) $excerpt=substr($excerpt,0,61).’…’;
    to
    if (strlen($excerpt)>100) $excerpt=substr($excerpt,0,97).’…’;

    (depending on the size of the excerpt that you need. Here I changed it to 100 or 97 with three dots.)

    You can edit the plugin from the plugins menu.

    Note: the line numbers might change if I work on the plugin, but the lines will still be around the same place.

    Keith

  9. Robby Suavé says:

    Would it be possible to make it so you can choose the WordPress author for each RSS feed?

  10. Cornell says:

    I like the RSS2Post plug-in.

    Curious, what other features are planned?

  11. Bill says:

    Really enjoying this plugin, thanks for your development! Quick question, I only have 1 rss feed that I want to publish into posts. I’m noticing that it schedules 2 duplicate posts. Each night I have to go in and delete one of them.

    I have set up this feed according to the instructions, and have even reset the options and still 2 duplicate posts are scheduled from the same RSS feed.

    Any idea of how this issue can be resolved?

  12. Keith says:

    There is bug somewhere in the code. I have a fix that I am testing. I will release it this week.

    Keith

  13. Bughunter says:

    Feature Request: would be good if we could assign LINK CATEGORIES to a rss feed!!!

    Also please put your code on a sane infrastructure like github, that would be much easier to follow (and fix bugs!)

  14. DNN says:

    Sounds like a neat and handy lil’ plug in. I just might download it. Thanks for the hookup! =)

  15. Anca says:

    Hello,
    This is not a comment but since i see no contact form hope you will accept this like a message.
    I use your plugin “Recent Google Searches Widget” but have a small issue. There is any way to stop recording and showing on sidebar searches like “porn” and similar?
    If you can help me with this i wait your answer.
    Thank you!

  16. Radioborne says:

    Nice plugin…
    Very useful…
    But I have a problem. I change my host (also the IP of the site). And now your plugin work only when I push “force post RSS” (no auto post).
    Thanks,
    Costi

  17. cg says:

    This is a very interesting plugin. I’ve used another plugin but after 1000+ RSS feeds it really dragged a server down. Have you ever tested this with that many feeds and if you are interested I might can run a test for you (I think I currently have at least 1500 RSS feeds.

  18. Keith says:

    That many feeds is crazy. I would run an MU site and spread the feeds over many sites. Some result but much more manageable.

    Keith

  19. Need two feaures:
    1) Check box for Save post as draft
    2) Control excerpt limit from this plugins option.

    If these two are implemented this would be the greated rss2post plugin.

    Thanks in advance.
    Rakibul Islam Rubel

  20. Thomas McGee says:

    Great plugin.

    Is there anyway to be able to render the permalink from which the original post is being pulled? Something like the except for that the link would be coming from the original post the rss plugin is pulling.

  21. Keith says:

    Please explain a little more. I’m not sure what you want.

    Keith

  22. Thomas McGee says:

    What I’m after is essentially this:

    Every time this RSS plugin has a new RSS feed post, my site creates a permalink which is built into my theme that looks something like this:

    http://mysite.com/my-standard-permalink

    Instead of this, I want to be able to tweak my wordpress theme to have the link point instead to the original page pulled from the rss. This would change the url mentioned above, to something like:

    http://rssfeedsite.com/their-original-permalink

    Instead of linking to the post on my site, I instead want it to link to the site that’s producing the RSS feed that’s being pulled. Let me know if I need to clarify further.

  23. Keith says:

    The plugin can’t do that. You have to rewrite the theme so that the theme displays the offsite link where the permalink would be.

    Keith

  24. Thomas McGee says:

    That makes sense. Is there any possible way for me to grab that url from the plugin or via a post query? If there’s a way I can capture it into a variable I should be able to replace the current permalink with the RSS url permalink no problem.

    Thanks for your help!

  25. Keith says:

    The external link is in the body of the post. You’d have to search for the link in the body, pull it out and put it up in the post title.

  26. yogesh says:

    i install plugin but post are not created please show the procedure

Leave a Reply