Skip navigation.
Home

FeedWordPress 0.992: author remapping and URI bug fix

Update 2008-11-06: FeedWordPress 0.992 is now out of date. You can download the latest release -- 2008.1105 at the time of this writing -- from the project homepage.

FeedWordPress 0.992 is now available for download.

Since I've had to spend time either traveling or working on other projects, it's been longer than I would have liked since the last update of FeedWordPress. This release is a rather limited one: it fixes one outstanding bug and adds one major new feature:

  1. BUG RELATED TO URIS CONTAINING AMPERSAND CHARACTERS FIXED: A bug in WordPress 2.x's handling of URIs in Blogroll links created problems for updating any feeds whose URIs included an ampersand character, such as Google News RSS feeds and other feeds that have multiple parameters passed through HTTP GET. If you experienced this bug, the most likely effect was that FeedWordPress simply would not import new posts from a feed when instructred to do so, returning a "0 new posts" response. In other cases, it might lead to unpredictable results from feed updates, such as importing posts which were not contained in the feed being syndicated, but which did appear elsewhere on the same website. This bug has, hopefully, been resolved, by correcting for the bug in WordPress.

  2. NEW FEATURE - AUTHOR RE-MAPPING: I've been promising this one to my e-mail correspondents for a couple of months now; and I'm happy to announce that I've been able to polish up the preliminary implementation that I was working on late last year and make it ready for general consumption. FeedWordPress now offers a new feature in the site-wide Syndication Options (Syndication --> Options), and in the settings for each syndicated feed (Syndication --> Syndicated Sites --> Edit). You can now create re-mapping rules to determine how author names in a feed are translated into usernames within the WordPress database.

    Traditionally, what FeedWordPress has done, when adding a post, is to take the author information from the feed and search the WordPress database to determine whether there is a username with the same name or e-mail address. If it found a match, then the new post would be assigned to that user. If there was no match, then FeedWordPress would consult the settings for the feed, or the global default settings, for what to do with an unfamiliar author. These could be set by the administrator from within the WordPress Dashbard, with three options: (1) create a new user account with the same name as the author, and assign the new post to that new user; (2) filter out the post rather than adding it to the database; or (3) assign the new post to a default user (user #1 in the WordPress database, i.e. the site administrator).

    With the new re-mapping feature, you have considerably more control over what FeedWordPress does with post authorship data from the feed. In the settings for each syndicated feed (Syndication --> Syndicated Sites --> Edit), you can now define rules that tell FeedWordPress what to do with each particular author name on that feed -- to filter out all posts by that author, or to assign posts by that author to any username that you like. You can also tell FeedWordPress what to do with usernames that aren't listed in your rules, and which don't match any of the users already in the WordPress database -- to filter out the posts, or to assign them to any username you like, or to create a new username to match the new author, or to follow the default setting for new author names on all feeds. The site-wide default setting can be changed using Options --> Syndication.

    So, for example, one of my friends runs a FeedWordPress aggregator site that syndicates http://praxeology.net/blog/feed/. The problem is that, like an increasing number of WordPress blogs out there, all the posts on this blog are attributed to Administrator. For those visiting the blog directly, it's clear that Administrator is the blogger; but when someone aggregates the blog on another website, the naming now mistakenly implies that the Administrator of the aggregator website is the author of the post. (It also means that if two or more blogs both attribute their posts to Administrator, the aggregator site will mistakenly treat all of the posts from all of those blogs as being by the same author.) With the new re-mapping feature, you could now define a rule that would attribute posts by Administrator from the praxeology.net feed to a different username -- in this case, Roderick Long. Problem solved. Huzzah!

One more note before I go. I regret that I haven't been able to develop FeedWordPress more actively than I currently am developing it, or to spend as much time handling and responding to bug reports as I would like. I originally created FeedWordPress for my own use, and made it available to others in the hope that it would be useful, so the best guarantee of getting a feature added or a bug identified and quickly fixed has always been whether it's one that I personally encountered, or one of my friends encountered, in the course of using it. But I'm really very pleased with how much uptake and interest there has been for FeedWordPress. Ideally I would like to devote much more time to FeedWordPress development and support than I currently do. But I earn my living freelance, by the hour or by the project, and I do have to pay my rent every month, so the only way that I can keep up with this on more than a limited and casual basis is if the donations from FeedWordPress users allow me to free up the time needed to work on FeedWordPress, rather than spending the same time looking for paying gigs.

So, if you would like to see more regular upgrades and bugfixes, and more rapid replies to your support questions, I'd urge you to consider how much ongoing development and support for FWP is worth to you, and consider making a contribution through the project donation jar at http://projects.radgeek.com/feedwordpress/. It's in your hands, and anything you can offer will help. (If I had $5 for everyone who ever sent me a FeedWordPress tech support question, I'd be flush for the next several years....)

Thanks, -C

Advertisement

Issues and Comments

Hi... i've installed the

Hi... i've installed the plugin and have some questions:

1) i've set an update every 300 minutes but it shows as next update about an hour;

2) the site is on windows server and not support cron command by terminal. This plugin works anywhere? It check the feed but not seem update the posts.

