site_cubicweb.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Oct 2010 18:17:59 +0200
changeset 246 8482731e12b4
parent 215 4c9a9b321087
permissions -rw-r--r--
IFeed adapter working with MicroBlog as well as Blog

# XML <-> yams equivalence
from cubicweb.xy import xy
xy.add_equivalence('Blog', 'sioc:Weblog')
xy.add_equivalence('BlogEntry', 'sioc:BlogPost')
xy.add_equivalence('BlogEntry title', 'dcterms:title')
xy.add_equivalence('BlogEntry content', 'sioc:content')