diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-01-28 18:21:08 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-01-28 18:21:08 +0000 |
| commit | 4a8090208130f1b2dae7e97904a27dfa5c82adcc (patch) | |
| tree | 91f275f09198fa4a3f8fdcaeb8c11c9ac4fcfdf7 /htroot/ViewProfile.html | |
| parent | 1b930a67028515d5c577526a6c009c7961e660b3 (diff) | |
- added ViewProfile as rdf in foaf syntax
- added link to rdf and vCard version on html page
- can be seen on http://localhost:8080/ViewProfile.html?hash=localhash
- more generics
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4411 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ViewProfile.html')
| -rw-r--r-- | htroot/ViewProfile.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/htroot/ViewProfile.html b/htroot/ViewProfile.html index de84fce21..4cb64e56a 100644 --- a/htroot/ViewProfile.html +++ b/htroot/ViewProfile.html @@ -3,6 +3,7 @@ <head>
<title>YaCy '#[clientname]#': Remote Peer Profile</title>
<link rel="alternate" type="text/x-vcard" title="vCard" href="ViewProfile.vcf?hash=#[hash]#" />
+ <link rel="meta" type="application/rdf+xml" title="rdf:foaf" href="ViewProfile.rdf?hash=#[hash]#" />
#%env/templates/metas.template%#
</head>
<body id="ViewProfile">
@@ -25,7 +26,7 @@ <p class="error">The peer #[peername]# is not online.</p>
::
<h3>This is the Profile of #[peername]#:</h3>
-
+ <fieldset>
<dl class="pairs">
<dt>Name</dt>
<dd>#(name)# ::#[value]##(/name)#</dd>
@@ -58,7 +59,10 @@ <dd>#[value]# </dd>
#{/other}#
</dl>
+ </fieldset>
#(/success)#
+ <p>View this profile as <a rel="meta" type="application/rdf+xml" title="rdf:foaf" href="ViewProfile.rdf?hash=#[hash]#"/>rdf:foaf</a> or
+ <a rel="alternate" type="text/x-vcard" title="vCard" href="ViewProfile.vcf?hash=#[hash]#" />vCard</a></p>
#(display)#
#%env/templates/simplefooter.template%#
::
|
