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)
#2
in reply to: ↑ 1
@
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.