Skip to content

Use rss:pubDate over atom:updated when determining the posting date#288

Merged
mblaney merged 2 commits intosimplepie:masterfrom
icewind1991:master
Mar 13, 2016
Merged

Use rss:pubDate over atom:updated when determining the posting date#288
mblaney merged 2 commits intosimplepie:masterfrom
icewind1991:master

Conversation

@icewind1991
Copy link
Contributor

this fixes an issue where feeds that mix rss and atom tags (i.e. youtube channel upload feeds) get an incorrect posting data if the updated time changes.

It might also be useful to place the dc:date tags higher in the order.

An example feed with this issue is http://gdata.youtube.com/feeds/base/users/OfficialNerdCubed/uploads?alt=rss

this fixes an issue where feeds that mix rss and atom tags (i.e. youtube channel upload feeds) get an incorrect posting data if the updated time changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the following one should also be preferred to the element

@BernhardPosselt
Copy link
Contributor

Thanks for fixing it so I dont have to :)

@icewind1991
Copy link
Contributor Author

@Raydiation dc:date is now also used over atom:updated

@BernhardPosselt
Copy link
Contributor

hm, is it correct that updated has a higher priority than created and issued?

@BernhardPosselt
Copy link
Contributor

When is this going to be merged? We want to release the beta this weekend. I hope we can use this directly and dont have to ship a custom version of the lib

@BernhardPosselt
Copy link
Contributor

#283

@BernhardPosselt
Copy link
Contributor

@rmccue any update on this?

Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Jul 11, 2015
silent Warning cast with PHP 5.3.3 (RHEL-6)
simplepie/simplepie#258
Use rss:pubDate over atom:updated when determining the posting date
simplepie/simplepie#288
Update Item.php: add support for media thumbnails
simplepie/simplepie#340
Remove PHP Notices simplepie/simplepie#353
And removed "FreshRSS" annotations for pull requests submitted upstream

Fixed a typo in Date.php (wrong number for September)
simplepie/simplepie#374
Remove duplicate case simplepie/simplepie#406
Added set_curl_options method to allow custom options
simplepie/simplepie#407
Improved error message simplepie/simplepie#412
mblaney added a commit that referenced this pull request Mar 13, 2016
Use rss:pubDate over atom:updated when determining the posting date
@mblaney mblaney merged commit ec78f78 into simplepie:master Mar 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants