site_cubicweb.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Tue, 06 Aug 2013 10:53:45 +0200
changeset 314 268148de1a95
parent 215 4c9a9b321087
permissions -rw-r--r--
[views] refactor a bit the sitemap rules and make seo a recommend (closes #2551626)

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