Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Batteries-included RSS/Atom feed support #23
RSS/Atom feeds should be generated automatically from configuration options in the project's
project-name: RSS demo project base-path: / feeds: posts: file: /feeds/posts.xml query: session.query(Post).order_by(Post.date.desc()) projects: file: /feeds/projects.xml query: session.query(Project).order_by(Project.released.desc())
That particular example would get all posts and projects, but to make it more specific, just tweak your SQLAlchemy/MLAlchemy query that generates the feed.
feeds: programming-posts: file: /feeds/programming-posts.xml query: session.query(Post).filter(Post.tags.any(name='programming')).order_by(Post.date.desc())
See SQLAlchemy's documentation for details.