yacy_search_server/htroot/ViewProfile.html
orbiter 4a80902081 - 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
2008-01-28 18:21:08 +00:00

73 lines
2.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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">
#(display)#
#%env/templates/simpleheader.template%#
::
#%env/templates/header.template%#
#(/display)#
#(localremotepeer)#
<h2>Local Peer Profile:</h2>
::
<h2>Remote Peer Profile:</h2>
#(/localremotepeer)#
#(success)#
<p class="error">Wrong access of this page</p>
::
<p class="error">The requested peer is unknown or a potential peer.<br />
The profile can't be fetched.</p>
::
<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)#&nbsp;::#[value]##(/name)#</dd>
<dt>Nick Name</dt>
<dd>#(nickname)#&nbsp;::#[value]##(/nickname)#</dd>
<dt>Homepage</dt>
<dd>#(homepage)#&nbsp;::<a href="#[value]#">#[value]#</a>#(/homepage)#</dd>
<dt>eMail</dt>
<dd>#(email)#&nbsp;::<a href="mailto:#[value]#">#[value]#</a>#(/email)#</dd>
</dl>
<dl class="pairs">
<dt>ICQ</dt>
<dd>#(icq)#&nbsp;::<img src="http://web.icq.com/whitepages/online?icq=#[value]#&amp;img=5" alt="Onlinestatus" /><a href="http://wwp.icq.com/scripts/search.dll?to=#[value]#">#[value]#</a>#(/icq)#</dd>
<dt>Jabber</dt>
<dd>#(jabber)#&nbsp;::#[value]##(/jabber)#</dd>
<dt>Yahoo!</dt>
<dd>#(yahoo)#&nbsp;::#[value]##(/yahoo)#</dd>
<dt>MSN</dt>
<dd>#(msn)#&nbsp;::#[value]##(/msn)#</dd>
<dt>Skype</dt>
<dd>#(skype)#&nbsp;::#[value]##(/skype)#</dd>
</dl>
<dl class="pairs">
<dt>Comment</dt>
<dd>#(comment)#&nbsp;::#[value]##(/comment)#</dd>
#{other}#
<dt>#[key]#</dt>
<dd>#[value]#&nbsp;</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%#
::
#%env/templates/footer.template%#
#(/display)#
</body>
</html>