Atom/RSS Feed

Finished the RSS/Atom feed. Originally we were going to support only Atom, but it takes nothing at all really to support RSS and Atom.

Feeds are available at the following paths:

/feed.atom
/feed.rss

I will need people to test this. It seems to work, but I would rather be safe than sorry.
It should yes. I'll fix that in an about an hour.
On Sep 5, 2014 12:06 PM, "Seth Ladd" <notifications@github.com> wrote:

> In app/handlers/feed.py:
>
> > +        feed.id("https://pub.dartlang.org/feeds/updated")
> > +        feed.title("Pub Packages")
> > +        feed.link(href="https://pub.dartlang.org/", rel="alternate")
> > +        feed.description("Last Updated Packages")
> > +        feed.author({"name": "Dart Team", "email": "misc@dartlang.org"})
> > +        i = 1
> > +        pager = QueryPager(int(page), "/packages.atom?page=%d",
> > +                       Package.all().order('-updated'),
> > +                       per_page=10)
> > +        for item in pager.get_items():
> > +            i += 1
> > +            entry = feed.add_entry()
> > +            for author in item.latest_version.pubspec.authors:
> > +                entry.author({ "name": author, "email": "N/A", uri: "" })
> > +            entry.link(item.url)
> > +            entry.id("https://pub.dartlang.org/feeds")
>
> shouldn't ID be unique?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dart-lang/pub-dartlang/pull/156/files#r17180939>.
>