Publish a titdly wiki using static site generation tools.

109 views
Skip to first unread message

Timo

unread,
Jan 25, 2020, 10:27:40 AM1/25/20
to TiddlyWikiDev
Hi,

I have a 'wiki' like dynamic dataset in a tool that has a HTML export function. I would like to publish a tiddlywiki from this tool, with the dataset as tiddlers.

I have no idea about the capabilties of TiddlyWiki5, is this feasable? how would i approach it?

Cheers,

Tim.

Mat

unread,
Jan 25, 2020, 12:32:38 PM1/25/20
to TiddlyWikiDev
I know very little about this question but I can still tell you this: You can import data into TW, yes, but it depends on what format it is in. You say you can get your data into "html" but this is not really a format. Can you get your data into e.g excel, csv, json or other format?

<:-)

TonyM

unread,
Jan 25, 2020, 11:14:25 PM1/25/20
to TiddlyWikiDev
Tim,

You can export your data as html and paste it into a tiddler and see what happens. Once it is in there it may be possible to interrogate the contents of that tiddler to extract the data you want.

If the output is a HTML table there are tools on the internet to extract data from a html table, such as convert it to csv or excel. If csv there is a way to import csv into tiddlywiki and convert the rows to tiddlers.

A simple text export may also be able to be edited to make it look like a data tiddler which you can then list the rows and perhaps bulk create tiddlers.

Could you share a sample of the html export or other formats from your database?

Regards
Tony

Timo

unread,
Jan 26, 2020, 4:38:01 PM1/26/20
to TiddlyWikiDev
Hi,

i want to have the Tw pre-populated with this dataset. i was thinking of HTML publishing a Tw that contains the dataset without having to load any external resources. I can export the data as CSV and JSON etc. but would prefer to have one file to manage.

TIm.

Jeremy Ruston

unread,
Jan 30, 2020, 8:14:45 AM1/30/20
to tiddly...@googlegroups.com
Hi Timo

i want to have the Tw pre-populated with this dataset. i was thinking of HTML publishing a Tw that contains the dataset without having to load any external resources. I can export the data as CSV and JSON etc. but would prefer to have one file to manage.


It’s a good strategy. You’d need some way to convert the data to individual tiddlers, and then to splice them into the empty HTML file. (Look for the marker <div id="storeArea" style="display:none;”> for the place to split the file). You can see the format for the tiddlers by examining the source of a TiddlyWiki file; the only subtlety is that all the text must be HTML encoded.

Best wishes

Jeremy




TIm.

On Saturday, January 25, 2020 at 4:27:40 PM UTC+1, Timo wrote:
Hi,

I have a 'wiki' like dynamic dataset in a tool that has a HTML export function. I would like to publish a tiddlywiki from this tool, with the dataset as tiddlers.

I have no idea about the capabilties of TiddlyWiki5, is this feasable? how would i approach it?

Cheers,

Tim.

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/80c076fd-b2cf-4e5d-8b54-fa91f6cddd58%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages