Hi,

I have the following sort of feeds: http://feeds.testnet.nl/RSS/?sID=24232&pID=21508
I got this error on Feedapi:

Feed information could not be retrieved

But on the aggregation module the feed is shown nicely? How is this possible?
I really would like it also to work on feedapi, because I see that feedapi is more for every node-type to be used.
I would love that my feeditems become weblinks, thats why.
Thanks in advance for your reply!

Greetings,
Martijn

Comments

alex_b’s picture

Hi Martijnhaan,

I just tried the feed with feedapi 1.0 beta 1 (which is basically todays 5.x-1.x-dev version and it works fine. See here: http://www.devseeddev.com/feedapi/node/12.

The configuration is: feedapi, feedapi_node (former feedapi_item) parser_simplepie.

Is there any chance that there is no connection between the server with Drupal on and the server that provides the feed?

Alex

summit’s picture

Hi,
Installing the newest feedapi 1.0 beta gave me a blank screen..
I will know tomorrow what the errormessage is because the site is with an hosting provider.
I let you know the message.
Thanks for replying allready!

greetings,
Martijn

summit’s picture

hi,

It seems feedapi and simplefeed are interfering. Can you please make feedapi that it is not interfering?, or is this not possible?
See the error (I just received the log):

PHP Fatal error:  Cannot redeclare views_handler_field_feed_parent_title() (previously declared in /home/public_html/modules/feedapi/feedapi_node_views/feedapi_node_views.module:104) in /home/public_html/modules/simplefeed/simplefeed_item_views.inc on line 193

Greetings,
Martijn

summit’s picture

I temporarily deselected the simplefeed module.
Now my blank screen is gone.
I got this errors with trying to add the above feed in a feed-node:

warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/public_html/modules/feedapi/feedapi_item/feedapi_item.module on line 40. 
warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/public_html/modules/feedapi/feedapi_item/feedapi_item.module on line 40. 

I hope you can remove these warnings.
Thanks in advance,
greetings,
Martijn

alex_b’s picture

Hi, Martijn,

Xou must be using an older version of feedapi than 1.x (or 1.0 beta 1 for that matter) - feedapi_item module is feedapi_node module now. Back up your db, move the old feedapi directory out of the way, drop in the latest feedapi version, revisit the module page - make sure that feedapi_node is turned on.

Be aware that the change of the module name feedapi_item to feedapi_node has an effect on your node type settings. So go to your feed node type and reconfigure it.

Unfortunately there is no automatic upgrade for this - please bear with us. The good news is that we are out of the alpha phase, in the future there will be upgrade scripts that upgrade from release to release.

Will have a look at the simple feed incompatibility.

Alex

summit’s picture

Hi,

I did all you asked. And yes no first warnings anymore, thank you!
But with this feed I have still some problems.

As shown in your own feed implementation on: http://www.devseeddev.com/feedapi/feed-item/12
If you click on: Original article you got "parameter missing or invalid: cID".

The original feed-item in the feed is

http://dy.testnet.nl/click/?sID=24232&cID=13046&sfID=19

The wrong translation of this feed with feedapi is:

http://dy.testnet.nl/click/?sID=24232&cID=13046&sfID=19

This is wrong, thats why I got the parameter missing or invalid: cID".

Aggreagtion-feed translates the XML correctly for example, I don't know why.
If it succeeds. Is it possible to build the original article links inside the node so with chosing weblinks the link-field is filled with the original article url.

Thanks a lot again for your reply!
Greetings,
Martijn

alex_b’s picture

Hi Martijn - does this behaviour occur with parser_simplepie and parser_common_syndication alike?

summit’s picture

Hi,

The behaviour is with the parser_simplepie. The parser_common_syndication doesn't show a feed-item after a day waiting for it to pop up.
I off course changed the parser-0fo on the feed nodetype settings. But the feed-items do not come up with parser_common_syndication.

Greetings,
Martijn

summit’s picture

After clicking refresh on my feed the message is (with parser_common_syndication):

This feed has not been refreshed after the last check.

May be this helps for the second problem.

thanks for your reply!
greetings,
Martijn

aron novak’s picture

Assigned: Unassigned » aron novak
Status: Active » Fixed

I committed the fix, you'll find it at the next daily dev build or the DRUPAL-5 branch right now. Please use parser_simplepie when you try out what happens. (the common syndication parser works well with this feed)

summit’s picture

Great! I am going to test it!
Thanks for fixing.
I will give you feedback later this week.

greetings,
Martijn

shashi_bi’s picture

can u please see this thread - http://drupal.org/node/192398

summit’s picture

Hi,

I tried updating the module and off course the update.php.
I got this user-warning:

user warning: Column 'id' cannot be null query: INSERT INTO GR5_sequences (name, id) VALUES ('feedapi_node_item_fiid', (SELECT MAX(fiid) FROM GR5_feedapi_node_item) ) in /home/public_html/includes/database.mysql.inc on line 172

I am going to test further..
May be it is the fiid (double ii ) I don't know exactly.
greetings,
Martijn

summit’s picture

Hi,

At first I manually added Feedapi_node_item_fiid to the sequences database.
Then I inserted a new feed with the above xml
With the latest .dev version I still got the same message

This feed has not been refreshed after the last check.

Thanks for getting into this again!

Greetings,
Martijn

summit’s picture

Hi,
I got blank screen now..
I am with a service provider so I can only see my log this evening/or tomorrow morning..
I was not yet on simplepie in contenttype. So above testrecord you can ignore.

greetings,
Martijn

summit’s picture

Hi,

I think it is fixed now! I completely deleted my older feedapi_nodes and now it is working.
Thanks for fixing this.

greetings,
Martijn

shashi_bi’s picture

HI Martijnhaan ,

i installed the feedapi in my local system, it is working fine, feed is getting updated manually and when running cron. after uploading it into my hosting server when i click on refresh, feed is not getting updated

it is giving like This feed has not been refreshed after the last check.

with the same code and db feed is getting updated in my local system, why it is not updating in hosting server could u plz guide me.

regards
bsk

summit’s picture

Version: 5.x-1.x-dev » 5.x-0.x-dev

Hi,

Please state step by step what you did. Did you read the readme.txt? Do you use the simplepie parser etc...
May be I can help you.

greetings,
Martijn

shashi_bi’s picture

Hi

Thanks for your quick reply..

I have read the readme.txt file, i did each and every step in my local system, it is working fine in my local system it is giving this message when i refresh the feed (10 new item(s) were saved. 0 existing item(s) were updated. ). i uploaded files and db to the hosting server there am getting this message when i refresh the feed This feed has not been refreshed after the last check

you can check at my url: http://www.tollywoodfans.com

user: admin/admin

regards
bsk

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

summit’s picture

Hi bsk,

You solved your issue, I think. I logged in once, but where not able to see an anomaly.
Good for you!

greetings,
Martijn