1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 15:24:50 +00:00

Added first pass at support for building TiddlyWiki 2.6.x with TW5

There are still some whitespace and attribute ordering issues, but the
result runs correctly.
This commit is contained in:
Jeremy Ruston 2012-05-29 22:02:38 +01:00
parent d23fbe5ef1
commit a1c8ac624f
611 changed files with 170565 additions and 0 deletions

22
2bld.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
# build TiddlyWiki 2.x
# create a temporary directory if it doesn't already exist
mkdir -p tmp
mkdir -p tmp/tw2
# cook TiddlyWiki5
pushd tw2 > /dev/null
node ../core/boot.js \
--verbose \
--load shadows/tiddlywiki2.template.html.tid \
--load source/tiddlywiki.com/index.html.recipe \
--savetiddler $:/core/templates/tiddlywiki2.template.html ../tmp/tw2/index.html text/plain \
|| exit 1
popd > /dev/null
opendiff tmp/tw2/index.html tw2/target/index.2.6.5.html

View File

@ -0,0 +1,94 @@
title: $:/core/templates/tiddlywiki2.template.html
type: text/x-tiddlywiki-html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script id="versionArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{version}]]" text/plain>>
//]]>
</script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="copyright" content="
<<include "[prefix[{copyright}]]" text/plain>>
" />
<!--PRE-HEAD-START-->
<<include "[prefix[{prehead}]]" text/plain>>
<!--PRE-HEAD-END-->
<title>
<<include "[prefix[{title}]]" text/plain>>
</title>
<style id="styleArea" type="text/css">
<<include "[prefix[{style}]]" text/plain>>
</style>
<!--POST-HEAD-START-->
<<include "[prefix[{posthead}]]" text/plain>>
<!--POST-HEAD-END-->
</head>
<body onload="main();" onunload="if(window.unload) unload();">
<!--PRE-BODY-START-->
<<include "[prefix[{prebody}]]" text/plain>>
<!--PRE-BODY-END-->
<div id="copyright">
Welcome to TiddlyWiki created by Jeremy Ruston; Copyright &copy; 2004-2007 Jeremy Ruston, Copyright &copy; 2007-2011 UnaMesa Association
</div>
<noscript>
<<include "[prefix[{noscript}]]" text/plain>>
</noscript>
<div id="saveTest"></div>
<div id="backstageCloak"></div>
<div id="backstageButton"></div>
<div id="backstageArea"><div id="backstageToolbar"></div></div>
<div id="backstage">
<div id="backstagePanel"></div>
</div>
<div id="contentWrapper"></div>
<div id="contentStash"></div>
<div id="shadowArea">
<<include "[prefix[{shadow}]]" application/x-tiddler-html-div removePrefix:"{shadow}">>
</div>
<!--POST-SHADOWAREA-->
<div id="storeArea">
<<include "[prefix[{tiddler}]]" application/x-tiddler-html-div removePrefix:"{tiddler}">>
<<include "[prefix[{plugin}]]" text/plain>>
<<include "[prefix[{posttiddlers}]]" text/plain>>
</div>
<!--POST-STOREAREA-->
<!--POST-BODY-START-->
<<include "[prefix[{postbody}]]" text/plain>>
<!--POST-BODY-END-->
<script id="jsArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{prejs}]]" text/plain>>
<<include "[prefix[{js}]]" text/plain>>
<<include "[prefix[{postjs}]]" text/plain>>
//]]>
</script>
<<include "[prefix[{jsext}]]" text/plain>>
<script id="jsdeprecatedArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jsdeprecated}]]" text/plain>>
//]]>
</script>
<script id="jslibArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jslib}]]" text/plain>>
//]]>
</script>
<script id="jqueryArea" type="text/javascript">
//<![CDATA[
<<include "[prefix[{jquery}]]" text/plain>>
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
if(useJavaSaver)
document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>");
//]]>
</script>
<!--POST-SCRIPT-START-->
<<include "[prefix[{postscript}]]" text/plain>>
<!--POST-SCRIPT-END-->
</body>
</html>

View File

@ -0,0 +1,63 @@
TiddlyWiki
==========
https://github.com/TiddlyWiki/tiddlywiki.com
Description
-----------
This repository contains the tools required to create the site http://tiddlywiki.com/
The content for tiddlywiki.com is obtained from a [TiddlySpace](http://tiddlyspace.com/).
Prerequisites
-------------
Ensure that you have downloaded and installed TiddlyWiki as described at https://github.com/TiddlyWiki/tiddlywiki
You need perl to build tiddlywiki.com. If you do not have it installed, it can be downloaded [here](http://www.perl.org/get.html).
You need to set up `ginsu`. Copy the `ginsu` script file to somewhere that is on your path. Edit this file according to the instructions in the file.
You need to set up the `tiddler2tid`. Copy the `tiddler2tid` script file to somewhere that is on your path.
Building tiddlywiki.com
-----------------------
After downloading and installing TiddlyWiki checkout the version of TiddlyWiki that you wish to use for tiddlywiki.com. Ongoing development occurs in the tiddlywiki repository, so you need to checkout a tagged release version of TiddlyWiki. Change to the tiddlywiki directory and checkout the required version, eg:
git checkout tags/v2.6.5
Change back to the tiddlywiki.com directory.
Pull down the tiddlywiki.com content form TiddlySpace by invoking the `pull.sh` script:
./pull.sh
Edit the build script `bld` setting the correct version number for TiddlyWiki.
Invoke the build script:
./bld
You now need to generate the TiddlyWiki RSS file. To do this open the TiddlyWiki file index.html in Firefox, ensure the AdvancedOption "Generate an RSS feed when saving changes" is set, and then save the TiddlyWiki. Doing this also causes TiddlyWiki to generate some static HTML for display when Javascript is not enabled.
Edit the upload script `upload` setting the correct version number for TiddlyWiki.
Finally you need to upload the TiddlyWiki files to tiddlywiki.com. If this is the first time you are uploading, then you will need to create a `tmp` directory on tiddlywiki.com:
ssh user@tiddlywiki.com
[enter your password when prompted]
mkdir tmp
exit
You can now upload the TiddlyWiki files, run the upload script:
./upload
You will be prompted for your password on several occasions during the upload process. To do this you will of course need an account on tiddlywiki.com. The upload script assumes your remote user name is the same as your local user name, if it is not then you may specify your remote user name as the first parameter to the upload script.
Migrated from http://svn.tiddlywiki.org on 20110719.

17
tw2/source/tiddlywiki.com/bld Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Usage:
# bld [release]
DEFAULT_RELEASE="2.6.5"
RELEASE=${1:-$DEFAULT_RELEASE}
DEST=$PWD/cooked/tiddlywiki.com
mkdir -p cooked
mkdir -p cooked/tiddlywiki.com
cook $PWD/index.html.recipe -d $DEST -o index.$RELEASE.html
cook $PWD/empty.html.recipe -d $DEST -o empty.$RELEASE.html
cp ../tiddlywiki/java/TiddlySaver.jar $DEST/TiddlySaver.jar
rm $DEST/empty.$RELEASE.zip
cp $DEST/empty.$RELEASE.html tmp/empty.html
zip -j $DEST/empty.$RELEASE.zip tmp/empty.html $DEST/TiddlySaver.jar
rm tmp/empty.html

View File

@ -0,0 +1 @@
recipe: ../tiddlywiki/tiddlywiki.html.recipe

14
tw2/source/tiddlywiki.com/ginsu Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
#
# This is a sample ginsu script to be used with the tiddlywiki.com scripts
# Adjust this script and then install it somewhere on your $PATH, such as ~/bin.
#
# You will need to adjust COOKER_TRUNK below.
#
# Change this to where you have the cooker code installed
COOKER_TRUNK=$HOME/Documents/Code/GitHub/tiddlywiki/cooker
DEFAULT_FILENAME=index
FILENAME=${1:-$DEFAULT_FILENAME}
DEST=$PWD
RECIPE=$PWD/$FILENAME.html
ruby -C $COOKER_TRUNK ginsu.rb $RECIPE -d$DEST $2 $3 $4 $5

View File

@ -0,0 +1,3 @@
recipe: ../tiddlywiki/tiddlywikinonoscript.html.recipe
recipe: tiddlywiki-com-ref/split.recipe
recipe: tiddlywiki-com/split.recipe

View File

@ -0,0 +1,58 @@
#!/bin/sh
#
# this hack pulls down the wikis for each bag, splitting the wiki into tiddlers using ginsu
# long term plan is to use the "fat" JSON for a bag
#
set -e
export space
export dir
mkdir -p tmp
for space in tiddlywiki-com-ref tiddlywiki-com
do
mkdir -p $space
dir=tmp/${space}.html.0
curl -s http://${space}.tiddlyspace.com/bags/${space}_public/tiddlers.wiki > tmp/$space.html
# clear out the space directory so we can see deleted files when we commit
rm -f $space/*
# backup any existing exploded content
mkdir -p backups
[ -d $dir ] && mv $dir backups/$$
# split into tiddlers
(
cd tmp
ginsu $space > /dev/null
)
# convert .tiddler files into .tid files
(
cd "$dir"
tiddler2tid *.tiddler
find . -name \*.tid -o -name \*.js -o -name \*.meta |
while read file
do
sed -e '/^server.*: /d' -e '/^_hash:/d' < "$file" > "../../$space/$file"
done
)
# make recipe based on files in the space directory
(
cd $space
find . -name \*.tid -o -name \*.js |
grep -v '\.jpg\.' |
grep -v 'PageTemplate' |
grep -v 'SplashScreen' |
grep -v 'SiteSubtitle' |
sed 's/^/tiddler: /' > split.recipe
)
done
cook $PWD/index.html.recipe

View File

@ -0,0 +1,53 @@
#!/usr//bin/env perl
#
# convert .tiddler into .tid files
# useful for ginsu a TiddlyWiki, then HTTP PUT them to TiddlyWeb/TiddlySpaces
#
use strict;
sub read_file {
my ($filename) = @_;
undef $/;
local *FILE;
open FILE, "< $filename";
binmode(FILE, ":utf8");
my $c = <FILE>;
close FILE;
return $c;
}
foreach my $file (@ARGV) {
my $tid = $file;
my $text = "";
if ($file =~ /.tiddler$/) {
$tid =~ s/dler$//;
$text = read_file($file, encoding => 'utf8');
my $attrs = $text;
$attrs =~ s/\s*<div([^>]*)>.*$/$1/s;
$attrs =~ s/\s*(\w+)\s*=\s*["']([^"']*)["']\s*/$1: $2\n/gs;
$text =~ s/^\s*<div[^>]*>\s*<\s*pre>\s*(.*)\s*<\/pre\s*>\s*<\/div\s*>\s*$/$1/s;
$text = $attrs . "\n" . $text;
} elsif ($file =~ /.js$/) {
$tid =~ s/.js$/.tid/;
$text = read_file($file . ".meta") . "\n" . read_file($file);
}
if ($text) {
print "$tid\n";
open(FILE, "> $tid");
binmode(FILE, ":utf8");
print FILE $text;
close(FILE);
}
}

