web/views/rdf.py
changeset 8035 f98012ec7c53
parent 7987 0977d9594d3c
child 10234 a12e4459eee5
equal deleted inserted replaced
8034:b07d61090706 8035:f98012ec7c53
    43     SKIP_RTYPES = VIRTUAL_RTYPES | set(['cwuri', 'is', 'is_instance_of'])
    43     SKIP_RTYPES = VIRTUAL_RTYPES | set(['cwuri', 'is', 'is_instance_of'])
    44 
    44 
    45     class RDFView(EntityView):
    45     class RDFView(EntityView):
    46         """rdf view for entities"""
    46         """rdf view for entities"""
    47         __regid__ = 'rdf'
    47         __regid__ = 'rdf'
    48         title = _('rdf')
    48         title = _('rdf export')
    49         templatable = False
    49         templatable = False
    50         content_type = 'text/xml' # +rdf
    50         content_type = 'text/xml' # +rdf
    51 
    51 
    52         def call(self):
    52         def call(self):
    53             graph = rdflib.Graph()
    53             graph = rdflib.Graph()