[tw] [TW5] TOC in a long Tiddler

2014-03-05 Thread vpl
Hi,

I'm looking for a way to create, at the top of a long tiddler, a Table of 
Content, based on the heading defined in the tiddler.
Looking at the group messages, I've seen this question addressed long time 
ago with the previous version of Tiddlywiki, by developing a plugin.
I'm wondering if with TW5 their is a way to do that 
Note that I've seen the proposal of tw5 magick site and the recommendation 
to split the tiddler in several small tiddler 

Thanks a lot for your answer

Regards
vpl

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Peter Vogt
Why not plain ol' HTML?

- the branches (edges) of your tree become hyperlinks
- you can scale the number of files/pages as you like, trading off the 
efficiency of your file system vs. rendering time in browser
- you're already writing a text file, html requires minimal overhead and 
work
- that's what html was invented for

Good luck,

Pete

On Tuesday, 4 March 2014 14:16:20 UTC, Timothy Groves wrote:


 Well, thanks to all that replied...TW is still pretty cool, and I will 
 use it for other things... 

 But in the meantime, can anyone suggest a better solution?  Our needs are: 

 1)  Completely local solution; 
 2)  Not too many files - no more than about a thousand; 
 3)  Hierarchal access - we don't need searching, but we need to be able 
 to move up or down the tree; 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Peter Vogt
PS: If you can specify a grammar for your data you can then use tools like 
doxygen to create a fully indexed, cross-linked, searchable wiki-style 
structure. But may be overkill for your needs.  OTOH 'looking' at 150MM 
items of data in a hierarchical tree structure is probably as much fun as 
poking your eye with a stick ;-)

Pete

On Wednesday, 5 March 2014 09:13:09 UTC, Peter Vogt wrote:

 Why not plain ol' HTML?

 - the branches (edges) of your tree become hyperlinks
 - you can scale the number of files/pages as you like, trading off the 
 efficiency of your file system vs. rendering time in browser
 - you're already writing a text file, html requires minimal overhead and 
 work
 - that's what html was invented for

 Good luck,

 Pete

 On Tuesday, 4 March 2014 14:16:20 UTC, Timothy Groves wrote:


 Well, thanks to all that replied...TW is still pretty cool, and I will 
 use it for other things... 

 But in the meantime, can anyone suggest a better solution?  Our needs 
 are: 

 1)  Completely local solution; 
 2)  Not too many files - no more than about a thousand; 
 3)  Hierarchal access - we don't need searching, but we need to be able 
 to move up or down the tree; 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Peter Vogt
Sorry, just checked but the tool I was thinking of is not doxygen...  May 
be worth asking on stack overflow if you want to pursue that avenue.

On Wednesday, 5 March 2014 09:19:20 UTC, Peter Vogt wrote:

 PS: If you can specify a grammar for your data you can then use tools like 
 doxygen to create a fully indexed, cross-linked, searchable wiki-style 
 structure. But may be overkill for your needs.  OTOH 'looking' at 150MM 
 items of data in a hierarchical tree structure is probably as much fun as 
 poking your eye with a stick ;-)

 Pete

 On Wednesday, 5 March 2014 09:13:09 UTC, Peter Vogt wrote:

 Why not plain ol' HTML?

 - the branches (edges) of your tree become hyperlinks
 - you can scale the number of files/pages as you like, trading off the 
 efficiency of your file system vs. rendering time in browser
 - you're already writing a text file, html requires minimal overhead and 
 work
 - that's what html was invented for

 Good luck,

 Pete

 On Tuesday, 4 March 2014 14:16:20 UTC, Timothy Groves wrote:


 Well, thanks to all that replied...TW is still pretty cool, and I will 
 use it for other things... 

 But in the meantime, can anyone suggest a better solution?  Our needs 
 are: 

 1)  Completely local solution; 
 2)  Not too many files - no more than about a thousand; 
 3)  Hierarchal access - we don't need searching, but we need to be able 
 to move up or down the tree; 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Saving with 5.08beta

2014-03-05 Thread HowardM
Hi Jeremy
Hi Jeremy

I do use TWEdit.   My question came from assessing whether to change to TW5 
(once out of beta) on my iPad Mini.I have a large TW file (3.6mb) which 
is slow to save on the iPad (30 secs+) using TWC but using autosave on TW5 
is quicker for a small number of changes (I am using a roughly converted 
version of the TWC file for tests).   When asking the question I didn't 
realise that the short delay in closing amended TW5 tiddlers was due to the 
default autosave setting.

When to save is an issue for me because, since the upgrade to iOS7, TWEdit 
from time to time reloads the file when I return to it, losing any unsaved 
changes - I don't think this is a TWEdit issue because it didn't do it on 
iOS6 and some other apps now do this, though their much smaller file sizes 
makes it unimportant.

I must say that I am very impressed with TW5 so far, though the conversion 
cost is still an issue.

Thanks for your helpful reply

Regards

Howard






On Tuesday, March 4, 2014 9:46:06 PM UTC, Jeremy Ruston wrote:

 Hi Howard

 Autosave can be turned off in the control panel Saving tab.

 When autosave is enabled you can still click the save button to force a 
 save - this can be useful for example if you want to save while you're in 
 the middle of editing a tiddler.

 Are you using TWEdit on iOS?

 Best wishes

 Jeremy



 On Tue, Mar 4, 2014 at 1:04 PM, HowardM 
 ma...@howardmorrison.plus.comjavascript:
  wrote:

 Can anyone explain what the effect of clicking the save icon (top right 
 above the search box) is in this version.   Each time I amend a tiddler now 
 and click its 'tick' icon I get a yellow saved wiki message.   If I 
 reload the file the amendments show.   So what else is saved if you click 
 the icon above the search box ?

 I appreciate this is not an important issue on a laptop, because saving 
 is fast, but on iOS saving can take a significant time for a large file.

 Grateful for any advice.
  
 -- 
 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+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Saving with 5.08beta

2014-03-05 Thread Jeremy Ruston
Hi Howard

That makes sense. I'm in contact with the TWEdit developer and our plan is
to support tiddler-level sync as an alternative to saving the entire
document. It's partly in response to your findings about iOS7
unceremoniously closing apps: we really need autosave to protect ourselves,
and yet as you've found autosave with a large TW can be slow.

Best wishes,

Jeremy


On Wed, Mar 5, 2014 at 11:06 AM, HowardM m...@howardmorrison.plus.comwrote:

 Hi Jeremy
 Hi Jeremy

 I do use TWEdit.   My question came from assessing whether to change to
 TW5 (once out of beta) on my iPad Mini.I have a large TW file (3.6mb)
 which is slow to save on the iPad (30 secs+) using TWC but using autosave
 on TW5 is quicker for a small number of changes (I am using a roughly
 converted version of the TWC file for tests).   When asking the question I
 didn't realise that the short delay in closing amended TW5 tiddlers was due
 to the default autosave setting.

 When to save is an issue for me because, since the upgrade to iOS7, TWEdit
 from time to time reloads the file when I return to it, losing any unsaved
 changes - I don't think this is a TWEdit issue because it didn't do it on
 iOS6 and some other apps now do this, though their much smaller file sizes
 makes it unimportant.

 I must say that I am very impressed with TW5 so far, though the conversion
 cost is still an issue.

 Thanks for your helpful reply

 Regards

 Howard






 On Tuesday, March 4, 2014 9:46:06 PM UTC, Jeremy Ruston wrote:

 Hi Howard

 Autosave can be turned off in the control panel Saving tab.

 When autosave is enabled you can still click the save button to force a
 save - this can be useful for example if you want to save while you're in
 the middle of editing a tiddler.

 Are you using TWEdit on iOS?

 Best wishes

 Jeremy



 On Tue, Mar 4, 2014 at 1:04 PM, HowardM ma...@howardmorrison.plus.comwrote:

 Can anyone explain what the effect of clicking the save icon (top right
 above the search box) is in this version.   Each time I amend a tiddler now
 and click its 'tick' icon I get a yellow saved wiki message.   If I
 reload the file the amendments show.   So what else is saved if you click
 the icon above the search box ?

 I appreciate this is not an important issue on a laptop, because saving
 is fast, but on iOS saving can take a significant time for a large file.

 Grateful for any advice.

 --
 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+...@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/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Timothy Groves


On 14-03-05 02:46 AM, Daniel Baird wrote:


I suspect it will be easier to write a browsing tool (maybe in TW or 
whatever), generate the first few layers (world - nation - county or 
whatever) and then stop.  When you browse down to a county level, 
that's when you check your data dir for towns in that county, and 
generate them if they're not there.  In theory your data dir could 
grow to a qwazillion files, but in real world usage you'd be fine with 
one file per thing.
Someone else suggested that as well.  I think I can make that work, but 
then TW would not be the best choice for displaying...might as well use 
the program itself.


All this only applies if you aren't then expecting to do person-level 
simulations inside your world..

Table-top RPG.


And just out of curiosity, what language is your generator using?  Are 
you feeding it config files (like lists of names, or acceptable 
syllables for names, or something?
Language, as in spoken language?  We have twelve human languages, from 
Earth, and five non-human languages.  Lists of syllables are given for 
the non-human languages, while full lists of names are given for the 
human languages.  These are kept in static lists inside the program itself.


--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Timothy Groves


On 14-03-05 04:13 AM, Peter Vogt wrote:

Why not plain ol' HTML?
Because the program as currently written generates millions of files, 
and between test runs, it takes far too long to delete these files, even 
though we'd inserted debugging constants that restrict the amount of output.


--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Getting field values

2014-03-05 Thread Stephan Hradek


Am Mittwoch, 5. März 2014 00:19:24 UTC+1 schrieb Alberto Molina:

 Hi Stephan,

 What made you think the search filter supports regular expressions? 


 I don't think, I just try and see if it works :)


It won't. Regular expressions and the suffix are quite new and only 
implemented for the field filter.
 


 I also tried 
 field:title/{$:/temp/search}/
 with no more success.


Again: {$:/temp/search} is not a valid regular expression. I know you want 
to replace the content of the tiddler there, but anything between // is 
taken literally. So you have absolutely NO WAY to replace.

The only way is by using macros and its variable replacement:

\define filter_level2()
$list filter=[field:title/^$(what)$/]
$link$view field=title//$link/$list
\end

\define filter_level1()
$set name=what value={{$:/temp/search}}
filter_level2
/$set
\end

filter_level1
 

  

 try

 $list filter=[!is[system]field:text/$(titre)$/sort[title]limit[250]] 
 / 


 Actually, I’m trying to get something like that: $list 
 filter=[!is[system]search/{$:/temp/search}/sort[title]limit[250]] /

 Thx

 Alberto


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] TOC in a long Tiddler

2014-03-05 Thread Stephan Hradek
There is at the moment no other way than the one you found on my tw5magick 
site. I also have an experimental filter called match which could be 
used, but that's nothing I would do yet.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: Application that writes a TiddlyWiki

2014-03-05 Thread Matabele
Hi

Have you had a look at MongoDB and node.js? I've been playing with this 
combination in my attempts to link a TW (running on node) to a db. The 
disadvantage is that you would have to install node and MongoDB locally.

http://blog.mongodb.org/post/812003773/node-js-and-mongodb

regards


On Tuesday, March 4, 2014 4:16:20 PM UTC+2, Timothy Groves wrote:


 Well, thanks to all that replied...TW is still pretty cool, and I will 
 use it for other things... 

 But in the meantime, can anyone suggest a better solution?  Our needs are: 

 1)  Completely local solution; 
 2)  Not too many files - no more than about a thousand; 
 3)  Hierarchal access - we don't need searching, but we need to be able 
 to move up or down the tree; 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Saving with 5.08beta

2014-03-05 Thread Danielo Rodríguez
Just for IOS? I think that could be an awesome feature for any 
implementation of TW5

El miércoles, 5 de marzo de 2014 12:10:49 UTC+1, Jeremy Ruston escribió:

 Hi Howard

 That makes sense. I'm in contact with the TWEdit developer and our plan is 
 to support tiddler-level sync as an alternative to saving the entire 
 document. It's partly in response to your findings about iOS7 
 unceremoniously closing apps: we really need autosave to protect ourselves, 
 and yet as you've found autosave with a large TW can be slow.

 Best wishes,

 Jeremy 


 On Wed, Mar 5, 2014 at 11:06 AM, HowardM 
 ma...@howardmorrison.plus.comjavascript:
  wrote:

 Hi Jeremy
 Hi Jeremy

 I do use TWEdit.   My question came from assessing whether to change to 
 TW5 (once out of beta) on my iPad Mini.I have a large TW file (3.6mb) 
 which is slow to save on the iPad (30 secs+) using TWC but using autosave 
 on TW5 is quicker for a small number of changes (I am using a roughly 
 converted version of the TWC file for tests).   When asking the question I 
 didn't realise that the short delay in closing amended TW5 tiddlers was due 
 to the default autosave setting.

 When to save is an issue for me because, since the upgrade to iOS7, 
 TWEdit from time to time reloads the file when I return to it, losing any 
 unsaved changes - I don't think this is a TWEdit issue because it didn't do 
 it on iOS6 and some other apps now do this, though their much smaller file 
 sizes makes it unimportant.

 I must say that I am very impressed with TW5 so far, though the 
 conversion cost is still an issue.

 Thanks for your helpful reply

 Regards

 Howard






 On Tuesday, March 4, 2014 9:46:06 PM UTC, Jeremy Ruston wrote:

 Hi Howard

 Autosave can be turned off in the control panel Saving tab.

 When autosave is enabled you can still click the save button to force a 
 save - this can be useful for example if you want to save while you're in 
 the middle of editing a tiddler.

 Are you using TWEdit on iOS?

 Best wishes

 Jeremy



 On Tue, Mar 4, 2014 at 1:04 PM, HowardM 
 ma...@howardmorrison.plus.comwrote:

 Can anyone explain what the effect of clicking the save icon (top right 
 above the search box) is in this version.   Each time I amend a tiddler 
 now 
 and click its 'tick' icon I get a yellow saved wiki message.   If I 
 reload the file the amendments show.   So what else is saved if you click 
 the icon above the search box ?

 I appreciate this is not an important issue on a laptop, because saving 
 is fast, but on iOS saving can take a significant time for a large file.

 Grateful for any advice.
  
 -- 
 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+...@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/groups/opt_out.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com
  



 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] TOC in a long Tiddler

2014-03-05 Thread Stephan Hradek
Despite the fact that I do not recommend it, I've tested it on 
http://tiddlystuff.com Tiddler: Lipsum

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: TW5 Wish list

2014-03-05 Thread Matabele
You could try pandoc to convert to markdown then install the markdown 
plugin - should work for straightforward files. 

http://johnmacfarlane.net/pandoc/

regards


On Tuesday, March 4, 2014 8:48:29 PM UTC+2, RunningUtes wrote:

 I would love to have a way to import HTML files (in bulk) that would 
 convert to TW5 format. I know that this is a dream option but would it be 
 possible to use the 'drag and drop' option and convert HTML to tiddlers?

 Any other wishes that others have?


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] (tw5) Make mailto and url links

2014-03-05 Thread Daniel
Hi

I want to make a mailto link with email address from a field and subject + 
body from a tiddler.

In tw classic I used a transclusion to bring the components together and I 
used javascript encodeURIComponent() to encode the subject and body.

How can I do this kind of link concatenation? Do we need to make a plugin 
for it or can something be reused?

Example: A clickable link would look like:

mailto:exampleaddr...@exampleemailprovider.com?subject=encoded%20subjectbody=encoded%20body

Daniel

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: (tw5) Make mailto and url links

2014-03-05 Thread Stephan Hradek
For the encoding you need a JavaScript macro.

Maybe this is enough to get you started: http://tw5magick.tiddlyspot.com/  
System tiddler $:/macros/skeeve/bookmarklet.js

It creates a link with a javscript href. So the basic stuff is there. You 
just need to change it a bit.

Have fun...

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Using your SiteTitle as a Home URL

2014-03-05 Thread Bill Mullen
I was looking for a way to re-display my DefaultTiddlers - mostly after a 
search because the search feature was closing all the open tiddlers before 
displaying the results.

In my search, Morris Gray included some code in the following thread:

https://groups.google.com/forum/#!searchin/TiddlyWiki/DefaultTiddler/tiddlywiki/k3qdZ64aARQ/PpTeG7swBxkJ

First off, thank you Morris! 

I used Morris' code in my SiteTitle tiddler as such so that clicking on the 
site title will close all open tiddlers and display the default tiddlers.

htmla href=javascript:void(0) onclick=story.closeAllTiddlers
();story.displayTiddlers(null,store.getTiddlerText
('DefaultTiddlers').readBracketedList())
span title=Display default tiddlers style=cursor:pointer; color: 
white;My Site Title/span/a/html


Just thought I would share a way to use Morris' code

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Using your SiteTitle as a Home URL

2014-03-05 Thread Eric Shulman
On Wednesday, March 5, 2014 9:52:48 AM UTC-8, Bill Mullen wrote:

 I was looking for a way to re-display my DefaultTiddlers - mostly after a 
 search because the search feature was closing all the open tiddlers before 
 displaying the results.
 In my search, Morris Gray included some code in the following thread:

 https://groups.google.com/forum/#!searchin/TiddlyWiki/DefaultTiddler/tiddlywiki/k3qdZ64aARQ/PpTeG7swBxkJ

htmla href=javascript:void(0) onclick=story.closeAllTiddlers
 ();story.displayTiddlers(null,store.getTiddlerText
 ('DefaultTiddlers').readBracketedList())
 span title=Display default tiddlers style=cursor:pointer; color: 
 white;My Site Title/span/a/html


1) Note that this only applies to TiddlyWiki Classic (TWC), not TiddlyWiki5 
(TW5).  Please remember to put either TWC or TW5 in the subject of your 
posts.

2) The code you posted can be shortened to:
htmla href=javascript:; onclick=story.closeAllTiddlers();restart(); 
title=Display default tiddlersMy Site Title/a/html
* the href and onclick codes are simpler
* there's no need to set the cursor style, since a already defaults to 
using pointer
* colors should not be hard coded.. you should add/edit custom CSS in 
[[StyleSheet]] to affect changes in appearance

3) I suggest moving the code to another tiddler, e.g., 
[[ShowDefaultTiddlers]], with a substitution parameter for the clickable 
text, like this:
htmla href=javascript:; onclick=story.closeAllTiddlers();restart(); 
title=Display default tiddlers$1/a/html
Then, you can use this in [[SiteTitle]] like this:
tiddler ShowDefaultTiddlers with: Site title goes here
The net advantages are that
* the content in SiteTitle is more readable because the technical stuff is 
separated in another tiddler
* you can re-use the same transclusion to add a home link elsewhere in 
your document (e.g., [[MainMenu]] or [[SideBarOptions]]).  For example:
tiddler ShowDefaultTiddlers with: home

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Saving with 5.08beta

2014-03-05 Thread Jeremy Ruston
Hi Danielo

  our plan is to support tiddler-level sync as an alternative to saving
the entire document

On Wed, Mar 5, 2014 at 2:35 PM, Danielo Rodríguez rdani...@gmail.comwrote:

 Just for IOS? I think that could be an awesome feature for any
 implementation of TW5


The tiddler-level sync mechanism is already present in TW5. It is used in
the browser to sync tiddlers to a TiddlyWeb-compatible server, and on the
server to sync tiddlers to the file system.

We can't use the tiddler sync mechanism to save changes when running
standalone in the browser because we don't have access to file APIs. But
the plan is to use it with TWEdit, TiddlyDesktop and possibly TiddlyFox.

Best wishes

Jeremy




 El miércoles, 5 de marzo de 2014 12:10:49 UTC+1, Jeremy Ruston escribió:

 Hi Howard

 That makes sense. I'm in contact with the TWEdit developer and our plan
 is to support tiddler-level sync as an alternative to saving the entire
 document. It's partly in response to your findings about iOS7
 unceremoniously closing apps: we really need autosave to protect ourselves,
 and yet as you've found autosave with a large TW can be slow.

 Best wishes,

 Jeremy


 On Wed, Mar 5, 2014 at 11:06 AM, HowardM 
 ma...@howardmorrison.plus.comwrote:

 Hi Jeremy
 Hi Jeremy

 I do use TWEdit.   My question came from assessing whether to change to
 TW5 (once out of beta) on my iPad Mini.I have a large TW file (3.6mb)
 which is slow to save on the iPad (30 secs+) using TWC but using autosave
 on TW5 is quicker for a small number of changes (I am using a roughly
 converted version of the TWC file for tests).   When asking the question I
 didn't realise that the short delay in closing amended TW5 tiddlers was due
 to the default autosave setting.

 When to save is an issue for me because, since the upgrade to iOS7,
 TWEdit from time to time reloads the file when I return to it, losing any
 unsaved changes - I don't think this is a TWEdit issue because it didn't do
 it on iOS6 and some other apps now do this, though their much smaller file
 sizes makes it unimportant.

 I must say that I am very impressed with TW5 so far, though the
 conversion cost is still an issue.

 Thanks for your helpful reply

 Regards

 Howard






 On Tuesday, March 4, 2014 9:46:06 PM UTC, Jeremy Ruston wrote:

 Hi Howard

 Autosave can be turned off in the control panel Saving tab.

 When autosave is enabled you can still click the save button to force a
 save - this can be useful for example if you want to save while you're in
 the middle of editing a tiddler.

 Are you using TWEdit on iOS?

 Best wishes

 Jeremy



 On Tue, Mar 4, 2014 at 1:04 PM, HowardM 
 ma...@howardmorrison.plus.comwrote:

 Can anyone explain what the effect of clicking the save icon (top
 right above the search box) is in this version.   Each time I amend a
 tiddler now and click its 'tick' icon I get a yellow saved wiki message.
   If I reload the file the amendments show.   So what else is saved if you
 click the icon above the search box ?

 I appreciate this is not an important issue on a laptop, because
 saving is fast, but on iOS saving can take a significant time for a large
 file.

 Grateful for any advice.

 --
 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+...@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/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Strange behaviour of tag pills in 3 column mode in 5.0.8-beta

2014-03-05 Thread Ton Gerner
At http://tw5toolbar.tiddlyspot.com/ I use a 'List tags' button that opens 
a tiddler that contains:

---

@@.threecolumns
div

{{$:/core/ui/MoreSideBar/Tags}}

/div
@@

A style sheet contains:

/* DISPLAY IN 3 COLUMNS */
/* for List all tags */ 
.threecolumns {
 display: block;
 column-count: 3;
 -moz-column-count: 3; 
 -webkit-column-count: 3;
}

With TW5.0.8-beta this works in Firefox v27, but not (anymore) in Chrome 
v33 (all in Windows 7 64-bit).
It still does work in TW5.0.7-beta and Chrome v33.

One of the changes in TW5.0.8-beta is the addition of the 'Tag manager'.
Leaving that button out (copying only part of the code of 
$:/core/ui/MoreSideBar/Tags in a tiddler) did not help.

The strange thing is that the 'untagged' tag pill works as expected, the 
other tag pills don't. It looks like the clickable area for the tag pills 
has been shifted outside the tag pills:

Just above $/tags/PageTemplate (at the left side of the button) you can 
click and $:/tags/ViewToolbar opens!
Just above $/tags/PageControls (at the left side of the button) you can 
click and $:/tags/ViewTemplate opens!
Just above $/tags/stylesheet (at the left side of the button) you can click 
and Documentation opens!
Just below $:/tags/AdvancedSearch (at the left side of the button) you can 
click and $/tags/stylesheet opens!

Internet Explorer v11 works normal, Opera 12 shows only 2 colums, misses 
the last tag pills but the tag pills can be clicked.

For the time being I will skip the 3 column mode but I am curious what 
happens: strange behaviour of TW5.0.8-beta, Chrome, or the combination of 
TW and Chrome?

Any idea?

Cheers,

Ton

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Using your SiteTitle as a Home URL

2014-03-05 Thread Bill Mullen


On Wednesday, March 5, 2014 12:14:57 PM UTC-6, Eric Shulman wrote:

 1) Note that this only applies to TiddlyWiki Classic (TWC), not 
 TiddlyWiki5 (TW5).  Please remember to put either TWC or TW5 in the subject 
 of your posts.

 My apologies - this was my first post.  The instructions read, If you are 
posting a question... and since this wasn't a question I assumed it didn't 
matter.  My bad - I now see that it does.  Thanks for pointing that out.
 

 2) The code you posted can be shortened to:
 htmla href=javascript:; onclick=story.closeAllTiddlers();restart(); 
 title=Display default tiddlersMy Site Title/a/html

Awesome.
 

 * colors should not be hard coded.. you should add/edit custom CSS in 
 [[StyleSheet]] to affect changes in appearance

Agreed that I should have used CSS and I went back and changed it with a 
caveat - see final comments below.
 

 3) I suggest moving the code to another tiddler, e.g., 
 [[ShowDefaultTiddlers]], with a substitution parameter for the clickable 
 text, like this:
 htmla href=javascript:; onclick=story.closeAllTiddlers();restart(); 
 title=Display default tiddlers$1/a/html
 Then, you can use this in [[SiteTitle]] like this:
 tiddler ShowDefaultTiddlers with: Site title goes here
 The net advantages are that
 * the content in SiteTitle is more readable because the technical stuff is 
 separated in another tiddler
 * you can re-use the same transclusion to add a home link elsewhere in 
 your document (e.g., [[MainMenu]] or [[SideBarOptions]]).  For example:
 tiddler ShowDefaultTiddlers with: home

 I actually had tried this (I used this already in my SideBarOptions menu) 
by employing exactly this.

Final comment:  I am fairly new to TiddlyWiki and use dCubed GTD versus an 
out-of-the-box TiddlyWiki. I posted in this group since the tip applies to 
both.
My Site Title is actually Bill Mullen's d3 GTD with the 3 superscripted.  
When I tried using

tiddler ShowDefaultTiddlers with: Bill's d^^3^^ GTD

the 3 was not superscripted and the carets were displayed as carets which 
I somewhat expected, so I used the code I posted originally. Is there a way 
to use the replaceable parameters passing text with TiddlyWiki Markup?  

As per the hard coding of the color, the HTML code did not honor the CSS 
(not real sure why) for SiteTitle. So, I dropped the hard coded color and 
employed the siteTitle class which solved the color problem.



 

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios

 YOUR DONATIONS ARE VERY IMPORTANT!
 HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR...
http://TiddlyTools.github.com/fundraising.html#MakeADonation

 Professional TiddlyWiki Consulting Services...
 Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: TW5 - Get a value of a current TAG and $let

2014-03-05 Thread Gustavo Martins
Thank you! 
It worked perfectly!

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Impressions thus far (and TW on node.js on Android)

2014-03-05 Thread oveek
The main thing I'd like to say for the sake of general feedback is I am 
really liking TiddlyWiki5, and am very excited by what I'm seeing.

I've been a long time user and fan of TiddlyWiki (classic), TiddlyWeb, and 
TiddlySpace. Here are some thoughts from my recent use of TiddlyWiki5:

The TiddlyWiki5 interface is, to me, a huge improvement. I think it looks 
great, and is very functional from an UI perspective. While I've always 
loved TiddlyWiki, I was never fully satisfied with the default appearance 
and layout of TiddlyWiki classic, and felt compelled to tweak the base 
appearance and layout. With TiddlyWiki5 I feel like I can pretty much just 
dive in and use it from the get go (and present it to other people)–the 
default theme, layout, text styles, etc., are clean and attractive.

Elements of the UI that I'm appreciating from a workflow and usage point of 
view: 

   - *The* *Open tab*: Having the list of open tiddlers makes it easy to 
   jump between multiple tiddlers in the story. While editing one tiddler, I 
   can quickly jump down to refer to another by clicking it in the list in the 
   open tab, and then jump back to the one I was editing.
   - *Tags*: Adding multiple tags to tiddlers is quick and easy with the 
   filterable tag list. They also look good, and the ability to easily give 
   them a color is very nice.
   - *Search*: The immediate search-as-you-type function of the search box 
   makes finding a tiddler a quicker task. The advanced search of Shadow and 
   System tiddlers is a welcome addition that is a big help to tiddly hackers.
   - *Control Panel*: Lots of useful information here. The Advanced tab's 
   comprehensive list of modules gives an overview of what makes the wiki 
   work. All the different types of js modules that provide core 
   functionality and additional features.
   - *List widget and tiddler filters*: These clearly provide powerful 
   functionality for creating dynamic self-updating lists of tiddlers (like 
   the task management example). Writing complex lists is a real brain teaser, 
   especially in the beginning while learning the concepts and associated 
   syntax. Combining TiddlerFilters, nested lists, TextReferences and other 
   concepts bring a lot of possibilities to the table.
   - *Snapshots:* when running as a server side app, this makes it easy to 
   grab a standalone wiki in a single click.
   
Those are a few of the frontend/UI highlights for me. There are quite a lot 
more, but I'll leave it at that for the moment. About running as a server 
side:

   - *Node.js / server side*:I always prefer to run my wiki using a server 
   side component. I'm a big fan of TiddlyWeb / TiddlySpace so when the TW5 
   compatibility with TiddlyWeb is fleshed out I may switch to TW5 / 
   TiddlyWeb. That may be my ultimate combination as TiddlyWeb provides robust 
   user management and access controls, multiple storage adapters, and many 
   other features.
   
   In the interim though, I really like tiddlywiki node.js app as the 
   server side component as well, and I see various possibilities for cool 
   functionality here. Having tiddlers stored as flat files is useful. An user 
   on the TiddlyWikiDev group described how he is using git to version control 
   the tiddler files and share the wiki between several machines. I had been 
   thinking along those lines as well, and am now using git to synchronize my 
   wiki between my computer and phone...


   -  *Node.js / tiddlywiki on Android*: It's kind of amazing to see this 
   working as well as it seems to. I wanted to run TiddlyWiki5 on my phone and 
   be able to sync it with my computer. I think having tiddlers as separate 
   files lends itself better to version control, so that led me to wanting to 
   get node.js running on my phone. I was able to cross compile node.js for 
   ARMv7, copy it to my phone, clone the TiddlyWiki5 git repo onto the phone, 
   clone my wiki instance from my computer, and successfully run that TW5 
   instance on node.js on a Samsung Galaxy Note II. I haven't tested too much 
   yet, but I opened localhost:8080 in chrome and I was able to browse around 
   the wiki, and create and edit new tiddlers which were saved successfully to 
   the file system. The UI appears to scale and layout nicely to a mobile 
   screen size. The giant screen of the Note II helps too, and makes the wiki 
   surprisingly readable/usable.  


Great work so far, I'm using TW5 daily and loving it.

Oveek

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Error running tiddlywiki on Ubuntu...

2014-03-05 Thread Bob Breitling
I was able to get version v0.10.26 of node.js installed and, I think the 
latest, version of Tiddlywiki5. Though, when I install TiddlyWiki5 is says 
5.0.8-beta on the files its installing but when I run

 $ tiddlywiki --version 

the value displayed is 5.0.0-alpha.7 (not sure why?).

When I try to run tiddlywiki

 $ sudo tiddlywiki mywiki --init server

there is a slight pause of about 3 to 4 seconds the it displays

Error: Missing command.

It would seem I am missing something on my Ubuntu server installation, but 
what?

Any help would be greatly appreciated. I search the forum here, but I did 
not find anything specific to this error, So I am posting this question.

Bob

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.