Re: [tw] Re: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Stephan Hradek
SOLVED

\define prevnext(lesson)
Previous: <$list filter="[tag[$lesson$]sort[number]previous[]]"/>
 / Next: <$list filter="[tag[$lesson$]sort[number]next[]]"/>
\end
<$list filter="[is[current]tags[]prefix[Lesson]]" 
variable="lesson"><$macrocall 
$name="prevnext" lesson=<>/>


-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Stephan Hradek
Done

<$list filter="[is[current]tag[Lesson1]]">
Next: <$list filter="[tag[Lesson1]sort[number]next[]]"/> / Previous: <$list 
filter="[tag[Lesson1]sort[number]previous[]]"/>

<$list filter="[is[current]tag[Lesson2]]">
Next: <$list filter="[tag[Lesson2]sort[number]next[]]"/> / Previous: <$list 
filter="[tag[Lesson2]sort[number]previous[]]"/>
Code hier eingeben...

I couldn't find how to generalize it. I thought it would work like this, ut 
it doesn't

<$list filter="[is[current]tags[]prefix[Lesson]]" variable="lesson">
Next: <$list filter="[tag[<>]sort[number]next[]]"/> / Previous: 
<$list filter="[tag[<>]sort[number]previous[]]"/>


Again this "variable" stuff is another inconsistency. Usually <> 
is used for macro invocation, but in the list widget it is used for 
variables. So this is now the third possibility for using something called 
"variable":


   1. $variable$ for parameters of macros
   2. $(variable)$ for variables set with <$set>
   3. <> for variables set with <$list>

:(

-- 
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] How to IF… THEN… ?

2014-01-22 Thread Lorenzo
Hi, at the moment I think that the only solution is the one you can find here:
https://groups.google.com/forum/m/#!topic/tiddlywiki/3zaTj1GVh_k


Bye,
Lorenzo

-- 
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] backticks for inline code - very bad usability on German keyboard layouts

2014-01-22 Thread Leo Staley
If I may: AutoHotkey or AutoIt 
3are probably the two best windows 
apps for making macros for this sort of 
thing. for something as quick and easy as this, either of them should work 

On Wednesday, January 22, 2014 3:20:13 PM UTC-7, wis775 wrote:
>
> Thanks for all the replies.
>
> For my Fedora environment, the most "convenience" way to get 3 backticks 
> are  *6 times the backtick key* (without SHIFT). This  sequence will give 
> me 3 backticks.
>
> But I agree with Jeremy, that the general solution would be, that 
> TiddlyWiki would provide some keyboard macros.
>
> As an alternative, I can change the the regex to any sequence i like.
>
> Stefan
>

-- 
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: My Tiddlywiki Backup Scheme

2014-01-22 Thread Leo Staley
giewiki (Poul's version which runs a modified tiddlywiki on Google apps ) 
automatically keeps a version history of every tiddler. I imagine a plugin 
for something like that could be created for TW5, stored locally. 

I myself use SugarSync, which just automatically syncs with whatever is in 
any folder I designate, across multiple devices. It syncs with my local 
backups folder, and I'm fine if i have my local stuff backed up correctly. 
I access the tiddlywiki locally, and sugarsync detects the changed file and 
syncs with any changes automatically and quickly. 

I use TWC, and I just found http://mptw.tiddlyspot.com/#LessBackupsPlugin. 
I wonder if something like this, if converted to TW5 would work at all for 
you?

I also wonder, would it be possible to create a plugin for TW5 that does 
what giewiki does? 

Cheers,
Leo
On Wednesday, January 22, 2014 2:58:44 AM UTC-7, Mal wrote:
>
> Folks,
>
> I am interested in comments or suggestions on my backup scheme.
>
> I've created a tiddlywiki as a note-keeping system for a medical student.  
> It currently contains over 1000 tiddlers plus about 200 embedded images.  
> This was originally created using twc and I have recently converted it to 
> tw5 to get the benefits of embedded images.  Although the file is now a bit 
> over 20MB, it can be viewed on all devices, including an iPad.  (I could 
> not get the twc image links to work on the iPad.)
>
> Although, the file is stored in Dropbox and synchronised on various 
> devices, I'm very keen to make sure that no information can be lost.  Given 
> that the versioning system in Dropbox only keeps old versions for 30 days, 
> there is always the prospect that an accidental deletion could go 
> un-noticed for this time and then be lost on all devices.
>
> To insure against this I wanted to implement a process to automatically 
> save every version of every tiddler, so that it will be possible to go back 
> in time and recover previous versions.
>
> After trying various alternatives, I set up dropbox on our home server to 
> keep another synchronised copy of the tiddlywiki and created an awk script 
> that extracts each tiddler, appends the "modified" timestamp to the tiddler 
> title to create a unique file name and saves it in a separate folder in 
> Dropbox, as long as a file of this name does not already exist.  This 
> folder will contain the original copy of every tiddler plus all subsequent 
> versions.  I then wrote a bash script to monitor the tiddlywiki html file 
> and run the awk backup script every time a new version the tiddlywiki is 
> saved.
>
> I know the process is not really bullet-proof, but it's working.
>
> No doubt there are much better ways of implementing this, so I will be 
> keen to hear any suggestions.
>
> Thanks,
>
> Mal
>
>

-- 
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: My Tiddlywiki Backup Scheme

2014-01-22 Thread Mal
Mario,

Thanks for the detailed response.  See my comments included below.

Regards,

Mal


On Thursday, 23 January 2014 00:58:19 UTC+10, PMario wrote:
>
> Hi Mal,
>
> Reading your post, your number one priority is, to "protect the content". 
> And as a "side effect" you'd like to recreate "older" versions. 
>
Correct - although some other important requirements are: Single TW5 file 
to allow easy viewing on iPad, phone, etc.; Off-line viewing and editing 
capability; automated backup without user interaction. 

>
> I think your usecase asks for a TW5 dev server and an optional VCS system. 
> It seems you are ok to create some (probably tricky) "bash scripts" and you 
> are in control of a server. 
>
Note that my server is not open to the internet, other than SSH. 

>
> - TW5 comes with a "development server" that can be used in local 
> networks. 
>- So it would be possible to run this one on the server and directly 
> edit content with TW5. This option will require a network connection.
>- modified tiddlers would be stored as single files. 
>- Version controlling could be done with the system described below.
>
> - The file watching mechanism, that you use can be reused to detect the 
> single tiddler changes. 
>   - It can trigger a build process, that creates single fiel TWs and copy 
> them to the DP sync folder.
>
> -- Version controlling -- 
>
> My "brainstorming" depends a little bit on some info, that you didn't 
> provide. 
>  - how many _different_ users do modify / edit the "core" content ?
>
One user only.
 

>  - which OS does the server use?
>
Ubuntu 12.04 

 - which OSes do the "editors" use, if they are different to the server ?
>
Ubuntu and OS X.
 

>  - Is some type of access management needed?
>
No - other than keeping it private. 

>
> So as I know git a bit, I use it as an example. Othere VCSes may work too.
>
>  - On your server you could install git.
>- This server is the "master of content".
>- If the "nodejs dev server" (from above) is active, it can be used to 
> modify the content tiddlers.
>- If no dev server is runnung you can modify the tiddlers with any text 
> editor
>- Your file watch script will do the rest
>
> If you have more than one Editor
>
>  - Editors, can have there own "local backup" with a TW5 installation, 
> that is able to build a single file TW using a custom edition [1]
>- TW5 editions basically are "directories" that contain some 
> configuration info and many content tiddlers.
>  - The TW5 repo contains some scripts, (that can be optimized) to work 
> with custom editions and build "single file TWs" [2]
>  - The build script could build a file TW and store it in the DP sync 
> folder.
>
> So what would be the advantage of such a configuration. 
>
> - Every "Editor" has a local backup on there computer. So if the server 
> breaks, everything could be rebuilt using those local backups. 
> - If your IT department is responsible for the server, I hope they do 
> regular backups of the whole stuff, so everything you need should be 
> backuped allready. 
> - You can still use dropbox for syncing your single file TWs. So DP is an 
> additional backup
> - Every Editor can _offline_ modify the source and it will be possible to 
> do "real merges".
> - A TW core update could be done with a pull from the original TW5 repo. 
>
> I can see this type of process working quite well.  I could keep the 
tiddler files in Dropbox and run tiddlywiki under node.js on the Ubuntu and 
Mac machines to allow for editing.  The automated script on the server 
could then re-build the single TW5 file for access on mobile devices and 
run a version control commit process each time a change is made.  I guess 
editing on mobile devices would not be possible, but this is not a high 
priority.

Of course a good option would be to run tiddlywiki under node.js on moblie 
devices as well - I'm not sure if this will be an possible at some stage.

One piece that is missing is the tiddlywiki automated save functionality, 
but I understand it's on the near-term roadmap.

... 
>
> just some ideas, to explore
> mario
>
> [1] https://github.com/Jermolene/TiddlyWiki5/tree/master/editions
> [2] https://github.com/Jermolene/TiddlyWiki5/blob/master/qbld.sh
>

-- 
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] backticks for inline code - very bad usability on German keyboard layouts

2014-01-22 Thread PMario
On Wednesday, January 22, 2014 11:20:13 PM UTC+1, wis775 wrote:
>
> For my Fedora environment, the most "convenience" way to get 3 backticks 
> are  *6 times the backtick key* (without SHIFT). This  sequence will give 
> me 3 backticks.
>

I did have the same/similar problem with ubuntu's default keyboard 
settings. 
For me the active keyboard layout was wrong. .. I'm using: "Deutsch 
(Österreich, ohne Akzentzeichen)" ... this one works perfectly!

Do you also have a problem with the tilde? ~   ... you may need to type it 
twice. ... same problem. 

I could fix it adjusting the "Systemeinstellungen: Tastatur: Texteingabe: 
Belegungseinstellungen".

There are about 20 possibilities for germany, austria, switzerland

may be some hints. 
mario

-- 
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: TiddlyWiki Hangout #30 on Tuesday 14th January at 4pm GMT

2014-01-22 Thread PMario
A bit late, but here it is :)

video: http://www.youtube.com/watch?v=I7vzfWieF_4
annotations: http://pmario.tiddlyspace.com/#2014-01-11-TW-hangout-30

have fun!
mario

-- 
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] Edit the label that appears when I mouse over a link

2014-01-22 Thread dickon
In TW classic (well in TS actually) how do I edit the label that appears as 
I mouse over the link (ie it tells you the title it is pointing at, who 
edited it last, and when)?  I used to know how to do this, but I have 
forgotten and just can't figure it out!

Thanks anyone out there!

dickon

-- 
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: My Tiddlywiki Backup Scheme

2014-01-22 Thread Mal
I accidentally replied directly to Marcel rather than posting, so I am 
re-submitting my reply below.  Marcel also suggested Seafile 
as a dropbox alternative, so I will check it 
out.

Marcel,

I agree, this is a straight-forward approach.  However, I am still 
concerned about the lack of long-term version history, given that Dropbox 
only keeps old versions for 30 days.  I guess there is always the 
possibility of using the Dropbox Packrat add-in to get unlimited version 
retention, although it is a paid option and requires a paid version of 
Dropbox.

Regards,

Mal
 

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Thanks Stephan

Sorry I don't have a clue how to use the modified next/previous filter 
function

I've put the simplest list filter tag expression (I could imagine) into the 
text value field for the custom field: "list" in the tiddler Lesson1. 
list:  <$list filter="[is[current]tag[Lesson1] sort[number]]"/>

Does the modified next/previous filter function make the use of a field (eg 
"list") obsolete - and should I write the list filter expression directly 
into the text of the tiddler instead??

I've put the modified next/previous filter js file into the 
mtc- if anyone wants to try it out.

Please go ahead and save your changes back to the server - backups are 
created automatically..
user: tester password: tester

Cheers Måns Mårtensson

Den onsdag den 22. januar 2014 20.11.01 UTC+1 skrev Stephan Hradek:
>
> If you want to create the list with a filter and select  the previous and 
> next from it, you need a modified next/previous filter function
>
> https://github.com/Jermolene/TiddlyWiki5/pull/357
>
>
>

-- 
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] How to IF… THEN… ?

2014-01-22 Thread Albertononi
What is the best way to have something like: *if [some boolean condition] 
then… * ?

I am trying to create a custom ViewTemplate that shows some information *only 
when it exists*. For instance, to show a list of publications of an author 
only if there is any:


*If ([is[current]tagging[]tag[publication]] ≥ 1) then **(show the 
following)*


<$count filter="[tag[publication]author{!!title}]"/> publications

<$list filter="[tag[publication]author{!!title}]">




Any idea?

Thanks!

-- 
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] backticks for inline code - very bad usability on German keyboard layouts

2014-01-22 Thread wis775
Thanks for all the replies.

For my Fedora environment, the most "convenience" way to get 3 backticks 
are  *6 times the backtick key* (without SHIFT). This  sequence will give 
me 3 backticks.

But I agree with Jeremy, that the general solution would be, that 
TiddlyWiki would provide some keyboard macros.

As an alternative, I can change the the regex to any sequence i like.

Stefan

-- 
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: Tiddlyspot down?

2014-01-22 Thread Danielo Rodríguez
The next release will be dropbox compatible. I think that is reliable enough ;) 

-- 
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] CodeMirror plugin

2014-01-22 Thread Danielo Rodríguez
I have the same problem. After installing the plugin the only thing that I 
noticed are the line numbers. Is that everything or should I expect something 
more? 

-- 
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] CodeMirror plugin

2014-01-22 Thread Chris Miller
Hi Folks, 

I am presumably using the CodeMirror plugin. I believe this is so because 
$:/ControlPanel "plugins" tab shows me:

$:/plugins/tiddlywiki/codemirror   
Codemirror plugin   5.0.6-beta

However, I don't see VIM keybindings, meaning it doesn't work.  I'm getting 
standard primitive notepad editing.  Do I have to turn something on?  
What's missing?

Thanks for the help.

-- 
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: [TW5] Inline Editing of fields

2014-01-22 Thread Danielo Rodríguez
Thank you, that throws some light to my doubts. 

-- 
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] Use Cases

2014-01-22 Thread Chris Miller
Hi Folks,

I'd like advice for various use cases.

Problem Tracker:
I'd like to be able to answer:

   - What is the chronology of this problem/project -- occurrence and 
   resolution?
   - Who were the players, meaning contact details?
   
I'd also like to be able to answer the question:

   - What problems has  worked with me?

It sounds to me like the issue should be a tag and case notes would be 
chronological updates. The tag would collect all the chronological updates 
and even the players, but not associate updates to players. So, how can I 
connect a set of players to various notes?  Can I relate tiddlers to each 
other in ways beyond tags?  What I envision is displaying a particular 
player and have a set of links to problem/project updates.  Obviously, I 
can include a reference to players in the updates, but I can't see how to 
get the converse listing of all updates referencing a particular player.

Daily Diary:
I'd like to be able to answer the question:

   - What did I do on ?
   - What was happening around ?

I think this is the natural state on TiddlyWiki.  I think this will happen 
without any provocation, and probably in spite of anything else I might 
do.  (-:
ToDo list:
This is already discussed in the examples.

Are there other use cases that I might find helpful?  If the player <==> 
update relationship can be solved, then I think all three of these use 
cases coexist quite nicely.

Thanks for the help.



-- 
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: TiddlyWiki Hangout #31 now on Wednesday 22nd January at 4pm GMT

2014-01-22 Thread Leo Staley
Oh no! I missed it again! Ok, I'll try next week. I wonder if Eric Shulman 
will be hosting his tiddlywiki hangout this week. 

On Monday, January 20, 2014 1:54:07 AM UTC-7, Jeremy Ruston wrote:
>
> Apologies, I've had to move this weeks hangout to Wednesday 22nd January 
> at 4pm.
>
> https://plus.google.com/events/cge793dari8jfeq0lgt7oaft5f8
>
> Best wishes
>
> Jeremy
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@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] Re: Tiddlyspot down?

2014-01-22 Thread Leo Staley
This is actually why I'm hoping for a different tiddlywiki hosting solution 
eventually. I'd much rather host somewhere that I have used before and 
trust, somewhere that millions of people use, like Google, HostGator, or Go 
Daddy. I'm glad TW5 is working toward that possibility.

On Wednesday, January 22, 2014 2:41:39 AM UTC-7, Jan Winter wrote:
>
> Thanks @Stephan for testing.
>
> It works fine for me again:)
>
> Am Mittwoch, 22. Januar 2014 10:16:48 UTC+1 schrieb Jan Winter:
>>
>> Knows anyone why tiddlyspot.com is not available?
>>
>> And more important: When is tiddlyspot online again?
>>
>

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Stephan Hradek
If you want to create the list with a filter and select  the previous and 
next from it, you need a modified next/previous filter function

https://github.com/Jermolene/TiddlyWiki5/pull/357


-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Danielo Rodríguez
If you want the next button to not be displayed when no next tiddler just don't 
use a fixed string for next and previous. Use the widget link instead, and link 
to the variable that points to. 

<$list >
<$link to={{!!title}} >Next 


I think that can work. 

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Stephan Hradek
I've created a Lesson2 and a tiddler "ToC" containing:

<$list filter="[tags[]prefix[Lesson]]">
! <$view field="title"/>
{{{ [tag{!!title}sort[number]] }}}


Does this help?

-- 
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]

2014-01-22 Thread Måns
Hi Jeremy

It (sort of) works 
https://groups.google.com/d/msg/tiddlywiki/GlWwfKh0ntI/CaKq-9xKN8oJ - even 
if it throws errors.

Try it out with password: "tester"

Cheers Måns Mårtensson
 

