Share » Forums » Developer » RSS problem

RSS problem

RSS problem

Wednesday 21 December 2005 2:29:44 am - 6 replies

Author Message

Kåre Køhler Høvik

Wednesday 21 December 2005 2:52:43 am

Please see trunk rev. 14264 . We added improved RSS import in that revision. If you need help installing this on your system, please contact support ( http://ez.no/services/support )

Kåre Høvik

luis muñoz

Wednesday 21 December 2005 3:03:23 am

Thank you for the quick reply.
Is there any doc about improved RSS import? I cannot find it on your site

Luis

Kåre Køhler Høvik

Wednesday 21 December 2005 3:39:40 am

Check in trunk : doc/features/3.8/generic_rss_import.txt

Kåre Høvik

kracker (the)

The Doctor

Wednesday 21 December 2005 4:25:19 am

Check it,

The Link: http://pubsvn.ez.no/nextgen/trunk/doc/features/3.8/generic_rss_import.txt
The Contents:

*Title: More generic RSS import

*Documentation:

This improvement adds support for custom RSS import definitions, and supports more fields than the earlier version.
Custom import maps can be placed in extensions.

To still use old RSS import definitions, the update script update/common/scripts/updaterssimport.php must be run.

Custom import maps must be placed in :

<extension directory>/<extension name>/rss/ez<extension name>rssimport.php
This file must contain a class of the same name, and a function called 'rssFieldDefinition'.
The function returns an RSS definition in the form of a multidimentional array.

See kernel/classes/ezrssimport.php ::rssFieldDefinition() for default RSS definition.

//kracker
<i>Crystal Method - Busy Child</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

luis muñoz

Wednesday 21 December 2005 5:05:25 am

Thank you for the link.
I'll try downloading the last ez from the svn.

I have another rss question:

I have a error in the log:

Fatal error: Cannot redeclare rssimport1() (previously declared in /usr/ez372dev/cronjobs/rssimport.php:139) in /usr/ez372dev/cronjobs/rssimport.php on line 139

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.

This error is happening from the last update to 372. This only happends with the last rss feed of a long list. If i add another rss this isn't executed because of the error. If i delete the rss producing the error then i have the error in the last rss of the list.
This is a bit weird because all the rss is working fine but the last, alwais the last, no mater wich one i move to the last position

I don´t know if this is a bug, it happends in 3 different instalations, with different mysql version, different php compile options and diferent apache compile options. Also checked replacing all the system ezpublish files.

Thanks,
Luis

Yngve Bergheim

Thursday 26 January 2006 1:33:47 am

I got the same error when using the latest RSS mod from trunk.

PHP Fatal error:  Cannot redeclare rssimport1() (previously declared in /var/ez/ezpublish-3.7.3_rss_mod/cronjobs/rssimport.php:165) in /var/ez/ezpublish-3.7.3_rss_mod/cronjobs/rssimport.php on line 165

It seems like the rssimport.php is going thought a loop. All my RSS-feeds are imported correctly, but it's quite annoying to have this PHP error all the time.

Strangely this doesn't happen on windows.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu