The link died because i found a bug in my export code which caused the 
creation date of the article to change depending on the exporting computers 
timezone:

http://phasersonkill.com/2015/04/23/creating-a-static-webpage-using-tiddlywiki.html

My export batch file looks like this:

=========================================

REM @echo off

echo Exporting Blog...

echo exporting general posts======================
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build posts

echo exporting framework posts====================
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build framework

echo exporting framework TAG posts================
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build tag

echo exporting index posts========================
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build index

echo exporting CSS================================
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build css

pause 

=========================================

I hope this helps. I will be updating my local TW to the latest version 
soon and seeing how well my export plugins have held up. so i should be 
around if you have any more questions.

Regards,

James

On Monday, 4 July 2016 19:22:04 UTC+1, David Gifford wrote:
>
> Okay, so 
>
> 1) I found the phasersonkill instructions (a dead link, but I went to the 
> general site and found the instructions there.
> 2) Figured out how to download the tiddlers from Github and get them into 
> a standalone  TW5, and played with it
> 3) Realized I needed to do this in node.js because it doesn't work from a 
> standalone TW5 file
> 4) Downloaded node.js and got a TW running
> 5) Imported the tiddlers from the standalone to the node.js version
>
> After all that, I am still stuck because I have no idea how to export the 
> tiddlers to statics. There is one cryptic reference to "run the export 
> batch file" in the instructions, but how do I do that?
>
> Dave
>
> On Thursday, April 23, 2015 at 4:23:22 PM UTC-5, James Anderson wrote:
>>
>>
>> I've posted on here and on the tiddlywikidev side a few times with 
>> questions regarding this before, This time is more of a show and tell as 
>> i've had some time to clean up some of the code I was using to export 
>> static sites with tiddlywiki.
>>
>> I have renamed the repo I was using and split it in two separate plugins: 
>> https://github.com/welford/twstaticblog/  I have also written a new post 
>> about how I am exporting using these plugins here: 
>> http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
>>  
>>
>> In short: the helper plugin (
>> https://github.com/welford/twstaticblog/tree/master/helper) resides 
>> within my tiddlwiki and lets me customise  which posts to output,which tags 
>> to add to the sitemap, which ones to hide etc etc  Also to some degree it 
>> lets me alter the look of the webpage.
>>
>> The export (https://github.com/welford/twstaticblog/tree/master/export) 
>> plugin gets invoked when exporting and contains all the required templates 
>> and viewtemplate changes to make the static site look how you want it to.
>>
>> www.phasersonkill.com is a working sample of an exported blog, I have 
>> also uploaded a simpler example here 
>> http://welford.github.io/static-sample/example.html which exports to 
>> http://welford.github.io/static-sample/blog/index.html
>>
>> Finally I have updated some of my plugins to work with the static export 
>> feature https://github.com/welford/twspimg lets me display partial 
>> images as the background-image of a span element, and 
>> https://github.com/welford/twyt lets me embed yt videos and created 
>> links to specific times within the video. http://welford.github.io/ has 
>> a few examples and  other plugins also!
>>
>> Thanks for reading!
>>
>> James
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/abf5285b-de7b-4855-91ff-0d39f4a59ac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to