site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Fri, 02 Mar 2012 14:59:28 +0100
branchstable
changeset 276 2cd1f06eaf2a
parent 215 4c9a9b321087
permissions -rw-r--r--
Added tag cubicweb-blog-version-1.9.3 for changeset ef07b3e39a1f

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