*) Added a Wiki Code help page and links to it at every textbox Wiki Code can be used in. Maybe this will encourage people to play around with the Wiki and the Blog more.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2437 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
1c99b5a484
commit
b387bd47db
@ -0,0 +1,152 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>YaCy '#[clientname]#': Wiki Help</title>
|
||||
#%env/templates/metas.template%#
|
||||
</head>
|
||||
<body>
|
||||
<br>
|
||||
<h2>Index Creation</h2>
|
||||
<br>
|
||||
<div align="center">
|
||||
<table width="95%" border="1">
|
||||
<caption>This table contains a short description of the tags that can be used in the Wiki and several other servlets of YaCy. For a more detailed description visit the <a href="http://www.yacy-websuche.de/wiki/index.php/Hauptseite">YaCy Wiki</a>.</caption>
|
||||
<tr valign="top">
|
||||
<th>
|
||||
Code
|
||||
</th>
|
||||
<th>
|
||||
Description
|
||||
</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
==headline1==<br>===headline2===<br>====headline3====
|
||||
</td>
|
||||
<td>
|
||||
This tags create headlines. If a page has three or more headlines, a directory will be created automaticly.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
''text''<br>'''text'''<br>'''''text'''''
|
||||
</td>
|
||||
<td>
|
||||
This tags create stressed texts. Most browsers will display the texts in italics, bold, and a combination of both.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
:text<br>::text
|
||||
</td>
|
||||
<td>
|
||||
Lines will be indented. This tag is supposed to mark citations.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
#point1<br>##point1.1<br>##point1.2<br>#point2
|
||||
</td>
|
||||
<td>
|
||||
This tags create a numbered list.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
*something<br>**another thing<br>***and yet another<br>*something else
|
||||
</td>
|
||||
<td>
|
||||
This tags create a unnumbered list.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
;word 1:definition 1<br>;word 2:definition 2<br>;;word 3:definition 3<br>;word 4:definition 4
|
||||
</td>
|
||||
<td>
|
||||
This tags create a definition list.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
----
|
||||
</td>
|
||||
<td>
|
||||
This tag creates a horizontal line.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
[[pagename]]<br>[[pagename|description]]
|
||||
</td>
|
||||
<td>
|
||||
This tag creates links to other pages of the wiki.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
[url]<br>[url description]
|
||||
</td>
|
||||
<td>
|
||||
This tag creates links to external websites.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
[[Image:url]]<br>[[Image:url|alt text]]<br>[[Image:url|align|alt text]]
|
||||
</td>
|
||||
<td>
|
||||
This tag displays an image, it can be aligned left, right or center.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
{|<br>|-<br>||row 1, col 1||row 1, col 2<br>|-<br>||row 2, col 1||row 2, col 2<br>|}
|
||||
</td>
|
||||
<td>
|
||||
This tags create a table.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
[= text =]
|
||||
</td>
|
||||
<td>
|
||||
The escape tags will cause all tags in the text between the starting and the closing tag to not be treated as regular text.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<pre> text </pre>
|
||||
</td>
|
||||
<td>
|
||||
A text between this text will keep all the spaces an linebreaks in it. Great for ASCII-art and program code.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td>
|
||||
text<br> text<br>text
|
||||
</td>
|
||||
<td>
|
||||
If a line starts with a space, it will be displayed in a non-proportional font.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,62 @@
|
||||
// WikiHelp.java
|
||||
// -----------------------
|
||||
// part of the AnomicHTTPD caching proxy
|
||||
// (C) by Michael Peter Christen; mc@anomic.de
|
||||
// first published on http://www.anomic.de
|
||||
// Frankfurt, Germany, 2004
|
||||
//
|
||||
// $LastChangedDate: 2006-08-21 22:40:00 +0200 (Mo, 21 Aug 2006) $
|
||||
// $LastChangedRevision: 2436 $
|
||||
// $LastChangedBy: low012 $
|
||||
//
|
||||
// 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
|
||||
//
|
||||
// Using this software in any meaning (reading, learning, copying, compiling,
|
||||
// running) means that you agree that the Author(s) is (are) not responsible
|
||||
// for cost, loss of data or any harm that may be caused directly or indirectly
|
||||
// by usage of this softare or this documentation. The usage of this software
|
||||
// is on your own risk. The installation and usage (starting/running) of this
|
||||
// software may allow other people or application to access your computer and
|
||||
// any attached devices and is highly dependent on the configuration of the
|
||||
// software which must be done by the user of the software; the author(s) is
|
||||
// (are) also not responsible for proper configuration and usage of the
|
||||
// software, even if provoked by documentation provided together with
|
||||
// the software.
|
||||
//
|
||||
// Any changes to this file according to the GPL as documented in the file
|
||||
// gpl.txt aside this file in the shipment you received can be done to the
|
||||
// lines that follows this copyright notice here, but changes must not be
|
||||
// done inside the copyright notive above. A re-distribution must contain
|
||||
// the intact and unchanged copyright notice.
|
||||
// Contributions and changes to the program code must be marked as such.
|
||||
//
|
||||
// You must compile this file with
|
||||
// javac -classpath .:../classes WikiHelp.java
|
||||
// if the shell's current path is HTROOT
|
||||
|
||||
import de.anomic.http.httpHeader;
|
||||
import de.anomic.plasma.plasmaSwitchboard;
|
||||
import de.anomic.server.serverObjects;
|
||||
import de.anomic.server.serverSwitch;
|
||||
|
||||
public class WikiHelp {
|
||||
|
||||
public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
|
||||
final plasmaSwitchboard sb = (plasmaSwitchboard) env;
|
||||
final serverObjects prop = new serverObjects();
|
||||
return prop;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue