Opened 4 years ago

Closed 4 years ago

#9198 closed task (blessed) (fixed)

Use SimplePie for widget and dashboard feeds

Reported by: ryan Owned by: rmccue
Priority: normal Milestone: 2.8
Component: Feeds Version:
Severity: normal Keywords: feed rss
Cc:

Description

Start using SimplePie for feed processing. Introduce new function fetch_feed() that returns a SimplePie object and handles caching. Leave fetch_rss() and Magpie around for back compat.

Attachments (2)

simplepie.diff (8.0 KB) - added by ryan 4 years ago.
Switch widgets over to simplepie. Caching not done yet. Assumes simplepie.inc in wp-includes
9198.diff (771 bytes) - added by rmccue 4 years ago.
Add PHPDoc and return a WP_Error if needed

Download all attachments as: .zip

Change History (8)

ryan4 years ago

Switch widgets over to simplepie. Caching not done yet. Assumes simplepie.inc in wp-includes

  • Owner changed from anonymous to rmccue
  • Status changed from new to assigned

For the cache check, bug 58 is filed on the SimplePie bug tracker for it, slated for 1.2. Until Ryan Parman or myself can get around to coding that and getting 1.2 out the door, we should be able to work around it with our custom cache class.

comment:2   ryan4 years ago

  • Type changed from enhancement to task (blessed)

comment:3   ryan4 years ago

(In [10666]) Use SimplePie for widget and dashboard feeds. First cut. see #9198

rmccue4 years ago

Add PHPDoc and return a WP_Error if needed

comment:4   ryan4 years ago

(In [10671]) phpdoc for fetch_feed(). Props rmmcue. see #9198

comment:5   ryan4 years ago

  • Component changed from General to Feeds

comment:6   ryan4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.