Subscribe: Issues for SimpleFeed
Preview: Issues for SimpleFeed

Issues for SimpleFeed


SimpleFeed: How do you publish feed to specific category and not publish to front page?

Mon, 11 Feb 2008 15:50:16 +0000

Hi, I need to publish a feed to specific category (in a specific section) of the site, how can I do this?

Also, whenever I set up a feed, it publishes the nodes to the front page. How so you stop this?


HTML in feed contents not rendering properly

Wed, 29 Oct 2008 20:08:03 +0000

I'm having problems with html rendering in simplefeed.

It seems that html in feed content is appearing without the brackets around the tags, eg. instead of "(image) ", I'm getting just "img". This is making my feeds look an absolute mess - basically it looks like a load of nonsense with the google news feeds having so much code in them.

I have all my filters set to full html, so that shouldn't be a problem. Could someone shed some light on this possibly?

This issue also occurred with the core aggregator module, so I'm guessing it's not an issue with simplefeed, but maybe my drupal settings somehow? I hoping it's an easy fix.


associate feed items with author

Sat, 23 Aug 2008 00:39:49 +0000

When simplefeed runs, it runs through cron generally and feed items are created with the super user instead of the user that owns the feed (and persumably the feed items). We should make this happen using the psuedo code:

$user = user_load(array('uid' => $feed->uid));
// run drupal_execute_form()
// Load the anonymous user to prevent other strange errors
$user = drupal_anonymous_user();

Needs to be tested but this way if a user adds a blog, cron runs and grabs items, and user goes to delete their blog, all of those items should still be deleted since they are owner of it.

feeds/feed items not updating with cron

Sat, 04 Oct 2008 10:14:29 +0000


I've tried ALL the syndication modules on Drupal and decided on this one. It's very fast and the code is nice, simple, and clean. Thank you all for that. My problem is -- I'm on Drupal 6.4 with the simplefeed.module. The feeds update manually but not with cron. I've seen this posted elsewhere but it was attributed to feedburner feeds. This does not apply to my situation as I am not syndicating anything from feedburner. Is this a known issue or is it only a problem on my side? Is it because I'm using a dev branch? Any input is appreciated.



SimpleFeed Discontinued

Wed, 09 Sep 2009 20:02:54 +0000

Been a while since I saw any activity on this module, is it dead? No plans to be supported under Drupal7?

View feed items leading to page missing page

Sun, 19 Apr 2009 03:00:34 +0000

I am on drupal 6 and when I click on "View feed items" when viewing a feed I get a Page not found screen. It goes to a link like this:

The feed items seem to be downloading fine but I can't view a list of them related to the feed.

Any idea?

Parent menu and user inheritence

Wed, 29 Jul 2009 10:15:16 +0000

How to inheritence parent feed menu and user is it possible.
Or some idea where to look ate the code to add this feature.

Best Regards

6.x-1.x-dev not working on D6.4/6.5

Thu, 09 Oct 2008 17:51:58 +0000

When creating/ refreshing a feed I get the following:

