site_cubicweb.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 09 Sep 2010 09:39:44 +0200
changeset 228 3dc7e3415005
parent 215 4c9a9b321087
permissions -rw-r--r--
fix isioc_container implementation: shouldn't return a list

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