Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#7473 closed enhancement (wontfix)

Use post modified date for items in all syndicated feeds

Reported by: lapcat Owned by:
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc: Focuses:

Description

This is a followup to ​http://trac.wordpress.org/ticket/4816. Atom feeds items, which have two date fields, "updated" and "published", were handled by ticket 4816. Unfortunately, RSS 1.0 and RSS 2.0 feed items only have one date field ("dc:date" in the former, "pubDate" in the latter). This ticket is to request that the post modified date be used rather than the post date in the date fields of RSS 1.0 and RSS 2.0 items. With this change, syndicated feed readers would be able to detect and handle posts that have been updated.

I believe that this would require changing "post_date_gmt" to "post_modified_gmt" in the "dc:date" field in the file "wp-includes/feed-rdf.php" and changing "get_post_time" to "get_post_modified_time" in the "pubDate" field in the file "wp-includes/feed-rss2.php". I've been running my own WordPress installation with these modifications for well over a year without any problems.

The one thing I'm not sure about is what database query WordPress uses to select the posts that will appear in the feeds. Does it select them based on post date or based on past modified date?

Change History (5)

#1 follow-up: @westi
18 years ago

feed items are AFAIK and should be selected on post_date_gmt.

We don't want updated items popping to the top of the feed as that is just annoying and wrong.

#2 in reply to: ↑ 1 @lapcat
18 years ago

Replying to westi:

feed items are AFAIK and should be selected on post_date_gmt.

We don't want updated items popping to the top of the feed as that is just annoying and wrong.

Well, that's a matter of opinion. I think it's annoying and wrong if a post is updated but never appears in the feed, so the feed subscriber never knows.

#3 @ryan
18 years ago

  • Milestone 2.7 → 2.8

Moving enhancements to 2.8.

#4 @FFEMTcJ
18 years ago

  • Milestone 2.8 → Future Release

No patch.

#5 @Denis-de-Bernardy
18 years ago

  • Milestone Future Release
  • Resolution → wontfix
  • Status new → closed

agreeing with westi.

Note: See TracTickets for help on using tickets.