> The easiest way to get your own private instance of TiddlyWiki5 running on 
> your own server is to use the old UploadPlugin that was originally 
> developed for TiddlyWiki Classic. I've recently updated the docs for 5.0.7 
> here:
>
>
> https://raw.github.com/Jermolene/TiddlyWiki5/master/editions/tw5.com/tiddlers/saving/Saving%20on%20a%20PHP%20Server.tid
>
> You'll probably be best off waiting for the release of 5.0.7 before trying 
> it out (5.0.7 will be out in the next couple of days)
>
> Best wishes
>
> Jeremy
>
>
>
> On Wed, Jan 22, 2014 at 8:43 AM, Alex Hough 
> > wrote:
>
>> Dear All,
>>
>> I'd like an easy way to host a TiddlyWiki 5 on my own domain. Is it 
>> possible to get Dropbox TiddlyWiki onto my own domain? I don't really want 
>> to be uploading it each time I make and edit.
>>
>> Thanks in advance
>>
>> Alex
>>
>>  -- 
>> 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 
>  

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Btw - The notification popup for saving the wiki throws errors - even if it 
does save back to the server...

Den onsdag den 22. januar 2014 18.44.30 UTC+1 skrev Måns:
>
> Hi Stephan
>
> I made two minimal test cases:
>
> 1) http://xn--mns-ula.dk/mtc2/ works with a "hardcoded" list of tiddlers 
> as a value in the Navigation tiddler's list field.
> 2) http://xn--mns-ula.dk/mtc/ doesn't work with a list filter expression 
> as a value in the Navigation tiddler's list field.
>
> Password is "tester"
>
> Cheers Måns Mårtensson
>
>
> Den onsdag den 22. januar 2014 17.23.20 UTC+1 skrev Stephan Hradek:
>>
>>
>>
>> Am Mittwoch, 22. Januar 2014 17:19:07 UTC+1 schrieb Måns:
>>>
>>>
>>> Is it possible to use the list macro/widget-thingy to generate the 
>>> "list" field value and sort by a second custom field value?


  Should be possible. Give me an example Wiki and I'll try to create 
>> the proper code for you… 
>>
>

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Hi Stephan

I made two minimal test cases:

1) http://xn--mns-ula.dk/mtc2/ works with a "hardcoded" list of tiddlers as 
a value in the Navigation tiddler's list field.
2) http://xn--mns-ula.dk/mtc/ doesn't work with a list filter expression as 
a value in the Navigation tiddler's list field.

Password is "tester"

Cheers Måns Mårtensson


Den onsdag den 22. januar 2014 17.23.20 UTC+1 skrev Stephan Hradek:
>
>
>
> Am Mittwoch, 22. Januar 2014 17:19:07 UTC+1 schrieb Måns:
>>
>>
>> Is it possible to use the list macro/widget-thingy to generate the "list" 
>> field value and sort by a second custom field value?
>>>
>>>
>>>  Should be possible. Give me an example Wiki and I'll try to create the 
> proper code for you… 
>

-- 
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] My vanilla install on node.js does not have very worthwhile pages, like "Docs" !

2014-01-22 Thread Chris Miller
Hi Jeremy,

Smokin'!  That answers the question 100%.  Give yourself a raise.  (-:

I have found a trivial bug.  This should probably be a "log and ignore" 
response.  Please tell me the expected way to report bugs.  In the 
meantime, I will record it here:

If you specify a plugin that does not exist 
(/usr/lib/node_modules/tiddlywiki/plugins/), 

/usr/lib/node_modules/tiddlywiki/boot/boot.js:1234
> if(!("version" in pluginInfo)) {
>   ^
> TypeError: Cannot use 'in' operator to search for 'version' in undefined
> at Object.$tw.loadPluginFolder 
> (/usr/lib/node_modules/tiddlywiki/boot/boot.js:1234:20)
>
>
Thanks for the help.

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Stephan Hradek


Am Mittwoch, 22. Januar 2014 17:19:07 UTC+1 schrieb Måns:
>
>
> Is it possible to use the list macro/widget-thingy to generate the "list" 
> field value and sort by a second custom field value?
>>
>>
>>  Should be possible. Give me an example Wiki and I'll try to create the 
proper code for you… 

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Hi Jeremy

>Let's say you have a tiddler called "Lesson1" with the "list" field set 
to: [[First Bit]] SecondBit FinalBit

Is it possible to use the list macro/widget-thingy to generate the "list" 
field value and sort by a second custom field value? like this:

list: <$list filter="[is[current]tag[Lesson1] sort[nummer]]"/>

My idea is that I want all tiddlers tagged with Lesson1 automatically added 
to the list...

(I tried the above - however it didn't work for me...)

Cheers Måns Mårtensson

Den torsdag den 28. november 2013 17.02.18 UTC+1 skrev Jeremy Ruston:
>
> The next and previous filters that David wrote are now in the core, and so 
> are available to use.
>
> They work in association with the 'list' field, which is interpreted as a 
> space-separated list of tiddler titles (using double square brackets to 
> quote titles that contain a space). The next and previous filters both work 
> in a similar way that's easiest to show with an example.
>
> Let's say you have a tiddler called "Lesson1" with the "list" field set to:
>
> [[First Bit]] SecondBit FinalBit
>
> You'll also need to create the named tiddlers.
>
> Then, create a new tiddler called "Navigation" with the tag 
> "$:/tags/ViewTemplate" and the following content:
>
> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list 
> filter="[is[current]previous[Lesson1]]"/>
>
> Now if you open a tiddler like "SecondBit" you should see at the bottom 
> the controls to move to the next and previous tiddlers.
>
> The next and previous filter operators work by locating the currently 
> selected tiddler(s) in the named list, and returning the adjacent next or 
> previous tiddler from the list.
>
> Best wishes
>
> Jeremy.
>
>
>
>
>
> On Thu, Nov 28, 2013 at 3:44 PM, James Weaver 
> 
> > wrote:
>
>> Thanks Mario!  I plan on attending the upcoming google hangout by the way.
>>
>> @David: I'm interested in your thoughts/plans on the subject, so please 
>> do reply.
>>
>> Thanks,
>> Jim
>>
>>
>> On Thursday, November 28, 2013 9:43:24 AM UTC-5, PMario wrote:
>>>
>>> On Thursday, November 28, 2013 2:53:24 AM UTC+1, James Weaver wrote:

 Thanks.  Being new to this, I'm not sure what the best next step to 
 take to implement David's ideas.  For example, should I create a data 
 twiddler that expresses the twiddlers that are in the desired path?

>>>
>>> You'll need to wait, until Daivd did adjust his plugins, so you can use 
>>> them with the latest TW5. But be aware, TW5 is close to beta, but there 
>>> will be some changes that _may_ cause some additional work on your side. 
>>> 
>>>  
>>> Tagging will be used to create the lists, that should be a "story". The 
>>> internal list field will be used to sort them in the order you need it. So 
>>> you may get a "next/previous" button and the other cool stuff David 
>>> mentioned in his intro viedeos.
>>>
>>> I don't know if David Johnston is listening here?!
>>>
>>> -mario
>>>
>>  -- 
>> 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 
>  

-- 
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] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Julie
An issue with linebreaks, especially after tables, I guess.
See https://groups.google.com/forum/#!topic/tiddlywiki/uuqj5MJWo3E for a 
similar issue. It seems that when the wikitext is translated into HTML, 
some  elements are included that may interfere with what you expect.

-- 
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: TiddlyWiki Hangout #31 now on Wednesday 22nd January at 4pm GMT

2014-01-22 Thread Jeremy Ruston
The hangout is about to start over at:

https://plus.google.com/hangouts/_/hoaevent/AP36tYcU3kDskTaZ16OVZ__bYCxvvmKTmLdgFFwJ7_Pz2F2NVZ87Gg

Best wishes

Jeremy


On Mon, Jan 20, 2014 at 8:54 AM, Jeremy Ruston wrote:

> Apologies, I've had to move this weeks hangout to Wednesday 22nd January
> at 4pm.
>
> https://plus.google.com/events/cge793dari8jfeq0lgt7oaft5f8
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> mailto:jeremy.rus...@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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Hi Jeremy

>TiddlyWiki5 tends to use configuration by tag, rather than configuration 
by title, as in TiddlyWiki Classic. The purpose of the change is to make it 
easier to blend and mix customisations. If we have fixed templates then it 
becomes impossible for another plugin to modify them except by overwriting.

That makes sense :)

Thanks.

Cheers Måns Mårtensson

Den onsdag den 22. januar 2014 09.50.37 UTC+1 skrev Jeremy Ruston:
>
>
>> Will it be possible to define/use a custom viewtemplate at some stage? - 
>> like:
>> $:/tags/LessonViewTemplate
>>
>
> No, that is not planned. TiddlyWiki5 tends to use configuration by tag, 
> rather than configuration by title, as in TiddlyWiki Classic. The purpose 
> of the change is to make it easier to blend and mix customisations. If we 
> have fixed templates then it becomes impossible for another plugin to 
> modify them except by overwriting.
>
> Best wishes
>
> Jeremy
>
>  
>
>>
>>
>> Cheers Måns Mårtensson
>>
>> Den onsdag den 22. januar 2014 09.32.51 UTC+1 skrev Jeremy Ruston:
>>>
>>> Hi Måns
>>>
>>> I want the previous next function only to be visible in relevant 
 tiddlers. 
 Now it is added to the viewtemplate of all tiddlers. 
 Is there a "hide- or showwhen" function which will hide/show the 
 navigation panel from tiddlers based on tags - or sth. like that...?

