• I’m getting this error:

    Fatal error: Cannot redeclare parse_w3cdtf() (previously declared in /usr/local/psa/home/vhosts/distillusions.com/httpdocs/wp-includes/rss-functions.php:778) in /usr/local/psa/home/vhosts/distillusions.com/httpdocs/wp-content/themes/kiwi/includes/magpierss/rss_utils.inc on line 25

    After looking at both lines, they are identical:

    function parse_w3cdtf ( $date_str ) {

    I’m not that with it on this, so I’m hoping someone can throw me a bone here. My take is that one has to be stripped out and, rather than messing with WP’s functions, it should be taken out of the Magpie rss_utils.inc file. But the question is… how much do I strip out to make this functional? Are all of the Magpie .inc files interlinked? Will I have to gut those files as well?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Magpie is used in some areas of the WP code. You can simply call in the WP versions of the files, though they’ll obviously be older than whatever latest release is out there, or use a different method for pulling feeds.

    -d

    Thread Starter tydesperdition

    (@tydesperdition)

    Forgive my ignorance… call in? How do I do that?

    “call in” == “include”. have an include statement that directly references the WP rss-functions.php file. though, from the above error, it looks like it’s already been included by the time your code tries to run. you can look in that file, see what the functions are that are exposed, and call those functions (likely the same Magpie functions…).

    I wrote my own RSS aggregator (CG-FeedRead), so I admittedly don’t know a ton about Magpie or WP’s version of it…

    -d

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Conflict with Magpie?’ is closed to new replies.