View File

@ -0,0 +1,18 @@
title: Basic Formatting
modifier: psd
created: 20110211142531
modified: 201102151515
tags: formatting
creator: matt
|Style|Formatting|h
|''bold''|{{{''bold''}}} - two single-quotes, not a double-quote|
|//italics//|{{{//italics//}}}|
|''//bold italics//''|{{{''//bold italics//''}}}|
|__underline__|{{{__underline__}}}|
|--strikethrough--|{{{--Strikethrough--}}}|
|super^^script^^|{{{super^^script^^}}}|
|sub~~script~~|{{{sub~~script~~}}}|
|@@Highlight@@|{{{@@Highlight@@}}}|
|{{{plain text}}}|{{{ {{{PlainText No ''Formatting''}}} }}}|
|/%this text will be invisible%/hidden text|{{{/%this text will be invisible%/}}}|

View File

@ -0,0 +1,31 @@
title: CSS Formatting
modifier: jermolene
created: 20110211142635
modified: 20111103182214
tags: formatting
creator: matt
!!Inline Styles
Apply CSS properties inline:
{{{
@@color:#4bbbbb;Some random text@@
}}}
Displays as:
@@color:#4bbbbb;Some random text@@
!!CSS classes
CSS classes can be applied to text blocks or runs. This form creates an HTML {{{<span>}}}:
{{{
{{customClassName{Some random text}}}
}}}
Displays as:
{{customClassName{Some random text}}}
This form generates an HTML {{{<div>}}}:
{{{
{{customClassName{
Some random text
}}}
}}}
Displays as:
{{customClassName{
Some random text
}}}

View File

@ -0,0 +1,6 @@
title: CamelCase
modifier: matt
created: 20110221141430
creator: matt
CamelCase (camel case or camel-case)—also known as medial capitals—is the practice of writing compound words or phrases in which the elements are joined without spaces.

View File

@ -0,0 +1,17 @@
title: Code Formatting
modifier: colmbritton
created: 20110211142613
modified: 20110216114812
tags: formatting
creator: matt
Text such as computer code that should be displayed without wiki processing and preserving line breaks:
&#123;&#123;&#123;
Some plain text including WikiLinks
&#125;&#125;&#125;
Displays as:
{{{
Some plain text including WikiLinks
}}}
!See Also
[[Suppressing Formatting]]

View File

@ -0,0 +1,27 @@
title: ColorPalette shadows
modifier: matt
created: 20110211143633
modified: 201102151510
tags: shadow
creator: matt
This tiddler determines the colour scheme used within the TiddlyWiki. When a new space is created the random color palette macro determines the default, however these can be overwritten directly in the ColorPalette tiddler.
{{{
Background: #e0e3f5
Foreground: #090d1e
PrimaryPale: #b9c2e8
PrimaryLight: #7485d2
PrimaryMid: #384fb1
PrimaryDark: #0c1126
SecondaryPale: #cbe8b9
SecondaryLight: #98d274
SecondaryMid: #67b138
SecondaryDark: #16260c
TertiaryPale: #e8bab9
TertiaryLight: #d27574
TertiaryMid: #b13a38
TertiaryDark: #260c0c
Error: #f88
ColorPaletteParameters: HSL([229|48], [0.5146822107288709],[0.1|0.8208696653333263])
}}}

View File

@ -0,0 +1,36 @@
title: Date Formats
modifier: matt
created: 20110216113958
modified: 20110221141513
creator: colmbritton
Several [[Macros|MacrosContent]] including the [[Today Macro|today macro]] take a [[Date Format String|Date Formats]] as an optional argument. This string can be a combination of ordinary text, with some special characters that get substituted by parts of the date:
* {{{DDD}}} - day of week in full (eg, "Monday")
* {{{ddd}}} - short day of week (eg, "Mon")
* {{{DD}}} - day of month
* {{{0DD}}} - adds a leading zero
* {{{DDth}}} - adds a suffix
* {{{WW}}} - ~ISO-8601 week number of year
* {{{0WW}}} - adds a leading zero
* {{{MMM}}} - month in full (eg, "July")
* {{{mmm}}} - short month (eg, "Jul")
* {{{MM}}} - month number
* {{{0MM}}} - adds leading zero
* {{{YYYY}}} - full year
* {{{YY}}} - two digit year
* {{{wYYYY}}} - full year with respect to week number
* {{{wYY}}} two digit year with respect to week number
* {{{hh}}} - hours
* {{{0hh}}} - adds a leading zero
* {{{hh12}}} - hours in 12 hour clock
* {{{0hh12}}} - hours in 12 hour clock with leading zero
* {{{mm}}} - minutes
* {{{0mm}}} - minutes with leading zero
* {{{ss}}} - seconds
* {{{0ss}}} - seconds with leading zero
* {{{am}}} or {{{pm}}} - lower case AM/PM indicator
* {{{AM}}} or {{{PM}}} - upper case AM/PM indicator
!!!!Examples
{{{DDth MMM YYYY}}} - 16th February 2011
{{{DDth mmm hh:mm:ss}}} - 16th Feb 2011 11:38:42

View File

@ -0,0 +1,7 @@
title: DefaultTiddlers
modifier: colmbritton
created: 20110211154017
modified: 20110211163338
creator: colmbritton
[[Reference]]

View File

@ -0,0 +1,19 @@
title: DefaultTiddlers shadows
modifier: matt
created: 20110211143659
modified: 201102151510
tags: shadow
creator: matt
This tiddler contains a list of tiddlers that are opened automatically when you load the tiddlywiki.
The default is:
{{{
[[GettingStarted]]
}}}
An example could be:
{{{
[[HelloThere]]
[[Reference]]
[[Features]]
}}}

View File

@ -0,0 +1,34 @@
title: EditTemplate shadows
modifier: matt
created: 20110211143734
modified: 201102151511
tags: shadow
creator: matt
This tiddler contains the markup used to display tiddlers in edit mode. It is designed to make it easy to change the layout/structure of the tiddler in edit mode.
By default it contains the following markup:
{{{
<div class='toolbar'
macro='toolbar [[ToolbarCommands::EditToolbar]] icons:yes'>
</div>
<div class='heading editorHeading'>
<div class='editor title' macro='edit title'></div>
<div class='tagClear'></div>
</div>
<div class='annotationsBox' macro='annotations'>
<div class='editSpaceSiteIcon'
macro='tiddlerOrigin height:16 width:16 label:no interactive:no'>
</div>
<div class="privacyEdit" macro='setPrivacy label:no interactive:no'></div>
<div class='tagClear'></div>
</div>
<div class='editor' macro='edit text'></div>
<div class='editorFooter'>
<div class='tagTitle'>tags</div>
<div class='editor' macro='edit tags'></div>
<div class='tagAnnotation'>
<span macro='message views.editor.tagPrompt'></span>
<span macro='tagChooser excludeLists'></span>
</div>
</div>
}}}