>>>
>>> Yes, although the syntax is currently a little clumsy:
>>>
>>> <$list filter="[is[current]tag[myBrilliantTag]]">
>>> Content here will only be displayed if the current tiddler has the tag 
>>> "myBrilliantTag"
>>> 
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>  
>>>

 Cheers Måns Mårtensson

 Den torsdag den 28. november 2013 18.20.16 UTC+1 skrev Eric Shulman:

> On Thursday, November 28, 2013 8:02:18 AM UTC-8, Jeremy Ruston wrote:
>>
>> The next and previous filters that David wrote are now in the core, 
>> and so are available to use.
>> They work in association with the 'list' field, which is interpreted 
>> as a space-separated list of tiddler titles (using double square 
>> brackets 
>> to quote titles that contain a space). The next and previous filters 
>> both 
>> work in a similar way that's easiest to show with an example.
>>
>
> There are some error use cases I wonder about:
>
> Let's say you have a tiddler called "Lesson1" with the "list" field 
>> set to:
>> [[First Bit]] SecondBit FinalBit
>> You'll also need to create the named tiddlers.
>>
>
> What happens if a tiddler named in the list does not exist?
>  
>
>> Then, create a new tiddler called "Navigation" with the tag 
>> "$:/tags/ViewTemplate" and the following content:
>> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: 
>> <$list filter="[is[current]previous[Lesson1]]"/>
>>
>
> What does the filter produce if the "Lesson1" tiddler is missing or 
> the list field is empty?
>
> Now if you open a tiddler like "SecondBit" you should see at the 
>> bottom the controls to move to the next and previous tiddlers.
>> The next and previous filter operators work by locating the currently 
>> selected tiddler(s) in the named list, and returning the adjacent next 
>> or 
>> previous tiddler from the list.
>>
>
> What if the same tiddler title in the named list more than once... 
>  which occurence does the filter match as the "current selected tiddler"?
> What does the [[Navigation]] template display if the current tiddler 
> is not in the list at all?
> When you reach the start/end of the list, does it loop around to the 
> end/start, or just stop?
> If navigation doesn't loop, when you reach the start/end, can display 
> of non-functional links be suppressed?
> Will there also be a [first[Lesson1]] and [last[Lesson1]] so a 
> complete "FPNL" (First/Previous/Next/Last) navigation bar can be 
> displayed?
>
> enjoy,
> -e
>  
>

>>>
>>>
>>> -- 
>>> Jeremy Ruston
>>> mailto:jeremy...@gmail.com
>>>  
>>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@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: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread TheDiveO
At first, it looked as if it doesn't exactly work as expected, as all I got 
from

<$transclude tiddler="RFCHeader"/>

was the table markdown generated by the template tiddler:

| !RFC|4861| | !Title|Neighbor Discovery for IP version 6 (IPv6)|

While I was writing my reply I then noticed something odd: the transclude 
command was the only content, no white space after and line endings. As 
soon as I added a new line directly after the transclude command, the 
markdown returned as part of the transclusion gets parsed. Without it, I 
see the unparsed markdown from the transclusion instead.

Bug, feature ... or me being a newbie?

In any case, thank you for your help!
-- TheDiveO

-- 
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: My Tiddlywiki Backup Scheme

2014-01-22 Thread PMario
Hi Mal,

Reading your post, your number one priority is, to "protect the content". 
And as a "side effect" you'd like to recreate "older" versions. 

I think your usecase asks for a TW5 dev server and an optional VCS system. 
It seems you are ok to create some (probably tricky) "bash scripts" and you 
are in control of a server. 

- TW5 comes with a "development server" that can be used in local networks. 
   - So it would be possible to run this one on the server and directly 
edit content with TW5. This option will require a network connection.
   - modified tiddlers would be stored as single files. 
   - Version controlling could be done with the system described below.

- The file watching mechanism, that you use can be reused to detect the 
single tiddler changes. 
  - It can trigger a build process, that creates single fiel TWs and copy 
them to the DP sync folder.

-- Version controlling -- 

My "brainstorming" depends a little bit on some info, that you didn't 
provide. 
 - how many _different_ users do modify / edit the "core" content ?
 - which OS does the server use?
 - which OSes do the "editors" use, if they are different to the server ?
 - Is some type of access management needed?

So as I know git a bit, I use it as an example. Othere VCSes may work too.

 - On your server you could install git.
   - This server is the "master of content".
   - If the "nodejs dev server" (from above) is active, it can be used to 
modify the content tiddlers.
   - If no dev server is runnung you can modify the tiddlers with any text 
editor
   - Your file watch script will do the rest

If you have more than one Editor

 - Editors, can have there own "local backup" with a TW5 installation, that 
is able to build a single file TW using a custom edition [1]
   - TW5 editions basically are "directories" that contain some 
configuration info and many content tiddlers.
 - The TW5 repo contains some scripts, (that can be optimized) to work with 
custom editions and build "single file TWs" [2]
 - The build script could build a file TW and store it in the DP sync 
folder.

So what would be the advantage of such a configuration. 

- Every "Editor" has a local backup on there computer. So if the server 
breaks, everything could be rebuilt using those local backups. 
- If your IT department is responsible for the server, I hope they do 
regular backups of the whole stuff, so everything you need should be 
backuped allready. 
- You can still use dropbox for syncing your single file TWs. So DP is an 
additional backup
- Every Editor can _offline_ modify the source and it will be possible to 
do "real merges".
- A TW core update could be done with a pull from the original TW5 repo. 

... 

just some ideas, to explore
mario

[1] https://github.com/Jermolene/TiddlyWiki5/tree/master/editions
[2] https://github.com/Jermolene/TiddlyWiki5/blob/master/qbld.sh

-- 
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: My Tiddlywiki Backup Scheme

2014-01-22 Thread Marcel Kaczala
I using TW5 on node.js in my VPS and Dropbox for the Tiddlers folder. That 
simple.

Em quarta-feira, 22 de janeiro de 2014 07h58min44s UTC-2, Mal escreveu:
>
> Folks,
>
> I am interested in comments or suggestions on my backup scheme.
>
> I've created a tiddlywiki as a note-keeping system for a medical student.  
> It currently contains over 1000 tiddlers plus about 200 embedded images.  
> This was originally created using twc and I have recently converted it to 
> tw5 to get the benefits of embedded images.  Although the file is now a bit 
> over 20MB, it can be viewed on all devices, including an iPad.  (I could 
> not get the twc image links to work on the iPad.)
>
> Although, the file is stored in Dropbox and synchronised on various 
> devices, I'm very keen to make sure that no information can be lost.  Given 
> that the versioning system in Dropbox only keeps old versions for 30 days, 
> there is always the prospect that an accidental deletion could go 
> un-noticed for this time and then be lost on all devices.
>
> To insure against this I wanted to implement a process to automatically 
> save every version of every tiddler, so that it will be possible to go back 
> in time and recover previous versions.
>
> After trying various alternatives, I set up dropbox on our home server to 
> keep another synchronised copy of the tiddlywiki and created an awk script 
> that extracts each tiddler, appends the "modified" timestamp to the tiddler 
> title to create a unique file name and saves it in a separate folder in 
> Dropbox, as long as a file of this name does not already exist.  This 
> folder will contain the original copy of every tiddler plus all subsequent 
> versions.  I then wrote a bash script to monitor the tiddlywiki html file 
> and run the awk backup script every time a new version the tiddlywiki is 
> saved.
>
> I know the process is not really bullet-proof, but it's working.
>
> No doubt there are much better ways of implementing this, so I will be 
> keen to hear any suggestions.
>
> Thanks,
>
> Mal
>
>

-- 
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: How to better structure the content in TW5?

2014-01-22 Thread Marcel Kaczala
Thank you for yours help, I understood the topic of tags and list field but 
I was looking for an easy and simple method for structure the content. 
Something simple like in Dokuwiki as it takes the headings and build the 
TOC. 