warning: file_get_contents(http:) [function.file-get-contents]: failed to open stream: No such file or directory in /Applications/xampp/xamppfiles/htdocs/*/sites/all/modules/simplefeed/ on line 7759.

This is because no URLs are being sent to simplepie. Looking in to this I noticed that the database table 'simplefeed_feed' remains empty. For some reason, none of the following functions are being executed when feeds are added/updated; simplefeed_load(), simplefeed_insert(), simplefeed_update().

Any idea why this is happening?

I am using Drupal 6.5, and latest versions of CCK and Views. (Problem was with D 6.4 also)

duplicated feeds

Wed, 08 Apr 2009 08:40:09 +0000

hi all

i've been using simplefeed, and i still get duplicated feeditems very regularly. i read in another issue that this should be fixed, but aparently it's not ?
if anyone has any suggestions for how to fix this, it's very welcome.


reduce length of feed item

Tue, 09 Dec 2008 14:58:05 +0000

Feed owners on my site complain that their entire feed item gets placed on their site - so the viewers of their feed on my site have no reason to go to their site. That's a legit concern.

Is there anyway to reduce the length of what is shown on my site so there is just the first few lines and then the viewer is urged to visit the source to read the rest?

That way both sites get the traffic.

I know it's usually a setting on the blog itself where the owner can stipulate how long their feed is that goes OUT but not many bloggers are savvy enough to change their settings themselves. ;)

New sort option for Views - Sort by order of feed with the newest feed item

Thu, 12 Feb 2009 06:19:50 +0000

I'd like to have a new sort option for simplefeed in views, that would allow you to sort feeds in order of the timestamp of their latest item. So you could get the freshest feed, then the next freshest etc.

Right now you can only sort by the order in which they're set to refresh or their items are set to expire. Neither is particularly useful.

admin/content/simplefeed takes minutes to load

Tue, 25 Nov 2008 07:11:51 +0000

In the past I was getting an mysql error (29 I think) and I moved my TMP directory then repaired all simplefeed related tables. admin/content/simplefeed now loads but it takes literally minutes to load. I have several other drupal sites on this server and have never experience such slow load times. Can we optimize this module. I love what it does but not running on cron and slow load time of admin/content/simplefeed is a killer.


SQL Error

Mon, 29 Dec 2008 22:21:28 +0000

Just installed and imported a feed. All Feed Item nodes give this error:

* warning: Invalid argument supplied for foreach() in /home/sites/ on line 561.
* warning: implode() [function.implode]: Invalid arguments passed in /home/sites/ on line 565.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid,, u.picture, FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/sites/ on line 174.

(or see: )

Any ideas?

Can I update the feed more often than once every fifteen minutes?

Fri, 24 Oct 2008 22:51:30 +0000

I like this model of making feeds and feed items into nodes but am running into some trouble. I'm working on a site that aggregates posts from sources in near real-time, such as tweets and other micro-content where real-time interaction with the poster is the idea. But under Site Configuration >> Simplefeed, the quickest time it checks feeds is once every 15 minutes. Can I speed that up? Also, do I have to run cron every time it checks a feed and pulls in new content? If so, how do I make sure cron runs each time?

Is this module workable on production 6x sites.

Mon, 16 Mar 2009 19:23:44 +0000

Is this module workable on production 6x sites.

no pgsql support

Wed, 11 Feb 2009 00:19:58 +0000

hi, installed in d6.9 on pgsql8.3.x and got:

    * warning: pg_query() []: Query failed: ERROR: syntax error at or near "(" LINE 9: error int(1) NOT NULL default 0, ^ in /var/www/sparcs/includes/ on line 139.
    * user warning: query: CREATE TABLE simplefeed_feed ( vid int_unsigned NOT NULL, nid int_unsigned NOT NULL, url text, expires int NOT NULL default 0, refresh int NOT NULL default 0, checked int NOT NULL default 0, hash varchar(32), error int(1) NOT NULL default 0, PRIMARY KEY (vid) ) in /var/www/sparcs/includes/ on line 515.
    * warning: pg_query() []: Query failed: ERROR: relation "simplefeed_feed" does not exist in /var/www/sparcs/includes/ on line 139.
    * user warning: query: CREATE INDEX simplefeed_feed_nid_idx ON simplefeed_feed (nid) in /var/www/sparcs/includes/ on line 515.
    * warning: pg_query() []: Query failed: ERROR: relation "simplefeed_feed" does not exist in /var/www/sparcs/includes/ on line 139.
    * user warning: query: CREATE INDEX simplefeed_feed_error_idx ON simplefeed_feed (error) in /var/www/sparcs/includes/ on line 515.

This appears to be a database abstraction or postgres syntax issue. regardless its a show stopper for me :-(

SQL Error on the feeds page.

Wed, 04 Mar 2009 09:48:15 +0000

When you go to the /feeds page you get an SQL error, /feeds/latest is working fine .

Is this something easy to fix ?

Best, Paul

hook_simplefeed_item_fields() to process additional fields

Tue, 10 Feb 2009 16:45:00 +0000

Having a generic hook_simplefeed_item_fields() to allow additional modules to insert additional fields would be very useful.

View - Parent Feed Node ID filter should show node title

Wed, 11 Feb 2009 03:04:29 +0000

When selecting a "SimpleFeed Feed Item: Parent Feed Node ID" filter when creating a view it really should show the node's title rather than the ID.

Multiple vocabularies inheritence please?

Mon, 08 Oct 2007 21:18:12 +0000


I see in the admin options that I am able to add only one vocabulary to the inheritence options.
I would like to add more than one vocabulary and inherit all the terms selected on the feed-parent.
Is this possible please? Also I would very much like that the vocabulary need not have freetagging enabled.
Is ths also possinle please?

Thanks in advance,
Thanks for a great module!


OPTIMIZE TABLE {simplefeed_feed_item}

Sun, 25 Jan 2009 06:13:24 +0000

I seem to be having trouble with mysql locking up and simple feed. It seems simplefeed runs an optimize function every time it clears out expired nodes. I have even converted the simple feed tables to innodb but the problem still persists.

My current simple feed installation is like this:
simplefeed is around just 50+ records - simplefeed_item - 23000+ records and simplefeed_stats is around 12000+

You can see an attachment showing the problem here.

Should simplefeed be optimizing so frequently?

SimpleFeed and FeedBurner

Fri, 12 Sep 2008 19:31:14 +0000

SimplePie is (temporarly) blocked from FeedBurner

This will get resolved for now though, if your having trouble this patch worked for me.

"Feed item created" messages for normal users

Mon, 11 Jun 2007 01:54:09 +0000

When cron runs and creates a bunch of feeds, random users can see "feed item created".

Likely we should hack around Drupal here and strip these out. While this isn't super ideal, it's much better than having random users see this :-)

Views 2 RC5 broken with Simplepie 6.x-1.x-dev

Sun, 20 Apr 2008 19:07:30 +0000

When I attempt to go to a URL like feeds/X, I get access denied, even as uid 1. Same with just 'feeds'.

This path doesn't even appear to be defined in hook_menu().

SimpleFeed creates multiple duplicates of FeedItems

Wed, 12 Nov 2008 08:20:52 +0000

I'm running Drupal 6.5 with latest SimpleFeed and poormanscron.

When updating feeds multiple duplicates of FeedItems is created. (sometimes up to nine feeditems of same item)

The only error message I recive is:
Cannot modify header information - headers already sent by (output started at public_html/index.php:36) in /public_html/modules/simplefeed/simplefeed.module on line 375.

It's usually in the morning when the site hasn't beed updated in a while.
Can it be because of poormanscron is overloaded or something.

Any suggestions? Thanks in advance.

page.tpl.php on line 7

Tue, 27 Mar 2007 09:49:28 +0000

after install simlefeed & include it on front page I take some problems:

--- PHP Fatal error
18-Mar-2007 12:27:57] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5182
[19-Mar-2007 00:15:15] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5150
[19-Mar-2007 02:12:31] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5182
[19-Mar-2007 09:31:35] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5323
[19-Mar-2007 14:39:51] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5322
[20-Mar-2007 01:32:42] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5182
[20-Mar-2007 04:55:17] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5327
[20-Mar-2007 12:47:54] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 2567
[20-Mar-2007 17:02:34] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5150
[21-Mar-2007 05:05:03] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5439
[21-Mar-2007 07:20:45] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5182
[21-Mar-2007 09:25:24] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ : runtime-created function on line 1
[22-Mar-2007 01:52:25] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 2559
[22-Mar-2007 01:52:30] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5326
[22-Mar-2007 05:19:58] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 2597
[22-Mar-2007 12:27:18] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5187
[24-Mar-2007 06:47:52] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/ittegar0/public_html/modules/simplefeed/ on line 5254

--- too long open site (60 sec)
after load page all work fine.
simplefeed_item_cron & simplefeed_item_link - its a most queries functions.

**in attachment a file with queries on front page load

auto-node reference

Mon, 22 Dec 2008 20:13:07 +0000

Is it possible to "auto-node-reference" incoming feed items??

My use for it would be if I know a user is going to be at an event that is a node on my site, I'd like to automatically tag their incoming feed items with a reference to that event. It saves me from manually editing each feed item that comes in with the proper event-node-reference field I have set up.

Posts Without Dates Are Ignored

Tue, 09 Dec 2008 20:18:45 +0000

It appears that posts that do not have dates are being skipped. I looked through the code and found that the post date was being checked against the expiration date but that there was no check to make sure a post date existed. The attached patch file adds a condition to check for the existence of the post date in the feed item before checking it against expiration date. If no post date is found the feed item is added. I don't know if anyone else would consider this the proper behavior though, it's just what I was expecting.

Can not get feed item of this feed.

Tue, 02 Dec 2008 09:46:24 +0000

I am using drupal-5.12, simplefeed-5.x-3.1 on my website, I have problem with this feed:
I got no feed item after refreshing ( no matter manually or via cronjob ).

To check if the simplefeed module works or not, I added another feed and do the refresh, I got the feed items. So simplefeed should be ok.
To check if the simplepie library works or not, I tried the demo on over
and I got the feed items. So the simplepie library should be also ok.

I don't understand why this feed doesn't work with simplefeed on my website. Any idea?
Thanks in advance.

how to show the node body in a view?

Tue, 27 May 2008 21:39:39 +0000

Hello, thank you for this module first...
I'm trying to do something easy, but aggregator didn't work for me so i ran into Simplefeed.
It works fine but it seems there's something missing in the views module integration:

I can't find the way to show the body of the simplefeed node in a list view

I could use the teaser view but it is uncomfortable since i have to hide many elements.

I tried using the node:body field but it is empty...
There's a way to do this?


warning: Missing argument 2 for variable_get() when uninstalling

Tue, 21 Oct 2008 13:46:16 +0000

When uninstalling I've got following error message:

warning: Missing argument 2 for variable_get(), called in /simplefeed/simplefeed.install on line 24 and defined in /home/content/k/e/n/kenorb/html/polaczkowo/includes/ on line 461.

In function simplefeed_uninstall() there should be line changed from:




Because there is no point to get variable at the end of uninstalling process.

download feed option messing up form submission

Mon, 24 Nov 2008 19:23:52 +0000

When download all items in the feed option is selected the blog fails to be assigned the pathauto url, content_type table fails to be updated and a bunch of other issues. This is because the function simplefeed_feed_refresh() does a drupal goto. This causes tons of issues for form submissions. I have added an extra param to that function that says redirect or no. But perhaps we should consider a menu callback like this:

function simplefeed_refresh_page($nid) {
  drupal_goto('node/' . $nid);

This I think is better because it keeps simplefeed_feed_refresh as an api function (BIG ++) instead of using it as a page callback. See attached patch for the first, not so great solution

Duplicates, duplicates all over the place

Wed, 21 May 2008 19:02:32 +0000

I've tried FeedAPI, too complex to get a simple job done. I used the Aggregator from the core which is almost perfect, the thing is, it doesn't make nodes. Then I discovered SimpleFeed and it was just right. Nodes, Taxonomy and simple!
Just one strange problem, I get lots and lots of duplicates. I import a couple of feeds of stuff I publish elsewhere. But whether it be twitter,com or or all sources produce duplicate entries in the end.
I've looked at the sources and stored several versions of the feeds, but the items are the same. Not even whitespace is different, yet the duplicates keep coming.
Cron is set to 15 minutes, I use lynx to fetch the cron.php
There are 4 sources I usse, they are all processed before the next cron runs.
All my feeds imported: (this starts with my, the only one not having dupicates (yet?)).
My flickr feed, which has dulicates:
or twitter [these url's won't last, this is my test and building setup]

SimplePie version used 1.1.1 of 15 march 2008
any sugestion where to look for additional loggin would be appreciated, i know my PHP, it should be somewhere inside simplefeed_item_feed_parse where iid get's set to the md5 of the body and title. I'll do some debugging later on and keep you guys posted, but I would like to share this problem with you as well.

SimpleFeed crashed

Tue, 28 Oct 2008 05:35:29 +0000

I am all of a sudden getting this error:

user warning: Table 'simplefeed_feed_item' is marked as crashed and last (automatic?) repair failed query: SELECT iid, fid, expires, url FROM simplefeed_feed_item WHERE vid = 7283 in /home/goflyxc1/public_html/includes/ on line 172.

And my site is deathly slow (I am guessing because of this 'crash') I haven't changed anything (functionality-wise) on the site. How can I fix this error?

Difficulty adding feeds

Fri, 17 Oct 2008 07:12:21 +0000


I'm wanting to bring feeds into a site and store them as feed items. My problem is that I seem to be missing the add feed URL field in the 'create feed' form. The field is there in 'create feed item' form however it says to create a feed first! How do I get the URL field to show?

I must add that I'm very new to Drupal, so probably just missing a checkbox somewhere!

Thanks for any advice you can give,


Mistake in simplefeed.install

Thu, 30 Oct 2008 15:30:09 +0000

Mistake in simplefeed.install line 24:


should be:


How to automatically strip elements from feed items before posting

Sat, 25 Oct 2008 00:44:12 +0000

As a newbie, I may be asking a very uninformed question here. I have Simplefeed working, pulling in several feeds together into one view, and all the items are working nodes, so it's been very solid so far. My problem is that there are certain elements of some of the titles that I would like to strip out of the titles before publishing them. Is there any not-so-intimidating way to do that?

An illegal choice has been detected. Please contact the site administrator.

Sat, 23 Jun 2007 04:50:34 +0000

I just got this error from one of my feeds that isn't updating properly.

Any suggestion what's gone wrong?


Blob/Text cannot have a default value

Tue, 07 Oct 2008 14:34:15 +0000


As so many other modules this one also has the 'Blob/Text cannot have a default value' in it's 'url' field in simplefeed.install.

Please change

      'url' => array(
        'type' => 'text',
        'default' => '',
        'description' => t("The url of the feed."),


      'url' => array(
        'type' => 'text',
        'description' => t("The url of the feed."),


SQL error on update from previous dev snapshot.

Thu, 02 Oct 2008 14:58:14 +0000

This was the message:

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL' at line 1 query: ALTER TABLE simplefeed_feed ALTER error SET NOT NULL in C:\drupal\www\update.php on line 77.

feed item expiration not accurate

Thu, 02 Oct 2008 05:24:36 +0000

If a feed downloads 10 items and feed items older than 3 weeks are set to expire, say 3 of those 10 are deleted.

However, feed is fetched again those items recreated, then deleted, and cycle repeats.

We need to prevent this.

One way is add a column to simplefeed_feed that has a hash/title/permalink of the *last* feed item checked. When the feed is refreshed it will only check items *up* to that item, otherwise it stops so it doesn't reimport things it has already checked.

The trick is to have to a static var catch the *first* item checked and save that after all items are checked (instead of the last).

Also, shouldn't IF-NOT-MODIFIED prevent some of this?

Add rel='nofollow' attribute to links by default.

Mon, 23 Jun 2008 19:25:04 +0000

In order not to lose Google page-ranking juice to external links, is there a way to give ALL (views, block etc) links the rel='nofollow' attribute by default?

feed stats

Sat, 27 Sep 2008 00:34:50 +0000

Stats on feed usage would be great.

Here is a patch (originally by scott reynolds, updated by myself) that adds this to 5.x

links to original feeds in views

Thu, 19 Jun 2008 14:54:27 +0000


I think I found a bug, or at least a little problem. When using views to display simple feed nodes, and choosing the field : "SimpleFeed Feed Item: Article title", with links, some feeds do not return a working link, because & or & is not converted into &

I made the following simple modification to using str_replace() but I though of letting you know, as there might be a more elegant solution.

* Format a field as a title to the article (possibly as a link)
function views_handler_field_simplefeed_item_title($fieldinfo, $fielddata, $value, $data) {
if ($fielddata['options']) {
$value = str_replace("&", "&", $value);
$value = str_replace("&", "&", $value);
return l($data->title, $value);
else {
return check_plain($data->title);

An error while updating

Thu, 31 Jul 2008 23:39:45 +0000

Hello, just to let you know that I did an update.php on a multi install of drupal 6.2 with the dev version of simplefeed dating from 3rd july and here's the error message I got :

An error occurred.
Fatal error: Call to undefined function db_num_rows() in /home/.peeweepuck/ on line 49

then I proceeded to the errors page :

The update process was aborted prematurely while running update #2 in simplefeed_item.module. All errors have been logged. You may need to check the watchdog database table manually.
The following queries were executed
simplefeed module
Update #2

* ALTER TABLE {simplefeed_feed} DROP INDEX url
* ALTER TABLE {simplefeed_feed} CHANGE url url text

That's all folks ! :-)

move refresh/empty links to menu items

Thu, 21 Aug 2008 05:32:42 +0000

Should move the refresh/empty links (which are admin ones) to be menu items like FeedAPI (next to view/edit). Cleaner and where they belong.

confirm feed exists

Thu, 28 Aug 2008 21:13:54 +0000

We should improve the validate hook to actually determine if a feed exists at that URL. A typo or putting in the blogs main URL may not work with autodiscovery so we should ensure it is checked before being added for usability.

Feed Duplication in latest version

Fri, 15 Aug 2008 13:41:01 +0000

Feed: LiveJournal

Issue: I'm seeing duplicates on EVERY refresh of the feed. Investigation into the database shows that the iid field is not being filled in (so the duplicate checking will not work).

Steps to reproduce: Create a feed, refresh it more than once. All feed items are added again on every refresh.

Solution: I was able to fix the problem by making the following changes:
simplefeed_item.module(181): In simplefeed_item_insert(), replace $node->iid with md5($node->url)
simplefeed_item.module(396): In simplefeed_item_feed_parse(), modify "$iid = md5($title . $link);" to be just "$iid = md5($link);"

Possible Cause: It looks like the $iid field is not being filled in when writing the database or node object.

Error on installation

Thu, 09 Oct 2008 16:19:41 +0000

I got this error from update.php following enabling of the SimpleFeed module:

* ALTER TABLE {simplefeed_feed} ADD error int(1)
* ALTER TABLE {simplefeed_feed} ALTER error SET default 0
* UPDATE {simplefeed_feed} SET error = 0
* Failed: ALTER TABLE {simplefeed_feed} ALTER error SET NOT NULL

With MySQL5, shouldn't this be the syntax?

ALTER TABLE {simplefeed_feed} CHANGE error error int(1) NOT NULL;