throws error when I try to add a feed

webdev2 - September 14, 2008 - 20:50
Project:Memetracker
Version:6.x-1.1-alphpa5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I follow the instructions to, "Next add RSS feeds by creating a Feed node for each RSS feed." I go to, Create Content, Feed, add a title, add the rss feed, "http://news.google.com/news?hl=en&tab=wn&ned=us&q=triathlon&ie=UTF-8&nolr=1&output=rss" and save it.

Here's the error I get:
warning: Invalid argument supplied for foreach() in /path_to_site/sites/all/modules/feedapi/feedapi.module on line 1276.

Now there are two content types of "Feed". One is created by Feedapi_node and one created using feedapi. The one using feedapi_node has no place to enter a url for a feed.

Any ideas?

I think I'm getting closer...

#1

webdev2 - September 16, 2008 - 00:13

I've rebuilt it three times and getting the same error following your instructions explicitly. Any ideas?

#2

kyle_mathews - September 16, 2008 - 00:24

Have you tried a different RSS feed not from Google? To my recollection, FeedAPI doesn't parse google news feeds. I don't know if the problem is with Google for using a non-standard format or if it's a quirky bug in FeedAPI.

#3

webdev2 - September 16, 2008 - 13:09

yes, I did try different feeds. I even tried just installing feedapi and adding feeds before installing memetracker because feedapi took the feeds fine, without error, then.

Than I would go back and edit the necessary settings after installing memetracker. When I did, it threw the same error.

#4

kyle_mathews - September 17, 2008 - 20:17

Huh, weird. So you can confirm that FeedAPI is downloading feed items and creating nodes? Are you using simplepie? This doesn't sound like a memetracker error since the error being thrown is in the feedapi.module

#5

webdev2 - September 23, 2008 - 14:51

I did some more testing and am using FeedAPI 6.x-1.3. It turns out I am receiving that error without/before adding memetracker.

I am not alone in this either - http://drupal.org/node/311814 - though my aggregator works fine using the same rss feed.

What version of feed api do you use? Thanks.

#6

kyle_mathews - September 23, 2008 - 15:54

I'm using FeedAPI 6.x-1.3 with the FeedAPI, FeedAPI Node, and SimplePie Parser modules enabled. Re-reading your original issue -- did you create a different node type for feed items? There should be two node types for FeedAPI -- Feed, which holds the feeds, and Feed Item, which FeedAPI uses to create nodes for each item that comes through a feed.

#7

webdev2 - September 23, 2008 - 16:05

Yes I did. So I went back and added the requirements one by one. First Feed API & Feed API node. Then I tried to add a feed, that where it threw an error, before adding memetracker or machinelearning.

So, I assume I need FeedAPI working before your module will work. That's why I started the issue on http://drupal.org/node/311814

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.