Em quarta-feira, 22 de janeiro de 2014 08h07min25s UTC-2, PMario escreveu:
>
> On Tuesday, January 21, 2014 8:13:26 PM UTC+1, Marcel Kaczala wrote:
>>
>> 2) To create a tag like a title for the topic and goes creating small 
>> tiddlers for the tag? With the time it'll be there tons of tags...
>>
>
> Too many visible "system" tags, was one of TWclassic's biggest problems. 
> ... There are "two" kinds of tags. 
>  - tags that should be visible for the "end user"
>  - tags that are needed to get structure into the TW app
>
> For the "tw5 system" tiddlers Jeremy used "kind of a namespace" for 
> tiddler names. 
> eg: 
> $:/core/images..
>  is used for buttons
> $:/core/modules/..
>  is used for "plugins"   and so on. You can see them in the right sidebar 
> "More: System" and "More: Shadow"
>
> So it would be possible to *create a tag* named: "main/story" for eg the 
> main storyline 
>
> main/story  is used to tag  "chapter tags". So a basic structure may look 
> like this:
>
> chapter/Intro .. is tagged main/story
> chapter/part-1 .. is tagged main/story
> chapter/part-2 .. is tagged main/story
>
> ... all the above are just "tag tiddlers"
>
> Now ... the "visible" content
>
> content tiddler "topic-a" .. is tagged chapter/Intro
> content tiddler "topic-b" .. is tagged chapter/Intro
>
> 
>
> As you found out, there are a lot of "tag tiddlers" that may confuse "the 
> user". 
>
> That's why it is possible to "hide" some tags from lists. ... just by 
> prefixing them with a$:/which defines them as "system tiddlers"
>
> So your tag "main/story" can be "$:/main/story" . If you test this 
> name, you'll find out, that this tag is somewhere in the middle of an 
> allready long list of system tiddlers. So I'd suggest to start "user - 
> system - tiddlers" with an underline "_"
>
> So your system tag "$:/main/story" can be "$:/_main/story"  It will be 
> on the top of the list :) see: right sidebar: "More: System"
>
> So the whole structure would be like this 
>
> $:/_main/story
> $:/_chapter/Intro
> $:/_chapter/part-1
> $:/_chapter/part-2
>
> "topic-a" is tagged $:/_chapter/Intro
> "topic-b" is tagged $:/_chapter/Intro
>
> "topic-c" is tagged $:/_chapter/part-1
> "topic-d" is tagged $:/_chapter/part-1
>
> and so on. The only tiddlers, that are visible are topic-a, -b, -c ... 
>
> Since the new <:list ..> widget is much more powerfull than < filter..>> from TWc you can do some amazing stuff now. See Stephans 
> tw5magic page. 
>
> TW5 tag tiddlers have a "list" field. This list field can be used to 
> define the "list order". So it is possible to have user defined lists. 
> There is no UI at the moment but it is planned to have some "drag and drop" 
> type UI to define a "story order".
>
> With the described system it is possible to "combine" a lot of small 
> tiddlers into a big tiddler 
> see: http://tiddlywiki.com/static/ReleaseHistory
>
> If you have a loot at http://tiddlywiki.com search for "ReleaseHistory" 
> and view the code. 
>
> or visit: the http://tiddlywiki.com/static/Docs tiddler 
> and view the source at: http://tiddlywiki.com .. search for "Docs"
>
> hope that helps
> have fun!
> mario
>
>
>

-- 
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: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Jeremy Ruston
If you want to transclude a tiddler without changing the current tiddler
variable, you can just do this:

<$transclude tiddler="RFCHeader"/>

That should cause RFCHeader to be transcluded without affecting the current
tiddler, so the view widgets you've got referencing the current tiddler
should still work as expected.

Best wishes

Jeremy



On Wed, Jan 22, 2014 at 2:01 PM, TheDiveO  wrote:

> Well, one mistake found, hit next wall ... of course, it should have been:
>
> {{{[is[current]]||RFCHeader}}}
>
> This now transcludes the markup verbatim instead of rendering it. Somehow
> I'm still not getting it...
>
>  --
> 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.
>



-- 
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] Re: [TW5] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread Stephan Hradek


Am Mittwoch, 22. Januar 2014 15:01:33 UTC+1 schrieb TheDiveO:
>
> Well, one mistake found, hit next wall ... of course, it should have been:
>
> {{{[is[current]]||RFCHeader}}}
>
> This now transcludes the markup verbatim instead of rendering it. Somehow 
> I'm still not getting it...
>
> Instead of that you could better use:

{{!!title||RFCHeader}}

 

-- 
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] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread TheDiveO
Well, one mistake found, hit next wall ... of course, it should have been:

{{{[is[current]]||RFCHeader}}}

This now transcludes the markup verbatim instead of rendering it. Somehow 
I'm still not getting it...

-- 
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] Transcluding oneself with a template to show certain fields problem

2014-01-22 Thread TheDiveO
Somehow I still don't really understand TW5's concepts; but the problem 
here is on my side. I don't see what I'm doing wrong here and would like to 
get your help on this small problem:

I have a template tiddler "RFCHeader" with the following text:

| !RFC|<$view field="rfcnumber">//undefined//|
| !Title|<$view field="rfctitle">//undefined//|

Next, I have a tiddler "RFC 1234" with this simple text:

{{[is[current]]||RFCHeader}}

In addition, this tiddler has the field "rfcnumber" set to 1234, as well as 
"rfctitle" set to "foobar". Both the preview as well as the final render of 
this tiddler shows both fields as undefined.

I checked by setting the template's rfcnumber to 0 that the template 
doesn't actually access its own fields when used for transcluding the RFC 
1234 tiddler.

I'm probably doing something horribly stupid here ... so any help is 
(again) greatly appreciated!
-- TheDiveO

-- 
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] [TWC] retreive and write lines with a specific text

2014-01-22 Thread julien23
Hi All

I use TW for project managements.

In tiddlers I usually have have a Todo section like this.

!!Todo

JGBo > JBo > LCo : mécanique
JBo : spec accel
JBo > JBi : Lancer
JBo > JGBo : quartz




LCo JBo JBi and JGBo are people aliases

In ex. JBi's tiddler I have a FET that shows all JBi's actions : <>

<>

But it lakes clarity for the user because it shows all the Todo lines and 
not only the user's.

I whish I could find a way to write only the lines that contain ex. JBi and 
belong to the !!Todo chapter.

Could you please help me ?

Thank you

Julien

-- 
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] How to iterate over the items in a tiddler's field?

2014-01-22 Thread TheDiveO
Doesn't sound good ... as I have also some other fields that are 
effectively lists: the list of updating RFCs and also the list of RFC 
obsoleted by this RFC.

-- 
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] How to iterate over the items in a tiddler's field?

2014-01-22 Thread Stephan Hradek
At the moment you can only iterate over the content of the "list" field. So 
if you created your own field, you're (at the moment) lost. Copy over the 
content of your field to the field called "list" (which you might need to 
create).

-- 
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: [TW5] Inline Editing of fields

2014-01-22 Thread Stephan Hradek


Am Mittwoch, 22. Januar 2014 12:39:45 UTC+1 schrieb Danielo Rodríguez:
>
> Hello Jeremy, thank you for the explanation. I understand the mechanism, 
> but it still unintuitive, even reading the documentation. What kind of 
> messages does the navigator accepts? Is that the only one or there are 
> others like close tiddler and so? 


http://tiddlywiki.com/static/NavigatorWidget.html
 

-- 
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] How to iterate over the items in a tiddler's field?

2014-01-22 Thread TheDiveO
As a more or less still complete newbie to TW programming, and TW5 
programming in particular, I'm lost on a seemingly simple task: I want to 
iterate over the items (which are RFC numbers) that are stored in a field 
of a tiddler.

So far, I've set up a tiddler named "$:/thediveo/ui/TiddlerInfo/RFC" and 
tagged it as "$:/tags/TiddlerInfo". I've also managed to use an outer list 
widget to only show RFC document information for a tiddler when certain 
fields are present. So far, so good.

Now, I've got a field "rfcupdatedby" on some of my tiddlers. When it is 
present, it contains one or more numbers of RFCs that update the RFC 
mentioned in the tiddler. I would like to iterate over these numbers and 
produce some MarkDown for each item (RFC number) I encounter.

I've read through the tiddlywiki.com TWiki about ListWidget and 
TiddlerFilters ... but couldn't realize my goal so far. So, any help is 
greatly appreciated!

-- TheDiveO

-- 
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: [TW5] Inline Editing of fields

2014-01-22 Thread Danielo Rodríguez
Hello Jeremy, thank you for the explanation. I understand the mechanism, but it 
still unintuitive, even reading the documentation. What kind of messages does 
the navigator accepts? Is that the only one or there are others like close 
tiddler and so? 

-- 
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] Help an eternal newbie with node.js for TW5

2014-01-22 Thread Jeremy Ruston
On Tue, Jan 21, 2014 at 11:56 PM, David Gifford  wrote:

> oops, I didn't tease out my very first question enough.
>
> How do I create a new directory in Skydrive? Is it mkdir filepath
> directoryname?
>

Are you on Windows? You'd need:

mkdir c:\myfolder\mywiki

Alternatively, you can just create the folder in Explorer.

Best wishes

Jeremy.



>
> Dave
>
>
> On Tue, Jan 21, 2014 at 3:33 PM, David Gifford  wrote:
>
>> Thanks Jeremy! Just what I was looking for.
>>
>> Dave
>>
>>
>> On Tue, Jan 21, 2014 at 2:02 PM, Jeremy Ruston 
>> wrote:
>>
>>> Hi David
>>>
>>> 1. How do I create folders in other places? I use Microsoft SkyDrive and
 would like my folder and files to be there. How, after creating a folder
 and playing with it, then closing node.js, how do I open it again using
 node.js? Or do I go to the folder and click on the json file?

