site_cubicweb.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 21 Mar 2013 15:40:29 +0100
branchstable
changeset 298 e9526bfa5802
parent 215 4c9a9b321087
permissions -rw-r--r--
merge default into stable

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