Import on many pages into TiddlyWiki

72 views
Skip to first unread message

Oli B

unread,
Aug 3, 2016, 4:57:00 AM8/3/16
to TiddlyWiki
Hello,
I have been using for the last 17 years "WikiServer" (also called EddiesWiki, e.g. here : http://www.c2.com/cgi-bin/wiki?WelcomeVisitors) as a personal wiki. It seems time to change, especially as the wiki server has not been developed for quite some time.
I have about 1800 pages that I would like to get into some other personal wiki and TiddlyWiki seems to be really good and simila in spirit.
WikiServer saves every page just as a separate text file, it uses CamelCase and formatting is inline and similar to TiddlyWiki (e.g. '' for italics ''' for bold, [soace]*[sapce] for a list, also for tables etc.). I could probably change this with an easy script.
However my question is : can I import these text files into TiddlyWiki in an automated fashion ?
Thanks very much in advance for your ideas

Cheers

Oli

PMario

unread,
Aug 3, 2016, 7:33:48 AM8/3/16
to tiddl...@googlegroups.com
Hi Oli B,
Welcome!

Nice domain!

As you found out TW's wiki syntax is a bit different. see: http://tiddlywiki.com/#WikiText but TW can handle pure text files. So called "dot-tid" files eg: WelcomeVisitors.tid
All TW editions are built using this file format, since it works very well with git and github. eg: tiddly wiki homepage content

The minimal format looks like this:

title: your title

content


eg:

title: WelcomeVisitors

! WelcomeVisitors

Welcome to the [[WikiWikiWeb|http://www.c2.com/cgi-bin/wiki?WikiWikiWeb]], also known as "Wiki". A lot of people had their first wiki experience here. This community has been around since 1995 and consists of many people. We always accept newcomers with valuable contributions. If you haven't used a wiki before, be prepared for a bit of [[CultureShock|http://www.c2.com/cgi-bin/wiki?CultureShock ]]. The usefulness of Wiki is in the freedom, simplicity, and power it offers.

....


but it can handle a lot more fields: ... "title: " is a field name eg:

title: WelcomeVisitors
tags
: CategoryWikiHelp tag2 [[tag with spaces]]
created
: YYYYMMDDhhmmsszzz .... <tw specific date field> see: http://tiddlywiki.com/#Date%20Fields
creator
: user 1
modified
: 20160803111825000
modifier
: user 2


! WelcomeVisitors

Welcome to the ....



 - Once you have a format like this, it's easy to produce a "1 file contains all the stuff" index.html TiddlyWiki. eg: http://tiddlywiki.com
 - Or you can use the tiddlywiki command line program to render static files. eg: http://tiddlywiki.com/static/HelloThere.html
 - ... do other crazy stuff with your content :)

---------------

Some questions:

 - Is your TW writeable from different users, or is it a "pure" personal wiki?
 - Do you have admin rights for the domain? .. So can you install new software?
 - How does your "writing" (creating new content) workflow look like atm?

hope that helps
mario

Reply all
Reply to author
Forward
0 new messages