>>>
>>> To re-open a wiki you'd re-run the same command:
>>>
>>> tiddlywiki path/to/wiki/folder --server
>>>
>>>
 2. So, if I understand the instructions right at tiddlywiki.com,
 twfolders in a sense are the equivalent of standalone TWs?

>>>
>>> Yes, that's right, they are equivalent representations of the same thing.
>>>
>>>
 That requires some cognitive readjustment on a dual level. TiddlyWiki
 standalone blurs the boundary between program/app and file. And having a
 folder and its contents be the equivalent of a standalone is having a
 folder be the equivalent of both a file and an app. Am I understanding this
 correctly?

>>>
>>> WikiFolders do not contain their own copy of the TW core in the same way
>>> that standalone HTML files do. A wiki folder just contains the tiddler
>>> files.
>>>
>>>
 3. My ultimate goal would be to have a few "TiddlyWikis" - you can see
 I am grasping here -

>>>
>>> Try "wiki folders" or "TiddlyWiki folders".
>>>
>>>
 one for productivity and contacts, one for notes, one for images, and
 then one major one that can include the contents of the others. Is this a
 doable goal currently? Briefly, how would I approach such a project, in
 general terms?

>>>
>>> Yes, wiki folders can include other wiki folders. Look at the
>>> tiddlywiki.info file:
>>>
>>>
>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/clientserver/tiddlywiki.info#L18
>>>
>>>
 4. Within each category there are categories and subcategories. Does
 one create subfolders? And are those subfolders separate TWs?

>>>
>>> Any further subfolders within the "tiddlers" subfolder are ignored by
>>> TiddlyWiki; it just hoovers up all the tiddlers it can find within the
>>> "tiddlers" folder. So, you can use subfolders for organising your tiddlers.
>>> See the tw5.com wiki:
>>>
>>>
>>> https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/tw5.com/tiddlers
>>>
>>>
 For example, say I wanted to create a TW for images, and in that would
 be a section for images of Asia, and I wanted to access the Asia images
 from within the larger TW but I also wanted it to be easy to find and share
 just the Asia images with others, how should I think about that? (In other
 words, I want to see the big picture and have a handle on the most
 efficient process to use this, so I don't waste a lot of time and become
 myopic and only use it one way when there are better ways to use it)

>>>
>>> The wiki folder inclusion mechanism is designed to do just that. You'd
>>> create a standalone wiki folder for the asia images, and then include it
>>> within any other wiki folders that you want to include those images.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>>

 Thanks in advance for your help! Dave

 --
 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.

>>>
>>>
>>>
>>> --
>>> Jeremy Ruston
>>> mailto:jeremy.rus...@gmail.com
>>>
>>> --
>>> 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/VDaGsk_NlsY/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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.
>>>
>>
>>
>>
>> --
>> David Gifford
>> Christian Reformed World Missions, Mexico City
>>
>
>
>
> --
> David Gifford
> Christian Reformed World Missions, Mexico City
>
> --
> Yo

Re: [tw] Re: [TW5] Inline Editing of fields

2014-01-22 Thread Jeremy Ruston
Hi Danielo

The button is sending a message back up to the ancestor navigator widget
that contains it. It is the navigator widget that actually creates the new
tiddler. That indirection is needed because the process of adding the new
tiddler needs to know things like the current story and history details.
Specifying those details within the button would reduce the ability to
reuse them.

Best wishes

Jeremy.




On Wed, Jan 22, 2014 at 12:50 AM, Danielo Rodríguez wrote:

> Thanks for your tips.
> But about the sense of logic, where is the logic in this:
> <$button message="tw-new-tiddler"...
>
> That creates a button that creates a new tiddler. Using the message! I
> just checked the button documentation and there is no clue about that. I
> like to play around, but sometimes reverse engineering takes too much time
> and a bit of frustration.
>
> --
> 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.
>



-- 
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: [TW5] How about a right sidebar of some kind? More CSS and theme questions.

2014-01-22 Thread Jeremy Ruston
Hi Leo

On Wed, Jan 22, 2014 at 1:06 AM, Leo Staley  wrote:

> You are absolutely correct. I was a bit of a jerk, and now I feel really
> bad. I wrote the post when I was frustrated, and it came out far more than
> it should have!
>

If you look at the stat page for the TiddlyWiki group you'll see that you
are currently the third ranking poster this month, after Stephan and I:

https://groups.google.com/forum/#!aboutgroup/tiddlywiki

I consider your feedback extremely valuable, in whatever form it takes.
People tend not to pipe up and ask questions in a public forum, perhaps for
fear of looking stupid. I think it takes a bit of courage to get over that
reticence and speak up.

By asking your questions in a public forum you've made it possible for a
wider audience to benefit from the answers, and triggered several
improvements to the docs and code.

In this particular case, I just read your original question as "Is there a
TiddlyWiki Classic theme for TiddlyWiki5?", but set in a bit of an angry
font.

So, please keep on asking questions!

Best wishes

Jeremy



>
> My request actually was too many and too much. I should have really just
> asked if anyone could help make a more classic looking theme for TW5, and
> explain how to implement it. Even better, would be a layout like the one I
> posted, but that's not as important. Your response has made me feel really
> bad for the way I made my request, and rightly so. I normally don't allow
> myself to be such a jerk. The rest of my requests about more than the new
> theme I should have just saved for later. That IS a problem I do normally
> have though. Unfortunate quirk of mine.
>
> I'm trying really hard to understand the architecture and functionality
> features of TiddlyWiki so I can use it and make it into what I want it to
> do, but I just keep getting frustrated when I can't find documentation, or
> can't figure something out after several hours. That sort of explains my
> post, but doesn't excuse it. I really am sorry.
>
> The only thing I can offer in return right now, because I'm almost flat
> broke, is to help write documentation for absolute beginners, once I myself
> understand more of Tiddlywiki, and .007 bitcoin (currently worth about
> $6.00)
>
> Cheers,
> Leo
>
>
> On Tuesday, January 21, 2014 9:13:18 AM UTC-7, PMario wrote:
>>
>> On Tuesday, January 21, 2014 10:07:34 AM UTC+1, Leo Staley wrote:
>>>
>>> I'm not sure there's a modern website layout that I dislike more than
>>> the basic TW5 layout. I have utterly no css or hmtl skills, so, I'm posting
>>> here to ask a favor,
>>>
>>
>> I'm sorry, but do you really expect a favor, if you start your post like
>> this?
>>
>> You linked to one of my "test - meshup" spots at tiddlyspot - a-project
>> [1] from 2011 and TiddlyWiki tips [2] from 2005 (not mine). So you expect
>> everyone with TWc knowledge to dive into them and tell you how to transfer
>> them into TW5 or find the missing pices. right?
>>
>> I would need to invest quite some time to do so. I'd probably need to put
>> together a meshup space, that has a theme, that would fit my needs and my
>> taste. I'm pretty sure, it would have more whitespace as you consider
>> appropriate but it may contain some usefull hints. ...
>>
>> ... what could I expect in return, to do so ...
>>
>>  - Feedback that starts like your intro line?
>>  - Questions that ask to "fix" stuff, that may not be broken in my point
>> of view?
>>
>> sorry .. but sorry _no_
>> -mario
>>
>> [1] http://a-project.tiddlyspot.com/#Project
>> [2] 
>> http://tiddlywikitips.com/Tip10example.html
>>
>  --
> 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.
>



-- 
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] My Tiddlywiki Backup Scheme

2014-01-22 Thread Mal
Folks,

I am interested in comments or suggestions on my backup scheme.

I've created a tiddlywiki as a note-keeping system for a medical student.  
It currently contains over 1000 tiddlers plus about 200 embedded images.  
This was originally created using twc and I have recently converted it to 
tw5 to get the benefits of embedded images.  Although the file is now a bit 
over 20MB, it can be viewed on all devices, including an iPad.  (I could 
not get the twc image links to work on the iPad.)

Although, the file is stored in Dropbox and synchronised on various 
devices, I'm very keen to make sure that no information can be lost.  Given 
that the versioning system in Dropbox only keeps old versions for 30 days, 
there is always the prospect that an accidental deletion could go 
un-noticed for this time and then be lost on all devices.

To insure against this I wanted to implement a process to automatically 
save every version of every tiddler, so that it will be possible to go back 
in time and recover previous versions.

After trying various alternatives, I set up dropbox on our home server to 
keep another synchronised copy of the tiddlywiki and created an awk script 
that extracts each tiddler, appends the "modified" timestamp to the tiddler 
title to create a unique file name and saves it in a separate folder in 
Dropbox, as long as a file of this name does not already exist.  This 
folder will contain the original copy of every tiddler plus all subsequent 
versions.  I then wrote a bash script to monitor the tiddlywiki html file 
and run the awk backup script every time a new version the tiddlywiki is 
saved.

I know the process is not really bullet-proof, but it's working.

No doubt there are much better ways of implementing this, so I will be keen 
to hear any suggestions.

Thanks,

Mal

-- 
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: How to better structure the content in TW5?

