Ticket #5378 (new enhancement)

Opened 9 months ago

Last modified 4 months ago

Replace existing wp-includes/rss.php

Reported by: chmac Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: General Version:
Severity: normal Keywords: has-patch needs-testing dev-feedback
Cc:

Description

The current rss.php file is somewhat out of date and doesn't include a number of functions. For example, it doesn't support multiple categories. I'll attach a modified version that is distributed with wp-autoblog which is significantly better. I haven't tested it extensively, but it does provide a number of useful features which the current file doesn't. Plus, it's a single-file, drop-in replacement.

Attachments

rss.php (70.9 kB) - added by chmac on 11/21/07 22:58:01.
Suggested replacement for wp-includes/rss.php
5378.r6603.diff (89.5 kB) - added by hansengel on 01/13/08 15:41:25.
Patch version of rss.php, so changes are visible

Change History

11/21/07 22:58:01 changed by chmac

  • attachment rss.php added.

Suggested replacement for wp-includes/rss.php

11/22/07 01:28:28 changed by johnbillion

  • type changed from defect to enhancement.

chmac, to save people manually trawling through your attached file, can you give us a summary of the changes? For example, is there support for enclosures? And what are the new functions that are included?

11/23/07 00:53:46 changed by chmac

The file includes a summary of changes I believe. I noticed that it handles categories much better, and also creates a date_timestamp field (saves a bunch of hassle calculating dates). Those were the only two features I specifically needed, so I haven't looked at what else it does in detail.

var_dump(fetch_rss($url)) provides an awful lot more with this file. Beyond "more" I didn't really pay attention to specifically what it does.

01/13/08 15:41:25 changed by hansengel

  • attachment 5378.r6603.diff added.

Patch version of rss.php, so changes are visible

01/13/08 15:42:44 changed by hansengel

  • keywords set to has-patch needs-testing.

05/07/08 00:28:23 changed by DD32

  • keywords changed from has-patch needs-testing to has-patch needs-testing dev-feedback.