if you have an RSS feed generator like this:

def feed():
        w = db.plugin_wiki_page
        return db(w.active==True)
(w.public==True).select(orderby=w.created_on).as_list()

it won't work for plugin_wiki_pages out of the box because it doesn't
respect the RSS format, being:
dict(title="my feed",
        link="http://feed.example.com";,
        description="my first feed",
        entries=[dict('title', 'link', 'created_on', 'description'),...]

It could be great if I could generate adapt the db().select() field
names returned by the query from the db.plugin_wiki_page table so that
I could easily match the contents in the entries dict without having
to fully regenerate it as a list of dicts to all existing pages.

The answer to this questions may be interesting to anyone that wants
to have RSS feeds attached to any table.

Thank you,
Best regards

Reply via email to