Opened 15 years ago
Closed 14 years ago
#1286 closed defect (bug) (fixed)
Activity feed pubDate tag showing oldest date instead of newest
Reported by: | MrMaz | Owned by: | MrMaz |
---|---|---|---|
Milestone: | 1.2.6 | Priority: | minor |
Severity: | Version: | ||
Component: | Core | Keywords: | has-patch activity feed pubdate order sort |
Cc: |
Description
Title says it all. I think this line should order by DESC not ASC
http://trac.buddypress.org/browser/trunk/bp-activity/bp-activity-classes.php#L326
Attachments (1)
Change History (12)
#5
@
15 years ago
- Status changed from accepted to assigned
Sure. And actually, its not the sort order, its the pubDate tag in the feed header.
Load this up and view the XML source:
http://testbp.org/activity/feed
Grep for "pubDate"
More info on pubDate in the spec:
http://validator.w3.org/feed/docs/rss2.html
Technically your pubDate is supposed to be once or twice a day, but the bp activity class is using the date of the most recent update. I am not even sure if most feed readers use pubDate, but BP should try to follow the spec.
#7
@
15 years ago
All BP activity feeds are breaking RSS spec because of this issue. Why not fix it asap?
I spent a lot of time researching this one, a comment would be appreciated.
#8
@
14 years ago
- Component set to Core
- Milestone changed from Future Release to 1.3
MrMaz would you take a look at this please?
#9
@
14 years ago
Re: http://trac.buddypress.org/ticket/1286#comment:5
Confirmed on testbp.org.
pubDate shows Jan 1, 1970.
Can you show me a place on testbp.org where the activity shows up in the wrong order?