Facebook is shutting down its RSS import feature on 22 November 2011. This plugin will still work, but you will no longer be able to use Facebook as your import service. For alternative import services, try: Twitter Feed, RSS Graffiti (I have no experience with either of these.)
Feed Facebook, Leave Facebook is a plugin for WordPress to generate a separate partial feed for use on Facebook. Use it to direct Facebook visitors to your blog while leaving your main full-text feed intact.
If you’re a (reluctant) Facebook user and you’re unhappy with the way it handles your feed, use this plugin to generate a special excerpts only version for Facebook. It will also add a link to your blog post beneath the excerpt in case visitors miss the ‘View original post’ link Facebook provides.
Download — Latest Version
Installation (for WordPress 2.8+)
The easiest way to install the plugin is to install with plugin installer (enter your WordPress address).
If you want to do it manually:
- Upload the feed-facebook-leave-facebook directory to the /wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
Once activated, access your feed with the querystring feedfacebook appended to the end. This is usually
http://[your blog address]?feed=rss2&feedfacebook — if you use pretty permalinks, it could also look like this: http://[your blog address]/feed/?feedfacebook
You can register the new feed URL with Facebook on its Import a Blog page.
To customise the message, add it to the querystring:
?feedfacebook=Read the rest at my site
If you want to explain to your readers why you’re asking them to leave Facebook to read your post, you can add that with the following:
?feedfacebook&why=URL of explanation
This will appear as a link with the text ‘(why?)’. To change the wording:
?feedfacebook&why=URL of explanation&whytext=Facebook is evil!
Examples of Feed Output
- Leave a comment or email: keyvan (at) keyvan.net
If you find this piece of code useful, please consider donating. I’m a student working on these projects in my spare time. This site carries no advertising and I release most of the code I work on under a free software license. I don’t receive any payment for this work so I have to rely on donations if I want to put off becoming a wage slave. Your contribution (whatever the amount) would be greatly appreciated.
If you run a commercial site and you need help with feeds. Feel free to get in touch: keyvan (at) keyvan.net