site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Fri, 03 Feb 2012 16:14:25 +0100
branchstable
changeset 271 52cf0819af9a
parent 215 4c9a9b321087
permissions -rw-r--r--
[pkg] typo in debian version

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