Mercurial > hg > Feedworm
view COUCHDB.txt @ 197:e604c32f67aa
normalize the published date if the feed contains none
author | dirk |
---|---|
date | Tue, 24 Jan 2012 10:08:45 +0100 |
parents | dc0a82841a60 |
children |
line wrap: on
line source
Idea for a couchdb backend - one database "feedworm" - type attribute for the different document types: 'feed', 'feedEntry', 'preference' - a view for unread feedEntries, keyed by feed id - get unread feedEntries from that view, use feed id as query parameter doc = { "type" : "feedEntry", "feed" : "48c74f2b70c85862f217c05c5f0d5c91", "link" : entry.link, "title" : entry.title, "summary" : entry.summary, "read" : False, "updated" : entry.updated} curl -X GET 'http://localhost:5984/todo/_design/todo/_view/unfinished?key="iObjects"'