site_cubicweb.py
author Florent Cayre <florent.cayre@logilab.fr>
Sun, 14 Jul 2013 22:57:09 +0200
changeset 302 370a454eb55b
parent 215 4c9a9b321087
permissions -rw-r--r--
Added tag cubicweb-blog-cenos-version-1.9.6-1 for changeset 6500dc13ddbf

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