comparison rdf/generator/template-generator.cpp @ 221:2d713ece8dbf

* Add copyright note, use long string form for description (and copyright note)
author cannam
date Wed, 29 Oct 2008 17:15:10 +0000
parents 81ffb843c8cc
children 11588ad1cc3b
comparison
equal deleted inserted replaced
220:80bac7a7b667 221:2d713ece8dbf
106 { 106 {
107 string res=\ 107 string res=\
108 "plugbase:"+plugin->getIdentifier()+" a vamp:Plugin ;\n\ 108 "plugbase:"+plugin->getIdentifier()+" a vamp:Plugin ;\n\
109 dc:title \""+plugin->getName()+"\" ;\n\ 109 dc:title \""+plugin->getName()+"\" ;\n\
110 vamp:name \""+plugin->getName()+"\" ;\n\ 110 vamp:name \""+plugin->getName()+"\" ;\n\
111 dc:description \""+plugin->getDescription()+"\" ;\n\ 111 dc:description \"\"\""+plugin->getDescription()+"\"\"\" ;\n\
112 foaf:maker [ foaf:name \""+plugin->getMaker()+"\" ] ; # FIXME could give plugin author's URI here\n\ 112 foaf:maker [ foaf:name \""+plugin->getMaker()+"\" ] ; # FIXME could give plugin author's URI here\n\
113 vamp:copyright_note \"\"\""+plugin->getCopyright()+"\"\"\" ;\n\
113 # cc:license <Place plugin license URI here and uncomment> ; \n\ 114 # cc:license <Place plugin license URI here and uncomment> ; \n\
114 vamp:identifier \""+plugin->getIdentifier()+"\" ;\n\ 115 vamp:identifier \""+plugin->getIdentifier()+"\" ;\n\
115 vamp:vamp_API_version vamp:api_version_"+to_string(plugin->getVampApiVersion())+" ;\n\ 116 vamp:vamp_API_version vamp:api_version_"+to_string(plugin->getVampApiVersion())+" ;\n\
116 owl:versionInfo \""+to_string(plugin->getPluginVersion())+"\" ;\n"; 117 owl:versionInfo \""+to_string(plugin->getPluginVersion())+"\" ;\n";
117 if (plugin->getInputDomain() == Vamp::Plugin::FrequencyDomain) 118 if (plugin->getInputDomain() == Vamp::Plugin::FrequencyDomain)