Mercurial > hg > MPIWGWeb
diff MPIWGStaff.py @ 253:065c4284238f
rdf extended for cone export
author | dwinter |
---|---|
date | Tue, 27 May 2014 11:33:16 +0200 |
parents | 5584046a6a04 |
children | c15138774864 |
line wrap: on
line diff
--- a/MPIWGStaff.py Tue Feb 25 08:12:12 2014 +0100 +++ b/MPIWGStaff.py Tue May 27 11:33:16 2014 +0200 @@ -316,12 +316,22 @@ coneIds = self.executeZSQL(qs) ret="""<?xml version="1.0" encoding="UTF-8"?> -<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> +<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:escidoc="http://purl.org/escidoc/metadata/terms/0.1/" xmlns:eprints="http://purl.org/eprint/terms/"> """ templ=""" <rdf:Description rdf:about="%s"> <dc:title>%s, %s</dc:title> + + <escidoc:position> + <rdf:Description> + <dc:identifier>escidoc:14002</dc:identifier> + <eprints:affiliatedInstitution>Max Planck Institute for the History of Science, Max Planck Society</eprints:affiliatedInstitution> + </rdf:Description> + </escidoc:position> + + + </rdf:Description> """ print coneIds.names()