Skip to content

Commit

Permalink
*) repaired and added IM online status indicators
Browse files Browse the repository at this point in the history
*) added some missing SVN properties
*) removed unnecessary comment, added missing copyright notice

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6266 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed Aug 26, 2009
1 parent e7736d9 commit 93b2622
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 16 deletions.
8 changes: 4 additions & 4 deletions htroot/ViewProfile.html
Expand Up @@ -40,17 +40,17 @@ <h3>This is the Profile of #[peername]#:</h3>

<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>
<dd>#(icq)#&nbsp;::<a href="http://www.icq.com/people/about_me.php?to=#[value]#">#[value]#</a> <img src="http://wwp.icq.com/scripts/online.dll?icq=#[value]#&amp;img=5" alt="Onlinestatus" />#(/icq)#</dd>
<dt>Jabber</dt>
<dd>#(jabber)#&nbsp;::#[value]##(/jabber)#</dd>
<dt>Yahoo!</dt>
<dd>#(yahoo)#&nbsp;::#[value]##(/yahoo)#</dd>
<dd>#(yahoo)#&nbsp;::#[value]# <img src="http://opi.yahoo.com/online?u=#[value]#&amp;m=g&amp;t=0&amp;zzz=.png" alt="Onlinestatus" />#(/yahoo)#</dd>
<dt>MSN</dt>
<dd>#(msn)#&nbsp;::#[value]##(/msn)#</dd>
<dt>Skype</dt>
<dd>#(skype)#&nbsp;::#[value]##(/skype)#</dd>
<dd>#(skype)#&nbsp;::#[value]# <img src="http://mystatus.skype.com/smallicon/#[value]#" alt="Onlinestatus" />#(/skype)#</dd>
</dl>

<dl class="pairs">
<dt>Comment</dt>
<dd>#(comment)#&nbsp;::#[value]##(/comment)#</dd>
Expand Down
16 changes: 10 additions & 6 deletions htroot/ViewProfile.java
@@ -1,12 +1,17 @@
// ViewProfile_p.java
// -----------------------
// part of YaCy
// (C) by Michael Peter Christen; mc@yacy.net
// first published on http://www.anomic.de
// Frankfurt, Germany, 2004, 2005
// (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
// first published 07.04.2005 on http://yacy.net
//
// This is a part of YaCy, a peer-to-peer based web search engine
//
// This File is contributed by Alexander Schier
// last change: 29.06.2005 by Marc Nause
//
// $LastChangedDate$
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -162,7 +167,6 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.putHTML("success_" + key + "_value", value); //put replaces HTML Chars by entities.
}
}
//special handling, hide flower if no icq uin is set
} else if (key.equals("homepage")) {
if (value.length() > 0) {
if (!(value.startsWith("http"))) {
Expand Down
6 changes: 3 additions & 3 deletions source/de/anomic/document/parser/htmlParser.java
Expand Up @@ -4,9 +4,9 @@
//
// This is a part of YaCy, a peer-to-peer based web search engine
//
// $LastChangedDate: 2009-03-20 16:44:59 +0100 (Fr, 20 Mrz 2009) $
// $LastChangedRevision: 5736 $
// $LastChangedBy: borg-0300 $
// $LastChangedDate$
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
Expand Down
6 changes: 3 additions & 3 deletions source/de/anomic/document/parser/xml/ODContentHandler.java
Expand Up @@ -4,9 +4,9 @@
//
// This is a part of YaCy, a peer-to-peer based web search engine
//
// $LastChangedDate: 2009-07-09 22:13:11 +0200 (Do, 09. Jul 2009) $
// $LastChangedRevision: 6186 $
// $LastChangedBy: low012 $
// $LastChangedDate$
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
Expand Down
26 changes: 26 additions & 0 deletions source/de/anomic/document/parser/xml/ODMetaHandler.java
@@ -1,3 +1,29 @@
// ODMetaHandler.java
// (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
// first published 18.07.2009 on http://yacy.net
//
// This is a part of YaCy, a peer-to-peer based web search engine
//
// $LastChangedDate$
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

package de.anomic.document.parser.xml;

import org.xml.sax.Attributes;
Expand Down

0 comments on commit 93b2622

Please sign in to comment.