Static tidlers / alltiddlers Q (request to complete documentation)

88 views
Skip to first unread message

David Gifford

unread,
Mar 27, 2015, 11:38:55 PM3/27/15
to tiddl...@googlegroups.com
Hi all

The documentation to generating static tiddlers is slightly incomplete. How does on actually generate the different kinds of static pages? There are commands on the documentation tiddler, but no indication of where to put them. The documentation leaves out the crucial step of what to do to create the static site.

So I went to the documentation for commands, which seems to imply that commands are only for node.js. So there is no way to create a static page from a standalone local TW?

Dave

Eric Shulman

unread,
Mar 28, 2015, 1:00:28 AM3/28/15
to tiddl...@googlegroups.com
On Friday, March 27, 2015 at 8:38:55 PM UTC-7, David Gifford wrote:
So I went to the documentation for commands, which seems to imply that commands are only for node.js. So there is no way to create a static page from a standalone local TW?

Go to $:/AdvancedSearch
Open the "filter" tab
Enter a filter that selects the tiddler(s) you want to export
Note the "export" button (a partial box with arrow pointing upward)
Click it to select a format and write an output file

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:

Eric Shulman

unread,
Mar 28, 2015, 1:01:30 AM3/28/15
to tiddl...@googlegroups.com
On Friday, March 27, 2015 at 10:00:28 PM UTC-7, Eric Shulman wrote:
Note the "export" button (a partial box with arrow pointing upward)

addendum: the button is next to the search input field

-e

David Gifford

unread,
Mar 28, 2015, 8:49:51 AM3/28/15
to tiddl...@googlegroups.com
Thanks Eric, that solves my problem! Being able to choose by filter is awesome!

Now, if I wanted to add <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> to the static file, where would I put it?

Dave

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/kZBBS9Lv89E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

David Gifford

unread,
Mar 28, 2015, 1:38:12 PM3/28/15
to tiddl...@googlegroups.com
Never mind, Eric, I played around and discovered that adding it to the top of the tiddler to be rendered as static works great. (I am using this to render single tiddlers as webpages).

Dave


On Saturday, March 28, 2015 at 6:49:51 AM UTC-6, David Gifford wrote:
Thanks Eric, that solves my problem! Being able to choose by filter is awesome!

Now, if I wanted to add <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> to the static file, where would I put it?

Dave
On Fri, Mar 27, 2015 at 11:01 PM, Eric Shulman <elsd...@gmail.com> wrote:
On Friday, March 27, 2015 at 10:00:28 PM UTC-7, Eric Shulman wrote:
Note the "export" button (a partial box with arrow pointing upward)

addendum: the button is next to the search input field

-e

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/kZBBS9Lv89E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.

Eric Shulman

unread,
Mar 28, 2015, 4:58:15 PM3/28/15
to tiddl...@googlegroups.com
On Saturday, March 28, 2015 at 10:38:12 AM UTC-7, David Gifford wrote:
Never mind, Eric, I played around and discovered that adding it to the top of the tiddler to be rendered as static works great. (I am using this to render single tiddlers as webpages).
Now, if I wanted to add <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> to the static file, where would I put it?
Dave

The output template for rendering a "static river of tiddlers" is located in this shadow tiddler:
   $:/core/templates/exporters/StaticRiver

If you add your <link ...> syntax to that tiddler (within the <head>...</head> markers), then it will automatically be included in every export, without having to put it into each tiddler individually.

-e


 

David Gifford

unread,
Mar 28, 2015, 8:14:06 PM3/28/15
to tiddl...@googlegroups.com
Thanks for the tip, Eric! This is all turning out wonderfully.

Dave

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/kZBBS9Lv89E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages