[tw] Re: [TW5] Static Website Generation

2016-07-22 Thread David Gifford
Hi James and anyone else listening in, Here is a new question. Hopefully the last - I made good progress today. Here is the question: $:/plugins/welford/staticlinks/helper/vt.tagpage creates pages for each tag, and each page displays the posts tagged with the current tag. It displays them as

[tw] Re: [TW5] Static Website Generation

2016-07-09 Thread David Gifford
Here is a link to the final version of the Spanish website I am putting together with James Anderson's static site generator. http://ideas.giffmex.org It uses four different TW5 standalone files to generate statics for the four different sections of the website. But the banner links coordinate

Re: [tw] Re: [TW5] Static Website Generation

2016-07-09 Thread Pak Ruengrot
Hi James, Thanks for the fix. I actually fixed 1. as you said myself before I posted the above as it was an easy fix. For 2 I was thinking similarly to what you suggested above but I didn't know a code to detect if a link is to .pdf file (or another local). In fact I know very little about

Re: [tw] Re: [TW5] Static Website Generation

2016-07-09 Thread James Anderson
probably before the condition after line 68 of getexportlink.js we could detect if it was a type you were likely to place at the root (e.g. a pdf file) and then not construct the path as below: finalLink = path_to_root + "data/"; James On Saturday, 9 July 2016 19:32:45 UTC+1, James Anderson

Re: [tw] Re: [TW5] Static Website Generation

2016-07-09 Thread James Anderson
1. Fixed : https://github.com/welford/twstaticblog/commit/c2ac0ff9458a6b1964551d37b5450b122f3be585 I didn't notice as a copy of $:/plugins/welford/twstaticblog/helper/staticbanner was still in my TW 2. probably requires a change to getexportlink.js i'm about 1 year out of touch with this

Re: [tw] Re: [TW5] Static Website Generation

2016-07-09 Thread Pak Ruengrot
Hi James, Thanks for your blog generation tool. I downloaded it from your github and it worked quite well, although with some bugs (I think) 1. In this commit where you did a lot of

Re: [tw] Re: [TW5] Static Website Generation

2016-07-09 Thread David Gifford
Hi James I figured it out! To get things to link back and forth correctly online, I was putting all of the files into one folder. It didn't work right otherwise. But this meant that I needed to change /../../../static.css to static.css Here is a link to my practice area. I also managed to

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread James Anderson
http://phasersonkill.com/tags.html http://phasersonkill.com/a-z.html http://phasersonkill.com/archived-articles.html http://phasersonkill.com/updated-articles.html my plugin/exporter generates these. On Thursday, 7 July 2016 17:44:18 UTC+1, Mat wrote: > > David, > > note that you can actually

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread Mat
David, note that you can actually export multiple tiddlers including a filtered set of tiddlers via the Advanced Search -> Filter. Once you enter something into the search field, there's a (barely visible) export button to export the result. (IMO this feature is not located in a good place

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread Jeremy Ruston
Hi MatIn what way is the "export as HTML" feature not enough for people?The browser-based “Export as HTML” feature *is* static site generation. The reason that people generally do it under Node.js is that that makes it easier to produce multiple HTML files (eg one per blog post).Or, I should put

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread David Gifford
Hi Mat, You asked, "In what way is the "export as HTML" feature not enough for people?" 1) With "export as HTML" I have to export each tiddler individually. With James' way I can do all kinds of work on numerous tiddlers throughout the day and do one operation to update the site at the end of

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread Mat
Jeremy, thanks for clarification. Follow up question, to everyone, I guess; In what way is the "export as HTML" feature not enough for people? Or, I should put it like this; In the github discussion , on the matter of JavaScript for

Re: [tw] Re: [TW5] Static Website Generation