2014-01-22 Thread PMario
On Tuesday, January 21, 2014 8:13:26 PM UTC+1, Marcel Kaczala wrote:
>
> 2) To create a tag like a title for the topic and goes creating small 
> tiddlers for the tag? With the time it'll be there tons of tags...
>

Too many visible "system" tags, was one of TWclassic's biggest problems. 
... There are "two" kinds of tags. 
 - tags that should be visible for the "end user"
 - tags that are needed to get structure into the TW app

For the "tw5 system" tiddlers Jeremy used "kind of a namespace" for tiddler 
names. 
eg: 
$:/core/images.. 
is used for buttons
$:/core/modules/..
 is used for "plugins"   and so on. You can see them in the right sidebar 
"More: System" and "More: Shadow"

So it would be possible to *create a tag* named: "main/story" for eg the 
main storyline 

main/story  is used to tag  "chapter tags". So a basic structure may look 
like this:

chapter/Intro .. is tagged main/story
chapter/part-1 .. is tagged main/story
chapter/part-2 .. is tagged main/story

... all the above are just "tag tiddlers"

Now ... the "visible" content

content tiddler "topic-a" .. is tagged chapter/Intro
content tiddler "topic-b" .. is tagged chapter/Intro



As you found out, there are a lot of "tag tiddlers" that may confuse "the 
user". 

That's why it is possible to "hide" some tags from lists. ... just by 
prefixing them with a$:/which defines them as "system tiddlers"

So your tag "main/story" can be "$:/main/story" . If you test this 
name, you'll find out, that this tag is somewhere in the middle of an 
allready long list of system tiddlers. So I'd suggest to start "user - 
system - tiddlers" with an underline "_"

So your system tag "$:/main/story" can be "$:/_main/story"  It will be 
on the top of the list :) see: right sidebar: "More: System"

So the whole structure would be like this 

$:/_main/story
$:/_chapter/Intro
$:/_chapter/part-1
$:/_chapter/part-2

"topic-a" is tagged $:/_chapter/Intro
"topic-b" is tagged $:/_chapter/Intro

"topic-c" is tagged $:/_chapter/part-1
"topic-d" is tagged $:/_chapter/part-1

and so on. The only tiddlers, that are visible are topic-a, -b, -c ... 

Since the new <:list ..> widget is much more powerfull than <> from TWc you can do some amazing stuff now. See Stephans 
tw5magic page. 

TW5 tag tiddlers have a "list" field. This list field can be used to define 
the "list order". So it is possible to have user defined lists. There is no 
UI at the moment but it is planned to have some "drag and drop" type UI to 
define a "story order".

With the described system it is possible to "combine" a lot of small 
tiddlers into a big tiddler 
see: http://tiddlywiki.com/static/ReleaseHistory

If you have a loot at http://tiddlywiki.com search for "ReleaseHistory" and 
view the code. 

or visit: the http://tiddlywiki.com/static/Docs tiddler 
and view the source at: http://tiddlywiki.com .. search for "Docs"

hope that helps
have fun!
mario


-- 
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: Tiddlyspot down?

2014-01-22 Thread Jan Winter
Thanks @Stephan for testing.

It works fine for me again:)

Am Mittwoch, 22. Januar 2014 10:16:48 UTC+1 schrieb Jan Winter:
>
> Knows anyone why tiddlyspot.com is not available?
>
> And more important: When is tiddlyspot online again?
>

-- 
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: Tiddlyspot down?

2014-01-22 Thread Stephan Hradek
It's not down for me. My http://tw5magick.tiddlyspot.com loads 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] Tiddlyspot down?

2014-01-22 Thread Jan Winter
Knows anyone why tiddlyspot.com is not available?

And more important: When is tiddlyspot online again?

-- 
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]

2014-01-22 Thread Jeremy Ruston
Hi Alex

You can save a wiki to your Dropbox and generate a public URL for it (they
call it "sharing a link"). The URL will be of the form:

https://www.dropbox.com/s/qw---3w/mywiki.html

(Where the dashes stand for other encoded characters that I have removed)

You need to transform the URL to this form before the wiki will view
correctly:

https://dl.dropboxusercontent.com/s/qw---3w/mywiki.html

Depending on the way that your domains are managed, you should be able to
set up a redirect to that URL.

The easiest way to get your own private instance of TiddlyWiki5 running on
your own server is to use the old UploadPlugin that was originally
developed for TiddlyWiki Classic. I've recently updated the docs for 5.0.7
here:

https://raw.github.com/Jermolene/TiddlyWiki5/master/editions/tw5.com/tiddlers/saving/Saving%20on%20a%20PHP%20Server.tid

You'll probably be best off waiting for the release of 5.0.7 before trying
it out (5.0.7 will be out in the next couple of days)

Best wishes

Jeremy



On Wed, Jan 22, 2014 at 8:43 AM, Alex Hough  wrote:

> Dear All,
>
> I'd like an easy way to host a TiddlyWiki 5 on my own domain. Is it
> possible to get Dropbox TiddlyWiki onto my own domain? I don't really want
> to be uploading it each time I make and edit.
>
> Thanks in advance
>
> Alex
>
>  --
> 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.
>



-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Jeremy Ruston
>
>
> Will it be possible to define/use a custom viewtemplate at some stage? -
> like:
> $:/tags/LessonViewTemplate
>

No, that is not planned. TiddlyWiki5 tends to use configuration by tag,
rather than configuration by title, as in TiddlyWiki Classic. The purpose
of the change is to make it easier to blend and mix customisations. If we
have fixed templates then it becomes impossible for another plugin to
modify them except by overwriting.

Best wishes

Jeremy



>
>
> Cheers Måns Mårtensson
>
> Den onsdag den 22. januar 2014 09.32.51 UTC+1 skrev Jeremy Ruston:
>>
>> Hi Måns
>>
>> I want the previous next function only to be visible in relevant
>>> tiddlers.
>>> Now it is added to the viewtemplate of all tiddlers.
>>> Is there a "hide- or showwhen" function which will hide/show the
>>> navigation panel from tiddlers based on tags - or sth. like that...?
>>>
>>
>> Yes, although the syntax is currently a little clumsy:
>>
>> <$list filter="[is[current]tag[myBrilliantTag]]">
>> Content here will only be displayed if the current tiddler has the tag
>> "myBrilliantTag"
>> 
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>>
>>> Cheers Måns Mårtensson
>>>
>>> Den torsdag den 28. november 2013 18.20.16 UTC+1 skrev Eric Shulman:
>>>
 On Thursday, November 28, 2013 8:02:18 AM UTC-8, Jeremy Ruston wrote:
>
> The next and previous filters that David wrote are now in the core,
> and so are available to use.
> They work in association with the 'list' field, which is interpreted
> as a space-separated list of tiddler titles (using double square brackets
> to quote titles that contain a space). The next and previous filters both
> work in a similar way that's easiest to show with an example.
>

 There are some error use cases I wonder about:

 Let's say you have a tiddler called "Lesson1" with the "list" field set
> to:
> [[First Bit]] SecondBit FinalBit
> You'll also need to create the named tiddlers.
>

 What happens if a tiddler named in the list does not exist?


> Then, create a new tiddler called "Navigation" with the tag
> "$:/tags/ViewTemplate" and the following content:
> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list
> filter="[is[current]previous[Lesson1]]"/>
>

 What does the filter produce if the "Lesson1" tiddler is missing or the
 list field is empty?

 Now if you open a tiddler like "SecondBit" you should see at the bottom
> the controls to move to the next and previous tiddlers.
> The next and previous filter operators work by locating the currently
> selected tiddler(s) in the named list, and returning the adjacent next or
> previous tiddler from the list.
>

 What if the same tiddler title in the named list more than once...
  which occurence does the filter match as the "current selected tiddler"?
 What does the [[Navigation]] template display if the current tiddler is
 not in the list at all?
 When you reach the start/end of the list, does it loop around to the
 end/start, or just stop?
 If navigation doesn't loop, when you reach the start/end, can display
 of non-functional links be suppressed?
 Will there also be a [first[Lesson1]] and [last[Lesson1]] so a complete
 "FPNL" (First/Previous/Next/Last) navigation bar can be displayed?

 enjoy,
 -e


>>>
>>
>>
>> --
>> 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] My vanilla install on node.js does not have very worthwhile pages, like "Docs" !

2014-01-22 Thread Jeremy Ruston
Hi Chris

TiddlyWiki5 always requires restarting after manually modifying the wiki
folder content.

The plugins and themes you imported from the tw5.com wiki are all available
within the TiddlyWiki core. All you need to do is add them to your
tiddlywiki.info file. See this one, for example, where we are including the
markdown plugin:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/markdowndemo/tiddlywiki.info#L3

And there is an example of specifying themes here:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlywiki.info#L8

Your read-only problem sounds like you are not including the tiddlyweb and
fielsystem plugins. If you run "tiddlywiki --server" without a
tiddlywiki.info file then it will automatically create one for you that
includes those two plugins. If you manually create your
tiddlywiki.infofile, as you have done, then you need to make sure that
you include those
plugins manually:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/clientserver/tiddlywiki.info#L3

