On Thu, Oct 3, 2013 at 7:33 AM, Tobias Beer <[email protected]> wrote:

> Hi Milind,
>
>
>> I write down my content in tiddlywiki...
>
>
> Would that be one or multiple?
>
-- Each page on the website is a separate tiddler on the tiddlywiki.

>
>
>> and then use the snapshot plugin to export the tiddlers as separate HTML
>> files.
>
>
> Too bad it's not quite functional directly on TiddlyTools. Will do some
> testing of how it works.
>
>
>> I then run a Lua script to transform the pages to my final HTML site
>> pages.
>
>
> I assume this can't be done in TW beforehand.
>
-- The snapshot plugin does not generate the links of the table of contents
plugin properly. Nor does it export all the linked files/images to a
separate directory so that it can be made independent and portable as a
chunk of files that can just be uploaded as a website.
     Then I want to add social media tags like that for facebook, linkedin
etc. Also I can add ads. These things are done and customized by the
template and configuration file so it can be very flexible and by just
tweaking the template and configuration file you can get a entirely
different site.
      It may be possible to do all these things in the snapshot plugin and
it also allows custom css, but I have no experience or idea on how to write
or use those things so I wrote the script in Lua. So it also allows anyone
using it to add a plugin function to my script to do almost anything with
the pages.
       I was thinking to make the script open source but it seemed that
people who use tiddlywiki are familiar with writing extensions and dealing
with css so I saw no requirement for it.


>
>
>> So it is like a 2 step publishing system. The transformation from the
>> snapshot HTML to the final web page needs a template page and a
>> configuration file to customize the pages.
>
>
> Is it that your Lua script is splitting one big snapshot file into
> individual pages while embedding the chunks into some template and then
> saving individual html files?
>
 -- The lua script just reads each HTML file generated for each tiddler by
the snapshot plugin and then repairs the table of contents, relocated all
the linked files and fixes their links,  then it does all the
customizations that I have specified in the configuration file. All this
content is placed in the template HTML file that I provide.

>
> - tobias
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to