[wp-trac] [WordPress Trac] #36669: Update SimplePie to Latest Version and possibly include PHP-MF2
WordPress Trac
noreply at wordpress.org
Sun Apr 15 19:55:00 UTC 2018
#36669: Update SimplePie to Latest Version and possibly include PHP-MF2
--------------------------------+------------------------------
Reporter: dshanske | Owner: rmccue
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------------+------------------------------
Comment (by etruel):
Hi all, someone recommended me to tell the following here. I'll try to
say some different behaviours that we have in our plugin WPeMatico by
reading different feeds.
I can't give too much technical details, but we're attending so much
tickets of lot of users with problems using the Simplepie 1.3.1 included
in WordPress that we solved just by using the new version 1.5 or newer.
Almost all the new things we found in the 1.5 version (already to download
in simplepie.org) was related with fixed issues and improvements.
(https://github.com/simplepie/simplepie/releases)
Using 1.3.1 included in WP, some of the feeds with problem are solved with
force_feed and others by changing to a known User-agent. (But in 1.5
works by default)
There are feeds giving different errors in 1.3.1 than 1.5. And some of
them work well in 1.5 and not in 1.3 (1.3 tried with and without
force_feed)
For example http://thenationonlineng.net/feed/
Works well with 1.5.
> 1.3.1 = ERROR: The feed http://thenationonlineng.net/feed/ cannot be
parsed. Simplepie said: This XML document is invalid, likely due to
invalid characters. XML error: Reserved XML Name at line 2, column 38
Many errors that produce notices like examples below are fixed easily by
using the new 1.5:
> ERROR: Feed https://www.cryptocoinsnews.com/feed could not be parsed.
(SimplePie said: A feed could not be found at
https://www.cryptocoinsnews.com/feed. A feed with an invalid mime type may
fall victim to this error, or SimplePie was unable to auto-discover it..
Use force_feed() if you are certain this URL is a real feed.)
> ERROR: Feed
https://www.youtube.com/feeds/videos.xml?channel_id=UCCWYNcRdRteOF3wIRVeaJZQ
could not be parsed. (SimplePie said: cURL error 60: SSL certificate
problem: unable to get local issuer certificate)
Hope this helps.
cheers
etruel
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36669#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list