mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
4bd927d513
- added two new api files for document metadata: - added a XHTML+RDFa html file shows the document metadata in a format that presents the data for rendering and for metadata retrieval. This is a typical document format for a semantic web data structure. the used RDF vocabulary is Dublin Core - added a xml file that shows the same data as pure DC metadata - integrated the API into the existing IndexControlURLs interface With about one billion metadata files (URL metadata) this extension makes the freeworld YaCy network to one of the probably largest metadata document provider for the semantic web! git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5490 6c8d7289-2bf4-0310-a012-ef5d649a1542
47 lines
2.0 KiB
HTML
47 lines
2.0 KiB
HTML
<?xml version="1.0" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<!--
|
|
this is a XHTML+RDFa file. It contains RDF annotations with dublin core properties
|
|
you can validate it with http://validator.w3.org/
|
|
-->
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:foaf="http://xmlns.com/foaf/0.1/">
|
|
|
|
<head profile="http://www.w3.org/2003/g/data-view">
|
|
<link rel="transformation" href="http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl"/>
|
|
<title>#[dc_title]#</</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
|
|
<body>
|
|
<form name="yacydoc" method="post" action="yacydoc.html" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<fieldset>
|
|
<h1 property="dc:Title">#[dc_title]#</h1>
|
|
|
|
<dl>
|
|
<dt>Author</dt><dd property="dc:Creator">#[dc_creator]#</dd>
|
|
<dt>Description</dt><dd property="dc:Description">#[dc_description]#</dd>
|
|
<dt>Subject</dt><dd property="dc:Subject">#[dc_subject]#</dd>
|
|
<dt>Publisher</dt><dd property="dc:Publisher">#[dc_publisher]#</dd>
|
|
<dt>Contributor</dt><dd property="dc:Contributor">#[dc_contributor]#</dd>
|
|
<dt>Date</dt><dd property="dc:Date">#[dc_date]#</dd>
|
|
<dt>Type</dt><dd property="dc:Type">yacy:doctype:#[dc_type]#</dd>
|
|
<dt>Identifier</dt><dd property="dc:Identifier">yacy:urlhash:#[dc_identifier]#</dd>
|
|
<dt>Sprache</dt><dd property="dc:Language">#[dc_language]#</dd>
|
|
|
|
<dt>Load Date</dt><dd property="yacy:loaddate">#[yacy_loaddate]#</dt>
|
|
<dt>Referrer Identifier</dt><dd property="yacy:referrer.hash">yacy:urlhash:#[yacy_referrer_hash]#</dt>
|
|
<dt>Referrer URL</dt><dd property="yacy:referrer.url">#[yacy_referrer_url]#</dt>
|
|
<dt>Document size</dt><dd property="yacy:size">#[yacy_size]#</dt>
|
|
<dt>Number of Words</dt><dd property="yacy:words">#[yacy_words]#</dt>
|
|
|
|
</dl>
|
|
</fieldset>
|
|
</form>
|
|
</body>
|
|
</html>
|