View File

@ -0,0 +1,13 @@
title: GettingStarted shadows
modifier: matt
created: 20110211143758
modified: 201102151537
tags: shadow
creator: matt
The GettingStarted shadow tiddler contains information about how to start using your TiddlyWiki.
You can change it to include anything you desire.
For example a lot of tiddlywiki authors use it to explain what their wiki is about. This is a particularly useful approach because by default the GettingStarted tiddler is in the [[DefaultTiddlers|Shadow - DefaultTiddlers]] tiddler, thus opens automatically upon loading of the page.
By default it is also part of the [[MainMenu|Shadow - MainMenu]] tiddler so is included on the left side of the menu bar above.

View File

@ -0,0 +1,18 @@
title: HTML Entities Formatting
modifier: psd
created: 20110211142850
modified: 201102151515
tags: formatting
creator: matt
HTML entities can be used to easily type special characters:
{{{
Here is a quote symbol: &quot;
And a pound sign: &pound;
}}}
Displays as:
Here is a quote symbol: &quot;
And a pound sign: &pound;
!Notes
For a full list of available HTML references see:
http://www.w3schools.com/tags/ref_entities.asp

View File

@ -0,0 +1,20 @@
title: HTML Formatting
modifier: psd
created: 20110211142909
modified: 20110215151851
tags: formatting
creator: matt
Raw HTML text can be included in a tiddler:
{{{
<html>
This is some <strong>HTML</strong> formatting
</html>
}}}
<html>
This is some <strong>HTML</strong> formatting
</html>
!Notes
* only static HTML elements that are valid within a {{{<div>}}} work correctly
* {{{document.write}}} cannot be used to generate dynamic content
* External {{{<script>}}} elements cannot be used within {{{<html>}}} blocks

View File

@ -0,0 +1,22 @@
title: Headings Formatting
modifier: psd
created: 20110211142759
modified: 201102151516
tags: formatting
creator: matt
{{{
!Heading Level 1
!!Heading Level 2
!!!Heading Level 3
!!!!Heading Level 4
!!!!!Heading Level 5
!!!!!!Heading Level 6
}}}
Display as:
!Heading Level 1
!!Heading Level 2
!!!Heading Level 3
!!!!Heading Level 4
!!!!!Heading Level 5
!!!!!!Heading Level 6

View File

@ -0,0 +1,27 @@
title: Horizontal Rule Formatting
modifier: psd
created: 20110211142821
modified: 20110215151841
tags: formatting
creator: matt
Four dashes on a line by themselves are used to introduce a horizontal rule:
{{{
Before the rule
----
After the rule
}}}
Displays as:
Before the rule
----
After the rule
The HTML tag {{{<hr>}}} can be used as an alternative syntax:
{{{
Before the rule<hr>After the rule
}}}
Displays as:
Before the rule<hr>After the rule

View File

