The Sputnik sandbox
Test page. Feel free to edit indiscriminately (although you should keep a line around stating that it's a test page for editing)
Header 4
This is some HTML
- One
- Two
- Three
A list apart?
- Inky
- Pinky
- Blinky
- Clyde
header 2
header 3
Ося и Киса были здесь.
header 3
how about the Chinese characters, 比如这样??
This is [a link][]
[a link] : http://www.lemonde.fr
This is a test Some Lua:
require('sputnik')
return sputnik.new_wsapi_run_fn{
VERSIUM_PARAMS = { '/tmp/sputnik3/wiki-data/' },
BASE_URL = '/sputnik.ws',
}
Some C:
int main(void) {
printf("Hello, world!\n");
return 0;
}
Some Python:
def message(level, text):
""" A wrapper method for logging debug messages. """
logger = logging.getLogger('MARKDOWN')
if logger.handlers:
# The logger is configured
logger.log(level, text)
if level > WARN:
sys.exit(0)
elif level > WARN:
AESEWQRQERFASDFASDFASFD
Some bash:
cd ~/sputnik/lua tar xvzf foo.tgz
Actions field?
довольно неплохо!
This is a great tool.
hmmm. not
digraph "Kepler Project Relationships" {
subgraph frameworks {
node [style=filled];
sputnik; cgilua; orbit;
color=gray;
label="Frameworks";
}
subgraph servers {
node [style=filled];
xavante; any_server; apache;
color=gray;
label="Servers";
}
subgraph markups {
node=[style=filled];
markdown; medialike; pod;
color=gray;
label="Sputnik wiki markups";
}
//Node definitions
sputnik [shape="square"];
sputnik_pages [label="Wiki pages"];
orbit [shape="square"];
cgilua [shape="square"];
htk [label="HTK"];
sputnik [shape="square"];
cosmo [label="cosmo\n(a template engine)"];
wsapi [label="wsapi\n(web server api)"; style=filled];
any_server [label="Most servers"];
lua_cgi [label="???"];
lua_fcgi [label="???"];
mod_lua [label="old mod_lua"];
mod_markdown [label="Markdown lua module"];
no_idea [label="???"];
//markup languages
markdown [label="markdown (default)"; shape="square"];
medialike [shape="square"];
pod [shape="square"];
html [label="HTML"; shape="pentagon"];
//Process steps
wikilinks [label="wiki links"; shape="diamond"];
//Developer definitions
yuri_sputnik [label="yuri"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
yuri_cosmo [label="yuri"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
fabio_cosmo [label="fabio"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
fabio_orbit [label="fabio"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
fabio_wsapi [label="fabio"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
roberto [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
tomas_cgilua [label="tomas"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
tomas_htk [label="tomas"; shape="plaintext"; fontcolor="blue"; fontsize=10.0];
ana_lucia [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
jnwhiteh [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
carregal [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
javier [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
niklas [shape="plaintext"; fontcolor="blue"; fontsize=10.0];
//Graph
//systems
wsapi -> xavante [label="implemented by"];
wsapi -> lua_cgi [label="implemented by"];
wsapi -> lua_fcgi [label="implemented by"];
wsapi -> mod_lua [label="implemented by"];
lua_fcgi -> fastcgi [label="uses"];
lua_cgi -> cgi [label="uses"];
cosmo -> lpeg [label="uses"];
//plaforms
//servers
mod_lua -> apache;
cgi -> apache;
fastcgi -> apache;
cgi -> any_server;
fastcgi -> any_server;
orbit -> wsapi [label="uses"];
orbit -> cosmo [label="uses"];
cgilua -> sapi -> wsapi [label="???"];
cgilua -> htk [label="uses"];
sputnik -> wsapi [label="uses"];
sputnik -> cosmo [label="uses for page headers(?)"];
sputnik -> sputnik_pages [label="has"];
sputnik_pages -> markdown [label="can use"];
sputnik_pages -> medialike [label="can use"];
sputnik_pages -> pod [label="can use"];
//processes
markdown -> wikilinks -> cosmo;
wikilinks -> html;
markdown -> mod_markdown -> html;
medialike -> no_idea -> html;
pod -> no_idea -> html;
htk -> html;
//developer relationhips
yuri_sputnik -> sputnik [color="blue"];
yuri_cosmo -> cosmo [color="blue"];
fabio_cosmo -> cosmo [color="blue"];
fabio_orbit -> orbit [color="blue"];
tomas_cgilua -> cgilua [color="blue"];
tomas_htk -> htk [color="blue"];
fabio_wsapi -> wsapi [color="blue"];
carregal -> xavante [color="blue"];
javier -> xavante [color="blue"];
ana_lucia -> cgilua [color="blue"];
jnwhiteh -> sputnik [color="blue"];
roberto -> lpeg [color="blue"];
niklas -> mod_markdown [color="blue"];
}
digraph graphviz { a -> b -> c -> d -> blender }