site_cubicweb.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 05 Aug 2010 19:31:27 +0200
changeset 218 45510a9bb345
parent 215 4c9a9b321087
permissions -rw-r--r--
[views] use has_creator when available. add cwuri facet.

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