tnx and sorry for my english :p

People like myself would be

People like myself would be more willing to donate $$ if you had a web based forum where those of us who use the plugin can get some sort of tech support. The plugin does not work all the time so I had to remove it from my site. You never responded to the 5 emails I have sent. Make it open source and then more people would be willing to contribute..

I have a question while

I have a question while preparing for the latest WP upgrade.

I have the WP plug-in "Upgrade Pre-Flight Check" install, and it reports that FeedWordPress 0.992 has incompatibilities. Specifically "Possibly incompatible: old category table".

Will this result in messing up my WP 2.3.3 database?

I think there could be a bug

I think there could be a bug in category choice. When I specify a category for a single syndicated feed, even if "Syndicated feed settings updated" is shown, the setting is lost and new posts still appear on default syndicated category.

It looks like FeedWordpress

It looks like FeedWordpress might still be choking on URIs with ampersands. I've just readded some feeds with ampersands in the URIs that weren't being syndicated on my site, and the edit page for each feed seems to stop loading after it reaches a certain point in the category list.

Oops, my bad - there looks

Oops, my bad - there looks like there's just a bug in the category handling code that wasn't there in 0.991.

would be super fantastic to

would be super fantastic to offer option of tagging posts using feature like autotags, see Ricky's post in last upgrade comments.

to make simple-tags auto tag,

to make simple-tags auto tag, whenever as post is saved, published, or syndicated (using feedwordpress), using local tags only, change these lines open simple-tags/inc/simple-tags.admin.php, v1.3.8 only tested

93 // 14. Auto tags
94 if ( $this->options['use_auto_tags'] == 1 ) {
95 add_action('save_post', array(&$this, 'saveAutoTags'));
96 add_action('publish_post', array(&$this, 'saveEmbedTags'));
97 }

to:

93 // 14. Auto tags
94 if ( $this->options['use_auto_tags'] == 1 ) {
95 add_action('save_post', array(&$this, 'saveAutoTags'));
96 add_action('publish_post', array(&$this, 'saveEmbedTags'));
97 add_action('publish_post', array(&$this, 'saveAutoTags'));
98 add_action('post_syndicated_item', array(&$this, 'saveAutoTags'));
99 }

the plugins I am using adsense manager,all in one seo pack,bsuite,feedburner feedsmith,feedcontrol,feedwordpress,siderss,inlinerss,googlexmlsitemaps,image manager, simple-tags, subscribe me, and ultimate google analytics.

simple-tags would not auto tag with this combination, and pressing update or update selected feeds apparently are not same as updating when the front page is opened or using cronjob

I followed the instructions

