site_cubicweb.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Tue, 28 Sep 2010 15:47:50 +0200
changeset 237 c5fdcaa505f6
parent 215 4c9a9b321087
permissions -rw-r--r--
add MicroBlog entity

# 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')