forked from I2P_Developers/i2p.i2p
* Bugfix to the I2PTunnel web config to properly accept i2cp port settings
* Initial sucker refactoring to simplify reuse of the html parsing
* Beginnings of hooks to push imported rss/atom out to remote syndie
archives automatically (though not enabled currently)
* Further SSU peer test cleanup
39 lines
2.7 KiB
Plaintext
39 lines
2.7 KiB
Plaintext
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="java.util.*" %><%
|
|
request.setCharacterEncoding("UTF-8");
|
|
%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>SML Quick Reference</title>
|
|
<link href="style.jsp" rel="stylesheet" type="text/css" >
|
|
</head>
|
|
<body>
|
|
<h3>SML Quick Reference:</h3>
|
|
<ul>
|
|
<li>newlines are newlines are newlines.</li>
|
|
<li>all < and > are replaced with their &symbol;</li>
|
|
<li>the [ and ] characters delimit tags, or must be quoted by doubling them up ([[ displays as [, ]] displays as ])</li>
|
|
<li>[b][/b] = <b>bold</b></li>
|
|
<li>[i][/i] = <i>italics</i></li>
|
|
<li>[u][/u] = <i>underline</i></li>
|
|
<li>[pre]foo[/pre] = <pre>preformatted section</pre></li>
|
|
<li>[cut]more inside[/cut] = <a href="#">more inside...</a></li>
|
|
<li>[quote][/quote] = Quoted text</li>
|
|
<li>[img attachment="1"]alt[/img] = use attachment 1 as an image with 'alt' as the alt text.</li>
|
|
<li>[attachment id="0"]text[/attachment] = offer attachment 0 as a link in your post</li>
|
|
<li>[attachment thumbnail="0" id="1"]text[/attachment] = offer attachment 1 as a link around a thumbnail image using attachment 0</li>
|
|
<li>[link schema="eep" location="http://forum.i2p"]text[/link] = offer a link to an external resource (accessible with the given schema)</li>
|
|
<li>[blog name="name" bloghash="base64hash"]description[/blog] = link to all posts in the blog</li>
|
|
<li>[blog name="name" bloghash="base64hash" blogentry="1234"]description[/blog] = link to the specified post in the blog</li>
|
|
<li>[blog name="name" bloghash="base64hash" blogtag="tag"]description[/blog] = link to all posts in the blog with the specified tag</li>
|
|
<li>[blog name="name" blogtag="tag"]description[/blog] = link to all posts in all blogs with the specified tag</li>
|
|
<li>[archive name="name" description="they have good stuff" schema="eep" location="http://syndiemedia.i2p/archive/archive.txt"]foo![/archive] = offer an easy way to sync up with a new Syndie archive</li>
|
|
<li>[address name="www.i2p" location="Nf3ab-ZFkmI-LyMt7Gjg...vobM57UpqSAAAA" schema="i2p" proto="eep"]official website[/address] = share a pet name reference to the given eepsite (using fields from the addresses page)</li>
|
|
</ul>
|
|
SML headers are newline delimited key:value pairs. Example keys are:
|
|
<ul>
|
|
<li>bgcolor = background color of the post (e.g. bgcolor:#ffccaa or bgcolor=red)</li>
|
|
<li>bgimage = attachment number to place as the background image for the post (only shown if images are enabled) (e.g. bgimage=1)</li>
|
|
<li>textfont = font to put most text into</li>
|
|
</ul>
|
|
</body>
|