I followed the instructions to the letter, add the feeds and then get a blank page (backend headers/options still there, but no feedwordpress options_. If I vlick the syndication button it shows the feed info, but when I update usine either the main update button or via checking boxes, it always shows zero updates, the end result being nothing posted.

link link link

Thanks for any insight.

Still no support for embedded

Still no support for embedded (flv) videos?

HI! It seems I can't save

HI!

It seems I can't save feeds specific settings. I mean that general settings are applied correctlu on every feed. But if I want one feed to have, for example, a different destination category and I change the cat setting for that feed only, the change is not saved.

Tell me if you need some log or something. Thanks, Alessandro

I'm getting feeds from

I'm getting feeds from photobucket and I was wondering if it's possible to make all images appear in a single post instead of separate posts for each image

Where should i post bug i've

Where should i post bug i've found ?

thanks

This is a great plug-in. The

This is a great plug-in. The only problem for me right now, however, is that sometimes the permalinks will not point to the original website, and instead point to the post on my site (with no links or other ways to get to the original site). Is this a feed error, or a known bug in the plug-in?

Thanks!

The plugin is unable to read

The plugin is unable to read Podpress formatted RSS feeds even though they are valid RSS. Example:

http://catholicfamilykids.com/goto/episodes/feed/

The plugin displays the last post during the setup and everything appears to be setup correctly, but then when the feed is updated, nothing is downloaded.

HELP!

I agree with Timothy

I agree with Timothy B.

where should we discuss about bugs?

Is it feasible for you to release the source code so that someone else may try some bugfix ?

In my opinion the plugin is good, but it needs more support and testing.

Well here's what I did for

Well here's what I did for the autotagging part

Download the software from http://www.semiologic.com/software/publishing/autotag/

Drop the extract-terms.php into the feedwordpress dir.

Edit the feedwordpress.php

  • Do an include somewhere at the top

    include_once dirname(FILE). '/extract-terms.php';

  • Comment the_content filters I dont write my own posts, just feedwordpress posts

    // add_filter('the_content', 'feedwordpress_preserve_syndicated_content', -10000);
    // add_filter('the_content', 'feedwordpress_restore_syndicated_content', 10000);
    
  • add an action below the fwp_publish_post_hook action

    add_action('publish_post', 'autotag_entry');
    
  • add the autotag function below the fwp_publish_post_hook function around line 1630

    
    function autotag_entry($post_id)
        {
              $post = get_post($post_id);
                $terms = get_the_post_terms($post);
    
                if ( $terms )
                {
                    $tags = '';
    
                    foreach ( $terms as $term )
                    {
                          $tags .= ( $tags ? ', ' : '' ) . $term;
                     }
    
                    wp_set_post_tags($post_id, $tags, true);
                }
        }
    

Dario, On your first

Dario,

On your first question: that's not actually a conflict between the two pieces of information; I just haven't done a good job of explaining how exactly FeedWordPress update scheduling works. Unfortunately, I don't know if there is an easy way to describe how it works in the space available in the Options interface. If I can think of anything better, I'll rewrite it.

The reason there's not a conflict is that there are actually two different things which are being scheduled. The information which indicates about an hour or so is the time at which the feed will be ready for its next update if FeedWordPress is looking for ready-to-update feeds. The interval that you set under Syndication Options determines how often FeedWordPress will look for ready-to-update feeds. So if you set that interval to five hours, your feeds will only be updated every five hours or so. It's just that, if you had set the interval lower than once an hour, then FeedWordPress would be checking them every hour or so.

I will think about ways to make the scheduling information clearer in upcoming releases. For now, don't worry about it; the actual update schedule FWP is using should be about what you expect it to be.

On your second question: in principle it should be able to run anywhere, even without access to cron. However, Windows builds of PHP are notorious for introducing subtle compatibility issues, and I haven't been able to test FeedWordPress on a Windows build as of yet. If you are having problems with updates, it may be the result of an unexpected problem with PHP. Do you have access to your web server error logs? If so, then try running an update, and check the tail end of the error log to see if there are any new PHP errors logged. If so, send the contents of the error along to me in e-mail and I'll see if I can figure out what is going wrong.

Vinko,

I'm not sure what they mean. If it's referring to use of the WordPress database table for categories, then the last three releases of FeedWordPress have all been compatible with WordPress 2.3's new database representation of post categories. I currently use FeedWordPress on a couple of WordPress 2.3 sites. It is possible that the warning is being triggered by some compatibility code, which FeedWordPress only uses on older WordPress installations, not on WordPress 2.3 installations.

shine,

I'm looking into the issue you mentioned. My hope is that I'll be able to fix it in time for the next public release, which I hope to have out by the end of this month.

Mark,

Could you e-mail me the URI of the feed which is giving you trouble? It will help me test whether I introduced any changes that would cause a reversion.

M3g4d37h,

I'm not sure what is causing this problem for you. Usually a blank screen or early break-off like that is a sign of a fatal PHP error somewhere along the line. It is possible that there is something that FWP expects your installation to have which it does not have. Do you have access to your web server error logs? If so, I could better figure out what the problem might be, and hopefully how to fix it, if you could go through the steps that lead to this problem, and then check the tail end of your error log for any PHP error messages, and pass along any that you find to me.

Ruriko,

There isn't any way to do this currently with FeedWordPress as it is off the shelf. In principle you could do it with a FeedWordPress filter, but the work required to do it would be a bit ambitious. If you're comfortable with PHP coding, or if you know someone who is, drop me a line via e-mail and I can give you some pointers about the basic approach that you would need to take.

allen,

That sounds like a feed error; I think the most likely cause of the error would be if the feed didn't actually supply any permalink for the post in question. But to be sure I would need to see the specific feeds in question. It's not a known issue.

David,

Thanks for the report. I'm not sure what is causing your problem; on first inspection, MagpieRSS seems to handle the feed alright. I will investigate on my testbed server and let you know what I find out.

Timothy B. and Shine,

I am sorry that I haven't been more prompt in responding to support requests. I appreciate that it's frustrating to wait. However, please do remember that I have a regular, paying development job that competes with FeedWordPress for time. Part of the reason I am asking for donations is precisely so that I will be able to take more time off from that job in order to devote more time to development work, testing, new releases, and responding to the numerous support requests, bug reports, and general questions that I receive every day.

FeedWordPress is already open source. The source code is available to anyone who wants it -- it's right there in feedwordpress.php -- and the license grants complete freedom to reuse or modify, as long as any published and distributed modifications remain under the GPL copyleft. In addition to the public releases, the current development version is also available through Subversion at http://svn.wp-plugins.org/feedwordpress/trunk/.

I would be more than happy to consider any bug fix or other patches that anybody cares to submit; so far I have only ever had one person even so much as inquire about submitting a patch.

Hi, thanks for this plugin.

Hi, thanks for this plugin. Im actually working on an atheistic german Blog-Planet ( Blog-Planet Beta. Your plugin is very easy to use, so that a WP and hph-newbie like me can use it. Just one question is open: Why is that more-tags are erased vom imported Posts and how can I change that?

Does anybody know a way to

Does anybody know a way to let feedwordpress adjust the post slugs? Post titles containing special chars get a very ugly url.

example:

' becomes %e2%80%99 " becomes %e2%80%9c21

Most trackbacks and other backlinks break because they strip out the %

I noticed that some special chars are stripped properly like: , ! ? Can the same be done for " ' and possible other special chars

I'm completely stuck and can

I'm completely stuck and can use any help anyone can provide. I did everything according to the installation instructions but when I hit "activate" I get:

Error 500 - Internal server error An internal server error has occured! Please try again later.

I use WP 2.3 with 1and1 hosting.

Any ideas?

Hi, I'm using FeedWordPress

Hi, I'm using FeedWordPress to get the post from various sites to my mainsite. It all works fine till now.

But there is one Problem. I write the blog at extreeeme.org in two languages, and the other sites english only. Is there a Way to mark all "imported" Posts with a graphic in front of it. My readers get a little confused about the english Posts on the German language blog.

Hope there is a way to mark them as imported

@ David. Usually this is due

@ David. Usually this is due to the .htaccess file - It containes syntax errors - It's not read or processed properly

Has anyone been able to get

Has anyone been able to get any of the recent comments plugins working with FeedWordPress? On our site, all recent comments link to the same permalink, and I can't figure out why (see sidebar at http://hermenaut.org and hover mouse over comment links). Thanks to anyone who has cracked this nut...

Every time I save a feed to a

Every time I save a feed to a category that has a parent, it doesn't save changes. Is there a work around?

Duplicate posts everywhere!

Duplicate posts everywhere! I've looked for help at the Wordpress forum and people are still getting random dups from lots of different feeds. It never seems to be consistant to one fee.

Ideas?

I think it would be better if

I think it would be better if Charles put a wiki for Feedwordpress at radgeek.com, and indeed I asked him to do so a few months ago, but until he does, at least people who need to use his software can collaborate with one another. You can find this wiki at http://feedwordpress.pbwiki.com/

http://martin.cleaver.org/blog/2008/03/25/feedwordpress-wiki-for-users-c...

great plugin. I do have a

great plugin. I do have a couple suggestions:

  1. Allow users to assigns permamlink to original page or local page on a feed by feed basis.

  2. Give users more control over the feed content coming into. For instance, one of my feeds forces and RSS graphic to show up before my title. If I could somehow set to auto remove a specific piece if code (Find & Remove) that would fix this issue.

Overall, great plugin.

Thank you for an excellent

Thank you for an excellent plugin. May I make one suggestion for a feature? Import categories as tags.

The planet-like site I'm building uses tags for navigation rather than categories. I would like to gather feeds from friendly sites and include them in the tag system.

True, under manage/import, wordpress has got the feature to turn categories into tags, but this does not work when a tag with the same name as the category already exists. (Which will automatically be the case after a few feed updates, having previously turned categories into tags.)

I've got this setup, but was

I've got this setup, but was disappointed there was not an option to truncate long posts with a "read more" link to the original post. Is this a setting or API function I missed? If not would it be possible to add this as a feature in a future release?

I'm putting together a

I'm putting together a mu-menu for feedwordpress. This will show all blogs and all feeds for all those blogs.

We'll document on pbwiki for now.

http://feedwordpress.pbwiki.com/Mu-Menu-for-Feedwordpress

Once we've built this we'll help push it back into SVN.

[...] was getting printed

[...] was getting printed incorrectly. I added print statements throughout the feed building code (FeedWordPress) until it was obvious that my first thought was correct, a file had whitespace before or after the [...]

I have a couple of times now

I have a couple of times now where I have had to track down blank lines which broke my FeedWordPress feed. I just posted how to find and correct this at link.

Hopefully other find this helpful.

Hi, I used an older version

Hi, I used an older version and upgrade to the lastest one. However, when I add in new feeds, it doesn't show up in the Option page. The categories are all set correctly but the feeds are not being pulled.

Wonder if you know of this problem.

Hello. Great plugin, but do

Hello. Great plugin, but do you know why target="_blank" is removed from the original rss-feed? I'd like all links in syndicated posts to open in a new window....

Hi, this is just what I am

Hi, this is just what I am looking for. Just one question. Is there a way where the links on Homepage will point to the post and the permalinks on the post will point to the original website when clicked?

Right now my permalinks on the Homepage is ponting to the original website and not on the posts. When I change the settings to "Permalinks points to this website" viewers will have no way to go to original website.

Also how can I limit the contents of the posts to lets say only 300 characters only then it will have a "continue reading" at the end where it was ponting to the original website.

Thanks in advance.

Hi there - Does anyone happen

Hi there - Does anyone happen to know please whether the latest version of FeedWordPress is compatible with WordPress 2.5? I'm keen to upgrade to WP 2.5 but won't go near it if there's a compatibility problem. Many thanks. Richard.

Seems to work ok with 2.5.

Seems to work ok with 2.5.

I'm getting the same

I'm getting the same duplicate issues as Jack... If it helps, its a feed managed by feedburner. Also, I have "Do not create new categories" set but I keep finding new categories each update (in addition to ~20 duplicate posts).

Anyone else having these errors in WP 2.3.3 ?

After upgrade WordPress to

After upgrade WordPress to 2.5 all messages are imported in the same category "Uncategorized" :(

Chris Jennings and

Chris Jennings and Jack,

Here is a fixed version of FeedWordPress 0.992 which has no duplicate problem: http://www.cyberseo.net/downloads/feedwordpress-0992.zip

Hope this is what you were looking for!

Ok. The mu-menu is

Ok. The mu-menu is complete.

Please see http://feedwordpress.pbwiki.com/Mu-Menu-for-Feedwordpress

If you make bug fixes please alter the wiki.

I emailed Charles about getting SVN access - when I get a reply I will update.

I'm having issues with a

I'm having issues with a fresh installation of FeedWordPress in Wordpress 2.5. Whilst the feed preview functions when adding a new feed, the feed does not appear in the list of feeds, and an update gives the message "An error has occurred."

Am I missing an obvious installation step?

Thanks.

I upgraded to new Wordpress

I upgraded to new Wordpress 2.5 from my old version 2.3.3 and I get duplicate posts...

Since I've updated to WP 2.5

Since I've updated to WP 2.5 I've noticed several anomalies in FeedWordPress's behavior. It seems like FWP simply doesn't parse the bodies of many feeds, and I've been unable to narrow down the types of feeds on which this behavior occurs. In certain cases, simply updating the feed URL (to the same URL) fixes the problem, but not all the time. But this appears to be happening with both RSS (2.0 and 1) and Atom feeds.

The latest posts at leftlibertarian.org should illustrate this problem.

After upgrading to wordpress

After upgrading to wordpress 2.5, FWP only writes the permalink to the original blog if the syndication is done manually. If it is automatic, it always points to the aggregator site itself.

Great Plugin. But im having

Great Plugin. But im having some problems with scheduled fetching. it wont do anything. Maybe it gets fixed in the next version.

btw. all the people who are getting duplicate posts. i found this solution for wp-o-matic. and the best thing is this works for feedwordpress to. have fun!

http://akschu.com/offtopic-stuff-2/wp-o-matic-duplicate-post-fix/

Axel

I too have noticed issues

I too have noticed issues with FWP and WP 2.5. Specifically, all categories are being stripped and set to "Uncategorized". Additionally, some incoming post content is being blanked while some content is being replaced with the letter "A".

Since upgrading to wordpress

Since upgrading to wordpress 2.5 feed wordpress is only posting headlines and no post body. Anyone else getting this?

I'm building a lifestream

I'm building a lifestream with your plugin! Here it is link

I had only one problem with the Google Calendar public feed. I've already sent you an email with the error code.

BTW your plugin is amazing. Thanks!

Sorry for my poor english. Greetings from Italy!

I think there's a bug when I

I think there's a bug when I send a feed to a post with youtube video inside. When I click my home page it send me an error like this: http://www.piccoliproblemidicuore.it/

http://feeds.feedburner.com/s

http://feeds.feedburner.com/sportsblog/thebandisoutonthefield

Feedwordpress will use the excerpt of EVERY feed except this one. use of the_excerpt still returns in the entire post. any ideas?

the address is

Hi I've installed

Hi I've installed feedpress, but there's one issue that I can't solve. I've several feeds to syndacate, and I choosen to add new post as drafts, so I can read them and decide to post it or not.

The problem is: when I decide not to post something, when that feed is updated again, I have to read again such post. I'd like to have only new post listed, and then decide what I want to publish and what I want not. Is there a feature like that available?

Thank you

I wish there it could

I wish there it could truncate long posts, too.

@ Andrew.... Same problem. I

@ Andrew....

Same problem. I have seen this with a bunch of feeds. Any reason why?

I might be missing something

I might be missing something but, all of my posts show twice in the post...(the headline and excerpt) in each post. Is there something that I'm missing. Thanks for any help...

Same problem with Sean here.

Same problem with Sean here. Each rss feed posts the content twice. To illustrate, say my post is "What a wonderful day!", this sentence will show up twice in my post. I checked all of them and every post seems to display the content twice!

Hi. This is a great plugin,

Hi. This is a great plugin, which I have been using for quite some time now. A question: is there a way to include the tags from a del.icio.us feed into the post, either as tags or categories? I'm using WordPress 2.5. Thanks.

Any idea how to make visitors

Any idea how to make visitors view the post on my website as a single item and then go to the source through a link?

I can't add a permalink to the single.php file because it goes back to my website because that's how I set feedwordpress. I want viewers to see the post before they click on and go away to the source.

Any ideas? I saw SX having a plugin or something?

Site License