site_cubicweb.py
author Jérôme Roy <jerome.roy@logilab.fr>
Tue, 22 Dec 2015 18:47:25 +0100
changeset 358 15fac35f3969
parent 215 4c9a9b321087
permissions -rw-r--r--
[debian] byte-compile for python3

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