summaryrefslogtreecommitdiff
path: root/htroot/ViewProfile.xml
diff options
context:
space:
mode:
authortheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-11-05 16:26:25 +0000
committertheli <theli@6c8d7289-2bf4-0310-a012-ef5d649a1542>2006-11-05 16:26:25 +0000
commitbd3710a974ae373bc2fdc3e9d2f8bec383561eea (patch)
treece07ee05d29fb5df33b882061e5030dc9939045e /htroot/ViewProfile.xml
parentd1afe1ce6b481892e30db352ea1924873b600d25 (diff)
*) new xml template to view peer profile as xml
*) bugfix for wrong profile display (some fields where displayed twice) *) new soap functions to get and set peer profile git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2919 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ViewProfile.xml')
-rw-r--r--htroot/ViewProfile.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/htroot/ViewProfile.xml b/htroot/ViewProfile.xml
new file mode 100644
index 000000000..a4f1e7312
--- /dev/null
+++ b/htroot/ViewProfile.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profile>
+ <status code="#[success]#">
+ #(success)#Wrong access of this page
+ ::The requested peer is unknown or a potential peer.The profile can't be fetched.
+ ::The peer #[peername]# is not online.
+ ::Peer profile successfully fetched
+ #(/success)#
+ </status>
+
+ #(success)#::::::
+ <name>#(name)#::<![CDATA[#[value]#]]>#(/name)#</name>
+ <nickname>#(nickname)#::<![CDATA[#[value]#]]>#(/nickname)#</nickname>
+ <homepage>#(homepage)#::<![CDATA[#[value]#]]>#(/homepage)#</homepage>
+ <email>#(email)#::<![CDATA[#[value]#]]>#(/email)#</email>
+ <icq>#(icq)#::<![CDATA[#[value]#]]>#(/icq)#</icq>
+ <jabber>#(jabber)#::<![CDATA[#[value]#]]>#(/jabber)#</jabber>
+ <yahoo>#(yahoo)#::<![CDATA[#[value]#]]>#(/yahoo)#</yahoo>
+ <msn>#(msn)#::<![CDATA[#[value]#]]>#(/msn)#</msn>
+ <comment>#(comment)#::<![CDATA[#[value]#]]>#(/comment)#</comment>
+
+ <!-- optional profile fields -->
+ #{other}#
+ <optional>
+ <name><![CDATA[#[key]#]]></name>
+ <value><![CDATA[#[value]#]]></value>
+ </optional>
+ #{/other}#
+ #(/success)#
+</profile> \ No newline at end of file