Best wishes

Jeremy




On Wed, Jan 22, 2014 at 1:39 AM, Chris Miller  wrote:

> Is there something about including tw5.com that turns the whole wiki
> read-only?  My updates are not persistent.  Simple things like the title
> and sub-title of the site do not persist.
>
>
> Thanks for the help,
>
> Chris.
>



-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Hi Jeremy

Great thanks.

I use it like this:
<$list filter="[is[current]tag[Lektion1]]">
<$list filter="[is[current]next[Lektion1]]"/> / Forrige: <$list 
filter="[is[current]previous[Lektion1]]"/>


Will it be possible to define/use a custom viewtemplate at some stage? - 
like:
$:/tags/LessonViewTemplate

Cheers Måns Mårtensson

Den onsdag den 22. januar 2014 09.32.51 UTC+1 skrev Jeremy Ruston:
>
> Hi Måns
>
> I want the previous next function only to be visible in relevant tiddlers. 
>> Now it is added to the viewtemplate of all tiddlers. 
>> Is there a "hide- or showwhen" function which will hide/show the 
>> navigation panel from tiddlers based on tags - or sth. like that...?
>>
>
> Yes, although the syntax is currently a little clumsy:
>
> <$list filter="[is[current]tag[myBrilliantTag]]">
> Content here will only be displayed if the current tiddler has the tag 
> "myBrilliantTag"
> 
>
> Best wishes
>
> Jeremy
>  
>
>>
>> Cheers Måns Mårtensson
>>
>> Den torsdag den 28. november 2013 18.20.16 UTC+1 skrev Eric Shulman:
>>
>>> On Thursday, November 28, 2013 8:02:18 AM UTC-8, Jeremy Ruston wrote:

 The next and previous filters that David wrote are now in the core, and 
 so are available to use.
 They work in association with the 'list' field, which is interpreted as 
 a space-separated list of tiddler titles (using double square brackets to 
 quote titles that contain a space). The next and previous filters both 
 work 
 in a similar way that's easiest to show with an example.

>>>
>>> There are some error use cases I wonder about:
>>>
>>> Let's say you have a tiddler called "Lesson1" with the "list" field set 
 to:
 [[First Bit]] SecondBit FinalBit
 You'll also need to create the named tiddlers.

>>>
>>> What happens if a tiddler named in the list does not exist?
>>>  
>>>
 Then, create a new tiddler called "Navigation" with the tag 
 "$:/tags/ViewTemplate" and the following content:
 Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list 
 filter="[is[current]previous[Lesson1]]"/>

>>>
>>> What does the filter produce if the "Lesson1" tiddler is missing or the 
>>> list field is empty?
>>>
>>> Now if you open a tiddler like "SecondBit" you should see at the bottom 
 the controls to move to the next and previous tiddlers.
 The next and previous filter operators work by locating the currently 
 selected tiddler(s) in the named list, and returning the adjacent next or 
 previous tiddler from the list.

>>>
>>> What if the same tiddler title in the named list more than once... 
>>>  which occurence does the filter match as the "current selected tiddler"?
>>> What does the [[Navigation]] template display if the current tiddler is 
>>> not in the list at all?
>>> When you reach the start/end of the list, does it loop around to the 
>>> end/start, or just stop?
>>> If navigation doesn't loop, when you reach the start/end, can display of 
>>> non-functional links be suppressed?
>>> Will there also be a [first[Lesson1]] and [last[Lesson1]] so a complete 
>>> "FPNL" (First/Previous/Next/Last) navigation bar can be displayed?
>>>
>>> enjoy,
>>> -e
>>>  
>>>
>>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@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]

2014-01-22 Thread Alex Hough
Dear All,

I'd like an easy way to host a TiddlyWiki 5 on my own domain. Is it
possible to get Dropbox TiddlyWiki onto my own domain? I don't really want
to be uploading it each time I make and edit.

Thanks in advance

Alex

-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Jeremy Ruston
Hi Måns

I want the previous next function only to be visible in relevant tiddlers.
> Now it is added to the viewtemplate of all tiddlers.
> Is there a "hide- or showwhen" function which will hide/show the
> navigation panel from tiddlers based on tags - or sth. like that...?
>

Yes, although the syntax is currently a little clumsy:

<$list filter="[is[current]tag[myBrilliantTag]]">
Content here will only be displayed if the current tiddler has the tag
"myBrilliantTag"


Best wishes

Jeremy


>
> Cheers Måns Mårtensson
>
> Den torsdag den 28. november 2013 18.20.16 UTC+1 skrev Eric Shulman:
>
>> On Thursday, November 28, 2013 8:02:18 AM UTC-8, Jeremy Ruston wrote:
>>>
>>> The next and previous filters that David wrote are now in the core, and
>>> so are available to use.
>>> They work in association with the 'list' field, which is interpreted as
>>> a space-separated list of tiddler titles (using double square brackets to
>>> quote titles that contain a space). The next and previous filters both work
>>> in a similar way that's easiest to show with an example.
>>>
>>
>> There are some error use cases I wonder about:
>>
>> Let's say you have a tiddler called "Lesson1" with the "list" field set
>>> to:
>>> [[First Bit]] SecondBit FinalBit
>>> You'll also need to create the named tiddlers.
>>>
>>
>> What happens if a tiddler named in the list does not exist?
>>
>>
>>> Then, create a new tiddler called "Navigation" with the tag
>>> "$:/tags/ViewTemplate" and the following content:
>>> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list
>>> filter="[is[current]previous[Lesson1]]"/>
>>>
>>
>> What does the filter produce if the "Lesson1" tiddler is missing or the
>> list field is empty?
>>
>> Now if you open a tiddler like "SecondBit" you should see at the bottom
>>> the controls to move to the next and previous tiddlers.
>>> The next and previous filter operators work by locating the currently
>>> selected tiddler(s) in the named list, and returning the adjacent next or
>>> previous tiddler from the list.
>>>
>>
>> What if the same tiddler title in the named list more than once...  which
>> occurence does the filter match as the "current selected tiddler"?
>> What does the [[Navigation]] template display if the current tiddler is
>> not in the list at all?
>> When you reach the start/end of the list, does it loop around to the
>> end/start, or just stop?
>> If navigation doesn't loop, when you reach the start/end, can display of
>> non-functional links be suppressed?
>> Will there also be a [first[Lesson1]] and [last[Lesson1]] so a complete
>> "FPNL" (First/Previous/Next/Last) navigation bar can be displayed?
>>
>> enjoy,
>> -e
>>
>>
>


-- 
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: Defining navigation paths in TiddlyWiki5

2014-01-22 Thread Måns
Hi Jeremy

I want the previous next function only to be visible in relevant tiddlers. 
Now it is added to the viewtemplate of all tiddlers. 
Is there a "hide- or showwhen" function which will hide/show the navigation 
panel from tiddlers based on tags - or sth. like that...?

Cheers Måns Mårtensson

Den torsdag den 28. november 2013 18.20.16 UTC+1 skrev Eric Shulman:
>
> On Thursday, November 28, 2013 8:02:18 AM UTC-8, Jeremy Ruston wrote:
>>
>> The next and previous filters that David wrote are now in the core, and 
>> so are available to use.
>> They work in association with the 'list' field, which is interpreted as a 
>> space-separated list of tiddler titles (using double square brackets to 
>> quote titles that contain a space). The next and previous filters both work 
>> in a similar way that's easiest to show with an example.
>>
>
> There are some error use cases I wonder about:
>
> Let's say you have a tiddler called "Lesson1" with the "list" field set to:
>> [[First Bit]] SecondBit FinalBit
>> You'll also need to create the named tiddlers.
>>
>
> What happens if a tiddler named in the list does not exist?
>  
>
>> Then, create a new tiddler called "Navigation" with the tag 
>> "$:/tags/ViewTemplate" and the following content:
>> Next: <$list filter="[is[current]next[Lesson1]]"/> / Previous: <$list 
>> filter="[is[current]previous[Lesson1]]"/>
>>
>
> What does the filter produce if the "Lesson1" tiddler is missing or the 
> list field is empty?
>
> Now if you open a tiddler like "SecondBit" you should see at the bottom 
>> the controls to move to the next and previous tiddlers.
>> The next and previous filter operators work by locating the currently 
>> selected tiddler(s) in the named list, and returning the adjacent next or 
>> previous tiddler from the list.
>>
>
> What if the same tiddler title in the named list more than once...  which 
> occurence does the filter match as the "current selected tiddler"?
> What does the [[Navigation]] template display if the current tiddler is 
> not in the list at all?
> When you reach the start/end of the list, does it loop around to the 
> end/start, or just stop?
> If navigation doesn't loop, when you reach the start/end, can display of 
> non-functional links be suppressed?
> Will there also be a [first[Lesson1]] and [last[Lesson1]] so a complete 
> "FPNL" (First/Previous/Next/Last) navigation bar can be displayed?
>
> enjoy,
> -e
>  
>

-- 
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.