@ -0,0 +1,41 @@
title: Image Formatting
modifier: psd
created: 20110211143038
modified: 201102151519
tags: formatting
creator: matt
!Simple Images
{{{
[img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]
}}}
Displays as:
[img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]
!Tooltips for Images
{{{
[img[tooltip|http://wikitext.tiddlyspace.com/fractalveg.jpg]]
}}}
Displays as:
[img[tooltip|http://wikitext.tiddlyspace.com/fractalveg.jpg]]
!Image Links
{{{
[img[http://wikitext.tiddlyspace.com/fractalveg.jpg][http://www.flickr.com/photos/jermy/10134618/]]
}}}
Displays as:
[img[http://wikitext.tiddlyspace.com/fractalveg.jpg][http://www.flickr.com/photos/jermy/10134618/]]
!Floating Images with Text
{{{
[<img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]
}}}
[<img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]Displays as.
{{{
@@clear:both;display:block; @@
}}}
Will then clear the float.
@@clear:both;display:block;Like this@@
{{{
[>img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]
}}}
[>img[http://wikitext.tiddlyspace.com/fractalveg.jpg]]Displays as.@@clear:both;display:block; @@
!See Also
[[Image Macro]]

View File

@ -0,0 +1,13 @@
title: Line Break Formatting
modifier: psd
created: 20110211143101
modified: 20110215151912
tags: formatting
creator: matt
Line breaks can be forced explicitly:
{{{
Some text with a<br>line break in the middle
}}}
Displays as:
Some text with a<br>line break in the middle

View File

@ -0,0 +1,71 @@
title: Link Formatting
modifier: psd
created: 20110211143122
modified: 20110215151920
tags: formatting
creator: matt
!Wiki Links
Any words or phrases that are CamelCase or compound words - in which the elements are joined without spaces - will result in them becoming links to tiddlers with that name.
For example,
{{{
WikiWord
}}}
Displays as:
WikiWord
To stop this happening the words must be escaped:
{{{
~WikiWord
}}}
Displays as:
~WikiWord
Alternatively, a tiddler can be linked to using square brackets to encompass the whole tiddler title:
{{{
[[tiddler name]]
}}}
!Pretty Links
Optionally, custom text can be added, separated by a pipe character (|)
{{{
[[alternative link text|tiddler name]]
}}}
Displays as:
[[link to our WikiWords tiddler|WikiWords]]
!External Links
Writing the URL in the text results in a link to that external site:
{{{
http://osmosoft.com
}}}
Displays as:
http://osmosoft.com
Similar to pretty links alternative text can be used to link to external sites:
{{{
[[Visit the Osmosoft site|http://osmosoft.com]]
}}}
Displays as:
[[Visit the Osmosoft site|http://osmosoft.com]]
!Links to Other Spaces
Link to a space by preceding it with {{{@}}}:
{{{
@about
}}}
Displays as:
@about
Suppress space linking with {{{~}}}:
{{{
~@about
}}}
~@about
Link to a tiddler within another space:
{{{
TiddlyWiki@glossary
[[TiddlySpace API]]@glossary
[[Information about the HTTP interface|TiddlySpace API]]@glossary
}}}
Displays as:
TiddlyWiki@glossary
[[TiddlySpace API]]@glossary
[[Information about the HTTP interface|TiddlySpace API]]@glossary

View File

@ -0,0 +1,44 @@
title: List Formatting
modifier: psd
created: 20110211143223
modified: 20110215151929
tags: formatting
creator: matt
!Ordered Lists
Lists can be ordered with numbers and letters:
{{{
#List item one
##List item two
###List item three
}}}
Displays as:
#List item one
##List item two
###List item three
!Unordered Lists
Lists can be unordered:
{{{
*Unordered List Level 1
**Unordered List Level 2
***Unordered List Level 3
}}}
Displays as:
*Unordered List Level 1
**Unordered List Level 2
***Unordered List Level 3
!Definition Lists
Definition lists can also be created:
{{{
;Title 1
:Definition of title 1
;Title 2
:Definition of title 2
}}}
Displays as:
;Title 1
:Definition of title 1
;Title 2
:Definition of title 2
See also [[Tagging Macro]]

View File

@ -0,0 +1,23 @@
title: MacrosContent
modifier: colmbritton
created: 20110211144608
modified: 20110211153206
creator: colmbritton
[[allTags|allTags macro]]
[[closeAll|closeAll macro]]
[[list|list macro]]
[[newJournal|newJournal macro]]
[[newTiddler|newTiddler macro]]
[[permaview|permaview macro]]
[[saveChanges|saveChanges macro]]
[[search|search macro]]
[[slider|slider macro]]
[[tabs|tabs macro]]
[[tag|tag macro]]
[[tagging|tagging macro]]
[[tags|tags macro]]
[[tiddler|tiddler macro]]
[[timeline|timeline macro]]
[[today|today macro]]
[[version|version macro]]

View File

@ -0,0 +1,8 @@
title: MainMenu shadows
modifier: matt
created: 20110211161157
modified: 201102151511
tags: shadow
creator: matt
This tiddler contains a list of the tiddlers that appear in the MainMenu. In the default TiddlySpace theme the MainMenu appears in the horizontal bar at the top of the page and in the default TiddlyWiki theme the MainMenu is on the left.

View File

@ -0,0 +1,11 @@
title: MarkupPreHead
modifier: colmbritton
created: 20110211132837
tags: excludeLists
creator: colmbritton
<!--{{{-->
<link rel="shortcut icon" href="/recipes/tiddlywiki-com-ref_public/tiddlers/favicon.ico" />
<link href="/bags/tiddlywiki-com-ref_public/tiddlers.atom" rel="alternate"
type="application/atom+xml" title="tiddlywiki-com-ref's public feed" />
<!--}}}-->

View File

@ -0,0 +1,35 @@
title: PageTemplate shadows
modifier: matt
created: 20110211161254
modified: 201102151511
tags: shadow
creator: matt
This tiddler contains the mark up to display the page. You can change the mark up to create a custom view of the page.
By default it contains the following markup:
{{{
<!--{{{-->
<div class='header'>
<div id='sidebarSearch'>
<span macro='search'></span>
</div>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
<div class='clearFloat'></div>
</div>
<div id='menuBar'>
<div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<!--}}}-->
}}}

View File

@ -0,0 +1,11 @@
title: PluginManager shadows
modifier: matt
created: 20110211161318
modified: 201102151511
tags: shadow
creator: matt
This tiddler contains the command to display the plugin manager:
{{{
<<plugins>>
}}}

View File

@ -0,0 +1,29 @@
title: Quotations Formatting
modifier: psd
created: 20110211143244
modified: 201102151517
tags: formatting
creator: matt
!Block Quotations
Blocks of text can be displayed as quotations:
{{{
<<<
Steve Jobs: "computers are like a bicycle for our minds"
<<<
}}}
Displays as:
<<<
Steve Jobs: "computers are like a bicycle for our minds"
<<<
!Nested Quotations
Quotes can be displayed on multi-levels:
{{{
> blockquote, level 1
>> blockquote, level 2
>>> blockquote, level 3
}}}
Displays as:
> blockquote, level 1
>> blockquote, level 2
>>> blockquote, level 3

View File

@ -0,0 +1,8 @@
title: Reference
modifier: jermolene
created: 20110211145806
modified: 20111020134406
creator: colmbritton
|!Formatting|!Macros|!Shadow tiddlers|!Miscellaneous|
|<<tiddler WikiTextContent>>|<<tiddler MacrosContent>>|<<tiddler ShadowTiddlersContent>>|<<tiddler ReferenceContent>>|

View File

@ -0,0 +1,26 @@
title: ReferenceContent
modifier: jermolene
created: 20111020134406
tags: gettingstarted instructions
creator: jermolene
InterfaceOptions
SaveChanges
ToolbarButtons
SafeMode
KeyboardShortcuts
StartupParameters
SpecialTags
SpecialTiddlers
PermaView
HtmlEntities
[[Tags]]
IncrementalSearch
RegExpSearch
SaveEmptyTemplate
CustomStyleSheet
NestedStyleSheets
NestedTemplates
TiddlerSlicing
CustomMarkup
MobileDevices

View File

@ -0,0 +1,24 @@
title: ShadowTiddlersContent
modifier: matt
created: 20110211144608
modified: 20110215153659
creator: colmbritton
[[ColorPalette|ColorPalette shadows]]
[[DefaultTiddlers|DefaultTiddlers shadows]]
[[EditTemplate|EditTemplate shadows]]
[[GettingStarted|GettingStarted shadows]]
[[MainMenu|MainMenu shadows]]
[[PageTemplate|PageTemplate shadows]]
[[PluginManager|PluginManager shadows]]
[[SideBarOptions|SideBarOptions shadows]]
[[SiteSubtitle|SiteSubtitle shadows]]
[[SiteTitle|SiteTitle shadows]]
[[StyleSheet|StyleSheet shadows]]
[[TabAll|TabAll shadows]]
[[TabMoreMissing|TabMoreMissing shadows]]
[[TabMoreOrphans|TabMoreOrphans shadows]]
[[TabMoreShadowed|TabMoreShadowed shadows]]
[[TabTimeline|TabTimeline shadows]]
[[ViewTemplate|ViewTemplate shadows]]
[[WindowTitle|WindowTitle shadows]]

View File

@ -0,0 +1,15 @@
title: SideBarOptions shadows
modifier: matt
created: 20110211143834
modified: 201102151511
tags: shadow
creator: matt
This tiddler contains the commands that produce the buttons contained in the slider above the timeline on the right.
In ~TiddlySpace they are displayed on the right hand side of the menu bar.
By default it is set to:
{{{
<<closeAll>><<permaview>><<newTiddler>>
}}}
You can edit it to include anything else you want.

View File

@ -0,0 +1,7 @@
title: SiteSubtitle
modifier: colmbritton
created: 20110211132837
tags: excludeLists excludeSearch
creator: colmbritton
a TiddlySpace

View File

@ -0,0 +1,17 @@
title: SiteSubtitle shadows
modifier: matt
created: 20110211143856
modified: 201102151512
tags: shadow
creator: matt
In the SiteSubtitle tiddler you can define the subtitle of your tiddlywiki (seen under the main title)
In ~TiddlySpace by default it is set as
{{{
a TiddlySpace
}}}
You can set it to anything you want, such as:
{{{
documentation on the shadow tiddlers
}}}

View File

@ -0,0 +1,7 @@
title: SiteTitle
modifier: colmbritton
created: 20110211132837
tags: excludeLists excludeSearch
creator: colmbritton
tiddlywiki-com-ref

View File

@ -0,0 +1,12 @@
title: SiteTitle shadows
modifier: matt
created: 20110211161338
modified: 201102151512
tags: shadow
creator: matt
In the SiteTitle tiddler you can define the title of your TiddlyWiki. When you first create a TiddlyWiki it defaults to
{{{
TiddlyWiki
}}}
However you can edit it to display anything that you choose.

View File

@ -0,0 +1,19 @@
title: StyleSheet shadows
modifier: matt
created: 20110211143924
modified: 201102151512
tags: shadow
creator: matt
The StyleSheet tiddler allows you to customise the look and feel of your TiddlyWiki using CSS
You can put simple one line tweaks in, like:
{{{
.mainMenu { color: red; }
}}}
Or you can put in full ~StyleSheets, like that seen in TiddlySpace in the StyleSheetTiddlySpace
{{{
/*{{{*/
[[StyleSheetTiddlySpace]]
/*}}}*/
}}}

View File

@ -0,0 +1,22 @@
title: Suppressing Formatting
modifier: psd
created: 20110211143305
modified: 201102151517
tags: formatting
creator: matt
Wiki markup rules can be suppressed for any given section of text by enclosing it in 3 ''double'' quotes:
{{{
"""//WikiWord//"""
}}}
Displays as:
"""//WikiWord//"""
WikiWords can also be suppressed by prefixing the WikiWord with ''~'':
{{{
~WikiWord
}}}
Displays as:
~WikiWord
!!Also See
[[Code formatting]]

View File

@ -0,0 +1,12 @@
title: TabAll shadows
modifier: matt
created: 20110211161404
modified: 201102151513
tags: shadow
creator: matt
The TabAll tiddler contains a command to list all of the tiddler in your TiddlyWiki.
{{{
<<list all>>
}}}
In TiddlyWiki this list appears as default in the {{{All}}} tab on the right-hand menu.

View File

@ -0,0 +1,12 @@
title: TabMoreMissing shadows
modifier: matt
created: 20110211161435
modified: 201102151514
tags: shadow
creator: matt
The TabMoreMissing tiddler contains a command to list all of the tiddlers that have links to them but are undefined.
{{{
<<list missing>>
}}}
In TiddlyWiki this list appears as default in the {{{Missing}}} tab on the right-hand menu.

View File

@ -0,0 +1,12 @@
title: TabMoreOrphans shadows
modifier: matt
created: 20110211161504
modified: 201102151514
tags: shadow
creator: matt
The TabMoreOrphans tiddler contains a command that lists all the tiddlers that are not linked to from any other tidder.
{{{
<<list orphans>>
}}}
In TiddlyWiki this list appears as default in the {{{Orphans}}} tab on the right-hand menu.

View File

@ -0,0 +1,12 @@
title: TabMoreShadowed shadows
modifier: matt
created: 20110211161542
modified: 201102151514
tags: shadow
creator: matt
The TabMoreShadowed tiddler contains a command that displays a list of all tiddlers shadowed with default content in them
{{{
<<list shadowed>>
}}}
In TiddlyWiki this list appears as default in the {{{Shadows}}} tab on the right-hand menu.

View File

@ -0,0 +1,12 @@
title: TabTimeline shadows
modifier: matt
created: 20110211161625
modified: 201102151514
tags: shadow
creator: matt
The TabTimeline tiddler contains a command to list in reverse chronological the tiddlers in your TiddlyWiki
{{{
<<timeline>>
}}}
In TiddlyWiki this list appears as default in the {{{Recent}}} tab on the right-hand menu.

View File

@ -0,0 +1,112 @@
title: Tables Formatting
modifier: psd
created: 20110211143329
modified: 201102151517
tags: formatting
creator: matt
!Simple Tables
{{{
|North West|North|North East|
|West|Here|East|
|South West|South|South East|
}}}
Displays as:
|North West|North|North East|
|West|Here|East|
|South West|South|South East|
!Cell Formatting
*Insert a space before cell content to right justify cell
*Insert a space after cell content to left justify cell
*Insert spaces before and after cell content to centre justify cell
*Insert an exclamation mark ({{{!}}}) as the first non-space character of a cell to turn it into a header cell
For example:
{{{
|!First column|!Second column|!Third column|
|left | centre | right|
}}}
Displays as:
|!First column|!Second column|!Third column|
|left | centre | right|
!Table Headers and Footers
* Mark a table row as a header by adding an 'h' to the end
* Mark a table row as a footer by adding an 'f' to the end
For example:
{{{
|North West|North|North East|h
|West|Here|East|
|South West|South|South East|f
}}}
Displays as:
|North West|North|North East|h
|West|Here|East|
|South West|South|South East|f
!Table Caption
A caption can be added above or below a table by adding a special row marked with a 'c':
{{{
|A caption above the table|c
|North West|North|North East|
|West|Here|East|
|South West|South|South East|
}}}
{{{
|North West|North|North East|
|West|Here|East|
|South West|South|South East|
|A caption below the table|c
}}}
Displays as:
|A caption above the table|c
|North West|North|North East|h
|West|Here|East|
|South West|South|South East|f
|North West|North|North East|h
|West|Here|East|
|South West|South|South East|f
|A caption below the table|c
!Mergine Table Cells
A cell can be merged horizontally with the cell to its right by giving it the text {{{>}}}:
{{{
|North West|North|North East|
|>|>|West and Here and East|
|South West|South|South East|
}}}
Displays as:
|North West|North|North East|
|>|>|West and Here and East|
|South West|South|South East|
A cell can be merged vertically with the cell in the row above by giving it the text {{{~}}}:
{{{
|Westerly|North|North East|
|~|Here|East|
|~|South|South East|
}}}
Displays as:
|Westerly|North|North East|
|~|Here|East|
|~|South|South East|
!Table CSS Formatting
A CSS class can be added to an entire table by adding a special row tagged with a 'k':
{{{
|myClass|k
|North West|North|North East|
|West|Here|East|
|South West|South|South East|
}}}
CSS properties can be added to a table cell by preceding the cell content with CSS name/value pairs. There are two alternative forms of syntax:
{{{
|color:red; North West|opacity:0.5;North|North East|
|color(green):West|Here|East|
|South West|South|South East|
}}}
Displays as:
|color:red; North West|opacity:0.5;North|North East|
|color(green):West|Here|East|
|South West|South|South East|
!Alternating Rows
TiddlyWiki automatically assigns the classes {{{oddRow}}} and {{{evenRow}}} to table rows {{{<TR>}}} elements. These can then be styled via the StyleSheet:
{{{
.viewer tr.oddRow { background-color: #fff; }
.viewer tr.evenRow { background-color: #ffc; }
}}}

View File

@ -0,0 +1,40 @@
title: ViewTemplate shadows
modifier: matt
created: 20110211143943
modified: 201102151515
tags: shadow
creator: matt
This tiddler contains the mark up to display tiddlers. You can change the mark up to create a custom view of a tiddler.
By default it contains the following markup:
{{{
<div class='toolbar'
macro='toolbar [[ToolbarCommands::ViewToolbar]] icons:yes height:16 width:16 more:popup'>
</div>
<div class='heading'>
<span class='spaceSiteIcon'
macro='tiddlerOrigin label:no spaceLink:yes height:48 width:48 preserveAspectRatio:yes'>
</span>
<span class="titleBar">
<div class='title' macro='view title text'></div>
<div class="subtitle" macro='viewRevisions page:5'>
last modified on
<span macro="view modified date"></span>
</div>
</span>
<span class='followPlaceHolder' macro='followTiddlers'></span>
<span class='modifierIcon'
macro='view modifier SiteIcon label:no spaceLink:yes height:48 width:48 preserveAspectRatio:yes'>
</span>
<div class='tagClear'></div>
</div>
<div class='content'>
<div class='viewer' macro='view text wikified'></div>
</div>
<div class='tagInfo'>
<div class='tidTags' macro='tags'></div>
<div class='tagging' macro='tagging'></div>
</div>
}}}

View File

@ -0,0 +1,20 @@
title: WikiTextContent
modifier: matt
created: 20110211144608
modified: 20110215154054
creator: colmbritton
[[Basic|Basic Formatting]]
[[CSS|CSS Formatting]]
[[Code|Code Formatting]]
[[HTML Entities|HTML Entities Formatting]]
[[HTML|HTML Formatting]]
[[Headings|Headings Formatting]]
[[Horizontal Rules|Horizontal Rule Formatting]]
[[Images|Image Formatting]]
[[Line Breaks|Line Break Formatting]]
[[Links|Link Formatting]]
[[Lists|List Formatting]]
[[Quotations|Quotations Formatting]]
[[Suppressing|Suppressing Formatting]]
[[Tables|Tables Formatting]]

View File

@ -0,0 +1,6 @@
title: WikiWord
modifier: blaine
created: 20110211151015
creator: blaine
A WikiWord is a word composed of a bunch of other words slammed together with each of their first letters capitalised. WikiWord notation in a conventional WikiWikiWeb is used to name individual pages while TiddlyWiki uses WikiWord titles for smaller chunks of MicroContent. Referring to a page with a WikiWord automatically creates a link to it. Clicking on a link jumps to that page or, if it doesn't exist, to an editor to create it. It's also easy to have NonWikiWordLinks, and there's a WikiWordEscape for situations where you don't want a WikiWord to be interpreted as a link.

View File

@ -0,0 +1,21 @@
title: WindowTitle shadows
modifier: matt
created: 20110211144008
modified: 201102151515
tags: shadow
creator: matt
In this tiddler you put the text you wish to be displayed as the title of the page in the browser.
By default it is set to:
{{{
<<tiddler SiteTitle>> - <<tiddler SiteSubtitle>>
}}}
which could display something like:
{{{
shadowtiddlers - a tiddlywiki
}}}
You can change this at any time. For example:
{{{
Shadow Tiddlers Documentation | TiddlyWiki.com
}}}

View File

@ -0,0 +1,15 @@
title: allTags macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144608
tags: macro
creator: colmbritton
At it's most basic this macro lists all the tags used in you tiddlywiki as dropdown lists of all the tiddlers which have that tag
For example
{{{
<<allTags>>
}}}
Displays as:
<<allTags>>

View File

@ -0,0 +1,6 @@
title: anotherTiddlerToTransclude
modifier: jermolene
created: 20110228143927
creator: jermolene
Hello $1, welcome to $2

View File

@ -0,0 +1,14 @@
title: closeAll macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144608
tags: macro
creator: colmbritton
To close all open tiddlers:
{{{
<<closeAll>>
}}}
Displays as:
<<closeAll>>

View File

@ -0,0 +1,37 @@
title: list macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144608
tags: macro
creator: colmbritton
!all
To list all tiddlers
{{{
<<list all>>
}}}
!filter
List tiddlers that match a certain [[filter|filters syntax]]. The following example lists all plugins.
{{{
<<list filter [tag[systemConfig]]>>
}}}
!Missing
To list tiddlers that have links to them but are not defined:
{{{
<<list missing>>
}}}
!Orphans
To list tiddlers that are not linked to from any other tiddlers:
{{{
<<list orphans>>
}}}
!Shadowed
To list tiddlers shadowed with default contents:
{{{
<<list shadowed>>
}}}
!Touched
Show tiddlers that have been modified locally:
{{{
<<list touched>>
}}}

View File

@ -0,0 +1,14 @@
title: newJournal macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144608
tags: macro
creator: colmbritton
To create a new tiddler from the current date and time:
{{{
<<newJournal>>
}}}
Displays as:
<<newJournal>>

View File

@ -0,0 +1,22 @@
title: newTiddler macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144609
tags: macro
creator: colmbritton
Using the following you get a new tiddler button:
{{{
<<newTiddler>>
}}}
Displays as:
<<newTiddler>>
Certain attributes can also be attached, such as a label, default text, tags and fields:
{{{
<<newTiddler label:WikiWord text:"text" tag:tag tag:tag accessKey:key focus:field>>
}}}
Displays as:
<<newTiddler label:WikiWord text:"text" tag:tag tag:tag accessKey:key focus:field>>

View File

@ -0,0 +1,17 @@
title: options macro
modifier: jermolene
created: 20110221142149
modified: 20111103182247
tags: macro
creator: colmbritton
The options macro, used predominately in the backstage, allows the user to set a number of cookie based options that affect the enabled features of the Tiddlywiki. These settings can be trivial, such as do you want animations enabled, or can be used for more complex things, such as enable regular expressions searches.
It is used as below:
{{{
<<options>>
}}}
Options can be used by plugin developers to add settings that can be used by their plugin.
Displays as:
<<options>>

View File

@ -0,0 +1,14 @@
title: permaview macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144610
tags: macro
creator: colmbritton
To create a permaview URL for all open tiddlers:
{{{
<<permaview>>
}}}
Displays as:
<<permaview>>

View File

@ -0,0 +1,23 @@
title: saveChanges macro
modifier: colmbritton
created: 20110211143953
modified: 20110211144610
tags: macro
creator: colmbritton
Using the following creates a save changes button
{{{
<<saveChanges>>
}}}
Displays as:
<<saveChanges>>
The button label can also be changed and a tooltip added:
{{{
<<saveChanges [label] [tip]>>
}}}
Displays as:
<<saveChanges [label] [tip]>>

View File

@ -0,0 +1,22 @@
title: search macro
modifier: colmbritton
created: 20110211143954
modified: 20110211144610
tags: macro
creator: colmbritton
Search fields can be created using:
{{{
<<search>>
}}}
Displays as:
<<search>>
A default search term can also be added:
{{{
<<search [term]>>
}}}
Displays as:
<<search [term]>>

View File

@ -0,0 +1,20 @@
title: slider macro
modifier: colmbritton
created: 20110211143954
modified: 20110211144610
tags: macro
creator: colmbritton
The slider macro allows embedding tiddlers within another tiddler, with the option to toggle the visibility of the [[transclusion|transcluded]] content:
{{{
<<slider cookie tiddler label tooltip>>
}}}
* {{{cookie}}}: variable to save the state of the slider (e.g. {{{chkFooSlider}}})
* {{{tiddler}}}: name of the tiddler to include in the slider
* {{{label}}}: title text of the slider
* {{{tooltip}}}: tooltip text of the slider
For example:
{{{
<<slider chkTestSlider [[OptionsPanel]] "Options" "Open advanced options">>
}}}

View File

@ -0,0 +1,64 @@
tiddler: ./allTags_macro.tid
tiddler: ./anotherTiddlerToTransclude.tid
tiddler: ./Basic_Formatting.tid
tiddler: ./CamelCase.tid
tiddler: ./closeAll_macro.tid
tiddler: ./Code_Formatting.tid
tiddler: ./ColorPalette_shadows.tid
tiddler: ./CSS_Formatting.tid
tiddler: ./Date_Formats.tid
tiddler: ./DefaultTiddlers.tid
tiddler: ./DefaultTiddlers_shadows.tid
tiddler: ./EditTemplate_shadows.tid
tiddler: ./GettingStarted_shadows.tid
tiddler: ./Headings_Formatting.tid
tiddler: ./Horizontal_Rule_Formatting.tid
tiddler: ./HTML_Entities_Formatting.tid
tiddler: ./HTML_Formatting.tid
tiddler: ./Image_Formatting.tid
tiddler: ./Line_Break_Formatting.tid
tiddler: ./Link_Formatting.tid
tiddler: ./List_Formatting.tid
tiddler: ./list_macro.tid
tiddler: ./MacrosContent.tid
tiddler: ./MainMenu_shadows.tid
tiddler: ./MarkupPreHead.tid
tiddler: ./newJournal_macro.tid
tiddler: ./newTiddler_macro.tid
tiddler: ./options_macro.tid
tiddler: ./permaview_macro.tid
tiddler: ./PluginManager_shadows.tid
tiddler: ./Quotations_Formatting.tid
tiddler: ./Reference.tid
tiddler: ./ReferenceContent.tid
tiddler: ./saveChanges_macro.tid
tiddler: ./search_macro.tid
tiddler: ./ShadowTiddlersContent.tid
tiddler: ./SideBarOptions_shadows.tid
tiddler: ./SiteTitle.tid
tiddler: ./SiteTitle_shadows.tid
tiddler: ./slider_macro.tid
tiddler: ./StyleSheet_shadows.tid
tiddler: ./Suppressing_Formatting.tid
tiddler: ./TabAll_shadows.tid
tiddler: ./Tables_Formatting.tid
tiddler: ./TabMoreMissing_shadows.tid
tiddler: ./TabMoreOrphans_shadows.tid
tiddler: ./TabMoreShadowed_shadows.tid
tiddler: ./tabs_macro.tid
tiddler: ./TabTimeline_shadows.tid
tiddler: ./tag_macro.tid
tiddler: ./tagging_macro.tid
tiddler: ./tags_macro.tid
tiddler: ./tiddler_macro.tid
tiddler: ./tiddlerToTransclude.tid
tiddler: ./tiddlywiki-com-refSetupFlag.tid
tiddler: ./timeline_macro.tid
tiddler: ./today_macro.tid
tiddler: ./version_macro.tid
tiddler: ./view_macro.tid
tiddler: ./view_macro_types.tid
tiddler: ./ViewTemplate_shadows.tid
tiddler: ./WikiTextContent.tid
tiddler: ./WikiWord.tid
tiddler: ./WindowTitle_shadows.tid

View File

@ -0,0 +1,25 @@
title: tabs macro
modifier: jermolene
created: 20110211153122
modified: 20111103182330
tags: macro
creator: colmbritton
The tab macro lets you create tab interfaces such as the one used for the timeline in the sidebar.
You use it as follows:
{{{
<<tabs theCookieName
nameOfFirstTab "HoverValueOfFirstTab" TiddlerToShowInTab(or content)
nameOfSecondTab "HoverValueOfSecondTab" TiddlerToShowInTab(or content)
...
>>
}}}
''theCookieName'' is used to store the name of the tab you currently have open. It does this so that when you return the tiddler will still be displaying the last tab you had selected.
Example use of the tab macro:
{{{
<<tabs txtFavourite
tags "First tab" "tags macro"
tag "Second tab" "tag macro"
>>
}}}

View File

@ -0,0 +1,17 @@
title: tag macro
modifier: colmbritton
created: 20110211143954
modified: 20110211144610
tags: macro
creator: colmbritton
The tag macro generates a button with the named [[tag]] which when clicked provides a drop-down list of [[tiddlers]] tagged with the given tag along with an option to open all of the tagged tiddlers.
{{{
<<tag tagName [label] [tooltip]>>
}}}
For example
{{{
<<tag macro>>
}}}
Which displays
<<tag macro>>

View File

@ -0,0 +1,19 @@
title: tagging macro
modifier: colmbritton
created: 20110211143954
modified: 20110211144610
tags: macro
creator: colmbritton
The tagging macro lists all the tiddlers that have a given tag. You set the tag you are looking for as the first parameter. E.g. to look for all tiddlers tagged with ''transclude'' you need to do the following:
{{{
<<tagging transclude>>
}}}
Displays as:
<<tagging transclude>>
This macro also accepts a 2nd parameter which allows you to define a separator.
{{{
<<tagging transclude sep:____>> e.g. <<tagging transclude sep:---------->>
}}}
Displays as:
<<tagging transclude sep:---------->>

View File

@ -0,0 +1,14 @@
title: tags macro
modifier: colmbritton
created: 20110211143954
modified: 20110211144610
tags: macro
creator: colmbritton
To generate a list of [[tags]] applied to the current [[tiddler]]:
{{{
<<tags [tiddler]>>
}}}
Note this will not display any tags that are themselves tagged excludeLists.
For instance if there is a tiddler called "foo" tagged excludeLists and the tags macro is run on a tiddler with the tag foo, this tag will not be displayed.

View File

@ -0,0 +1,6 @@
title: tiddlerToTransclude
modifier: colmbritton
created: 20110216115314
creator: colmbritton
This text has been transcluded from another tidder.

View File

@ -0,0 +1,35 @@
title: tiddler macro
modifier: jermolene
created: 20110211143954
modified: 20110228144138
tags: macro
creator: colmbritton
The tiddler macro allows you to [[transclude|Tranclusion]] the text of other tidders, or sections of other tiddlers, into your current tiddler.
!!Basic Usage
The basic usage is:
{{{
<<tiddler tiddlerToTransclude>>
}}}
This displays as:
<<<
<<tiddler tiddlerToTransclude>>
<<<
Have a look at the actual [[tiddlerToTransclude]] tiddler.
!!Transcluding Sections and Slices
Instead of transcluding an entire tiddler, you can also transclude individual [[slices|Tiddler Slices]] or [[sections|Tiddler Sections]]:
{{{
<<tiddler [[Title::sliceLabel]]>>
<<tiddler [[Title##sectionHeading]]>>
}}}
!!Parameterised Transclusion
Using the {{{with:}}} parameter, placeholders in the transcluded content can be replaced with a desired value. For example:
{{{
<<tiddler anotherTiddlerToTransclude with:"Jim" "Oz">>
}}}
Which displays as:
<<<
<<tiddler anotherTiddlerToTransclude with:"Jim" "Oz">>
<<<
Have a look at the actual [[anotherTiddlerToTransclude]].

View File

@ -0,0 +1,8 @@
title: tiddlywiki-com-refSetupFlag
modifier: colmbritton
created: 20110211132837
tags: excludeLists excludePublisher excludeSearch
creator: colmbritton
tiddlyspaceinit_version: 0.6
@@Please do not modify this tiddler; it was created automatically upon space creation.@@

View File

@ -0,0 +1,24 @@
title: timeline macro
modifier: colmbritton
created: 20110211143955
modified: 20110211144610
tags: macro
creator: colmbritton
To create a chronological list of recent edits:
{{{
<<timeline>>
}}}
It can accept 2 parameters. The first parameter can be either {{{modified}}} or {{{created}}}. This determines whether to list the tiddlers by last edited date or by creation date.
It accepts a second parameter, an integer, which determines the number of tiddlers to list. This is particularly useful for option to use in spaces that have a large number of tiddlers.
e.g.
{{{
<<timeline created 5>>>
}}}
displays as:
<<timeline created 5>>
{{{
<<timeline modified 5>>
}}}
displays as:
<<timeline modified 5>>

View File

@ -0,0 +1,21 @@
title: today macro
modifier: colmbritton
created: 20110211143955
modified: 20110211144611
tags: macro
creator: colmbritton
The date macro will display the current date and time:
{{{
<<today>>
}}}
Displays as:
<<today>>
This macro accepts one parameter - a date format. Such as:
{{{
<<today DD/MM/YYYY>>
}}}
Displays as:
<<today DD/MM/YYYY>>
Read more about [[Date Formats]]

View File

@ -0,0 +1,13 @@
title: version macro
modifier: colmbritton
created: 20110211143955
modified: 20110211144611
tags: macro
creator: colmbritton
This is a simple macro that outputs the version of TiddlyWiki that is being used.
{{{
<<version>>
}}}
Displays as:
<<version>>

View File

@ -0,0 +1,16 @@
title: view macro
modifier: psd
created: 20110211143955
modified: 20110215155740
tags: macro
creator: colmbritton
The view macro is a powerful macro that allows you to access fields on a given tiddler and format them.
The first parameter is the field to access (note tags does not work).
The second parameter defines a [[view type|view macro types]] which defines how the value of that field should be rendered.
{{{
<<view title link>>
}}}
renders the link of the current tiddler i.e. <<view title link>>

View File

@ -0,0 +1,45 @@
title: view macro types
modifier: colmbritton
created: 20110215160353
modified: 20110216114304
creator: psd
!Text
Renders the field exactly how it is stored.
For example
{{{
<<view modified text>>
<<view title text>>
}}}
gives:
* <<view modified text>>
* <<view title text>>
!Link
Renders the value of the field as a link
{{{
<<view title link>>
}}}
gives
* <<view title link>>
!Date
Applicable to the modified and created fields. Note a further parameter - a date format can be used.
{{{
<<view created date>>
<<view modified date "YYYY">>
}}}
gives:
* <<view created date>>
* <<view modified date "YYYY">>
See [[Date Formats]] for possible date format strings.
!Wikified
Treats the string as wikitext.
e.g.
{{{
<<view customfield wikified>>
}}}
!TiddlySpace specific
See [[TiddlySpace View Types]]

View File

@ -0,0 +1,10 @@
title: AbegoSoftwareServer
modifier: blaine
created: 20110211110621
modified: 20110211130617
tags: systemServer
creator: psd
|''URL:''|http://tiddlywiki.abego-software.de/|
|''Description:''|UdoBorkowski's Extensions for TiddlyWiki|
|''Author:''|UdoBorkowski|

View File

@ -0,0 +1,17 @@
title: Advanced download options
modifier: jermolene
created: 20110211110621
modified: 20111103180118
tags: help
creator: psd
When you click on the [[download|Download]] button, the website will detect your browser and operating system, and trigger a download for either an empty ~TiddlyWiki file or, if you're running [[Safari]] or [[Opera]], a zip file which also includes the TiddlySaver file. This is version <<version>> of ~TiddlyWiki.
Advanced users may find these download options helpful (right click the link and select "Save as" to download):
*[[An empty TiddlyWiki file|http://www.tiddlywiki.com/empty.html]]
*[[A zip file containing an empty TiddlyWiki file plus a TiddlySaver file|http://www.tiddlywiki.com/empty.zip]]
*[[A copy of this website (TiddlyWiki.com) minus images|#]]
*[[The TiddlySaver.jar file on its own|http://www.tiddlywiki.com/TiddlySaver.jar]]
Finally, these links may be useful:
*[[Downloading]] instructions for the main browsers
*A list of supported [[Browsers]]

View File

@ -0,0 +1,49 @@
title: AnotherExampleStyleSheet
modifier: blaine
created: 20110211110622
modified: 20110211131015
tags: examples
creator: psd
This tiddler shows some more complex effects that can be obtained with cunning use of CSS. Not all of these will work properly on all browsers because of differences in CSS implementation, but they should fail gracefully.
You can have special formatting for a specific, named tiddler like this:
{{{
#tiddlerHelloThere .title {
background-color: #99aaee;
}
}}}
Or for the first displayed tiddler:
{{{
div.tiddler:first-child .title {
font-size: 28pt;
}
}}}
Or just for the first line of every tiddler:
{{{
.viewer:first-line {
background-color: #999999;
}
}}}
Or just for the first letter of every tiddler:
{{{
.viewer:first-letter {
float: left;
font-size: 28pt;
font-weight: bold;
}
}}}
Or just for tiddlers tagged with a particular tag (note that this won't work for tags that contain spaces):
{{{
div[tags~="welcome"].tiddler .viewer {
background-color: #ffccaa;
}
div[tags~="features"].tiddler .viewer {
background-color: #88aaff;
}
}}}

View File

@ -0,0 +1,10 @@
title: AutoSave
modifier: blaine
created: 20110211110622
modified: 20110211131015
tags: features options
creator: psd
If you check this box in the InterfaceOptions, TiddlyWiki will automatically SaveChanges every time you edit a tiddler. In that way there's a lot less chance of you losing any information.
However, if you also have the SaveBackups checkbox ticked, you'll end up with a lot of archived files. You may prefer to select either one or the other.

View File

@ -0,0 +1,12 @@
title: BackstageArea
modifier: colmbritton
created: 20110211110622
modified: 20110221142735
tags: features
creator: psd
One of the great strengths of TiddlyWiki is the way that its interface can be customised by editting various shadow tiddlers. However, a problem that has consistently emerged is the difficulty of reconciling the needs of authors, who need access to the full array of TiddlyWiki features, and the needs of ordinary readers, who generally benefit from seeing a restricted set of functionality more suited to their needs.
The new backstage area in release 2.2 offers a solution to this conundrum by providing a consistent way of accessing authoring functionality that is independent of the interface customisations (so, even if you blast away the contents of your PageTemplate, you can still access the backstage area).
The backstage area is only available when a TiddlyWiki is edittable - typically meaning that it's been opened off of a {{{file://}}} URL. It appears as an unobtrusive link in the topright corner of the page. Clicking it reveals the backstage toolbar consisting of commands like {{{saveChanges}}} and drop-down tasks like ImportTiddlers, SyncMacro, PluginManager and Tweak (which provides access to the new [[options macro]]).

View File

@ -0,0 +1,10 @@
title: BidiXTWServer
modifier: blaine
created: 20110211110623
modified: 20110211131015
tags: systemServer
creator: psd
|''URL:''|http://tiddlywiki.bidix.info/|
|''Description:''|Repository for BidiX's TiddlyWiki Extensions|
|''Author:''|BidiX|

View File

@ -0,0 +1,10 @@
title: BobsPluginsServer
modifier: colmbritton
created: 20110211110624
modified: 20110216120632
tags: systemServer
creator: psd
|''URL:''|http://bob.mcelrath.org/plugins.html|
|''Description:''|Bob ~McElrath's Plugins|
|''Author:''|~BobMcElrath|

View File

@ -0,0 +1,23 @@
title: Browsers
modifier: jermolene
created: 20110211110624
modified: 20111031113855
tags: features
creator: psd
Here is a table of web browsers that work with ~TiddlyWiki:
|!Browser |!Version |!Allows changes to be saved locally?|
|InternetExplorer |6.0+ |Yes |
|FireFox |1.0+ |Yes |
|[[Safari]] |1.0+ |Yes, using TiddlySaver plugin|
|[[Opera]] |? |Yes, using TiddlySaver plugin|
|Netscape Navigator |7.0+ |Yes |
|[[Camino]] |1.0+ |Yes |
|[[Chrome]] |All |Yes, using TiddlySaver plugin|
|[[iPhone]] |All |Yes, using [[iTW|http://www.apple.com/webapps/productivity/itwatiddlywikiforiphone.html]]|
|[[Wii]] |All |No |
See also the [[TiddlyWiki apps available for smartphones|MobileDevices]].
Please [[let us know|http://groups.google.com/group/TiddlyWiki]] of any additions or corrections.

View File

@ -0,0 +1,8 @@
title: Camino
modifier: blaine
created: 20110211110625
modified: 20110211131015
tags: browsers
creator: psd
The Mozilla-based [[Camino browser|http://www.caminobrowser.org/]] on Macintosh OS X works well with TiddlyWiki, including the ability to SaveChanges.

View File

@ -0,0 +1,11 @@
title: CancelTiddlerCommand
modifier: blaine
created: 20110211110625
modified: 20110211131015
tags: commands
creator: psd
Abandons any pending edits to the current tiddler, and switches it the default view. It is used with the ToolbarMacro like this:
{{{
<<toolbar cancelTiddler>>
}}}

View File

@ -0,0 +1,12 @@
title: CharacterEncoding
modifier: blaine
created: 20110211110625
modified: 20110211131015
tags: troubleshooting
creator: psd
When you upload a TiddlyWiki to a web server, if doesn't load properly, it may be a CharacterEncoding issue.
TiddlyWiki uses Unicode ~UTF-8 encoding and won't load properly if your host is serving it as ~ISO-8859-1. You should be able to check this by loading another page on the server in FireFox and selecting 'Page Info' on the 'Tools' menu.
If this is the case, it should be reasonably easy to sort out. We recommend that you contact your server host and ask them to serve it in ~UTF-8 mode. If you are more technically hands-on, you may be able to [[solve the issue yourself|http://www.w3.org/International/questions/qa-htaccess-charset]].

View File

@ -0,0 +1,9 @@
title: Chrome
modifier: blaine
created: 20110211110626
modified: 20110211131015
tags: browsers issues
creator: psd
~TiddlyWiki works well in Google Chrome and Chromium using [[TiddlySaver]].
However, due to Chrome's [[lack of Java support on Mac OS and Linux|http://groups.google.com/group/tiddlywiki/browse_thread/thread/1f0e299198573e89]], it currently cannot save on those platforms.

View File

@ -0,0 +1,11 @@
title: CloseOthersCommand
modifier: blaine
created: 20110211110626
modified: 20110211131016
tags: commands
creator: psd
Closes all other open tiddlers, except for any that are being editted. It is used with the ToolbarMacro like this:
{{{
<<toolbar closeOthers>>
}}}

View File

@ -0,0 +1,11 @@
title: CloseTiddlerCommand
modifier: blaine
created: 20110211110626
modified: 20110211131016
tags: commands
creator: psd
Closes the current tiddler, regardless of whether it is being editted. It is used with the ToolbarMacro like this:
{{{
<<toolbar closeTiddler>>
}}}

View File

@ -0,0 +1,24 @@
title: ColorPalette
modifier: jermolene
created: 20111020135117
creator: jermolene
Background: #fff
Foreground: #000
PrimaryPale: #aef
PrimaryLight: #8ad
PrimaryMid: #38c
PrimaryDark: #026
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
QuaternaryPale: #cf8
QuaternaryLight: #8f1
QuaternaryMid: #4b0
QuaternaryDark: #140
Error: #f88

View File

@ -0,0 +1,17 @@
title: Community
modifier: jermolene
created: 20110211110627
modified: 20111103165059
tags: community help
creator: psd
[>img[tiddlywiki.org logo|http://trac.tiddlywiki.org/chrome/site/tworg_logo_med.jpg][http://www.tiddlywiki.org]]~TiddlyWiki today is the result of the efforts of dozens of people around the world generously contributing their time and skill, and offering considerable help and support.
The community has several hubs for different activities:
* The DiscussionForums on Google Groups
* The ~TiddlyWiki IRC room at irc://irc.freenode.net/TiddlyWiki
* TiddlyWiki code at http://github.com/TiddlyWiki/tiddlywiki
* TiddlyWiki issue tracker at https://github.com/TiddlyWiki/tiddlywiki/issues
* The community wiki at http://tiddlywiki.org/
The community welcomes [[contributions|Contribute]].

View File

@ -0,0 +1,9 @@
title: Configuration.SideBarTabs
modifier: blaine
created: 20110211110627
modified: 20110211131016
creator: psd
SideBarTabs
|[[Timeline|TabTimeline]]|[[All|TabAll]]|[[Tags|TabTags]]|>|>|[[More|TabMore]] |
|>|>||[[Missing|TabMoreMissing]]|[[Orphans|TabMoreOrphans]]|[[Shadowed|TabMoreShadowed]]|

View File

@ -0,0 +1,21 @@
title: Configuration
modifier: jermolene
created: 20110211110627
modified: 20111020135116
tags: includeNew
creator: psd
PageTemplate
|>|>|SiteTitle - SiteSubtitle|
|MainMenu|DefaultTiddlers<br><br><br><br>ViewTemplate<br><br>EditTemplate|SideBarOptions|
|~|~|OptionsPanel|
|~|~|AdvancedOptions|
|~|~|<<tiddler Configuration.SideBarTabs>>|
''StyleSheet:'' StyleSheetColors - StyleSheetLayout - StyleSheetPrint
InterfaceOptions
SiteUrl
Extensive StartupParameters to control the startup beahviour of ~TiddlyWiki through specially crafted ~URLs

View File

@ -0,0 +1,8 @@
title: ContentsSlider
modifier: blaine
created: 20110211110627
modified: 20110211131016
creator: psd
@@margin-left:.5em;<<slider chkContents SideBarTabs "contents »" "show
lists of tiddlers contained in this document">>@@

View File

@ -0,0 +1,12 @@
title: Contribute
modifier: blaine
created: 20110211110627
modified: 20110211131016
creator: psd
~TiddlyWiki has an enthusiastic and friendly [[Community|Help and Support]] of people around the world helping to grow and improve it. But there's always more to do and we welcome any offers of assistance. There are many ways that you can help:
* Testing and [[reporting bugs|http://trac.tiddlywiki.org/wiki/ReportingBugs]] against the core code. Clear, easily reproducible bug reports are incredibly useful and really help the team improve the quality of ~TiddlyWiki
* [[Contributing code|http://trac.tiddlywiki.org/wiki/ContributingCode]]
* [[Making translations|http://trac.tiddlywiki.org/wiki/Translations]]
* Documentation needs planning, writing and editing, particularly user guide information at http://www.tiddlywiki.org
If you would like to make a financial contribution, ~TiddlyWiki is owned by the not-for-profit [[UnaMesa Foundation|http://www.unamesa.org/]] which welcomes donations.

View File

@ -0,0 +1,14 @@
title: CustomMarkup
modifier: blaine
created: 20110211110628
modified: 20110211131016
tags: features
creator: psd
Sometimes it's necessary to include custom HTML markup in the {{{<head>}}} of a TiddlyWiki file - typically for compatibility with ad serving software, external libraries, or for custom meta tags. The CustomMarkup operation defines four shadow tiddlers whose contents are spliced into the saved HTML file. (If you do a view/source you'll see the markers referred to below).
|!Title |!Location |!Marker |
|MarkupPreHead |Start of the {{{<head>}}} section |{{{<!--PRE-HEAD-START-->}}} |
|MarkupPostHead |End of the {{{<head>}}} section |{{{<!--POST-HEAD-START-->}}} |
|MarkupPreBody |Start of the {{{<body>}}} section |{{{<!--PRE-BODY-START-->}}} |
|MarkupPostBody |End of the {{{<body>}}} section |{{{<!--POST-BODY-START-->}}} |
MarkupPreHead is the only one with shadow content: a link to the default location of the RSS feed.

View File

@ -0,0 +1,10 @@
title: CustomStyleSheet
modifier: jermolene
created: 20110211110628
modified: 20111020135116
tags: features
creator: psd
You can skin TiddlyWiki with a special StyleSheet tiddler containing your own CSS style sheet declarations. Unlike hacking the HTML directly, the StyleSheet tiddler withstands upgrading to a new version of the TiddlyWiki code (see HowToUpgrade). You can also use the NestedStyleSheets feature to structure your CSS declarations.
The ExampleStyleSheet shows some of the basic options you can control (see AnotherExampleStyleSheet for more complex examples). SaveChanges and then click refresh in your browser to see StyleSheet changes. Any errors in your CSS syntax will be caught and displayed, but they shouldn't stop TiddlyWiki from working.

View File

@ -0,0 +1,16 @@
title: Customisation
modifier: jermolene
created: 20110211110629
modified: 20111103173340
creator: psd
You can customise the appearance and behaviour of TiddlyWiki to almost any degree you want:
* Install [[Plugins]] to extend the core functionality
* Use the ColorPalette to change the basic colour scheme
* Use built in [[Formatting|Basic Formatting]] techniques
* Create a CustomStyleSheet for finer grained control over the appearance
* Customise the PageTemplate, ViewTemplate or EditTemplate to change the composition of the page and the layout of individual tiddlers
* Further SpecialTiddlers
* Use off-the-shelf themes from [[TiddlyThemes|http://tiddlythemes.com/]]
* Visit the [[Configuration]] summary to see all the special configuration tiddlers
* Use TiddlyBookmarklets for low level hacking of TiddlyWiki documents

Some files were not shown because too many files have changed in this diff Show More