view backend/couchdb/CouchApp/feedworm/views/feeds/map.js @ 211:1ac0b8e2feae

wrap the individual feed update with an exception handler so that a sinlge broken feed doesn't halt the entire update process
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 12 Nov 2012 08:10:40 +0100
parents a5bda54309ba
children
line wrap: on
line source

function(doc)
{
    if (doc.doctype == "feed")
    {
        emit(doc._id, doc)
    }
}