site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Fri, 14 Feb 2014 12:42:38 +0100
changeset 331 bb155f6d3cbe
parent 215 4c9a9b321087
permissions -rw-r--r--
[pkg] prepare 1.10.1

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