Opened 17 years ago
Closed 16 years ago
#6609 closed defect (bug) (fixed)
Magpie improperly parses Google ATOM feeds
Reported by: | karlkatzke | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | high |
Severity: | critical | Version: | 2.5 |
Component: | General | Keywords: | magpie simplepie |
Focuses: | Cc: |
Description
See this forum post: http://wordpress.org/support/topic/164824?replies=4#post-725697
Change History (16)
#4
@
17 years ago
2.5 broke a LOT of back-compat in a lot of admin places, etc. I'd say we should toss this in as a "2.6 breaks it" feature.
#5
@
17 years ago
It's OK to provide back-compat and keep Magpie in the chain, but for god's sakes provide an easier way to use something different.
One of these days, we'll all get to stop supporting PHP4 and actually get to use abstraction and all that other good OOP stuff in PHP5. That'd make maintaining backwards compatibility and maintaining multiple libraries/plugins for things like parsing PHP a snap.
#7
in reply to:
↑ 6
@
17 years ago
Replying to karlkatzke:
Err, for parsing RSS.
'Sokay, my neural parser was in error correcting mode -- I think I actually read 'RSS' though you typed PHP. Dunno about anyone else.
*grin*
#8
@
17 years ago
The newer versions of Magpie do a great job at lots of feed types and don't break the existing uses of the old version of the library in wp. the feedwordpress plugin (an aggregator) asks you to upload two files into wp-includes that overwrite the existing magpie with an updated version and it works fine. see this article about it:
http://projects.radgeek.com/2008/04/18/compatability-bugs-and-possible-quick-fixes-for-issues-with-feedwordpress-after-upgrading-to-wordpress-25/
I think using those files would be great for wp as a whole and for encouraging people to use those libraries like they use jquery rather than including a whole other library just for the plugin. it would also be nice to not have to re upload them each time there's an upgrade.
If that's not an option then +1 for abstracting it out a bit so that plugins can at least overwrite the library in favor of their own without overwriting the files (FWP could then just use the newer version on their own time but keep the wrappers and stuff).
#9
@
17 years ago
Even the newer Magpie is still pretty poor at Google feeds. I did the same thing with one of my older plugins (dropped in a newer Magpie). But the simple fact is that Magpie is a dead project.
The latest version of it is three years old: http://sourceforge.net/project/showfiles.php?group_id=55691
We should use software that is actively supported and maintained.
As far as backward compatibility goes, that's easy. We leave the rss-functions.php file there as is, and use some other file instead. Add the deprecated tags and function calls to it. Change all the internal bits of WordPress to use the new library. Remove Magpie after a few versions. No problem.
#13
@
16 years ago
- Cc rmccue added
- Keywords magpie simplepie added
As an official developer for SimplePie, I'm up for integrating SimplePie if you're willing to accept a patch for it.
I specifically want to point out:
http://trac.wordpress.org/ticket/2683#comment:5
We all know what assume means, right?
Therefore, Magpie needs to be updated and/or the bugs need to be fixed so that Gdata atom feeds are properly consumed and parsed.