2016-07-07 Thread sini-Kit
Yes. The base of my site is your http://giffmex.org/experiments/obadiah.html#Table%20of%20contents and all my sites have your prefix http://old.novye-podarki.ru/heeg.html :) среда, 6 июля 2016 г., 15:20:03 UTC+3 пользователь David Gifford написал: > Haha, in reading your .bat file contents,

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread David Gifford
Yes, for me the loading time is important, at least for my Spanish materials. The others are a bonus. Dave On Wed, Jul 6, 2016 at 10:51 AM, Jeremy Ruston wrote: > Hi Mat > > May I ask, what is actually the point with a "static site" instead of a > regular TW with just

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread Jeremy Ruston
Hi Mat > May I ask, what is actually the point with a "static site" instead of a > regular TW with just a few disabled features (like "editing”)? That’s a good question, and there’s several good answers: * A static site is usually much, much, much quicker to load * A static site is trivial to

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread Mat
May I ask, what is actually the point with a "static site" instead of a regular TW with just a few disabled features (like "editing")? <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread David Gifford
Haha, in reading your .bat file contents, it looks like you used a prefix I have on some of my old system TWs ($:/_aa.giff/) and applied it to your StyleSheetAnimate tiddler. Wasn't expecting to see "giff" anywhere in there! Dave Gifford On Wednesday, July 6, 2016 at 5:47:07 AM UTC-5, sini-Kit

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread David Gifford
sini-Kit, that is a work of art. Congratulations! Dave On Wednesday, July 6, 2016 at 5:47:07 AM UTC-5, sini-Kit wrote: > > Hi! here is my blog made on static tw5 http://heeg.ru/ tw5 page is here > http://heeg.ru/heeg.html > > to generate static pages I made .bat file > > tiddlywiki --verbose

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread David Gifford
Hi James Thank you for your offer to help me with this. My file is http://giffmex.org/experiments/websitetest.html Dave On Wednesday, July 6, 2016 at 1:43:16 AM UTC-5, James Anderson wrote: > > yeah, it's not beginner friendly. I'll update my post to mention NodeJS > and the contents of the

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread sini-Kit
Hi! here is my blog made on static tw5 http://heeg.ru/ tw5 page is here http://heeg.ru/heeg.html to generate static pages I made .bat file tiddlywiki --verbose --load heeg.html --rendertiddlers [!is[system]![index ]] $:/core/templates/static.tiddler.html ./static text/plain --rendertiddler

Re: [tw] Re: [TW5] Static Website Generation

2016-07-06 Thread James Anderson
yeah, it's not beginner friendly. I'll update my post to mention NodeJS and the contents of the batch file. I think my plugin at least helps simplify some of the conversion, though you do still need a working knowledge of TW and batch files. David, would you mind sharing your source TW file?

Re: [tw] Re: [TW5] Static Website Generation

2016-07-05 Thread Suzanne McHale
Agreed - using Node.js to generate static files via the command line is NOT beginner-friendly; I found it difficult to understand at first, and was only able to do it after a few weeks of frustration. On Wednesday, July 6, 2016 at 7:53:26 AM UTC+10, Josiah wrote: > > all > > this whole thing is

Re: [tw] Re: [TW5] Static Website Generation

2016-07-05 Thread James Anderson
Will try to take a look at this tomorrow, probably an issue with your templates 2016/07/04 22:16 "David Gifford" : > Ok, James, here is an experimental site based on your website generator > > http://giffmex.org/moomoo/ > > One last question: why does the CSS only apply to the

Re: [tw] Re: [TW5] Static Website Generation

2016-07-05 Thread Josiah
all this whole thing is vital this whole thing is a BLACK ART. its about as transparent as a FOG in a MIST. Josiah -- 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

Re: [tw] Re: [TW5] Static Website Generation

2016-07-04 Thread David Gifford
Ok, James, here is an experimental site based on your website generator http://giffmex.org/moomoo/ One last question: why does the CSS only apply to the framework and not to the individual posts? What might I have done wrong? Dave On Mon, Jul 4, 2016 at 3:07 PM, David Gifford

Re: [tw] Re: [TW5] Static Website Generation

2016-07-04 Thread David Gifford
ah never mind, I figured it out...put my file in the folder I downloaded, change example.html to my filename in the .bat file, and doubleclick the .bat file to run it. Sorry for my ignorance, a lot of this is new to me... Thank you very much, both for your help and for this great tool! Dave

Re: [tw] Re: [TW5] Static Website Generation

2016-07-04 Thread David Gifford
How does on "run a batch file"? On Mon, Jul 4, 2016 at 2:46 PM, James Anderson wrote: > Briefly: > > > 3) Realized I needed to do this in node.js because it doesn't work from > a standalone TW5 file > > It works from a standalone file, or rather I have my blog and

[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread James Anderson
Briefly: > 3) Realized I needed to do this in node.js because it doesn't work from a standalone TW5 file It works from a standalone file, or rather I have my blog and other notes in a single page TW. it's called notes.hta (you can see this in the batch file, it could be notes.html or whatever

[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread David Gifford
Hi James Thanks for responding. My actual question is, what do I do to export the tiddlers? I am a novice at all this. What button do I push? 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 >

[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread James Anderson
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:

[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread David Gifford
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

Re: [tw] Re: [TW5] Static Website Generation

2015-04-27 Thread Florian Cauvin
Hello, I'm interested in using TiddlyWiki for creating a small static personal website and I'm very impressed by the work that James Anderson is showing here. I will try to also make my site, generating it from TiddlyWiki running on Node.js. Jame has obvisouly done a lot of customization and

Re: [tw] Re: [TW5] Static Website Generation

2015-04-27 Thread James Anderson
Feel free to use/edit any of those plugins Florian :) On Monday, 27 April 2015 23:51:37 UTC+9, Florian Cauvin wrote: Hello, I'm interested in using TiddlyWiki for creating a small static personal website and I'm very impressed by the work that James Anderson is showing here. I will try to

[tw] Re: [TW5] Static Website Generation

2015-04-25 Thread James Anderson
The tags are just buttons wrapped in a elements, which is all handled automatically by the static exporter. There are some programmer hooks in the static exporter which let me change the links at run time. I run over all the links and remove any spaces (and some other characters( when i

Re: [tw] Re: [TW5] Static Website Generation

2015-04-25 Thread Jeremy Ruston
Hi James Great to see how far you've got, dullroar.com looks very good to me. Your post reminded me that it is perhaps time that we tried to fold decent static site generation support into the core. I've created a ticket here: https://github.com/Jermolene/TiddlyWiki5/issues/1676 Best wishes

Re: [tw] Re: [TW5] Static Website Generation

2015-04-25 Thread James Anderson
It looks like dullroar is no longer using TW to generate the site http://dullroar.com/new-look.html On Saturday, 25 April 2015 16:54:02 UTC+9, Jeremy Ruston wrote: Hi James Great to see how far you've got, dullroar.com looks very good to me. Your post reminded me that it is perhaps time

Re: [tw] Re: [TW5] Static Website Generation

2015-04-25 Thread Jeremy Ruston
Hi James On Sat, Apr 25, 2015 at 9:10 AM, James Anderson james.w.ander...@gmail.com wrote: It looks like dullroar is no longer using TW to generate the site http://dullroar.com/new-look.html Yes, I saw that; it's still worth reviewing the work that Jim did, I think. Best wishes Jeremy