site_cubicweb.py
author Arthur Lutz <arthur.lutz@logilab.fr>
Fri, 06 Jan 2017 11:03:33 +0100
changeset 366 a03b280a3981
parent 215 4c9a9b321087
permissions -rw-r--r--
[tox] initial tox.ini

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