Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

RSS Feeds not offering published date

#54

Preface: This is something I noticed with my site tonight (I call the project djingle, although I've never opened the source) and went looking to see how you handled it. Come to find out, you had the same issue. The examples on Djangoproject.com don't mention the significance of the item_pubdate method.

Issue: When someone subscribes to a feed for the first time, the last n entries are returned in reverse order with the current machine timestamp. Over time, new entries take on the timestamp of when they are added to the feed reader, not when they're actually published.

To fix: Define this method for each feed:

def item_pubdate(self, item):
    return item.pub_date

Attachment: Described behavior in NetNewsWire. Newest articles should be at the top (they aren't).

Reported by Luke Hatcher · July 1st, 2008 @ 11:15 PM

State: resolved
Assigned to: Will Larson Will Larson

Activity

  1. Will Larson
    Will Larson
    • State changed from new to resolved

    Fixed courtesy of patch by Luke Hatcher.

    http://github.com/lethain/lifefl...

    July 5th, 2008 @ 09:59 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.