[tw5] Re: tagging filter

2021-10-17 Thread James Anderson
Thanks CJ - just what i wanted.

On Thursday, 14 October 2021 at 22:22:56 UTC+1 cj.v...@gmail.com wrote:

> G'day  James,
>
> Take a peek at this thread 
>  and 
> also the one referred to in there.
>
> See if those help you out, or at least provide a foundation to start with.
>
> Cheers !
>
> On Thursday, October 14, 2021 at 5:37:33 PM UTC-3 james.w@gmail.com 
> wrote:
>
>> Hello
>>
>> If I have a tiddler tagged with "tomato" and "cucumber"  i believe 
>> including the the following in it will list tiddlers taged with either 
>> "tomato" or "cucumber".
>>
>> <>
>>
>> if there any way to construct a filter that will list only tiddler that 
>> are tagged with both? ideally a filter that works for the generic case 
>> where i could have an arbitray number of tags that i want to match in the 
>> containing tiddler.
>>
>> thanks!
>> James
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b5699110-f45e-4510-bd1f-9ca46166d6c1n%40googlegroups.com.


[tw5] tagging filter

2021-10-14 Thread James Anderson
Hello

If I have a tiddler tagged with "tomato" and "cucumber"  i believe 
including the the following in it will list tiddlers taged with either 
"tomato" or "cucumber".

<>

if there any way to construct a filter that will list only tiddler that are 
tagged with both? ideally a filter that works for the generic case where i 
could have an arbitray number of tags that i want to match in the 
containing tiddler.

thanks!
James


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/461525cd-1100-45d2-b29f-beb019cd8b04n%40googlegroups.com.


[tw5] Re: Link to widget to create tiddler, If tiddler doesn't exist

2021-07-18 Thread James Anderson
Thanks Eric! that did the trick.

On Tuesday, 13 July 2021 at 03:03:39 UTC+1 Eric Shulman wrote:

> On Monday, July 12, 2021 at 11:18:04 AM UTC-7 james.w@gmail.com wrote:
>
>> I would like to create a link to create a tiddler using a template if 
>> that tiddler does not exist.
>>
>
> Try this: 
> \define AList() [[Full Edition]] [[Empty Edition]] [[Blog Edition]] [[Non 
> Existing Edition]]
> <$list filter=<>>
><$list filter="[is[tiddler]]"> <$link /> 
><$list filter="[is[missing]]">
>   <$button class="tc-btn-invisible tc-tiddlylink"> <>
>  <$action-createtiddler $basetitle=<> 
> $template="NewEditionTemplate" aa="new field aa" bb="new field bb" />
>  <$action-navigate to=<> />
>   
>
> 
>
> Notes:
> * The first inner $list widget uses the "shorthand" <$link /> syntax to 
> link to the currentTiddler
> * The second inner $list widget displays a $button that looks like a link 
> that
>   A) creates the missing tiddler using NewEditionTemplate (if defined), as 
> well as a few other fields defined "inline"
>   B) navigates to the newly created tiddler
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/08b1e896-c30f-4d5e-96c0-76cff58b2fe1n%40googlegroups.com.


[tw5] Link to widget to create tiddler, If tiddler doesn't exist

2021-07-12 Thread James Anderson
Hello,

I would like to create a link to create a tiddler using a template if that 
tiddler does not exist.

e.g. in tiddlywiki.com have a new tiddler:

```
\define AList() [[Full Edition]] [[Empty Edition]] [[Blog Edition]] [[Non 
Existing Edition]]

<$list filter=<>>

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


```

[image: キャプチャ1.PNG]

instead of linking to Non Existing Editing directly i would like to link to 
a widget that will create it from a template. 
e.g. https://tiddlywiki.com/#ActionCreateTiddlerWidget the last example 
here. but if it does exist link to it normally.

Any tips on how to achieve this?

Thanks,
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4569954b-d91a-4aef-985a-934b888b3e74n%40googlegroups.com.


Re: [tw5] Re: Artwork for v5.2.0

2021-06-29 Thread James Anderson
I meant @springer, not whoever skinner is :)

On Tuesday, 29 June 2021 at 22:29:33 UTC+1 James Anderson wrote:

> Hi Frank,
>
> I asked skinner to remove the alts, I was just playing on the same idea 
> and didn't want to flood the list of choices.
>
> Thanks,
> James
>
> On Tuesday, 29 June 2021 at 21:03:12 UTC+1 f.brunsb...@gmail.com wrote:
>
>> Dear all,
>>
>> *@springer: *
>> Really cool your last picture ... and now in RGB style like the picture 
>> of James "chroma-b-alt.png"... By the way, 
>> I'm missing some pictures on tw-logo-contest.tiddlyhost.com What's going 
>> on?
>>
>> *@James.W: *Have I mentioned that I like your RGB series? I also like 
>> the spirit of "emoji-field-title.png". 
>> There might be more hints of new features swimming in the background ...
>>
>>
>> My favourites so far are (excluding my pictures) and without ranking:
>>
>>- 3D twisted version white.png (springer)
>>- dark-fields.png (springer)
>>- json-file-icon-semi-alpha.png (Mohammad)
>>- chroma-b-alt.png (James W)
>>- emoji-field-title.png (James W)
>>
>> and even if its shine is slowly fading:
>>
>>- iamdar-1.png (IAmDarthMole)
>>
>>
>> I agree with Jeremy, perhaps such a contest would be useful for an 
>> advertising banner. For a simple release number, the effort is great, 
>> because unfortunately it will soon be replaced again. An advertising 
>> banner, if without a number, can at least be used for longer.
>>
>> A fixed scheme (e.g. logo on the left side, release number on the right 
>> side, colours fixed in advance) and ... instead an advertising banner on 
>> "HelloThere" in the background? I would, I like that.
>>
>> Here for this competition I would have liked something like an end date, 
>> a deadline. Perhaps also a maximum number of inputs.
>> As I see it, the many beautiful pictures, only a small number of people 
>> have created. More outdoor advertising for such actions is needed. This in 
>> turn generates more "word of mouth". More people, more ideas, finished 
>> faster. 
>>
>> I will not post any new pictures now. Not that I don't enjoy it. But I 
>> don't get to do anything else.
>> However, I am happy to accept requests for changes. Also who would like 
>> to have the original files (is SVG) may contact me.
>>
>> When it comes to the vote for the best picture (if there is such a 
>> thing), I'll be there again.
>>
>> So have fun.  Frank
>>
>> springer schrieb am Dienstag, 29. Juni 2021 um 20:14:36 UTC+2:
>>
>>> With a tip of the hat to IAmDarthMole, I've been thinking for a while 
>>> that one logo-version that *deserves* to exist is a version that takes that 
>>> json mobius image posing as a zero, and makes it fit in seamlessly with the 
>>> other numbers. 
>>>
>>> I like that anyone who knows about the JSON logo will "get it" but 
>>> others will just see a 3D-typography effect, plus drag-and-drop. As a flat 
>>> png, it comes in at 19K, less than I feared for a fancy set of bezier 
>>> curves and gradients.
>>>
>>> I hope IAmDarthMole takes this as a constructive collaboration! I'm 
>>> happy to split the pile of prize money. :P
>>>
>>> -Springer
>>>
>>> [image: 3D twisted version white.png]
>>>
>>> On Tuesday, June 15, 2021 at 1:34:57 PM UTC-4 iamdar...@gmail.com wrote:
>>>
>>>> Here a third attempt, *less* small things. Hopefully those that remain 
>>>> won't be *too* obscure/hard to see. I wasn't able to really think of 
>>>> any other way to show "drag and drop"
>>>>
>>>> Author: IAmDarthMole
>>>>
>>> Name: Drag n Drop JSON
>>>>
>>>> [image: Logo3.png]
>>>>
>>>> On Tuesday, June 15, 2021 at 1:11:31 PM UTC-4 TiddlyTweeter wrote:
>>>>
>>>>>  jeremy...@gmail.com wrote:
>>>>>
>>>>>> ... I think there is too much textual content in many of the entries. 
>>>>>> Creating new slogans/taglines for TiddlyWiki is not part of the brief, 
>>>>>> and 
>>>>>> just takes up a lot of space. The artwork is designed to break the flow 
>>>>>> of 
>>>>>> a generally text-heavy site; packing more text into images makes things 
>>>>>> worse. The text that needs to be there is "v5.2.0". 
>>>>>>
>>>>>
>>>>> Totally agree. BUT, also 'v5.2.0'  is a kind of "jump" isn't it? What 
>>>>> is I mean is, its slightly potentially more newish, hence the number?
>>>>> A word slogan/flag pointing to that might not be so bad?
>>>>>
>>>>> Just thoughts
>>>>> TT
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bac4e5fe-aee8-400f-a374-3e9ec7a5a828n%40googlegroups.com.


Re: [tw5] Artwork for v5.2.0

2021-06-27 Thread James Anderson
one more using emojis, though someone would probably need to redo the new 
and fish tiddlers as i doubt emoji are free to use whereever we like.

[image: tiddler.png]



>Télumire
>>but the way you represent it with different colours led me to think that 
this is about colors, maybe printing ? 

Not wanting to spell it out, but light can be considered part of a field 
too :) that was the angle i was going for. 

>Mohammed
I like your design! :)

Thanks,
James



On Sunday, 27 June 2021 at 18:05:08 UTC+1 saq.i...@gmail.com wrote:

> It is probably worth mentioning that the logo does not *have* to do with 
> any new features being introduced. So if anyone has other ideas, go for it.
>
> On Sunday, June 27, 2021 at 7:02:55 PM UTC+2 springer wrote:
>
>> I've tweaked a *bit* more, and added Mohammad's submission to our gallery 
>> at:
>>
>> https://tw-logo-contest.tiddlyhost.com/
>>
>> -Springer
>>
>> On Sunday, June 27, 2021 at 12:49:06 PM UTC-4 springer wrote:
>>
>>> Hi all, I had an exchange with Mohammad about the actual graphic file, 
>>> to which he does not have access.
>>>
>>> But the work was based on his own sketches, and it's not too hard to 
>>> replicate after discovering that the font is open-source Saira (google 
>>> font), apart from the curly brackets, whose font isn't yet clear to me. So 
>>> here's a rough mockup of Mohammad's design, though I admit I haven't 
>>> obsessed about replicating all the details:
>>>
>>> [image: Mohammad's JSON logo mockup.png]
>>>
>>> On Saturday, June 26, 2021 at 1:56:58 PM UTC-4 Mohammad wrote:
>>>
 Just to have a little fun in this competition!

 These are my designs, but I'm not sure if they are suitable for the new 
 release logo! 

 [image: image.png]



 [image: img_342_chrome.png]


 and also!

 [image: img_341_chrome.png]




 Best wishes
 Mohammad


 On Sun, Jun 13, 2021 at 3:44 PM Jeremy Ruston  
 wrote:

> This is to announce our regular competition for the artwork for the 
> next release of TiddlyWiki 5. The next release is planned to be called 
> v5.2.0, which requires a little explanation.
>
> We've bumped the minor version number because of a single very 
> important change: for the first time in a decade, we're changing the 
> format 
> used to encode tiddlers into the HTML file.
>
> The new format is based on JSON, making it much easier to develop 
> tools that produce or consume TW5 standalone HTML files. While there is 
> some limited backwards compatibility, the developers of many existing 
> tools 
> will need to make modifications to keep things working with v5.2.0.
>
> Hence the version number change: it's intended to make every developer 
> ask "Gosh, what could have changed to warrant such a big jump", and helps 
> us to make sure that the news of the change is promulgated as widely and 
> prominently as possible.
>
> The change also brings one big improvement for all users: field names 
> now have no restrictions on which characters can be used, and are 
> case-sensitive so that "MyField" is a valid fieldname, and refers to a 
> different field than "myfield" (just like tiddler titles). Finally, we 
> can 
> have fields called "⛄️".
>
> These changes will be merged shortly, but in the meantime can be 
> inspected here:
>
> https://github.com/Jermolene/TiddlyWiki5/pull/5708
>
> So, with that, back to the artwork competition. The task is to design 
> the banner image that is shown on the splash screen and within the 
> opening 
> HelloThere tiddler. It is traditional for the artwork to reflect some of 
> the changes in the new version.
>
> The rules for the competition are:
>
> * The version number (with the correct punctuation) must be clear and 
> readable even when the banner is shown at a reduced size
> * The image must be a PNG, JPEG or SVG of exactly 560x315 pixels
> * The bottom 46 pixels will be obscured by the banner text “What’s new 
> in 5.2.0” when it is displayed within HelloThere
> * Feel free to enter an updated version of artwork that was a 
> runner-up in a previous competition
> * Reply to this message with your entry, or any questions
>
> Here are the posts about previous artwork competitions:
>
> v5.1.23 - 
> https://groups.google.com/g/tiddlywiki/c/cTgPWl8b_9c/m/VtrMFHBGAwAJ
> v5.1.22 - 
> https://groups.google.com/g/tiddlywiki/c/rYrja18_SfQ/m/JAklPfjfAwAJ
> v5.1.21 - 
> https://groups.google.com/g/tiddlywiki/c/l47ZZzWdDb8/m/6s0p_3QeCgAJ
>
> If you’ve got a great idea for the banner image, but don’t have the 
> skills to produce finished artwork, do feel free to share your ideas in 
> case somebody else would like to work on the artwork.
>
> The competition will be 

Re: [tw5] Re: Artwork for v5.2.0

2021-06-19 Thread James Anderson
that's the wrong chroma-w, correct one shoud be:
 [image: chroma-w.png]

On Saturday, 19 June 2021 at 11:26:01 UTC+1 James Anderson wrote:

> [image: preview.png]
>
> Move things in from the sides a little and provided some alternatives ont 
> he same theme,
>
> [image: chroma-orig.png]
> [image: chroma-w.png]
> [image: chroma-w-alt.png]
> [image: chroma-b-alt.png]
>
>
> On Friday, 18 June 2021 at 02:00:00 UTC+1 iamdar...@gmail.com wrote:
>
>> Hello all and thank you very much for your considerations and up votes! I 
>> wish to caution though that the when the image is smaller, as it would be 
>> viewed on the tiddlywiki homepage, the fish is much harder to identify. 
>> That was one of the reasons I switched things up in the 3rd/4th attempt.
>>
>> *f.brunsb*, as *Springer* stated it was the last one at the time, the 
>> floating 5.2.0 with the hand holding it that I really liked.
>>
>> I don't feel comfortable pointing out one of my own but if I should/need 
>> to I would say I like my *iamdar-1.png *(Assorted Swedish Tiddlers) the 
>> best (despite my concern about its visibility when smaller) and then 
>> *Logo4.png* (Drag'n'Drop JSON LG) next.
>>
>> I also really like *entw5.png* (Tilted Version) and *entw2.png* (Frank B 
>> #2).
>>
>> Thanks!
>>
>> On Thursday, June 17, 2021 at 8:14:15 PM UTC-4 Brian Radspinner wrote:
>>
>>> springer, if you could replace my first two attempts with the below 
>>> smaller-sized version, I'd appreciate it.[image: 
>>> v5.2.0_banner_brian.png]
>>>
>>> On Thursday, June 17, 2021 at 4:26:25 PM UTC-7 springer wrote:
>>>
>>>> Frank, and all,
>>>>
>>>> My own sense is that your last entry is the most compelling of your set 
>>>> (and is probably the post to which IAmDarthMole is replying), followed by 
>>>> your #2. 
>>>>
>>>> Out of IAmDarthMole's submissions, I think (as Frank did, apparently) 
>>>> that the first one (Assorted Swedish Tiddlers) has the most coherence.
>>>>
>>>> I also love James' RGB image, though it's a bit crowded out to the 
>>>> edges. James, if you would pull everything in just a bit to give the 
>>>> content breathing room, I think it would be a good contender!
>>>>
>>>> Out of Brian's submissions, I think the second captures something of 
>>>> the drag-and-drop cues better than the first. For some reason, though, the 
>>>> filesize is very large (on both submissions). So I think it would be a 
>>>> better contender if the same idea could fit into a leaner file.
>>>>
>>>> In my more recent attempts I've been stepping away from including the 
>>>> full "TiddlyWiki" label since (1) including that text is a bit redundant 
>>>> in 
>>>> its use-context, and was not part of the version-number images prior to 
>>>> 5.1.23, and (2) even if TiddlyWiki isn't ready to rebrand *now*, it's 
>>>> possible that the conversation will be at a different place by the time we 
>>>> approach the *next* revision... I'm agnostic about what should happen, but 
>>>> I suppose it might be a strong point for a version's graphic banner just 
>>>> to 
>>>> focus on the version number along with whatever feature-hints can show up 
>>>> without getting too busy.
>>>>
>>>> -Springer
>>>> On Thursday, June 17, 2021 at 4:32:41 PM UTC-4 f.brunsb...@gmail.com 
>>>> wrote:
>>>>
>>>>> Hi to all artwork fans,
>>>>>
>>>>> I can support what springer writes. But perhaps we should already 
>>>>> agree on a few pictures where changes make sense.
>>>>>
>>>>> My three favourites so far are (excluding my pictures - these are the 
>>>>> best anyway), here without a ranking:
>>>>>
>>>>>- iamdar-1.png (IAmDarthMole)
>>>>>- dark-fields.png (springer)
>>>>>- 名称未設定.png (James W)
>>>>>
>>>>> have a nice night, Frank
>>>>>
>>>>> PS: @IAmDarthMole: Thanks for the pat on the back but which picture? 
>>>>> springer schrieb am Donnerstag, 17. Juni 2021 um 05:09:40 UTC+2:
>>>>>
>>>>>> Entries -- including through this most recent one submitted by James 
>>>>>> -- are all posted for easy comparison at 
>>>>>>
>>>>>> https://tw-logo-contest.tiddlyhost.com/

Re: [tw5] Re: Artwork for v5.2.0

2021-06-16 Thread James Anderson
something really basic:

[image: キャプチャ.PNG]

[image: 名称未設定.png]

something about breaking things apart and putting them back together :)






On Wednesday, 16 June 2021 at 22:22:18 UTC+1 f.brunsb...@gmail.com wrote:

> Hi,
>
> I have something more...
> [image: entw5.png]
>
> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 00:10:22 UTC+2:
>
>>  iamdar...@gmail.com wrote:
>>
>>> Ok, modified 3rd attempt ...
>>
>>
>>> Author: IAmDarthMole
>>> Name: Drag n Drop JSON LG
>>>
>>> [image: Logo4.png]
>>>
>>
>> I PERSONALLY THINK that is neat and semantic.
>> It kinda grasps that 5.2.0 up is a change.
>> Just saying, TT 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b29f1aef-1096-43ac-8039-e29eb3abc27en%40googlegroups.com.


[tw5] Re: appending to external links

2021-06-16 Thread James Anderson
perfect, thanks Eric!

On Wednesday, 16 June 2021 at 11:19:25 UTC+1 Eric Shulman wrote:

> On Wednesday, June 16, 2021 at 2:50:58 AM UTC-7 james.w@gmail.com 
> wrote:
>
>> lets say I have a tiddler called Search which contains:
>> www.google
>> then in another tiddler i want to use this to create external links to 
>> different sites e.g. 
>> {{Search}}.com -> www.google.com
>> {{Search}}.co.uk -> www.google.co.uk
>> {{Search}}.fr -> www.google.fr
>>
>> the following doesn't work:
>>  link 1
>> what is the right syntax to achieve this?
>>
>  
> To construct a parameter value (i.e., the value following the "href=" 
> syntax), you need to use a "filtered transclusion", like this:
>
>  link 1
>  link 2
>  link 3
>
> Notes:
> 1) The filtered transclusion syntax is contained within tripled curly 
> braces: {{{ filter }}}
> 2) The filter syntax itself is contained inside a matched pair of single 
> square brackets: [...]
> 3) To reference the text content of a tiddler within a filter, use 
> *single* curly braces: {TiddlerName}
> 4) To append the desired literal text (i.e., ".com", ".co.uk", etc.) use 
> the addsuffix[...] operator
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9acea6aa-e5db-4629-bb07-f0f59fee81ecn%40googlegroups.com.


[tw5] appending to external links

2021-06-16 Thread James Anderson
Hello, 

wondering how i can achieve the following (admittedly contrived) example:

lets say I have a tiddler called Search which contains:

www.google

then in another tiddler i want to use this to create external links to 
different sites e.g. 

{{Search}}.com -> www.google.com
{{Search}}.co.uk -> www.google.co.uk
{{Search}}.fr -> www.google.fr

the following doesn't work:
 link 1

what is the right syntax to achieve this?

Thanks,
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69e28f53-072d-4829-a3b2-c23622d95e6cn%40googlegroups.com.


Re: [tw5] Re: Tiddly Wiki Spaced Repetition Plugin

2021-06-14 Thread James Anderson
http://welford.github.io/twsr.html

Got some bug reports on the scheduler, it was broken after reviewing the 
same card a few times. should be fixed now.

Based on what Mohammad said above, I've added the ability to enable the 
"answer" widget outside of the scheduler, which is enabled 
with $:/tags/twsr/hide tag:

http://welford.github.io/twsr.html#Answers%20without%20Scheduling


On Saturday, 5 June 2021 at 19:30:23 UTC+1 James Anderson wrote:

> Another small update (probably last one for a while), moved the example 
> here http://welford.github.io/twsr.html
>
> - Allow nested answers.
> - cleaned up some of the config names
> - fixed: ignore tags did not work with already scheduled tiddlers
> - fixed: answers did not mask tables.
>
> [image: Animation.gif]
>
> On Monday, 31 May 2021 at 22:54:34 UTC+1 Mohammad wrote:
>
>> Very nice! I love the <$answer> to show the answer gradually!
>> One can use it on a presentation (like a lecture in the class and show 
>> students parts gradually)
>>
>> Lovely! Thank you
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, Jun 1, 2021 at 1:26 AM James Anderson  
>> wrote:
>>
>>> No worries, i've fixed the ⚙ pointer problem.
>>>
>>> I've also added an <$answer> widget that obscures segments of the 
>>> tiddler, that you can view by clicking on them. the second card in this gif:
>>>
>>> [image: Animation.gif]
>>>
>>> http://welford.github.io/kanji.html
>>>
>>> Thanks,
>>> James
>>>
>>> On Monday, 31 May 2021 at 21:35:39 UTC+1 Mohammad wrote:
>>>
>>>>
>>>>
>>>> On Mon, May 31, 2021 at 12:23 PM James Anderson  
>>>> wrote:
>>>>
>>>>> Hi Mohammad,
>>>>
>>>>
>>>> Hi James
>>>>
>>>> Many thanks for your detailed explanation!
>>>> Yes, Now I know how it works! Very flexible design!
>>>> Thank you again!
>>>>
>>>> Best wishes
>>>> Mohammad
>>>>
>>>>  
>>>>
>>>>>
>>>>> I will fix the mouse cursor issue.
>>>>>
>>>>> > Is it possible to have a data tiddler or JSON act as a source of 
>>>>> Q/A? Of course having this as an extra!
>>>>>
>>>>> I'm not quite sure what you mean. In the kanji example ( 
>>>>> http://welford.github.io/kanji.html ) the input from the SRS is other 
>>>>> tiddlers tagged with specific tags. 
>>>>>
>>>>> It's explained with more detail in the example, but the basic idea is 
>>>>> that you tag a single tiddler with $:/tags/twsr to mark it as containing 
>>>>> the SRS UI for revision. You can then add additional tags to that tiddler 
>>>>> for subjects you wish to study. In this case it's Japanese characters 
>>>>> with 
>>>>> 1 to 5 strokes (which is a pool of 113 tiddlers to be used as flash cards)
>>>>>
>>>>> > For example for language learning word: definition can be simply 
>>>>> stored in data tiddler!
>>>>>
>>>>> Unless i am misunderstanding, this is what the Kanji example achieves.
>>>>>
>>>>> (1 ) below is the scheduled card, because i am using he <$question> 
>>>>> section only the character i wish to learn is displayed.
>>>>> (2) Is the display when i click show answer, which should just show 
>>>>> the original tiddler as it is.
>>>>> (3) is the original tiddler shown normally. It's tagged with 二画 which 
>>>>> gets it picked up the SRS scheduling tiddlers. 
>>>>>
>>>>>  [image: 無題.png]
>>>>>
>>>>> Which tags you use however is completely up to you, you could have 
>>>>> "french definitive article" tags and do something like this in your 
>>>>> tiddlers
>>>>>
>>>>> ```
>>>>> *<$question>?? chien et ?? chat s’entendent bien.*
>>>>> *Le chien et le chat s’entendent bien.*
>>>>> *```*
>>>>>
>>>>>
>>>>> *[image: 1無題.png]*
>>>>>
>>>>> *Does that cover what you mean?*
>>>>>
>>>>> *thanks,*
>>>>> *James*
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Monday, 31 May 2021 at 04:38

[tw5] Re: twexe (the plugin) update

2021-06-14 Thread James Anderson
Ah yeah, some of the newer features are not there yet.


On Monday, 14 June 2021 at 20:33:45 UTC+1 Si wrote:

> >>> what's the details tag? 
>
> It's an HTML element that you can click on to hide/reveal a block of text: 
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
>
> There's a handy TW implementation here: 
> https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2Fdetails
>
> It was added recently enough that it is not supported by Internet 
> Explorer. It's just one example, I'm sure there are all sorts of things 
> that have been added to new browsers which won't work in older ones.
>
> On Monday, 14 June 2021 at 19:31:48 UTC+1 james.w@gmail.com wrote:
>
>> what's the details tag?
>>
>> On Monday, 14 June 2021 at 19:04:51 UTC+1 Si wrote:
>>
>>> Hi James,
>>>
>>> >>> I don't think it's true that you need Internet Explorer for any of 
>>> this, it's runs under the  mshta.exe which should ship with windows. 
>>>
>>> It seems that mshta.exe relies on the Internet Explorer engine (not that 
>>> I know what that means...): 
>>> https://en.wikipedia.org/wiki/HTML_Application#Execution
>>>
>>> Anyway a wiki running as an hta app looks just like it does when running 
>>> in IE, and more recent web stuff doesn't work (e.g. the details tag). My 
>>> main wiki won't even open in IE (or as an hta) due to some of the plugins I 
>>> have installed.
>>>
>>> >>> if you are still interested i can maybe help look at any issues you 
>>> are hitting 
>>>
>>> Thank you! Though I've now figured out my mistake: I was using a folder 
>>> for twexe_cmd that didn't exist! Works as expected now.
>>>
>>> >>> I don't knoe if this is still needed but i have another plugin  
>>> $:/plugins/welford/htalink/link.js which makes the wiki open links in the 
>>> default browser. 
>>>
>>> I didn't install that plugin and it still works, but I only did a simple 
>>> test.
>>>
>>> On Monday, 14 June 2021 at 17:40:08 UTC+1 james.w@gmail.com wrote:
>>>
 Hey Si, I don't think it's true that you need Internet Explorer for any 
 of this, it's runs under the  mshta.exe which should ship with windows. I 
 certainly don't have IE installed on my system - but you will need windows.

 I don't knoe if this is still needed but i have another plugin  
 $:/plugins/welford/htalink/link.js which makes the wiki open links in the 
 default browser.

 if you are still interested i can maybe help look at any issues you are 
 hitting: Excuse the crude picture but setting up a twexe should be pretty 
 simple. this one opens calc and then is linked to twice in another doc, 
 first as it is and then a second time with overridden params.

 [image: asdf.png]

 On Monday, 14 June 2021 at 16:17:21 UTC+1 Si wrote:

> Hi James thanks for the reply. Just trying it I actually can't even 
> get it to work with a batch file ("The filename, directory name, or 
> volume 
> label syntax is incorrect"). This doesn't matter however because I also 
> now 
> realize that .hta will use internet explorer to run the app, which means 
> unfortunately I can't use this for my wiki anyway.
>
> On Sunday, 13 June 2021 at 20:09:25 UTC+1 james.w@gmail.com wrote:
>
>> Just tested and unfortunately not right now.
>>
>> I have a few places where i call 
>> WshShell.Run( "cmd /c " + path + " " + args ); From a quick google 
>> making 
>> the "cmd /c" part call "powershell -File " maybe with some other 
>> settings 
>> like -executionpolicy unrestricted.
>>
>> I know next to nothing about powershell though.
>>
>> if you take a look at 
>> http://welford.github.io/#%24%3A%2Fplugins%2Fwelford%2Ftwexe%2Ftwexe.js
>> specifically 
>> TWExeWidget.prototype.runTiddler = function (event) {
>> TWExeWidget.prototype.openFile = function (event) {
>>
>> and can give me a working string format for  powershell scripts i can 
>> update the plugin to provide the shell in which it will run via a field. 
>> e.g. twexe_shell: powershell, so that we can support both.
>>
>>
>>
>> On Sunday, 13 June 2021 at 19:18:45 UTC+1 Si wrote:
>>
>>> Thanks James I did not know this existed! I was looking for 
>>> something similar a while ago.
>>>
>>> Can you use it to run PowerShell scripts?
>>> On Tuesday, 4 May 2021 at 13:31:27 UTC+1 james.w@gmail.com 
>>> wrote:
>>>
 Incase any windows/hta users still use this:

 I've updated this plugin. the source is here: 
 https://github.com/welford/twexe and you can grab a copy of the 
 updated plugin from http://welford.github.io/

 The big change is that you can run the contents of a tiddler as a 
 batch file, which should help keep things portable (between machines / 
 environments, not cross platform). 

 It will create 

[tw5] Re: twexe (the plugin) update

2021-06-14 Thread James Anderson
what's the details tag?

On Monday, 14 June 2021 at 19:04:51 UTC+1 Si wrote:

> Hi James,
>
> >>> I don't think it's true that you need Internet Explorer for any of 
> this, it's runs under the  mshta.exe which should ship with windows. 
>
> It seems that mshta.exe relies on the Internet Explorer engine (not that I 
> know what that means...): 
> https://en.wikipedia.org/wiki/HTML_Application#Execution
>
> Anyway a wiki running as an hta app looks just like it does when running 
> in IE, and more recent web stuff doesn't work (e.g. the details tag). My 
> main wiki won't even open in IE (or as an hta) due to some of the plugins I 
> have installed.
>
> >>> if you are still interested i can maybe help look at any issues you 
> are hitting 
>
> Thank you! Though I've now figured out my mistake: I was using a folder 
> for twexe_cmd that didn't exist! Works as expected now.
>
> >>> I don't knoe if this is still needed but i have another plugin  
> $:/plugins/welford/htalink/link.js which makes the wiki open links in the 
> default browser. 
>
> I didn't install that plugin and it still works, but I only did a simple 
> test.
>
> On Monday, 14 June 2021 at 17:40:08 UTC+1 james.w@gmail.com wrote:
>
>> Hey Si, I don't think it's true that you need Internet Explorer for any 
>> of this, it's runs under the  mshta.exe which should ship with windows. I 
>> certainly don't have IE installed on my system - but you will need windows.
>>
>> I don't knoe if this is still needed but i have another plugin  
>> $:/plugins/welford/htalink/link.js which makes the wiki open links in the 
>> default browser.
>>
>> if you are still interested i can maybe help look at any issues you are 
>> hitting: Excuse the crude picture but setting up a twexe should be pretty 
>> simple. this one opens calc and then is linked to twice in another doc, 
>> first as it is and then a second time with overridden params.
>>
>> [image: asdf.png]
>>
>> On Monday, 14 June 2021 at 16:17:21 UTC+1 Si wrote:
>>
>>> Hi James thanks for the reply. Just trying it I actually can't even get 
>>> it to work with a batch file ("The filename, directory name, or volume 
>>> label syntax is incorrect"). This doesn't matter however because I also now 
>>> realize that .hta will use internet explorer to run the app, which means 
>>> unfortunately I can't use this for my wiki anyway.
>>>
>>> On Sunday, 13 June 2021 at 20:09:25 UTC+1 james.w@gmail.com wrote:
>>>
 Just tested and unfortunately not right now.

 I have a few places where i call 
 WshShell.Run( "cmd /c " + path + " " + args ); From a quick google making 
 the "cmd /c" part call "powershell -File " maybe with some other settings 
 like -executionpolicy unrestricted.

 I know next to nothing about powershell though.

 if you take a look at 
 http://welford.github.io/#%24%3A%2Fplugins%2Fwelford%2Ftwexe%2Ftwexe.js
 specifically 
 TWExeWidget.prototype.runTiddler = function (event) {
 TWExeWidget.prototype.openFile = function (event) {

 and can give me a working string format for  powershell scripts i can 
 update the plugin to provide the shell in which it will run via a field. 
 e.g. twexe_shell: powershell, so that we can support both.



 On Sunday, 13 June 2021 at 19:18:45 UTC+1 Si wrote:

> Thanks James I did not know this existed! I was looking for something 
> similar a while ago.
>
> Can you use it to run PowerShell scripts?
> On Tuesday, 4 May 2021 at 13:31:27 UTC+1 james.w@gmail.com wrote:
>
>> Incase any windows/hta users still use this:
>>
>> I've updated this plugin. the source is here: 
>> https://github.com/welford/twexe and you can grab a copy of the 
>> updated plugin from http://welford.github.io/
>>
>> The big change is that you can run the contents of a tiddler as a 
>> batch file, which should help keep things portable (between machines / 
>> environments, not cross platform). 
>>
>> It will create a temporary twexe.bat file in %TEMP% fill it with the 
>> contents of the tiddler and then run it. You can change the default 
>> temporary location via  $:/plugins/welford/twexe/tmpdir
>>
>> in the attached image i have two examples, one will run my local 
>> node.js tw, the other just an example batch file that prints hello and 
>> the 
>> first arg passed to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/37591e72-fa3a-4788-a8ec-8dff6f3747ban%40googlegroups.com.


[tw5] Re: twexe (the plugin) update

2021-06-14 Thread James Anderson
looks like we do still use htalink, i probably should just fold it into 
twexe

On Monday, 14 June 2021 at 17:40:08 UTC+1 James Anderson wrote:

> Hey Si, I don't think it's true that you need Internet Explorer for any of 
> this, it's runs under the  mshta.exe which should ship with windows. I 
> certainly don't have IE installed on my system - but you will need windows.
>
> I don't knoe if this is still needed but i have another plugin  
> $:/plugins/welford/htalink/link.js which makes the wiki open links in the 
> default browser.
>
> if you are still interested i can maybe help look at any issues you are 
> hitting: Excuse the crude picture but setting up a twexe should be pretty 
> simple. this one opens calc and then is linked to twice in another doc, 
> first as it is and then a second time with overridden params.
>
> [image: asdf.png]
>
> On Monday, 14 June 2021 at 16:17:21 UTC+1 Si wrote:
>
>> Hi James thanks for the reply. Just trying it I actually can't even get 
>> it to work with a batch file ("The filename, directory name, or volume 
>> label syntax is incorrect"). This doesn't matter however because I also now 
>> realize that .hta will use internet explorer to run the app, which means 
>> unfortunately I can't use this for my wiki anyway.
>>
>> On Sunday, 13 June 2021 at 20:09:25 UTC+1 james.w@gmail.com wrote:
>>
>>> Just tested and unfortunately not right now.
>>>
>>> I have a few places where i call 
>>> WshShell.Run( "cmd /c " + path + " " + args ); From a quick google making 
>>> the "cmd /c" part call "powershell -File " maybe with some other settings 
>>> like -executionpolicy unrestricted.
>>>
>>> I know next to nothing about powershell though.
>>>
>>> if you take a look at 
>>> http://welford.github.io/#%24%3A%2Fplugins%2Fwelford%2Ftwexe%2Ftwexe.js
>>> specifically 
>>> TWExeWidget.prototype.runTiddler = function (event) {
>>> TWExeWidget.prototype.openFile = function (event) {
>>>
>>> and can give me a working string format for  powershell scripts i can 
>>> update the plugin to provide the shell in which it will run via a field. 
>>> e.g. twexe_shell: powershell, so that we can support both.
>>>
>>>
>>>
>>> On Sunday, 13 June 2021 at 19:18:45 UTC+1 Si wrote:
>>>
>>>> Thanks James I did not know this existed! I was looking for something 
>>>> similar a while ago.
>>>>
>>>> Can you use it to run PowerShell scripts?
>>>> On Tuesday, 4 May 2021 at 13:31:27 UTC+1 james.w@gmail.com wrote:
>>>>
>>>>> Incase any windows/hta users still use this:
>>>>>
>>>>> I've updated this plugin. the source is here: 
>>>>> https://github.com/welford/twexe and you can grab a copy of the 
>>>>> updated plugin from http://welford.github.io/
>>>>>
>>>>> The big change is that you can run the contents of a tiddler as a 
>>>>> batch file, which should help keep things portable (between machines / 
>>>>> environments, not cross platform). 
>>>>>
>>>>> It will create a temporary twexe.bat file in %TEMP% fill it with the 
>>>>> contents of the tiddler and then run it. You can change the default 
>>>>> temporary location via  $:/plugins/welford/twexe/tmpdir
>>>>>
>>>>> in the attached image i have two examples, one will run my local 
>>>>> node.js tw, the other just an example batch file that prints hello and 
>>>>> the 
>>>>> first arg passed to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11c8dd5a-ae25-4a8c-9145-82cba372e6f8n%40googlegroups.com.


[tw5] Re: twexe (the plugin) update

2021-06-14 Thread James Anderson
Hey Si, I don't think it's true that you need Internet Explorer for any of 
this, it's runs under the  mshta.exe which should ship with windows. I 
certainly don't have IE installed on my system - but you will need windows.

I don't knoe if this is still needed but i have another plugin  
$:/plugins/welford/htalink/link.js which makes the wiki open links in the 
default browser.

if you are still interested i can maybe help look at any issues you are 
hitting: Excuse the crude picture but setting up a twexe should be pretty 
simple. this one opens calc and then is linked to twice in another doc, 
first as it is and then a second time with overridden params.

[image: asdf.png]

On Monday, 14 June 2021 at 16:17:21 UTC+1 Si wrote:

> Hi James thanks for the reply. Just trying it I actually can't even get it 
> to work with a batch file ("The filename, directory name, or volume label 
> syntax is incorrect"). This doesn't matter however because I also now 
> realize that .hta will use internet explorer to run the app, which means 
> unfortunately I can't use this for my wiki anyway.
>
> On Sunday, 13 June 2021 at 20:09:25 UTC+1 james.w@gmail.com wrote:
>
>> Just tested and unfortunately not right now.
>>
>> I have a few places where i call 
>> WshShell.Run( "cmd /c " + path + " " + args ); From a quick google making 
>> the "cmd /c" part call "powershell -File " maybe with some other settings 
>> like -executionpolicy unrestricted.
>>
>> I know next to nothing about powershell though.
>>
>> if you take a look at 
>> http://welford.github.io/#%24%3A%2Fplugins%2Fwelford%2Ftwexe%2Ftwexe.js
>> specifically 
>> TWExeWidget.prototype.runTiddler = function (event) {
>> TWExeWidget.prototype.openFile = function (event) {
>>
>> and can give me a working string format for  powershell scripts i can 
>> update the plugin to provide the shell in which it will run via a field. 
>> e.g. twexe_shell: powershell, so that we can support both.
>>
>>
>>
>> On Sunday, 13 June 2021 at 19:18:45 UTC+1 Si wrote:
>>
>>> Thanks James I did not know this existed! I was looking for something 
>>> similar a while ago.
>>>
>>> Can you use it to run PowerShell scripts?
>>> On Tuesday, 4 May 2021 at 13:31:27 UTC+1 james.w@gmail.com wrote:
>>>
 Incase any windows/hta users still use this:

 I've updated this plugin. the source is here: 
 https://github.com/welford/twexe and you can grab a copy of the 
 updated plugin from http://welford.github.io/

 The big change is that you can run the contents of a tiddler as a batch 
 file, which should help keep things portable (between machines / 
 environments, not cross platform). 

 It will create a temporary twexe.bat file in %TEMP% fill it with the 
 contents of the tiddler and then run it. You can change the default 
 temporary location via  $:/plugins/welford/twexe/tmpdir

 in the attached image i have two examples, one will run my local 
 node.js tw, the other just an example batch file that prints hello and the 
 first arg passed to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d492d4d-1f5d-4860-9080-fb4725764177n%40googlegroups.com.


[tw5] Re: twexe (the plugin) update

2021-06-13 Thread James Anderson
Just tested and unfortunately not right now.

I have a few places where i call 
WshShell.Run( "cmd /c " + path + " " + args ); From a quick google making 
the "cmd /c" part call "powershell -File " maybe with some other settings 
like -executionpolicy unrestricted.

I know next to nothing about powershell though.

if you take a look 
at http://welford.github.io/#%24%3A%2Fplugins%2Fwelford%2Ftwexe%2Ftwexe.js
specifically 
TWExeWidget.prototype.runTiddler = function (event) {
TWExeWidget.prototype.openFile = function (event) {

and can give me a working string format for  powershell scripts i can 
update the plugin to provide the shell in which it will run via a field. 
e.g. twexe_shell: powershell, so that we can support both.



On Sunday, 13 June 2021 at 19:18:45 UTC+1 Si wrote:

> Thanks James I did not know this existed! I was looking for something 
> similar a while ago.
>
> Can you use it to run PowerShell scripts?
> On Tuesday, 4 May 2021 at 13:31:27 UTC+1 james.w@gmail.com wrote:
>
>> Incase any windows/hta users still use this:
>>
>> I've updated this plugin. the source is here: 
>> https://github.com/welford/twexe and you can grab a copy of the updated 
>> plugin from http://welford.github.io/
>>
>> The big change is that you can run the contents of a tiddler as a batch 
>> file, which should help keep things portable (between machines / 
>> environments, not cross platform). 
>>
>> It will create a temporary twexe.bat file in %TEMP% fill it with the 
>> contents of the tiddler and then run it. You can change the default 
>> temporary location via  $:/plugins/welford/twexe/tmpdir
>>
>> in the attached image i have two examples, one will run my local node.js 
>> tw, the other just an example batch file that prints hello and the first 
>> arg passed to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49698bb3-ce58-4ac8-9278-35556d1d4a16n%40googlegroups.com.


Re: [tw5] Re: Building a book/blog webpage -- is TW5 right for it?

2021-06-13 Thread James Anderson
I might do, I've not really found a short version of what will stop working 
when 5.2 is released. but i'd like to keep all my plugins up to date.

On Sunday, 13 June 2021 at 16:42:41 UTC+1 Mohammad wrote:

> Hi James,
> Your workflow is popular, if you look at the forum you will find many 
> posts about it!
> So, I may propose with the advent of many new features in 5.1.2x it is 
> worth updating the workflow!
>
> Best wishes
> Mohammad
>
>
> On Sun, Jun 13, 2021 at 6:08 PM James Anderson  
> wrote:
>
>> I wrote a static blog exporter several years back for TW
>>
>> explanation of it here: 
>> http://welford.github.io/twstaticblog/example/example.html
>> which itself exports to:
>> http://welford.github.io/twstaticblog/example/blog-styled/index.html
>> and 
>> http://welford.github.io/twstaticblog/example/blog-basic/index.html
>>
>> i also use it for my personal blog here http://www.phasersonkill.com/ 
>>
>> The thing is pretty flexible once you have it setup, most of what you 
>> want could be achieved. " a sort of carousel widget with single sections 
>> from the book, with arrows left and right to flip through them." might 
>> require a little extra work though.
>>
>> On Saturday, 12 June 2021 at 14:45:19 UTC+1 TW Tones wrote:
>>
>>> As much as I value WordPress my personal belief is tiddlywiki would  be 
>>> ideal, I would start with others book style wikis to get going. 
>>>
>>> I understand the value of static websites for search may be valuable 
>>> however the interactive wiki offers much more. The compromise would be a 
>>> static site on which every page link opens  the interactive wiki, add a 
>>> splash screen to inform them you are loading the whole book for easy search.
>>>
>>> I started building a template to support this but not completed it yet. 
>>> Hopefully someone has done it and can share a revised template for its 
>>> export. 
>>> If you can serve a node implementation securely on the internet would be 
>>> better and it can automatically serve both static and interactive content. 
>>>
>>> By the way 70,000 words with an average length 490,000 characters, Not 
>>> even half a Megabyte is trivial, I have happily used 6-12Mb single file 
>>> wikis without any concern.
>>>
>>> Tones
>>>
>>> On Friday, 11 June 2021 at 23:03:06 UTC+10 iamdar...@gmail.com wrote:
>>>
>>>> Hello!
>>>>
>>>> As much as I love TiddlyWiki and think it could work for your use 
>>>> cases, I feel I would be remiss to not point out another option: 
>>>> *WordPress*
>>>>
>>>>
>>>>
>>>> On Friday, June 11, 2021 at 7:37:42 AM UTC-4 David Gifford wrote:
>>>>
>>>>> Hi Kosmaton
>>>>>
>>>>> You could use TiddlyWiki in node.js, and export and upload tiddlers to 
>>>>> your free webhosting service as static htmls, no database needed. With 
>>>>> some 
>>>>> CSS, you could design it as you wish, in a way that it doesn't look 
>>>>> TiddlyWiki-ish, and there are plugins to make the layout mobile-friendly. 
>>>>> The book page, home page and news page are all doable. The book page 
>>>>> could 
>>>>> be handled with details elements (HTML, not the details widget plugin) 
>>>>> and 
>>>>> transclusions. So yes, everything you mentioned can be done.
>>>>>
>>>>> Alternately, you could do the same with a regular standalone TW 
>>>>> uploaded to your free webhosting service. Doing it as a standalone means 
>>>>> the opening page would not load as quickly as a small static html page, 
>>>>> but 
>>>>> most people wouldn't notice the difference, and it would give you many 
>>>>> more 
>>>>> options for how to handle the book page, for example the table of 
>>>>> contents 
>>>>> feature in TiddlyWiki.
>>>>>
>>>>> What might not work, though I may be wrong, is having a user comments 
>>>>> section, but then you did not mention that. I know there is at least one 
>>>>> user comments plugin, but I haven't played with it.
>>>>>
>>>>> On Thursday, June 10, 2021 at 3:28:54 PM UTC-5 Kosmaton wrote:
>>>>>
>>>>>> Hello Tiddly people,
>>>>>>  
>>>>>> I'm meaning to create a new website, and I'

[tw5] Re: Building a book/blog webpage -- is TW5 right for it?

2021-06-13 Thread James Anderson
I wrote a static blog exporter several years back for TW

explanation of it here: 
http://welford.github.io/twstaticblog/example/example.html
which itself exports to:
http://welford.github.io/twstaticblog/example/blog-styled/index.html
and 
http://welford.github.io/twstaticblog/example/blog-basic/index.html

i also use it for my personal blog here http://www.phasersonkill.com/ 

The thing is pretty flexible once you have it setup, most of what you want 
could be achieved. " a sort of carousel widget with single sections from 
the book, with arrows left and right to flip through them." might require a 
little extra work though.

On Saturday, 12 June 2021 at 14:45:19 UTC+1 TW Tones wrote:

> As much as I value WordPress my personal belief is tiddlywiki would  be 
> ideal, I would start with others book style wikis to get going. 
>
> I understand the value of static websites for search may be valuable 
> however the interactive wiki offers much more. The compromise would be a 
> static site on which every page link opens  the interactive wiki, add a 
> splash screen to inform them you are loading the whole book for easy search.
>
> I started building a template to support this but not completed it yet. 
> Hopefully someone has done it and can share a revised template for its 
> export. 
> If you can serve a node implementation securely on the internet would be 
> better and it can automatically serve both static and interactive content. 
>
> By the way 70,000 words with an average length 490,000 characters, Not 
> even half a Megabyte is trivial, I have happily used 6-12Mb single file 
> wikis without any concern.
>
> Tones
>
> On Friday, 11 June 2021 at 23:03:06 UTC+10 iamdar...@gmail.com wrote:
>
>> Hello!
>>
>> As much as I love TiddlyWiki and think it could work for your use cases, 
>> I feel I would be remiss to not point out another option: *WordPress*
>>
>>
>>
>> On Friday, June 11, 2021 at 7:37:42 AM UTC-4 David Gifford wrote:
>>
>>> Hi Kosmaton
>>>
>>> You could use TiddlyWiki in node.js, and export and upload tiddlers to 
>>> your free webhosting service as static htmls, no database needed. With some 
>>> CSS, you could design it as you wish, in a way that it doesn't look 
>>> TiddlyWiki-ish, and there are plugins to make the layout mobile-friendly. 
>>> The book page, home page and news page are all doable. The book page could 
>>> be handled with details elements (HTML, not the details widget plugin) and 
>>> transclusions. So yes, everything you mentioned can be done.
>>>
>>> Alternately, you could do the same with a regular standalone TW uploaded 
>>> to your free webhosting service. Doing it as a standalone means the opening 
>>> page would not load as quickly as a small static html page, but most people 
>>> wouldn't notice the difference, and it would give you many more options for 
>>> how to handle the book page, for example the table of contents feature in 
>>> TiddlyWiki.
>>>
>>> What might not work, though I may be wrong, is having a user comments 
>>> section, but then you did not mention that. I know there is at least one 
>>> user comments plugin, but I haven't played with it.
>>>
>>> On Thursday, June 10, 2021 at 3:28:54 PM UTC-5 Kosmaton wrote:
>>>
 Hello Tiddly people,
  
 I'm meaning to create a new website, and I'd like to ask your opinion 
 whether TiddlyWiki is the right tool (or one of the tools) for it.
  
 I used to have a pre-TW5 site on TiddlySpace back in the day. I'm 
 semi-programming-and-webdesign-literate, in an ad hoc and rusty way. No 
 experience with databases unfortunately, which may be relevant.
  
 The website I have in mind would be a combination of a non-fiction book 
 (already written, but expandable/changeable), and an associated blog. The 
 book is organized as a big tree of numbered paragraphs/sections: 1, 1.1, 
 1.1.1, 1.2, 2, 2.1 etc. These sections frequently refer to one another; 
 it's a hypertext in itself.
  
 * The site would mainly need to have:
  
 1) a page that displays the book, with a Table of Contents.
   - The TOC should be hideable as a whole.
   - The branches of the TOC should be collapsible, i.e. click on 1 to 
 show 1.1 and 1.2, click again to hide them, etc.
   - It may be excessive to load all the text of the book (all the 
 sections) into the viewport (some 70,000 words). But it would be nice if 
 the reader saw a bit more than just the section they're currently reading. 
 Basically a pdf-reader-like experience would be good.
   - optional: Sections of the book may get revisions, and the visitor 
 should be able to see the revisions. (This would probably get a lot more 
 complicated if I want to allow for reordering, deletion and creation of 
 sections...)
   - The book currently exists as a LibreOffice Writer .odt file, with 
 sections actually organized as headings. Ideally I'd like to automate the 
 

Re: [tw5] Re: Tiddly Wiki Spaced Repetition Plugin

2021-05-31 Thread James Anderson
Just a thought but it might be a good idea to have a <$answer> tag in 
addition to question. that gets replaced with ??? or blacked out when 
displayed as a scheduled card.

e.g.

```
*<$answer>Le chien et **<$answer>le** chat s’entendent 
bien.*
```

On Monday, 31 May 2021 at 08:53:05 UTC+1 James Anderson wrote:

> Hi Mohammad,
>
> I will fix the mouse cursor issue.
>
> > Is it possible to have a data tiddler or JSON act as a source of Q/A? Of 
> course having this as an extra!
>
> I'm not quite sure what you mean. In the kanji example ( 
> http://welford.github.io/kanji.html ) the input from the SRS is other 
> tiddlers tagged with specific tags. 
>
> It's explained with more detail in the example, but the basic idea is that 
> you tag a single tiddler with $:/tags/twsr to mark it as containing the SRS 
> UI for revision. You can then add additional tags to that tiddler for 
> subjects you wish to study. In this case it's Japanese characters with 1 to 
> 5 strokes (which is a pool of 113 tiddlers to be used as flash cards)
>
> > For example for language learning word: definition can be simply stored 
> in data tiddler!
>
> Unless i am misunderstanding, this is what the Kanji example achieves.
>
> (1 ) below is the scheduled card, because i am using he <$question> 
> section only the character i wish to learn is displayed.
> (2) Is the display when i click show answer, which should just show the 
> original tiddler as it is.
> (3) is the original tiddler shown normally. It's tagged with 二画 which gets 
> it picked up the SRS scheduling tiddlers. 
>
>  [image: 無題.png]
>
> Which tags you use however is completely up to you, you could have "french 
> definitive article" tags and do something like this in your tiddlers
>
> ```
> *<$question>?? chien et ?? chat s’entendent bien.*
> *Le chien et le chat s’entendent bien.*
> *```*
>
>
> *[image: 1無題.png]*
>
> *Does that cover what you mean?*
>
> *thanks,*
> *James*
>
>
>
>
> On Monday, 31 May 2021 at 04:38:07 UTC+1 Mohammad wrote:
>
>> Hi James
>> Very nice and thank you for improving!
>>
>> Some small suggestions on UI mainly
>> 1. On mouse hover on gear button use the pointer shape for cursor! Now it 
>> behaves like input textbox
>> 2. Good to organize the small tutorial, so a newbie like me can 
>> understand how to create SR step by stp
>>
>>
>> Other comments:
>> Is it possible to have a data tiddler or JSON act as a source of Q/A? Of 
>> course having this as an extra!
>> For example for language learning word: definition can be simply stored 
>> in data tiddler!
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Mon, May 31, 2021 at 1:06 AM James Anderson  
>> wrote:
>>
>>> > I'm all for getting different approaches out there so we can learn 
>>> from each other.
>>> agreed :)
>>>
>>> I've updated this plugin, you can now configure pretty much everyting 
>>> and have mutiple config files and interfaces per deck/tag
>>>
>>> Example here: http://welford.github.io/kanji.html , which adds a second 
>>> config for studying using the config tag "kanji study" which has customised 
>>> labels, adding brackets (1,2,3 instead of 1,5,10) and grading translations 
>>> :) you could also add more than 3 grades per answer if you like.
>>>
>>> [image: 無題.png]
>>>
>>>
>>> code is still: https://github.com/welford/twsr
>>>
>>> Thanks,
>>> James
>>>
>>>
>>> On Wednesday, 26 May 2021 at 22:54:49 UTC+1 Soren Bjornstad wrote:
>>>
>>>> The cool thing about TiddlyRemember (IMHO) is that it supports storing 
>>>> your questions however you want – as cards, within other tiddlers, or some 
>>>> other way. You just have to make sure you somewhere call the remember* 
>>>> macros with appropriate parameters. The $question widget is cool, though; 
>>>> there is not a super easy way to hide the questions in TR if that's what 
>>>> you want to do. (I did come up with this hack 
>>>> <https://github.com/sobjornstad/TiddlyRemember/issues/33> for someone, 
>>>> which demonstrates the flexibility of the macro approach but isn't super 
>>>> elegant!)
>>>>
>>>> I'm all for getting different approaches out there so we can learn from 
>>>> each other.
>>>>
>>>> On Wednesday, May 26, 2021 at 3:56:31 AM UTC-5 james.w@gmail.com 
>>>> wrote:
>>&

[tw5] Re: Tiddly Wiki Spaced Repetition Plugin

2021-05-26 Thread James Anderson
Was aware of TiddlyRemember before I started, I was looking for something 
standalone within TW though. 

I saw the takeaway system in GrokTW once i had finished, which is really 
nice (as is Grok in general). 
I guess this is a different attempt at something similar. In my admittedly 
very basic plugin the tiddlers themselves are the revision cards / or 
contain the question in addition to the actual content, where as in GrokTW 
they exist separately to the tiddler they concern.

Thanks,
James

On Wednesday, 26 May 2021 at 08:10:05 UTC+1 R² wrote:

> Hi James,
>
> As a user, it's great seeing so much interest in this space.
>
> Are you aware that Soren has done a lot of work integrating SRS with 
> TiddlyWiki? Tiddly Remember at [[
> https://sobjornstad.github.io/TiddlyRemember/]] allows writing Anki notes 
> within a TW, "providing an excellent way of seamlessly producing relevant 
> notes to memorize via Anki while also providing context/traceability". You 
> can also find a full-blown SRS solution in his Grok Tiddlywiki at [[
> https://groktiddlywiki.com/]].
>
> Regards,
> R²
>
> Le mardi 25 mai 2021 à 00:06:15 UTC+2, james.w@gmail.com a écrit :
>
>> This is my, first pass, attempt at providing a very basic Anki/Super Memo 
>> like functionality in Tiddlywiki. From a quick search It seems a few people 
>> have had similar ideas recently :)
>>
>> https://github.com/welford/twsr
>> http://welford.github.io/kanji.html <- basic example
>>
>> Setup is pretty simple. Tag a tiddler with "$:/tags/twsr" and any other 
>> tags that match subjects you want to study. That tiddler will then show a 
>> interface for you to be able to review/add/grade "cards" that match the 
>> tags you have supplied.
>>
>> In the example linked to above, i've tagged the example tiddler with 一画, 
>> 二画, 三画, 四画 & 五画 (1 stroke, 2 strokes, ...5 strokes in english) so any 
>> Japanese characters  matching these number of stokes are possible 
>> candidates for revision in this tiddler. They will not be added however 
>> unless you click the cog icon and select +1,+5,+10 which will  the selected 
>> number of cards to the scheduler.
>>
>> lastly, you can add a <$question>... segment to a tiddler 
>> which will be hidden when viewing the tiddler normally, but when appearing 
>> in a scheduled card within a twsr tiddler will be shown instead of the main 
>> contents. When the user clicks "show answer" the main contents will be 
>> displayed. If there is no question segment the main contents will be 
>> displayed by default.
>>
>>
>> [image: 無題.png]
>>
>>
>> Thanks!
>> James
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc65ae3e-bb56-45e5-9d98-3be0b92f8045n%40googlegroups.com.


[tw5] Re: Tiddly Wiki Spaced Repetition Plugin

2021-05-24 Thread James Anderson
Also Thanks to  Saq for all the help answering my questions :)

On Monday, 24 May 2021 at 23:06:15 UTC+1 James Anderson wrote:

> This is my, first pass, attempt at providing a very basic Anki/Super Memo 
> like functionality in Tiddlywiki. From a quick search It seems a few people 
> have had similar ideas recently :)
>
> https://github.com/welford/twsr
> http://welford.github.io/kanji.html <- basic example
>
> Setup is pretty simple. Tag a tiddler with "$:/tags/twsr" and any other 
> tags that match subjects you want to study. That tiddler will then show a 
> interface for you to be able to review/add/grade "cards" that match the 
> tags you have supplied.
>
> In the example linked to above, i've tagged the example tiddler with 一画, 
> 二画, 三画, 四画 & 五画 (1 stroke, 2 strokes, ...5 strokes in english) so any 
> Japanese characters  matching these number of stokes are possible 
> candidates for revision in this tiddler. They will not be added however 
> unless you click the cog icon and select +1,+5,+10 which will  the selected 
> number of cards to the scheduler.
>
> lastly, you can add a <$question>... segment to a tiddler 
> which will be hidden when viewing the tiddler normally, but when appearing 
> in a scheduled card within a twsr tiddler will be shown instead of the main 
> contents. When the user clicks "show answer" the main contents will be 
> displayed. If there is no question segment the main contents will be 
> displayed by default.
>
>
> [image: 無題.png]
>
>
> Thanks!
> James
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63dfdce3-3258-4c47-b84b-13afd570e004n%40googlegroups.com.


[tw5] Tiddly Wiki Spaced Repetition Plugin

2021-05-24 Thread James Anderson
This is my, first pass, attempt at providing a very basic Anki/Super Memo 
like functionality in Tiddlywiki. From a quick search It seems a few people 
have had similar ideas recently :)

https://github.com/welford/twsr
http://welford.github.io/kanji.html <- basic example

Setup is pretty simple. Tag a tiddler with "$:/tags/twsr" and any other 
tags that match subjects you want to study. That tiddler will then show a 
interface for you to be able to review/add/grade "cards" that match the 
tags you have supplied.

In the example linked to above, i've tagged the example tiddler with 一画, 
二画, 三画, 四画 & 五画 (1 stroke, 2 strokes, ...5 strokes in english) so any 
Japanese characters  matching these number of stokes are possible 
candidates for revision in this tiddler. They will not be added however 
unless you click the cog icon and select +1,+5,+10 which will  the selected 
number of cards to the scheduler.

lastly, you can add a <$question>... segment to a tiddler which 
will be hidden when viewing the tiddler normally, but when appearing in a 
scheduled card within a twsr tiddler will be shown instead of the main 
contents. When the user clicks "show answer" the main contents will be 
displayed. If there is no question segment the main contents will be 
displayed by default.


[image: 無題.png]


Thanks!
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55682cb6-b7ad-4ef5-aadd-f1da8af6eaf1n%40googlegroups.com.


[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-17 Thread James Anderson
to 
>>>>>> makeTranscludeWidget, setting the value of currentTiddler.
>>>>>>
>>>>>> On Sunday, May 16, 2021 at 11:49:13 PM UTC+2 Saq Imtiaz wrote:
>>>>>>
>>>>>>> I assume card is a DOM node. Did you create it? If so, have you 
>>>>>>> attached it to the document somewhere?
>>>>>>>
>>>>>>> A good approach, both for debugging and for asking for assistance, 
>>>>>>> is to create a minimal test case that illustrates the problem you are 
>>>>>>> facing.
>>>>>>>
>>>>>>> On Sunday, May 16, 2021 at 8:54:21 PM UTC+2 james.w@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Actually, this is still not quite right it seems:
>>>>>>>>
>>>>>>>> I have attached an example of this still not working.
>>>>>>>>
>>>>>>>> I have a template tiddler:
>>>>>>>>
>>>>>>>> ```
>>>>>>>> created: 20210502165510840
>>>>>>>> modified: 20210502165528840
>>>>>>>> title: template_example
>>>>>>>>
>>>>>>>> | !transcluded title|  <$list filter="[list[!!title]]"><$view 
>>>>>>>> field="title"/>  |
>>>>>>>> ```
>>>>>>>>
>>>>>>>> and a tiddler referencing this:
>>>>>>>>
>>>>>>>> ```
>>>>>>>> created: 20210502165510840
>>>>>>>> modified: 20210502165528840
>>>>>>>> twsr_interval: 20210504165528840
>>>>>>>> tags: fruit
>>>>>>>> title: banana
>>>>>>>>
>>>>>>>> {{||template_example}}
>>>>>>>> ```
>>>>>>>>
>>>>>>>> then in my widget i try to render the "banana" tiddler into a div i 
>>>>>>>> have created called card:
>>>>>>>>
>>>>>>>> ```
>>>>>>>>
>>>>>>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document, 
>>>>>>>> mode:"block", recursionMarker:"yes" });
>>>>>>>> card.innerHTML = "";
>>>>>>>> t.render(card,null);
>>>>>>>> ```
>>>>>>>>
>>>>>>>> but it seems the transclusion is incorrect somehow, any ideas? 
>>>>>>>>
>>>>>>>> [image: キャプチャ.PNG]
>>>>>>>>
>>>>>>>>
>>>>>>>> On Monday, 10 May 2021 at 21:45:46 UTC+1 James Anderson wrote:
>>>>>>>>
>>>>>>>>> thanks again.
>>>>>>>>>
>>>>>>>>> For future google searchers:
>>>>>>>>>
>>>>>>>>> ```
>>>>>>>>> var target = _this.document.createElement("div");
>>>>>>>>> var tiddler = "the name of the tiddler you want to transclude";
>>>>>>>>> ..
>>>>>>>>>
>>>>>>>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document});
>>>>>>>>> target.innerHTML = "";
>>>>>>>>> t.render( target, null);
>>>>>>>>> ```
>>>>>>>>>
>>>>>>>>> On Monday, 10 May 2021 at 21:35:09 UTC+1 saq.i...@gmail.com wrote:
>>>>>>>>>
>>>>>>>>>> I recommend looking at the source code for that method, as well 
>>>>>>>>>> as how it is used other places in the core. Either use grep on the 
>>>>>>>>>> command 
>>>>>>>>>> line, or the github search is actually pretty good: 
>>>>>>>>>> https://github.com/Jermolene/TiddlyWiki5/search?q=makeTranscludeWidget
>>>>>>>>>>
>>>>>>>>>>  If you get stuck and still can't figure it out, please post the 
>>>>>>>>>> code for your widget.
>>>>>>>>>>
>>>>>>>

[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-17 Thread James Anderson
hey Tones,

I wasn't sure of the split. i guessed TW dev was for people developing the 
core TW, but if it's for any devs using it to create plugins and so on I 
can definitely take similar questions there.

Thanks,
James

On Monday, 17 May 2021 at 00:47:21 UTC+1 TW Tones wrote:

> Folks esp James.
>
> It seems to me such threads as this one belong in the dev discussions. I 
> see an increasing number being posted that would be better not in the user 
> group. The reason is if we want to subscribe too many conversations are not 
> only not relevant to use4rs but it could scare people off, if they think 
> they need eventually need to understand this. Whilst the deve GG still 
> exists https://groups.google.com/g/tiddlywikidev it is recommended you 
> move to GitHub discussions 
> https://github.com/Jermolene/TiddlyWiki5/discussions.
>
> Not withstanding the above many times someone starts referring to 
> Javascript they are coders who are not utilising tiddlywiki existing 
> features to get things done and are reverting to Javascript unnecessarily.
>
> I am starting the Sydney TWIG and hoping for an influx of new users. Its 
> hard to argue tiddlywiki is democratising tech if to new users its full of 
> indecipherable code (from their viewpoint).  Monitoring the GG is a good 
> way to learn if you are a newcomer.
>
> Your thoughts please.
> Tones
>
>
> On Monday, 17 May 2021 at 09:23:27 UTC+10 joshua@gmail.com wrote:
>
>> When the TW parser unpacks {{banana}} it renders the same widget nodes as:
>> ```
>> <$tiddler tiddler="banana">
>> <$transclude tiddler=<> field="text"/>
>> 
>> ```
>>
>> In order for your widget to invoke the same widget nodes, it has to set 
>> the <> variable to the same tiddler you are transcluding.
>>
>> Best,
>> Joshua Fontany
>>
>> On Sunday, May 16, 2021 at 3:11:48 PM UTC-7 james.w@gmail.com wrote:
>>
>>> yeah the attached example is a minimal tiddlwyiki with a custom midget 
>>> showing the problem. Surely some other widgets out there are doing custom 
>>> transclusions. 
>>>
>>> basically in wiki text {{banana}} works within another tiddler
>>>
>>> But the js / widget code i have is not right, it does seem to be picking 
>>> up the template that banana is using, but not the values from within banana 
>>> that normally populate that template. It is using a DOM node i created from 
>>> the document, 
>>>
>>> Sounds like it might be the variables thing you mentioned. How do i get 
>>> a variables hashmap from a given tiddler?
>>>
>>> On Sunday, 16 May 2021 at 23:01:14 UTC+1 saq.i...@gmail.com wrote:
>>>
>>>> Also if you want to transclude a tiddler literally and not as a 
>>>> template, try passing a variables hashmap as part of options to 
>>>> makeTranscludeWidget, setting the value of currentTiddler.
>>>>
>>>> On Sunday, May 16, 2021 at 11:49:13 PM UTC+2 Saq Imtiaz wrote:
>>>>
>>>>> I assume card is a DOM node. Did you create it? If so, have you 
>>>>> attached it to the document somewhere?
>>>>>
>>>>> A good approach, both for debugging and for asking for assistance, is 
>>>>> to create a minimal test case that illustrates the problem you are facing.
>>>>>
>>>>> On Sunday, May 16, 2021 at 8:54:21 PM UTC+2 james.w@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Actually, this is still not quite right it seems:
>>>>>>
>>>>>> I have attached an example of this still not working.
>>>>>>
>>>>>> I have a template tiddler:
>>>>>>
>>>>>> ```
>>>>>> created: 20210502165510840
>>>>>> modified: 20210502165528840
>>>>>> title: template_example
>>>>>>
>>>>>> | !transcluded title|  <$list filter="[list[!!title]]"><$view 
>>>>>> field="title"/>  |
>>>>>> ```
>>>>>>
>>>>>> and a tiddler referencing this:
>>>>>>
>>>>>> ```
>>>>>> created: 20210502165510840
>>>>>> modified: 20210502165528840
>>>>>> twsr_interval: 20210504165528840
>>>>>> tags: fruit
>>>>>> title: banana
>>>>>>
>>>>>> {{||template_example}}
>>>>>> ```
>>>>>>
>&

[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-16 Thread James Anderson
yeah the attached example is a minimal tiddlwyiki with a custom midget 
showing the problem. Surely some other widgets out there are doing custom 
transclusions. 

basically in wiki text {{banana}} works within another tiddler

But the js / widget code i have is not right, it does seem to be picking up 
the template that banana is using, but not the values from within banana 
that normally populate that template. It is using a DOM node i created from 
the document, 

Sounds like it might be the variables thing you mentioned. How do i get a 
variables hashmap from a given tiddler?

On Sunday, 16 May 2021 at 23:01:14 UTC+1 saq.i...@gmail.com wrote:

> Also if you want to transclude a tiddler literally and not as a template, 
> try passing a variables hashmap as part of options to makeTranscludeWidget, 
> setting the value of currentTiddler.
>
> On Sunday, May 16, 2021 at 11:49:13 PM UTC+2 Saq Imtiaz wrote:
>
>> I assume card is a DOM node. Did you create it? If so, have you attached 
>> it to the document somewhere?
>>
>> A good approach, both for debugging and for asking for assistance, is to 
>> create a minimal test case that illustrates the problem you are facing.
>>
>> On Sunday, May 16, 2021 at 8:54:21 PM UTC+2 james.w@gmail.com wrote:
>>
>>> Actually, this is still not quite right it seems:
>>>
>>> I have attached an example of this still not working.
>>>
>>> I have a template tiddler:
>>>
>>> ```
>>> created: 20210502165510840
>>> modified: 20210502165528840
>>> title: template_example
>>>
>>> | !transcluded title|  <$list filter="[list[!!title]]"><$view 
>>> field="title"/>  |
>>> ```
>>>
>>> and a tiddler referencing this:
>>>
>>> ```
>>> created: 20210502165510840
>>> modified: 20210502165528840
>>> twsr_interval: 20210504165528840
>>> tags: fruit
>>> title: banana
>>>
>>> {{||template_example}}
>>> ```
>>>
>>> then in my widget i try to render the "banana" tiddler into a div i have 
>>> created called card:
>>>
>>> ```
>>>
>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document, 
>>> mode:"block", recursionMarker:"yes" });
>>> card.innerHTML = "";
>>> t.render(card,null);
>>> ```
>>>
>>> but it seems the transclusion is incorrect somehow, any ideas? 
>>>
>>> [image: キャプチャ.PNG]
>>>
>>>
>>> On Monday, 10 May 2021 at 21:45:46 UTC+1 James Anderson wrote:
>>>
>>>> thanks again.
>>>>
>>>> For future google searchers:
>>>>
>>>> ```
>>>> var target = _this.document.createElement("div");
>>>> var tiddler = "the name of the tiddler you want to transclude";
>>>> ..
>>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document});
>>>> target.innerHTML = "";
>>>> t.render( target, null);
>>>> ```
>>>>
>>>> On Monday, 10 May 2021 at 21:35:09 UTC+1 saq.i...@gmail.com wrote:
>>>>
>>>>> I recommend looking at the source code for that method, as well as how 
>>>>> it is used other places in the core. Either use grep on the command line, 
>>>>> or the github search is actually pretty good: 
>>>>> https://github.com/Jermolene/TiddlyWiki5/search?q=makeTranscludeWidget
>>>>>
>>>>>  If you get stuck and still can't figure it out, please post the code 
>>>>> for your widget.
>>>>>
>>>>>
>>>>> On Monday, May 10, 2021 at 10:27:17 PM UTC+2 james.w@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> what does $tw.wiki.makeTranscludeWidget("fig"); actually return?  
>>>>>> what should i be setting the contents of my DOM node to with the object 
>>>>>> returned from this?
>>>>>>
>>>>>> Thanks,
>>>>>> James
>>>>>>
>>>>>> On Monday, 10 May 2021 at 13:56:31 UTC+1 saq.i...@gmail.com wrote:
>>>>>>
>>>>>>> Make a parse tree including a transclude widget or look at the 
>>>>>>> wiki.makeTranscludeWidget method.
>>>>>>>
>>>>>>>
>>>>>>> On Monday, May 10, 2021 at 2:32:03 PM 

[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-10 Thread James Anderson
thanks again.

For future google searchers:

```
var target = _this.document.createElement("div");
var tiddler = "the name of the tiddler you want to transclude";
..
var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document});
target.innerHTML = "";
t.render( target, null);
```

On Monday, 10 May 2021 at 21:35:09 UTC+1 saq.i...@gmail.com wrote:

> I recommend looking at the source code for that method, as well as how it 
> is used other places in the core. Either use grep on the command line, or 
> the github search is actually pretty good: 
> https://github.com/Jermolene/TiddlyWiki5/search?q=makeTranscludeWidget
>
>  If you get stuck and still can't figure it out, please post the code for 
> your widget.
>
>
> On Monday, May 10, 2021 at 10:27:17 PM UTC+2 james.w@gmail.com wrote:
>
>> Thanks,
>>
>> what does $tw.wiki.makeTranscludeWidget("fig"); actually return?  what 
>> should i be setting the contents of my DOM node to with the object returned 
>> from this?
>>
>> Thanks,
>> James
>>
>> On Monday, 10 May 2021 at 13:56:31 UTC+1 saq.i...@gmail.com wrote:
>>
>>> Make a parse tree including a transclude widget or look at the 
>>> wiki.makeTranscludeWidget method.
>>>
>>>
>>> On Monday, May 10, 2021 at 2:32:03 PM UTC+2 james.w@gmail.com wrote:
>>>
>>>> in a tiddler {{fig}} works transcluded into another widget, so i guess 
>>>> i'm asking : what it the widget way of performing/rendering a transclusion?
>>>>
>>>> On Sunday, 9 May 2021 at 19:24:54 UTC+1 James Anderson wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to render a tiddler within another tiddler via a widget. I 
>>>>> have attached a basic example in which i have a widget "twsr" which will 
>>>>> schedule tiddlers, that match the tags in the parent tiddler, to be shown 
>>>>> in the parent for the user to grade (basically a cersion of 
>>>>> https://en.wikipedia.org/wiki/SuperMemo in TW)
>>>>>
>>>>> In this case i have tiddler "study fruits" which is tagged "fruit" and 
>>>>> "veg" it should pick up any other tiddlers tagged with these and show 
>>>>> them 
>>>>> in "study fruits" one by one for grading. In this example the first one 
>>>>> it 
>>>>> will show is the "figs" tiddler.
>>>>>
>>>>> I'm calling "var cnt = $tw.wiki.renderTiddler("text/html", tiddler);" 
>>>>> in the twsr widget to render the tiddler.
>>>>>
>>>>> "fig" uses "Fruit Template" tiddler which is a simple tiddler 
>>>>> containing:
>>>>>
>>>>> <$view field="title"/>
>>>>>
>>>>> If i view fig individually i see what i expect. However rendering 
>>>>> "fig" via $tw.wiki.renderTiddler("text/html", tiddler); in "Study Fruits" 
>>>>> is not what i expect (basically the title via the view field is missing) 
>>>>> What is the correct way to do this?
>>>>>
>>>>> Thanks
>>>>> James
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6dbaf68b-2d42-46cb-a33c-87e6ba486d83n%40googlegroups.com.


[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-10 Thread James Anderson
Thanks,

what does $tw.wiki.makeTranscludeWidget("fig"); actually return?  what 
should i be setting the contents of my DOM node to with the object returned 
from this?

Thanks,
James

On Monday, 10 May 2021 at 13:56:31 UTC+1 saq.i...@gmail.com wrote:

> Make a parse tree including a transclude widget or look at the 
> wiki.makeTranscludeWidget method.
>
>
> On Monday, May 10, 2021 at 2:32:03 PM UTC+2 james.w@gmail.com wrote:
>
>> in a tiddler {{fig}} works transcluded into another widget, so i guess 
>> i'm asking : what it the widget way of performing/rendering a transclusion?
>>
>> On Sunday, 9 May 2021 at 19:24:54 UTC+1 James Anderson wrote:
>>
>>> Hello,
>>>
>>> I'm trying to render a tiddler within another tiddler via a widget. I 
>>> have attached a basic example in which i have a widget "twsr" which will 
>>> schedule tiddlers, that match the tags in the parent tiddler, to be shown 
>>> in the parent for the user to grade (basically a cersion of 
>>> https://en.wikipedia.org/wiki/SuperMemo in TW)
>>>
>>> In this case i have tiddler "study fruits" which is tagged "fruit" and 
>>> "veg" it should pick up any other tiddlers tagged with these and show them 
>>> in "study fruits" one by one for grading. In this example the first one it 
>>> will show is the "figs" tiddler.
>>>
>>> I'm calling "var cnt = $tw.wiki.renderTiddler("text/html", tiddler);" in 
>>> the twsr widget to render the tiddler.
>>>
>>> "fig" uses "Fruit Template" tiddler which is a simple tiddler containing:
>>>
>>> <$view field="title"/>
>>>
>>> If i view fig individually i see what i expect. However rendering "fig" 
>>> via $tw.wiki.renderTiddler("text/html", tiddler); in "Study Fruits" is not 
>>> what i expect (basically the title via the view field is missing) What is 
>>> the correct way to do this?
>>>
>>> Thanks
>>> James
>>>
>>>
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7808b4b0-002f-4e59-ac0d-09b170abfdeen%40googlegroups.com.


[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-10 Thread James Anderson
in a tiddler {{fig}} works transcluded into another widget, so i guess i'm 
asking : what it the widget way of performing/rendering a transclusion?

On Sunday, 9 May 2021 at 19:24:54 UTC+1 James Anderson wrote:

> Hello,
>
> I'm trying to render a tiddler within another tiddler via a widget. I have 
> attached a basic example in which i have a widget "twsr" which will 
> schedule tiddlers, that match the tags in the parent tiddler, to be shown 
> in the parent for the user to grade (basically a cersion of 
> https://en.wikipedia.org/wiki/SuperMemo in TW)
>
> In this case i have tiddler "study fruits" which is tagged "fruit" and 
> "veg" it should pick up any other tiddlers tagged with these and show them 
> in "study fruits" one by one for grading. In this example the first one it 
> will show is the "figs" tiddler.
>
> I'm calling "var cnt = $tw.wiki.renderTiddler("text/html", tiddler);" in 
> the twsr widget to render the tiddler.
>
> "fig" uses "Fruit Template" tiddler which is a simple tiddler containing:
>
> <$view field="title"/>
>
> If i view fig individually i see what i expect. However rendering "fig" 
> via $tw.wiki.renderTiddler("text/html", tiddler); in "Study Fruits" is not 
> what i expect (basically the title via the view field is missing) What is 
> the correct way to do this?
>
> Thanks
> James
>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba632cc5-3cd3-423d-bfc2-2db57aa8f13bn%40googlegroups.com.


Re: [tw5] twexe (the plugin) update

2021-05-04 Thread James Anderson
https://en.wikipedia.org/wiki/HTML_Application

It's asscoiated with Windows rather than IE (it probably uses some IE or 
edge stuff under the hood, but you don't need IE installed to use it iirc)

if you rename an html file to .hta on windows you get elevated permissions 
that a web page wouldn't normally have. This is powerful but potentially 
dangerous (i'd only ever use it for my own tiddlywikis) 

by default a tw running from hta can save to itself with no plugins 
required. With my plugin it can run other executables (my plugin is also 
safe for browser versions, it just won't attempt to do anything in that 
case)

Also I * think * my plugin predates twexe the app :D


On Tuesday, 4 May 2021 at 15:45:02 UTC+1 Mark S. wrote:

> What is meant by a "hta" type file? Do all browsers support it? I had the 
> notion that it was associated with Internet Explorer. Support for IE is 
> supposed to end this summer.
>
> I was confused by the name at first, because  there is an existing product 
> called "twexe" which bundles up TW files into executables.
>
> Thanks!
>
> On Tuesday, May 4, 2021 at 6:36:43 AM UTC-7 Mohammad wrote:
>
>> James,
>>  This is one of great tools which will always be useful! 
>>  
>>   Thank you very much for the update!
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, May 4, 2021 at 5:01 PM James Anderson  
>> wrote:
>>
>>> Incase any windows/hta users still use this:
>>>
>>> I've updated this plugin. the source is here: 
>>> https://github.com/welford/twexe and you can grab a copy of the updated 
>>> plugin from http://welford.github.io/
>>>
>>> The big change is that you can run the contents of a tiddler as a batch 
>>> file, which should help keep things portable (between machines / 
>>> environments, not cross platform). 
>>>
>>> It will create a temporary twexe.bat file in %TEMP% fill it with the 
>>> contents of the tiddler and then run it. You can change the default 
>>> temporary location via  $:/plugins/welford/twexe/tmpdir
>>>
>>> in the attached image i have two examples, one will run my local node.js 
>>> tw, the other just an example batch file that prints hello and the first 
>>> arg passed to 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/49e93d80-9a3e-449e-bbd4-9a007b0782dcn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/49e93d80-9a3e-449e-bbd4-9a007b0782dcn%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69fab1b3-3742-45a8-be37-7fadf9e658c0n%40googlegroups.com.


[tw5] twexe (the plugin) update

2021-05-04 Thread James Anderson
Incase any windows/hta users still use this:

I've updated this plugin. the source is here: 
https://github.com/welford/twexe and you can grab a copy of the updated 
plugin from http://welford.github.io/

The big change is that you can run the contents of a tiddler as a batch 
file, which should help keep things portable (between machines / 
environments, not cross platform). 

It will create a temporary twexe.bat file in %TEMP% fill it with the 
contents of the tiddler and then run it. You can change the default 
temporary location via  $:/plugins/welford/twexe/tmpdir

in the attached image i have two examples, one will run my local node.js 
tw, the other just an example batch file that prints hello and the first 
arg passed to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49e93d80-9a3e-449e-bbd4-9a007b0782dcn%40googlegroups.com.


[tw5] Re: filter to get tiddlers newer than a given date

2021-05-04 Thread James Anderson
thanks Tones, that is also useful!

On Tuesday, 4 May 2021 at 09:46:56 UTC+1 TW Tones wrote:

> James,
>
> You can also use the days operator, but it is a little tricky to use.
>
> Tones
>
> On Tuesday, 4 May 2021 at 18:22:21 UTC+10 james.w@gmail.com wrote:
>
>>
>> Thanks! This seems to be what i am after :)
>> On Tuesday, 4 May 2021 at 09:01:28 UTC+1 saq.i...@gmail.com wrote:
>>
>>> Try this:
>>>
>>> [all[tiddlers]] :filter[get[modified]compare:date:gt[2021]]
>>>
>>> On Tuesday, May 4, 2021 at 9:09:42 AM UTC+2 james.w@gmail.com wrote:
>>>
 Hey Mark,

 that doesn't seem to work in the advances search filters tab (see 
 attachment) I assume it won't work with $tw.wiki.filterTiddlers in a 
 plugin 
 either.

 >TW Tones
 if you put this into the seach box in the image i attached hopefully 
 it's clearer [all[tiddlers]get[modified]compare:date:gt[2021]] 

 I would just like a way to return a list of tiddlers older or newer 
 than a given date (though the date might be a custom field in the future)

 Thanks

 James




 On Tuesday, 4 May 2021 at 03:30:17 UTC+1 Mark S. wrote:

> You need the "filter" operator which is actually a subfilter operator. 
> It requires you to pre-specify the inner filter with a variable:
>
> <$vars myfilt="[get[modified]compare:date:gt[2021]]">
> <]">>
> 
>
>
>
> On Monday, May 3, 2021 at 3:56:30 PM UTC-7 james.w@gmail.com 
> wrote:
>
>> Hello,
>>
>> I've tried [all[tiddlers]get[modified]compare:date:gt[2021]] in 
>> advanced search but this seems to give me links to tiddlers named after 
>> modified field
>>
>> eventually would like to do this in a plugin via 
>> $tw.wiki.filterTiddlers, is there a way to do this in the advanced 
>> search 
>> on the filters tab? If nto what is the best way to do this in a widget?
>>
>>
>> thanks,
>> James
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d10a5990-cd40-46de-83b6-53279fdd9253n%40googlegroups.com.


[tw5] Re: filter to get tiddlers newer than a given date

2021-05-04 Thread James Anderson

Thanks! This seems to be what i am after :)
On Tuesday, 4 May 2021 at 09:01:28 UTC+1 saq.i...@gmail.com wrote:

> Try this:
>
> [all[tiddlers]] :filter[get[modified]compare:date:gt[2021]]
>
> On Tuesday, May 4, 2021 at 9:09:42 AM UTC+2 james.w@gmail.com wrote:
>
>> Hey Mark,
>>
>> that doesn't seem to work in the advances search filters tab (see 
>> attachment) I assume it won't work with $tw.wiki.filterTiddlers in a plugin 
>> either.
>>
>> >TW Tones
>> if you put this into the seach box in the image i attached hopefully it's 
>> clearer [all[tiddlers]get[modified]compare:date:gt[2021]] 
>>
>> I would just like a way to return a list of tiddlers older or newer than 
>> a given date (though the date might be a custom field in the future)
>>
>> Thanks
>>
>> James
>>
>>
>>
>>
>> On Tuesday, 4 May 2021 at 03:30:17 UTC+1 Mark S. wrote:
>>
>>> You need the "filter" operator which is actually a subfilter operator. 
>>> It requires you to pre-specify the inner filter with a variable:
>>>
>>> <$vars myfilt="[get[modified]compare:date:gt[2021]]">
>>> <]">>
>>> 
>>>
>>>
>>>
>>> On Monday, May 3, 2021 at 3:56:30 PM UTC-7 james.w@gmail.com wrote:
>>>
 Hello,

 I've tried [all[tiddlers]get[modified]compare:date:gt[2021]] in 
 advanced search but this seems to give me links to tiddlers named after 
 modified field

 eventually would like to do this in a plugin via 
 $tw.wiki.filterTiddlers, is there a way to do this in the advanced search 
 on the filters tab? If nto what is the best way to do this in a widget?


 thanks,
 James

>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0bfd3cc1-fc74-4654-9cce-2f41d7c3618bn%40googlegroups.com.


[tw5] Re: filter to get tiddlers newer than a given date

2021-05-04 Thread James Anderson
Hey Mark,

that doesn't seem to work in the advances search filters tab (see 
attachment) I assume it won't work with $tw.wiki.filterTiddlers in a plugin 
either.

>TW Tones
if you put this into the seach box in the image i attached hopefully it's 
clearer [all[tiddlers]get[modified]compare:date:gt[2021]] 

I would just like a way to return a list of tiddlers older or newer than a 
given date (though the date might be a custom field in the future)

Thanks

James




On Tuesday, 4 May 2021 at 03:30:17 UTC+1 Mark S. wrote:

> You need the "filter" operator which is actually a subfilter operator. It 
> requires you to pre-specify the inner filter with a variable:
>
> <$vars myfilt="[get[modified]compare:date:gt[2021]]">
> <]">>
> 
>
>
>
> On Monday, May 3, 2021 at 3:56:30 PM UTC-7 james.w@gmail.com wrote:
>
>> Hello,
>>
>> I've tried [all[tiddlers]get[modified]compare:date:gt[2021]] in advanced 
>> search but this seems to give me links to tiddlers named after modified 
>> field
>>
>> eventually would like to do this in a plugin via $tw.wiki.filterTiddlers, 
>> is there a way to do this in the advanced search on the filters tab? If nto 
>> what is the best way to do this in a widget?
>>
>>
>> thanks,
>> James
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/960fa264-96aa-4de5-816d-0dac2f7f8a8en%40googlegroups.com.


[tw5] filter to get tiddlers newer than a given date

2021-05-03 Thread James Anderson
Hello,

I've tried [all[tiddlers]get[modified]compare:date:gt[2021]] in advanced 
search but this seems to give me links to tiddlers named after modified 
field

eventually would like to do this in a plugin via $tw.wiki.filterTiddlers, 
is there a way to do this in the advanced search on the filters tab? If nto 
what is the best way to do this in a widget?


thanks,
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f157b35-0863-49d6-ad6d-d3dc2af293a9n%40googlegroups.com.


[tw5] Re: filter question

2021-04-11 Thread James Anderson
Thanks on both counts M.ark, the filter worked!

James

On Sunday, 11 April 2021 at 21:40:25 UTC+1 Mark S. wrote:

> Try:
>
> <$list filter="[tag[example]contains:rei{!!title}]"><$transclude 
> tiddler={{!!title}} mode=block/>
>
> Outside a filter,  transclusions use {{!!myfield}}  (double braces). 
> Inside a filter, they replace the square brackets ...{!!myfield}... (single 
> set of braces).
>
> You can use the regexp filter operator to match at pretty much any level 
> of detail.
>
>
>
> On Sunday, April 11, 2021 at 1:33:14 PM UTC-7 james.w@gmail.com wrote:
>
>> Hello,
>>
>> Probably quite a basic filter question:  I have a tiddler named "a" with 
>> this expression in it:
>>
>> <$list filter="[tag[example]contains:rei[a]]"><$transclude 
>> tiddler={{!!title}} mode=block/>
>>
>> And a couple of other tiddlers tagged "example" with a "rei" field that 
>> contains "a" and a few other entries. 
>>
>> This works as I would expect and the matching tiddlers are transcluded in 
>> tiddler "a", I would like to change this expression to something like these:
>>
>> <$list filter="[tag[example]contains:rei[!!title]]"><$transclude 
>> tiddler={{!!title}} mode=block/>
>> or 
>> <$list filter="[tag[example]contains:rei{{!!title}}]"><$transclude 
>> tiddler={{!!title}} mode=block/>
>>
>> So that I can transclude based on the field rei when it contains the 
>> title of the current tiddler but neither of these work. what is the correct 
>> syntax? is this possible?
>>
>> Also on a separate note is there a partial match filter. so I can find a 
>> partial match within a list or in a title e.g. wiki would match tiddlywiki
>>
>> Thanks,
>> James
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb27a42a-5bc8-4aaf-a8c1-58ecc36eeda2n%40googlegroups.com.


[tw5] filter question

2021-04-11 Thread James Anderson
Hello,

Probably quite a basic filter question:  I have a tiddler named "a" with 
this expression in it:

<$list filter="[tag[example]contains:rei[a]]"><$transclude 
tiddler={{!!title}} mode=block/>

And a couple of other tiddlers tagged "example" with a "rei" field that 
contains "a" and a few other entries. 

This works as I would expect and the matching tiddlers are transcluded in 
tiddler "a", I would like to change this expression to something like these:

<$list filter="[tag[example]contains:rei[!!title]]"><$transclude 
tiddler={{!!title}} mode=block/>
or 
<$list filter="[tag[example]contains:rei{{!!title}}]"><$transclude 
tiddler={{!!title}} mode=block/>

So that I can transclude based on the field rei when it contains the title 
of the current tiddler but neither of these work. what is the correct 
syntax? is this possible?

Also on a separate note is there a partial match filter. so I can find a 
partial match within a list or in a title e.g. wiki would match tiddlywiki

Thanks,
James


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06f415a0-f41f-4645-98e4-d4af8f4ee27en%40googlegroups.com.


Re: [tw5] --Load / plugins / tiddlywiki.info

2021-04-04 Thread James Anderson
Thanks Joshua and Jeremy.

Ended up going with what Jeremy suggested:

"""
tiddlywiki --load .\notes.hta --savewikifolder .\temp\blog
"""

then

"""
tiddlywiki  .\temp\blog --output .\blog --build css
tiddlywiki  .\temp\blog --output .\blog --build index
tiddlywiki  .\temp\blog --output .\blog --build framework
...
"""

I keep a separate TiddlyWiki folder that overrides a few things I want when 
exporting  (palette and theme changes) and copy it over the exported 
Tiddlywiki.

Thanks again,

James

On Monday, 29 March 2021 at 09:01:39 UTC+1 jeremy...@gmail.com wrote:

> Hi James
>
> Maybe I am just misremembering, but i thought having the plugins in the 
> file you load is ok. Is that not the case?  do they need to be in the 
> Node.js instance of TW? Is there any way around this?
>
>
> TiddlyWiki under Node.js will only load plugins on the server that are 
> either listed in the tiddlywiki.info file, or are in the "plugins" folder 
> of the wiki folder.
>
> So, it sounds like a better workflow might be to use two separate TW runs: 
> one to use the "savewikifolder" command to save your HTA wiki as a proper 
> wiki folder (complete with the plugins), and then a second one to boot that 
> wiki folder and run your blog commands.
>
> Best wishes
>
> Jeremy
>
>
>
> Thanks,
> James
>
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/84c4c1eb-ca9b-46fa-9937-2d8adfbcc158n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b14b4e6-5bd6-4963-916a-3288f9211586n%40googlegroups.com.


[tw5] --Load / plugins / tiddlywiki.info

2021-03-28 Thread James Anderson
Hello,

I have a TW called notes.hta that contains the following plugins:

"welford/twstaticblog/helper",
"welford/twstaticblog/export",
"welford/twyt",
"welford/twspimg"

however when I call this

```
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build posts
```

I am getting the error messages:

```
Warning: Cannot find plugin 'welford/twstaticblog/helper'
Warning: Cannot find plugin 'welford/twstaticblog/export'
Warning: Cannot find plugin 'welford/twyt'
Warning: Cannot find plugin 'welford/twspimg'
```

Presumably getting these because I have these plugins listed in my 
tiddlwyiki.info

Maybe I am just misremembering, but i thought having the plugins in the 
file you load is ok. Is that not the case?  do they need to be in the 
Node.js instance of TW? Is there any way around this?

Thanks,
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84c4c1eb-ca9b-46fa-9937-2d8adfbcc158n%40googlegroups.com.


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

2016-07-09 Thread James Anderson
probably before the condition after line 68 of getexportlink.js we could 
detect if it was a type you were likely to place at the root (e.g. a pdf 
file) and then not construct the path as below: 

finalLink = path_to_root + "data/";

James

On Saturday, 9 July 2016 19:32:45 UTC+1, James Anderson wrote:
>
>
> 1. Fixed : 
> https://github.com/welford/twstaticblog/commit/c2ac0ff9458a6b1964551d37b5450b122f3be585
>
> I didn't notice as a copy 
> of $:/plugins/welford/twstaticblog/helper/staticbanner was still in my TW
>
> 2. probably requires a change to getexportlink.js i'm about 1 year out of 
> touch with this code, maybe Jeremy or someone could give me a hint?
>
> Thanks,
> James 
>
>
>
> On Saturday, 9 July 2016 19:00:57 UTC+1, Pak Ruengrot wrote:
>>
>> Hi James,
>>
>> Thanks for your blog generation tool. I downloaded it from your github 
>> and it worked quite well, although with some bugs (I think)
>>
>>
>>1.  In this commit 
>>
>> <https://github.com/welford/twstaticblog/commit/e0da79ba19d7a2a72afc31ec06e79b8b5040b5b0>
>>  where 
>>you did a lot of renaming. Among them is the change from staticbanner 
>>to blog-banner. But in helper/template.tag.html.tid 
>>
>> <https://github.com/welford/twstaticblog/blob/4791a9b3a7af361e6482866e6a04b39a72071885/helper/template.tag.html.tid>
>> you are still using staticbanner, compared to other templates .tid 
>>files where you use blog-banner. This causes a banner in an individual 
>> tag 
>>page to disappear, as no such tiddler exists in the plugin folder.
>>2. In export/getexportlink.js 
>>
>> <https://github.com/welford/twstaticblog/blob/4791a9b3a7af361e6482866e6a04b39a72071885/export/getexportlink.js>,
>>  
>>a path to an individual post , is set to /mm/dd/post.html. However, 
>> if 
>>in post I link to a local file via [ext[file|file.pdf]], then when 
>> rendered 
>>this link is changed to /mm/dd/file.pdf. This link doesn't work 
>>(when viwed as a single page) as file.pdf is in the root of the blog 
>>    folder. This behaviour doesn't happen to [img[pic.jpg]] though even 
>> though 
>>pic.jpg is in the root of the blog folder
>>
>> Do you know how to fix the above issues?  
>>
>> Thanks,
>> Pak
>>
>>
>>
>> On Friday, July 8, 2016 at 12:07:07 AM UTC+7, James Anderson wrote:
>>>
>>> http://phasersonkill.com/tags.html
>>> http://phasersonkill.com/a-z.html
>>> http://phasersonkill.com/archived-articles.html
>>> http://phasersonkill.com/updated-articles.html
>>>
>>> My plugin/exporter generates* these. 
>>>
>>> *generates is the wrong word, by these tiddlers exist in my plugin and 
>>> my exporter picks them up and puts them in the correct place.
>>>
>>> On Thursday, 7 July 2016 17:44:18 UTC+1, Mat wrote:
>>>>
>>>> David, 
>>>>
>>>> note that you can actually export multiple tiddlers including a 
>>>> filtered set of  tiddlers via the Advanced Search -> Filter. Once you 
>>>> enter 
>>>> something into the search field, there's a (barely visible) export button 
>>>> to export the result. (IMO this feature is not located in a good place and 
>>>> it needs better control, e.g export river: I've also posted on related 
>>>> matters <https://github.com/Jermolene/TiddlyWiki5/issues/1687> on 
>>>> github.)
>>>>
>>>>
>>>>> 2) James' way also exports an updated tags page, an updated A-Z page, 
>>>>> and an updated 'Recent' page. Exporting as HTML is just the tiddler, 
>>>>> nothing more.
>>>>>
>>>>
>>>> Yes, that makes sense for a page. If there's a ToC, is this also 
>>>> updated/exported?
>>>>
>>>> <:-)
>>>>
>>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de7e502d-3988-4568-90cf-e0c7038a5bd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-09 Thread James Anderson

1. Fixed : 
https://github.com/welford/twstaticblog/commit/c2ac0ff9458a6b1964551d37b5450b122f3be585

I didn't notice as a copy 
of $:/plugins/welford/twstaticblog/helper/staticbanner was still in my TW

2. probably requires a change to getexportlink.js i'm about 1 year out of 
touch with this code, maybe Jeremy or someone could give me a hint?

Thanks,
James 



On Saturday, 9 July 2016 19:00:57 UTC+1, Pak Ruengrot wrote:
>
> Hi James,
>
> Thanks for your blog generation tool. I downloaded it from your github and 
> it worked quite well, although with some bugs (I think)
>
>
>1.  In this commit 
>
> <https://github.com/welford/twstaticblog/commit/e0da79ba19d7a2a72afc31ec06e79b8b5040b5b0>
>  where 
>you did a lot of renaming. Among them is the change from staticbanner 
>to blog-banner. But in helper/template.tag.html.tid 
>
> <https://github.com/welford/twstaticblog/blob/4791a9b3a7af361e6482866e6a04b39a72071885/helper/template.tag.html.tid>
> you are still using staticbanner, compared to other templates .tid 
>files where you use blog-banner. This causes a banner in an individual tag 
>page to disappear, as no such tiddler exists in the plugin folder.
>2. In export/getexportlink.js 
>
> <https://github.com/welford/twstaticblog/blob/4791a9b3a7af361e6482866e6a04b39a72071885/export/getexportlink.js>,
>  
>a path to an individual post , is set to /mm/dd/post.html. However, if 
>in post I link to a local file via [ext[file|file.pdf]], then when 
> rendered 
>this link is changed to /mm/dd/file.pdf. This link doesn't work 
>(when viwed as a single page) as file.pdf is in the root of the blog 
>folder. This behaviour doesn't happen to [img[pic.jpg]] though even though 
>pic.jpg is in the root of the blog folder
>
> Do you know how to fix the above issues?  
>
> Thanks,
> Pak
>
>
>
> On Friday, July 8, 2016 at 12:07:07 AM UTC+7, James Anderson wrote:
>>
>> http://phasersonkill.com/tags.html
>> http://phasersonkill.com/a-z.html
>> http://phasersonkill.com/archived-articles.html
>> http://phasersonkill.com/updated-articles.html
>>
>> My plugin/exporter generates* these. 
>>
>> *generates is the wrong word, by these tiddlers exist in my plugin and my 
>> exporter picks them up and puts them in the correct place.
>>
>> On Thursday, 7 July 2016 17:44:18 UTC+1, Mat wrote:
>>>
>>> David, 
>>>
>>> note that you can actually export multiple tiddlers including a filtered 
>>> set of  tiddlers via the Advanced Search -> Filter. Once you enter 
>>> something into the search field, there's a (barely visible) export button 
>>> to export the result. (IMO this feature is not located in a good place and 
>>> it needs better control, e.g export river: I've also posted on related 
>>> matters <https://github.com/Jermolene/TiddlyWiki5/issues/1687> on 
>>> github.)
>>>
>>>
>>>> 2) James' way also exports an updated tags page, an updated A-Z page, 
>>>> and an updated 'Recent' page. Exporting as HTML is just the tiddler, 
>>>> nothing more.
>>>>
>>>
>>> Yes, that makes sense for a page. If there's a ToC, is this also 
>>> updated/exported?
>>>
>>> <:-)
>>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/21153d43-1af2-45ac-b95b-96884f9d5347%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-07 Thread James Anderson
http://phasersonkill.com/tags.html
http://phasersonkill.com/a-z.html
http://phasersonkill.com/archived-articles.html
http://phasersonkill.com/updated-articles.html

my plugin/exporter generates these. 

On Thursday, 7 July 2016 17:44:18 UTC+1, Mat wrote:
>
> David, 
>
> note that you can actually export multiple tiddlers including a filtered 
> set of  tiddlers via the Advanced Search -> Filter. Once you enter 
> something into the search field, there's a (barely visible) export button 
> to export the result. (IMO this feature is not located in a good place and 
> it needs better control, e.g export river: I've also posted on related 
> matters  on github.)
>
>
>> 2) James' way also exports an updated tags page, an updated A-Z page, and 
>> an updated 'Recent' page. Exporting as HTML is just the tiddler, nothing 
>> more.
>>
>
> Yes, that makes sense for a page. If there's a ToC, is this also 
> updated/exported?
>
> <:-)
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74e0e9b1-425f-4dea-b327-d06c4295f581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

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

David, would you mind sharing your source TW file?

James

On Wednesday, 6 July 2016 01:54:58 UTC+1, Suzanne McHale wrote:
>
> Agreed - using Node.js to generate static files via the command line is 
> NOT beginner-friendly; I found it difficult to understand at first, and was 
> only able to do it after a few weeks of frustration (see earlier 
>  
> posts 
> ).
>
> On Wednesday, July 6, 2016 at 7:53:26 AM UTC+10, Josiah wrote:
>>
>> all
>>
>> this whole thing is vital
>>
>> this whole thing is a BLACK ART.
>>
>> its about as transparent as a FOG in a MIST.
>>
>> Josiah
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ed6fea6d-c1af-4fb8-a26d-b1000c273a60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-05 Thread James Anderson
Will try to take a look at this tomorrow, probably an issue with your
templates
2016/07/04 22:16 "David Gifford" <dgiff...@crcna.org>:

> Ok, James, here is an experimental site based on your website generator
>
> http://giffmex.org/moomoo/
>
> One last question: why does the CSS only apply to the framework and not to
> the individual posts? What might I have done wrong?
>
> Dave
>
>
>
> On Mon, Jul 4, 2016 at 3:07 PM, David Gifford <dgiff...@crcna.org> wrote:
>
>> ah never mind, I figured it out...put my file in the folder I
>> downloaded, change example.html to my filename in the .bat file, and
>> doubleclick the .bat file to run it.
>>
>> Sorry for my ignorance, a lot of this is new to me...
>>
>> Thank you very much, both for your help and for this great tool!
>> Dave
>>
>> On Mon, Jul 4, 2016 at 2:53 PM, David Gifford <dgiff...@crcna.org> wrote:
>>
>>> How does on "run a batch file"?
>>>
>>> On Mon, Jul 4, 2016 at 2:46 PM, James Anderson <
>>> james.w.ander...@gmail.com> wrote:
>>>
>>>> Briefly:
>>>>
>>>> > 3) Realized I needed to do this in node.js because it doesn't work
>>>> from a standalone TW5 file
>>>>
>>>> It works from a standalone file, or rather I have my blog and other
>>>> notes in a single page TW. it's called notes.hta (you can see this in the
>>>> batch file, it could be notes.html or whatever your TW is called). You will
>>>> need the nodejs TW just for the conversion. With both those present the
>>>> batch handles all the creation for you.
>>>>
>>>> My workflow is :
>>>>
>>>> 1. Write a tiddler and tag it "blog"
>>>> 2. Run the batch file.
>>>>
>>>> and that's it, so it's pretty simple when it is set up but the set up
>>>> is not friendly for newcomers.
>>>>
>>>> Will be around tomorrow or maybe  the day after if you need more help.
>>>>
>>>> James
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Monday, 4 July 2016 20:29:34 UTC+1, David Gifford wrote:
>>>>>
>>>>> Hi James
>>>>>
>>>>> Thanks for responding. My actual question is, what do I do to export
>>>>> the tiddlers? I am a novice at all this. What button do I push?
>>>>>
>>>>> Dave
>>>>>
>>>>> On Thursday, April 23, 2015 at 4:23:22 PM UTC-5, James Anderson wrote:
>>>>>>
>>>>>>
>>>>>> I've posted on here and on the tiddlywikidev side a few times with
>>>>>> questions regarding this before, This time is more of a show and tell as
>>>>>> i've had some time to clean up some of the code I was using to export
>>>>>> static sites with tiddlywiki.
>>>>>>
>>>>>> I have renamed the repo I was using and split it in two separate
>>>>>> plugins: https://github.com/welford/twstaticblog/  I have also
>>>>>> written a new post about how I am exporting using these plugins here:
>>>>>> http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
>>>>>>
>>>>>>
>>>>>> In short: the helper plugin (
>>>>>> https://github.com/welford/twstaticblog/tree/master/helper) resides
>>>>>> within my tiddlwiki and lets me customise  which posts to output,which 
>>>>>> tags
>>>>>> to add to the sitemap, which ones to hide etc etc  Also to some degree it
>>>>>> lets me alter the look of the webpage.
>>>>>>
>>>>>> The export (
>>>>>> https://github.com/welford/twstaticblog/tree/master/export) plugin
>>>>>> gets invoked when exporting and contains all the required templates and
>>>>>> viewtemplate changes to make the static site look how you want it to.
>>>>>>
>>>>>> www.phasersonkill.com is a working sample of an exported blog, I
>>>>>> have also uploaded a simpler example here
>>>>>> http://welford.github.io/static-sample/example.html which exports to
>>>>>> http://welford.github.io/static-sample/blog/index.html
>>>>>>
>>>>>> Finally I have updated some of my plugins to work with the static
>>>>>>

[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread James Anderson
Briefly:

> 3) Realized I needed to do this in node.js because it doesn't work from a 
standalone TW5 file

It works from a standalone file, or rather I have my blog and other notes 
in a single page TW. it's called notes.hta (you can see this in the batch 
file, it could be notes.html or whatever your TW is called). You will need 
the nodejs TW just for the conversion. With both those present the batch 
handles all the creation for you. 

My workflow is :

1. Write a tiddler and tag it "blog"
2. Run the batch file.

and that's it, so it's pretty simple when it is set up but the set up is 
not friendly for newcomers.

Will be around tomorrow or maybe  the day after if you need more help.

James






On Monday, 4 July 2016 20:29:34 UTC+1, David Gifford wrote:
>
> Hi James
>
> Thanks for responding. My actual question is, what do I do to export the 
> tiddlers? I am a novice at all this. What button do I push? 
>
> Dave
>
> On Thursday, April 23, 2015 at 4:23:22 PM UTC-5, James Anderson wrote:
>>
>>
>> I've posted on here and on the tiddlywikidev side a few times with 
>> questions regarding this before, This time is more of a show and tell as 
>> i've had some time to clean up some of the code I was using to export 
>> static sites with tiddlywiki.
>>
>> I have renamed the repo I was using and split it in two separate plugins: 
>> https://github.com/welford/twstaticblog/  I have also written a new post 
>> about how I am exporting using these plugins here: 
>> http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
>>  
>>
>> In short: the helper plugin (
>> https://github.com/welford/twstaticblog/tree/master/helper) resides 
>> within my tiddlwiki and lets me customise  which posts to output,which tags 
>> to add to the sitemap, which ones to hide etc etc  Also to some degree it 
>> lets me alter the look of the webpage.
>>
>> The export (https://github.com/welford/twstaticblog/tree/master/export) 
>> plugin gets invoked when exporting and contains all the required templates 
>> and viewtemplate changes to make the static site look how you want it to.
>>
>> www.phasersonkill.com is a working sample of an exported blog, I have 
>> also uploaded a simpler example here 
>> http://welford.github.io/static-sample/example.html which exports to 
>> http://welford.github.io/static-sample/blog/index.html
>>
>> Finally I have updated some of my plugins to work with the static export 
>> feature https://github.com/welford/twspimg lets me display partial 
>> images as the background-image of a span element, and 
>> https://github.com/welford/twyt lets me embed yt videos and created 
>> links to specific times within the video. http://welford.github.io/ has 
>> a few examples and  other plugins also!
>>
>> Thanks for reading!
>>
>> James
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e5f720da-f707-448b-b820-b49c6612efbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Static Website Generation

2016-07-04 Thread James Anderson
The link died because i found a bug in my export code which caused the 
creation date of the article to change depending on the exporting computers 
timezone:

http://phasersonkill.com/2015/04/23/creating-a-static-webpage-using-tiddlywiki.html

My export batch file looks like this:

=

REM @echo off

echo Exporting Blog...

echo exporting general posts==
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build posts

echo exporting framework posts
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build framework

echo exporting framework TAG posts
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build tag

echo exporting index posts
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build index

echo exporting CSS
call tiddlywiki .\tw --load .\notes.hta --output .\blog --build css

pause 

=

I hope this helps. I will be updating my local TW to the latest version 
soon and seeing how well my export plugins have held up. so i should be 
around if you have any more questions.

Regards,

James

On Monday, 4 July 2016 19:22:04 UTC+1, David Gifford wrote:
>
> Okay, so 
>
> 1) I found the phasersonkill instructions (a dead link, but I went to the 
> general site and found the instructions there.
> 2) Figured out how to download the tiddlers from Github and get them into 
> a standalone  TW5, and played with it
> 3) Realized I needed to do this in node.js because it doesn't work from a 
> standalone TW5 file
> 4) Downloaded node.js and got a TW running
> 5) Imported the tiddlers from the standalone to the node.js version
>
> After all that, I am still stuck because I have no idea how to export the 
> tiddlers to statics. There is one cryptic reference to "run the export 
> batch file" in the instructions, but how do I do that?
>
> Dave
>
> On Thursday, April 23, 2015 at 4:23:22 PM UTC-5, James Anderson wrote:
>>
>>
>> I've posted on here and on the tiddlywikidev side a few times with 
>> questions regarding this before, This time is more of a show and tell as 
>> i've had some time to clean up some of the code I was using to export 
>> static sites with tiddlywiki.
>>
>> I have renamed the repo I was using and split it in two separate plugins: 
>> https://github.com/welford/twstaticblog/  I have also written a new post 
>> about how I am exporting using these plugins here: 
>> http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
>>  
>>
>> In short: the helper plugin (
>> https://github.com/welford/twstaticblog/tree/master/helper) resides 
>> within my tiddlwiki and lets me customise  which posts to output,which tags 
>> to add to the sitemap, which ones to hide etc etc  Also to some degree it 
>> lets me alter the look of the webpage.
>>
>> The export (https://github.com/welford/twstaticblog/tree/master/export) 
>> plugin gets invoked when exporting and contains all the required templates 
>> and viewtemplate changes to make the static site look how you want it to.
>>
>> www.phasersonkill.com is a working sample of an exported blog, I have 
>> also uploaded a simpler example here 
>> http://welford.github.io/static-sample/example.html which exports to 
>> http://welford.github.io/static-sample/blog/index.html
>>
>> Finally I have updated some of my plugins to work with the static export 
>> feature https://github.com/welford/twspimg lets me display partial 
>> images as the background-image of a span element, and 
>> https://github.com/welford/twyt lets me embed yt videos and created 
>> links to specific times within the video. http://welford.github.io/ has 
>> a few examples and  other plugins also!
>>
>> Thanks for reading!
>>
>> James
>>
>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/abf5285b-de7b-4855-91ff-0d39f4a59ac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-04-27 Thread James Anderson
Feel free to use/edit any of those plugins Florian :)

On Monday, 27 April 2015 23:51:37 UTC+9, Florian Cauvin wrote:

 Hello,
 I'm interested in using TiddlyWiki for creating a small static personal 
 website and I'm very impressed by the work that James Anderson is showing 
 here.
 I will try to also make my site, generating it from TiddlyWiki running on 
 Node.js.

 Jame has obvisouly done a lot of customization and even coded his own 
 plugins.
 Personally, I aim for something far simpler.
 I will report my progess in this forum (if there's no objection for me 
 doing so)

 Best Regards,
 Florian


 On Saturday, April 25, 2015 at 11:12:43 AM UTC+3, Jeremy Ruston wrote:

 Hi James

 On Sat, Apr 25, 2015 at 9:10 AM, James Anderson james.w@gmail.com 
 wrote:

 It looks like dullroar is no longer using TW to generate the site 
 http://dullroar.com/new-look.html


 Yes, I saw that; it's still worth reviewing the work that Jim did, I 
 think.

 Best wishes

 Jeremy

  



 On Saturday, 25 April 2015 16:54:02 UTC+9, Jeremy Ruston wrote:

 Hi James

 Great to see how far you've got, dullroar.com looks very good to me.

 Your post reminded me that it is perhaps time that we tried to fold 
 decent static site generation support into the core. I've created a ticket 
 here:

 https://github.com/Jermolene/TiddlyWiki5/issues/1676

 Best wishes

 Jeremy.


 On Sat, Apr 25, 2015 at 7:45 AM, James Anderson james.w@gmail.com 
 wrote:

 The tags are just buttons wrapped in a elements, which is all 
 handled automatically by the static exporter. 

 There are some programmer hooks in the static exporter which let me 
 change the links at run time. I run over all the links and remove any 
 spaces (and some other characters( when i generate the site.If you are 
 not 
 a programmmer this might not mean much to you, but in 
 https://github.com/welford/twstaticblog/tree/master/export 
 getexportlink,js 
 and getexportpath,js do this work.


 James
  

 On Saturday, 25 April 2015 09:08:48 UTC+9, Suzanne McHale wrote:

 Couple of questions (I'm interested in static site generation for my 
 TW too, but am not a programmer!) - how did you make the tag buttons 
 clickable without needing Javascript (that I can see)? Also replace the 
 spaces in TW urls with dashes - can this be done automatically?

  -- 
 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.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com
  
 https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 -- 
 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06b0bf23-f11e-44a5-9a38-5dc5255a3218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] A start on a theme for mobile devices (and yet another task list idea)

2015-04-25 Thread James Anderson
feel free to steal :)

I tried out transcluding buttons in the top search results 
- http://welford.github.io/ 

On Sunday, 26 April 2015 02:21:33 UTC+9, Jed Carty wrote:

 Thank you both for the feedback! It is very helpful.

 I think I am going to remove the option to turn the menus on and off and 
 just have the option to turn off the icons and turn the background 
 transparent instead. And instead of having an option to remove the control 
 panel icon I will just make it so that you can only change its location. I 
 should probably modify a lot about the icon menus since it is a part of the 
 theme instead of something added on top of the existing theme. And I will 
 probably set things so that there is one of each icon and you decide which 
 menu, if any, to put it on, instead of picking from all of the icons for 
 each menu since with the smaller space you probably won't want any 
 duplicates.

 I think that the problems from the size of the top bar are because the 
 title is too long. I don't think that there is a fix for that other than 
 either removing the title from the bar (I will have an option for that) or 
 having a shorter title.

 And James,

 Your theme looks good, I may have to shamelessly steal borrow some of the 
 ideas. I really like your search. I will probably add that as an option on 
 the top bar of mine.

 Thanks 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf0a380e-aba3-437e-b92b-f0dd86ea48ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] A start on a theme for mobile devices (and yet another task list idea)

2015-04-25 Thread James Anderson
The screen needs to be small enough so that the sidebar gets hidden for the 
 buttons to show in the search.

James

On Sunday, 26 April 2015 04:10:33 UTC+9, James Anderson wrote:

 feel free to steal :)

 I tried out transcluding buttons in the top search results - 
 http://welford.github.io/ 

 On Sunday, 26 April 2015 02:21:33 UTC+9, Jed Carty wrote:

 Thank you both for the feedback! It is very helpful.

 I think I am going to remove the option to turn the menus on and off and 
 just have the option to turn off the icons and turn the background 
 transparent instead. And instead of having an option to remove the control 
 panel icon I will just make it so that you can only change its location. I 
 should probably modify a lot about the icon menus since it is a part of the 
 theme instead of something added on top of the existing theme. And I will 
 probably set things so that there is one of each icon and you decide which 
 menu, if any, to put it on, instead of picking from all of the icons for 
 each menu since with the smaller space you probably won't want any 
 duplicates.

 I think that the problems from the size of the top bar are because the 
 title is too long. I don't think that there is a fix for that other than 
 either removing the title from the bar (I will have an option for that) or 
 having a shorter title.

 And James,

 Your theme looks good, I may have to shamelessly steal borrow some of 
 the ideas. I really like your search. I will probably add that as an option 
 on the top bar of mine.

 Thanks 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9552f75b-bb73-43fc-b70b-8db7cd360434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Static Website Generation

2015-04-25 Thread James Anderson
The tags are just buttons wrapped in a elements, which is all handled 
automatically by the static exporter. 

There are some programmer hooks in the static exporter which let me change 
the links at run time. I run over all the links and remove any spaces (and 
some other characters( when i generate the site.If you are not a 
programmmer this might not mean much to you, but in 
https://github.com/welford/twstaticblog/tree/master/export getexportlink,js 
and getexportpath,js do this work.


James
 

On Saturday, 25 April 2015 09:08:48 UTC+9, Suzanne McHale wrote:

 Couple of questions (I'm interested in static site generation for my TW 
 too, but am not a programmer!) - how did you make the tag buttons clickable 
 without needing Javascript (that I can see)? Also replace the spaces in TW 
 urls with dashes - can this be done automatically?


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-04-25 Thread James Anderson
It looks like dullroar is no longer using TW to generate the 
site http://dullroar.com/new-look.html

On Saturday, 25 April 2015 16:54:02 UTC+9, Jeremy Ruston wrote:

 Hi James

 Great to see how far you've got, dullroar.com looks very good to me.

 Your post reminded me that it is perhaps time that we tried to fold decent 
 static site generation support into the core. I've created a ticket here:

 https://github.com/Jermolene/TiddlyWiki5/issues/1676

 Best wishes

 Jeremy.


 On Sat, Apr 25, 2015 at 7:45 AM, James Anderson james.w@gmail.com 
 javascript: wrote:

 The tags are just buttons wrapped in a elements, which is all handled 
 automatically by the static exporter. 

 There are some programmer hooks in the static exporter which let me 
 change the links at run time. I run over all the links and remove any 
 spaces (and some other characters( when i generate the site.If you are not 
 a programmmer this might not mean much to you, but in 
 https://github.com/welford/twstaticblog/tree/master/export getexportlink,js 
 and getexportpath,js do this work.


 James
  

 On Saturday, 25 April 2015 09:08:48 UTC+9, Suzanne McHale wrote:

 Couple of questions (I'm interested in static site generation for my TW 
 too, but am not a programmer!) - how did you make the tag buttons clickable 
 without needing Javascript (that I can see)? Also replace the spaces in TW 
 urls with dashes - can this be done automatically?

  -- 
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com
  
 https://groups.google.com/d/msgid/tiddlywiki/a5b20842-2166-4d31-a204-2d5ae2b0bb8b%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




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

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5539d9e3-d335-48a9-900c-05b246a895af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] A start on a theme for mobile devices (and yet another task list idea)

2015-04-25 Thread James Anderson
Hello Jed 

I like your theme but some of the icons at the top do not display well on 
my HTC one in chrome:

https://lh3.googleusercontent.com/-oW880lss-gE/VTuSnhZYrLI/F28/no0yBeGh0Zo/s1600/Screenshot_2015-04-25-14-05-46.png


I have done some work on getting my own theme working well on both large 
and small screens and it might be of interest to you ( see 
 welford.github.io ):

https://lh3.googleusercontent.com/-qaXLzllRBc8/VTuTLiZ7AoI/F3I/Q3Vq8AXdAAE/s1600/Screenshot_2015-04-25-14-07-19.png


I added a slightly customized search to the top bar and have the results 
show overlayed on the main page. The search transcludes and links to my 
twexe tiddlers and displays them as buttons. Now that you have me thinking 
about it, it is probably a good idea to have buttons like add, save, 
controlpanel be transcluded in the search results too. 

This saves a load of screen space on smaller screens. Considering most of 
these buttons will not be used 90% of the time i don't think you need to 
have them always on screen.

James




On Saturday, 25 April 2015 14:15:58 UTC+9, Jed Carty wrote:

 I started out by trying to make a new task list a few hours ago and ended 
 up with what I am hoping to use for the basis of a theme for mobile 
 devices. One day I may actually plan what I am going to do instead of just 
 poking things until something interesting falls out.

 I used the icon menus plugin I made to put everything from the normal 
 sidebar into popups toggled by icons on the left side of the screen. There 
 are icons along the right side that open up tiddlers for specific 
 applications (at the moment a task list, a contacts database, bookmarks and 
 a library tracker from my plugins). The icons can be moved around however 
 you would like through the icon menu settings in the control panel.

 The task list I made lets you add categories and subcategories to tasks. I 
 that is probably the only part that is all that interesting there. I still 
 need to add a search function and sorting.

 At the last hangout someone (I think Eric. Thanks!) showed me how to make 
 popups that don't go away if you click inside them, and how to set css 
 dimensions based on viewing area size. Both of these are used a lot.

 Here is the current demo 
 http://ooktech.com/jed/ExampleWikis/NewBrainTest/. The only thing I 
 have been able to test it on other than my desktop is my tablet, so I have 
 no idea how it looks or if it is usable on phones or smaller tablets.

 Does anyone have any suggestions/requests for what should be added? I have 
 no idea what sort of configuration things people would want for this sort 
 of thing.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2edbe0f0-0e44-4b62-bf1c-8720aebb98fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Static Website Generation

2015-04-23 Thread James Anderson

I've posted on here and on the tiddlywikidev side a few times with 
questions regarding this before, This time is more of a show and tell as 
i've had some time to clean up some of the code I was using to export 
static sites with tiddlywiki.

I have renamed the repo I was using and split it in two separate 
plugins: https://github.com/welford/twstaticblog/  I have also written a 
new post about how I am exporting using these plugins here: 
http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
 

In short: the helper plugin 
(https://github.com/welford/twstaticblog/tree/master/helper) resides within 
my tiddlwiki and lets me customise  which posts to output,which tags to add 
to the sitemap, which ones to hide etc etc  Also to some degree it lets me 
alter the look of the webpage.

The export (https://github.com/welford/twstaticblog/tree/master/export) 
plugin gets invoked when exporting and contains all the required templates 
and viewtemplate changes to make the static site look how you want it to.

www.phasersonkill.com is a working sample of an exported blog, I have also 
uploaded a simpler example 
here http://welford.github.io/static-sample/example.html which exports 
to http://welford.github.io/static-sample/blog/index.html

Finally I have updated some of my plugins to work with the static export 
feature https://github.com/welford/twspimg lets me display partial images 
as the background-image of a span element, and 
https://github.com/welford/twyt lets me embed yt videos and created links 
to specific times within the video. http://welford.github.io/ has a few 
examples and  other plugins also!

Thanks for reading!

James

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0455f5c-9ba3-44a9-ad0e-223624fe1971%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Macro JS Macro formatting difference

2015-04-01 Thread James Anderson
I can't seem to get what you mentioned to work, I've uploaded my attempts 
here. 

http://welford.github.io/iframe.html

I would ideally like the call to ytif to display with the same format 
as the [[No P]] Tiddler or the first video from the ytv Macro. Would you 
mind taking a look and seeing what i am doing wrong?

Regards,
James

On Tuesday, 31 March 2015 20:41:18 UTC+9, Jeremy Ruston wrote:

 Hi James



 That would work but it's a bit more verbose that I would like. I guess 
 this could be further wrapped in a plain tiddler macro? My setup is to have 
 ytif to set up the iframe and you can pass the video code or have it 
 come from a field value. CSS trickery seems like an easy solution if a 2nd 
 layer of macro doesn't work, but are the p tags likely to change in the 
 future?


 Ah, how are you calling the macro? If the macro call starts at the 
 beginning of a block, and is followed by two line breaks, then the macro 
 content will be parsed in block mode, otherwise in inline mode. So you can 
 force inline mode by ensuring that the macro call doesn't look like a 
 block, for instance by following it with a comment:

 ytif!-- Force inline mode --

 Best wishes

 Jeremy
  


 James

 On Tuesday, 31 March 2015 12:26:54 UTC+1, Jeremy Ruston wrote:

 Hi James

 The p tags are being generated because the content returned by the JS 
 macro is being parsed in block mode, and so the parser is looking for 
 double line breaks to separate paragraphs.

 There are several things you may be able to do to fix this but the 
 easiest would be to explicitly call the JS macro with the $macrocall 
 widget and specify mode=inline. Would that work here?

 Best wishes

 Jeremy

 On Mon, Mar 30, 2015 at 11:49 PM, James Anderson james.w@gmail.com 
 wrote:

 I came across this today while working on some simple YT macros so I 
 can link to specific times within videos on a statically exported blog.

 http://phasersonkill.com/2015/3/31/macro%20sample.html

 The first video is generated via a JS macro and the 2nd via a plain 
 macro defined with a global scope. the difference in size (at least on 
 Chrome and IE) is because the JS macros output is wrapped in p tags. I 
 can probably do some CSS hacking to fix this but is there a way of 
 stopping 
 the p tags from being generated in this case?

 Thanks,
 James

 -- 
 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/d/optout.




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



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

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1780fc0f-a96a-40d9-91a3-372901ef1d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Macro JS Macro formatting difference

2015-03-31 Thread James Anderson
Thanks Jeremy, 

That would work but it's a bit more verbose that I would like. I guess this 
could be further wrapped in a plain tiddler macro? My setup is to have 
ytif to set up the iframe and you can pass the video code or have it 
come from a field value. CSS trickery seems like an easy solution if a 2nd 
layer of macro doesn't work, but are the p tags likely to change in the 
future?

James

On Tuesday, 31 March 2015 12:26:54 UTC+1, Jeremy Ruston wrote:

 Hi James

 The p tags are being generated because the content returned by the JS 
 macro is being parsed in block mode, and so the parser is looking for 
 double line breaks to separate paragraphs.

 There are several things you may be able to do to fix this but the easiest 
 would be to explicitly call the JS macro with the $macrocall widget and 
 specify mode=inline. Would that work here?

 Best wishes

 Jeremy

 On Mon, Mar 30, 2015 at 11:49 PM, James Anderson james.w@gmail.com 
 javascript: wrote:

 I came across this today while working on some simple YT macros so I can 
 link to specific times within videos on a statically exported blog.

 http://phasersonkill.com/2015/3/31/macro%20sample.html

 The first video is generated via a JS macro and the 2nd via a plain macro 
 defined with a global scope. the difference in size (at least on Chrome and 
 IE) is because the JS macros output is wrapped in p tags. I can probably 
 do some CSS hacking to fix this but is there a way of stopping the p tags 
 from being generated in this case?

 Thanks,
 James

 -- 
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




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

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Macro JS Macro formatting difference

2015-03-31 Thread James Anderson
Thanks Jeremy that is good to know!

James

On Tuesday, 31 March 2015 12:41:18 UTC+1, Jeremy Ruston wrote:

 Hi James



 That would work but it's a bit more verbose that I would like. I guess 
 this could be further wrapped in a plain tiddler macro? My setup is to have 
 ytif to set up the iframe and you can pass the video code or have it 
 come from a field value. CSS trickery seems like an easy solution if a 2nd 
 layer of macro doesn't work, but are the p tags likely to change in the 
 future?


 Ah, how are you calling the macro? If the macro call starts at the 
 beginning of a block, and is followed by two line breaks, then the macro 
 content will be parsed in block mode, otherwise in inline mode. So you can 
 force inline mode by ensuring that the macro call doesn't look like a 
 block, for instance by following it with a comment:

 ytif!-- Force inline mode --

 Best wishes

 Jeremy
  


 James

 On Tuesday, 31 March 2015 12:26:54 UTC+1, Jeremy Ruston wrote:

 Hi James

 The p tags are being generated because the content returned by the JS 
 macro is being parsed in block mode, and so the parser is looking for 
 double line breaks to separate paragraphs.

 There are several things you may be able to do to fix this but the 
 easiest would be to explicitly call the JS macro with the $macrocall 
 widget and specify mode=inline. Would that work here?

 Best wishes

 Jeremy

 On Mon, Mar 30, 2015 at 11:49 PM, James Anderson james.w@gmail.com 
 wrote:

 I came across this today while working on some simple YT macros so I 
 can link to specific times within videos on a statically exported blog.

 http://phasersonkill.com/2015/3/31/macro%20sample.html

 The first video is generated via a JS macro and the 2nd via a plain 
 macro defined with a global scope. the difference in size (at least on 
 Chrome and IE) is because the JS macros output is wrapped in p tags. I 
 can probably do some CSS hacking to fix this but is there a way of 
 stopping 
 the p tags from being generated in this case?

 Thanks,
 James

 -- 
 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/d/optout.




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



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

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Macro JS Macro formatting difference

2015-03-30 Thread James Anderson
I came across this today while working on some simple YT macros so I can 
link to specific times within videos on a statically exported blog.

http://phasersonkill.com/2015/3/31/macro%20sample.html

The first video is generated via a JS macro and the 2nd via a plain macro 
defined with a global scope. the difference in size (at least on Chrome and 
IE) is because the JS macros output is wrapped in p tags. I can probably 
do some CSS hacking to fix this but is there a way of stopping the p tags 
from being generated in this case?

Thanks,
James

-- 
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/d/optout.


Re: [tw] Static Site Generation

2015-02-22 Thread James Anderson
I am currently manually copying my ./img/ folder to the correct location. 
However I think it should be possible to copy them over automatically in 
the tv-get-export-image-link  macro.
 
On Sunday, 22 February 2015 10:33:37 UTC+9, Andreas Hahn wrote:

  Hi James,

 thank you for sharing, I really like it and it will be very useful to me. 
 Especially your work with changign the links, so they fit a better folder 
 structure is really good.
  I also thought about how to best generate static sites a while back, I 
 ran into a few hurdles:

 - I didn't find an automatic solution for Pagination of posts (which will 
 probably be impossible with TW's vanilla commands)

 - It makes sense to generate the blog from within TW, without using 
 something like node.js or your twexe, since all the necessary 
   components are present in TW. However this will require a plugin with a 
 javascript .zip or other archive format library.

 - Most dynamic widgets don't work, sometimes because their entire meaning 
 becomes somewhat undefined.

 Also, have you got a solution for images ? (so have them copied over 
 automatically ?) 

 /Andreas


 Am 21.02.2015 um 18:30 schrieb James Anderson:
  
  This might be of interest to some people here. I've made a plugin for 
 creating static blog like webpages: https://github.com/welford/staticlinks

  Included in the plugin is a sample tiddlwiki containing instructions on 
 how to export the blog. As well as a batch file for exporting posts from 
 said tiddlywiki: 
 https://github.com/welford/staticlinks/tree/master/example

  I have uploaded the explanation and the exported results for reference 
 here:.

  http://welford.github.io/static-sample/explanation.html
 http://welford.github.io/static-sample/index.html - the blog 

  I also generate my blog ( http://phasersonkill.com/ ) using this method 
 from a HTA version of tiddlywiki where i tend to keep various notes. If 
 Using a hta TW you can use the twexe plugin to be able to generate the blog 
 from within the tiddlwiki :) 
  
  It uses my theme for static sites 
 https://github.com/welford/phasersonkill-static 
  
  The explanation was written rather hastily, i'll try to improve it when 
 i have more time.
  
  James
  -- 
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.


  

-- 
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/d/optout.


[tw] Static Site Generation

2015-02-21 Thread James Anderson
This might be of interest to some people here. I've made a plugin for 
creating static blog like webpages: https://github.com/welford/staticlinks

Included in the plugin is a sample tiddlwiki containing instructions on how 
to export the blog. As well as a batch file for exporting posts from said 
tiddlywiki: https://github.com/welford/staticlinks/tree/master/example

I have uploaded the explanation and the exported results for reference 
here:.

http://welford.github.io/static-sample/explanation.html
http://welford.github.io/static-sample/index.html - the blog

I also generate my blog ( http://phasersonkill.com/ ) using this method 
from a HTA version of tiddlywiki where i tend to keep various notes. If 
Using a hta TW you can use the twexe plugin to be able to generate the blog 
from within the tiddlwiki :) 

It uses my theme for static 
sites https://github.com/welford/phasersonkill-static 

The explanation was written rather hastily, i'll try to improve it when i 
have more time.

James

-- 
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/d/optout.


[tw] Re: TW Community Search

2015-01-02 Thread James Anderson
no problem from me either.

James

On Wednesday, 24 December 2014 07:08:32 UTC+9, Erwan wrote:


 Hi everyone, 

 Here is my new TW community search: 
 https://rawgit.com/erwanm/tw-aggregator/master/tw-community-search.html 
 (it's not actually a search engine, rather an index; just thought 
 search was clearer). 

 The offline process downloads a predefined list of publicly available 
 wikis, then merges their content as system tiddlers into the new wiki. 
 The rest is customized TW search. 

 * The user cannot see the tiddlers directly on the search wiki: every 
 link (in the search results or by clicking on a tag pill) is converted 
 to an external link to the original tiddler (this solves the main issue 
 which appeared in the first version, where some content was broken due 
 to incompatible plugins/system tiddlers). 

 * Currently all non-system tiddlers are scraped from the indexed wikis, 
 but we can consider a more subtle system with special tags, fields or 
 whitelist/blacklist (see https://github.com/erwanm/tw-aggregator/issues/6) 


 The current list of indexed wikis can be found at 

 https://rawgit.com/erwanm/tw-aggregator/master/tw-community-search.html#CommunityWikis.
  

 If you are the author of one of these, please tell me if you agree to 
 this use of your wiki: unless there is an explicit licence in you wiki 
 (and I didn't find any in the current list of wikis), I need your 
 explicit agreement for this reuse of your content. So please reply, 
 otherwise I will have to remove your wiki from the list... and obviously 
 the shorter the list the less useful the search will be. (I will also 
 send individual emails to the authors in case they don't check the TW 
 mailing list regularly). 

 Also if you are the author of a wiki which is not in the list and you 
 want it to be referenced, please tell me. 


 Mario had raised a few issues for the first version in 
 https://groups.google.com/d/msg/Tiddlywiki/qGk3aH731Pc/fZ0RvvsEyqAJ: the 
 first one is solved, and I hope to solve the second one about the 
 copyright issue soon. However the third one about google referencing I'm 
 not sure: I think (?) that the link farm problem is solved by the fact 
 that now links are built dynamically by some widget/macro code: there is 
 only one permanent link to every referenced wiki (i.e. not in every 
 tiddler anymore). However the duplication of the content might still be 
 an issue? If anybody knows how this works and what I can do about it, 
 please tell me! 


 Regards 
 Erwan 




-- 
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/d/optout.


[tw] Re: pass currenttiddler title to widget

2014-10-28 Thread James Anderson
Apologies, I guess I meant a macro. Though i am still not sure from your 
replies how to achieve this

Thanks for your help

James

On Tuesday, 28 October 2014 13:17:12 UTC+9, Stephan Hradek wrote:

 As it is a macro:


 \define mysamplemacro(name:Bugs Bunny,address:Rabbit Hole Hill)
 Hi, I'm $name$ and I live in $address$
 \end

 $macrocall $name=mysamplemacro name=test address={{!!title}}/




-- 
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/d/optout.


[tw] Re: pass currenttiddler title to widget

2014-10-28 Thread James Anderson
Sorry I mean I do understand how to achieve what I was originally asked 
for, I was half asleep when posting that.

Thanks again,
James 

On Tuesday, 28 October 2014 06:30:30 UTC, James Anderson wrote:

 Apologies, I guess I meant a macro. Though i am still not sure from your 
 replies how to achieve this

 Thanks for your help

 James

 On Tuesday, 28 October 2014 13:17:12 UTC+9, Stephan Hradek wrote:

 As it is a macro:


 \define mysamplemacro(name:Bugs Bunny,address:Rabbit Hole Hill)
 Hi, I'm $name$ and I live in $address$
 \end

 $macrocall $name=mysamplemacro name=test address={{!!title}}/




-- 
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/d/optout.


[tw] pass currenttiddler title to widget

2014-10-27 Thread James Anderson
I have a widget which accepts 3 strings, if i want to pass the name of the 
currentTiddler to it how can I achieve this?

widget strA strB strC

widget strA strB currentTiddler - this doesn't work

Thanks,
James

-- 
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/d/optout.


[tw] RevealWidget temporary state

2014-10-13 Thread James Anderson
Hi,

Is it possible to have a volatile reveal widget state? I want to press a 
button to reveal something within a widget, but if I close the tiddler or 
refresh the page have it be hidden again? I plan on having a lot of 
tiddlers with this template and don't want a bunch of statewidgets hanging 
around.

Thanks,
James

-- 
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/d/optout.


[tw] Re: [TW5] tm-new-tiddler set new tiddler title when using template

2014-10-08 Thread James Anderson
Exactly what i wanted, thanks Stephen.

On Wednesday, 8 October 2014 06:44:16 UTC+9, Stephan Hradek wrote:

 http://tiddlystuff.tiddlyspot.com Newtiddler Widget Be sure to read the 
 note as I still did not yet manage to make it ready-to-use for 5.1. You 
 need to tweak it a bit as instructed.


-- 
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/d/optout.


[tw] [TW5] tm-new-tiddler set new tiddler title when using template

2014-10-07 Thread James Anderson
In certain tagged tiddlers I have links to other tiddlers (driven by a 
field) which may or may not exist. If they do not exists I want to set the 
create the tiddler from a template which is easy enough, but i also want to 
be able to set the title and not have it default to my temp tiddler's name 
suffixed with a number. I know i can just link to an empty tiddler, but the 
template also includes several fields that I want to exist if they are 
created via clicking this link.

Has anyone already made a plugin to do this? I have a vague idea of what 
needs to be done, but it seems like something that would have already been 
made.  

Thanks,
James

-- 
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/d/optout.


[tw] Re: My custom TW5 theme

2014-10-06 Thread James Anderson
Thanks Danielo.

It's mostly packed as a theme, but i have just noticed that it no longer 
works if you drag and drop it into a new TW and set it as the theme. I will 
look into why that is.

I have no idea if it will work with tw desktop, I don't think I have ever 
used it.

James

On Monday, 6 October 2014 09:46:59 UTC+1, Danielo Rodríguez wrote:

 I really like your theme.

 It is very similar to what I have been doing for my personal tiddlywiki. I 
 also have a fixed top-bar with a search field. But mine is thicker. It only 
 has the wide the content needs, something very similar to the tag drop 
 down. But your top-bar seems to work very well with mobile devices. That is 
 one of my main concerns with tiddlywiki. Seems that nobody cares about 
 mobile devices, and I think that something for reference and fast notes has 
 a lot to do with mobile.

 Thank you very much for sharing it. Would you consider to pack it as a 
 plugin? Examining the code I find that it uses the mousetrap plugin for the 
 focus shortcut (/ or alt+q) but only on browser. Does this will work in 
 tiddlydesktop?

 El lunes, 6 de octubre de 2014 02:06:30 UTC+2, James Anderson escribió:

 This might be of interest to some people working with tiddlywiki:

 I have been spending some of my free time customizing TW5, including a 
 theme for my webpage called phasersonkill

 You can see the current result here http://welford.github.io/

 It was originally based on seamless, and keeps a search bar at the top 
 which can be used to bring down a scrollable area of the results. This 
 works well on mobile where there can be limited horizontal screen space. (/ 
 or alt+q can be used to jump to the search input)

 I also made the results transclude any links to my twexe plugin buttons 
 so that specific commands can be run straight from the search results. This 
 last feature is on windows hta version only, but my idea was to have one 
 TW5 for making notes at home use hta and add a twexe command to export a 
 subset of the tw5 as my homepage in html.

 Any feedback welcome.

 Regards,
 James






-- 
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/d/optout.


[tw] My custom TW5 theme

2014-10-05 Thread James Anderson
This might be of interest to some people working with tiddlywiki:

I have been spending some of my free time customizing TW5, including a 
theme for my webpage called phasersonkill

You can see the current result here http://welford.github.io/

It was originally based on seamless, and keeps a search bar at the top 
which can be used to bring down a scrollable area of the results. This 
works well on mobile where there can be limited horizontal screen space. (/ 
or alt+q can be used to jump to the search input)

I also made the results transclude any links to my twexe plugin buttons so 
that specific commands can be run straight from the search results. This 
last feature is on windows hta version only, but my idea was to have one 
TW5 for making notes at home use hta and add a twexe command to export a 
subset of the tw5 as my homepage in html.

Any feedback welcome.

Regards,
James




-- 
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/d/optout.


[tw] Re: [TW5] How to import/export subset of tiddlers?

2014-09-03 Thread James Anderson
It's triggered by the big green button 
here: http://tiddlywiki.com/#GettingStarted

By default it downloads a new version of TW containing no tiddlers. If you 
edit it in the way i suggested it will contain only tiddlers marked with 
the introduction tag.

On Wednesday, 3 September 2014 12:42:07 UTC+9, Mark S. wrote:

 Thank you for your response.

 I'm surprised that a task so important is buried so deeply. When 
 evaluating information managers (and I've looked at dozens) one of the 
 first things I do is consider how I can get my data in/out in the event 
 that the software is no longer supported. I can't be the only one looking 
 for this feature.

 What is the empty save? How is it triggered?

 Thanks again,
 Mark

 On Monday, September 1, 2014 11:44:59 PM UTC-8, James Anderson wrote:

 looking at $:/editions/tw5.com/download-empty might help you (on 
 tiddlywiki.com)

 if you add [tag[introduction]]  to the \define saveTiddlerFilter() macro 
 you will include all tiddlers tagged with introduction to the empty save.


 On Monday, 1 September 2014 23:58:22 UTC+1, Mark S. wrote:

 Hello,

 I've looked through the information at tiddlywiki.com and this forum, 
 but haven't seen this directly addressed. 

 Is there a standard method or known plugin for exporting and importing a 
 set (probably tagged) of tiddlers? In this case, I'm not concerned with the 
 output/input format -- I'm mostly concerned about managing tiddlers as a 
 particular page becomes too large.

 Thank you,
 Mark



-- 
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/d/optout.


[tw] Re: [TW5] How to import/export subset of tiddlers?

2014-09-02 Thread James Anderson
looking at $:/editions/tw5.com/download-empty might help you (on 
tiddlywiki.com)

if you add [tag[introduction]]  to the \define saveTiddlerFilter() macro 
you will include all tiddlers tagged with introduction to the empty save.


On Monday, 1 September 2014 23:58:22 UTC+1, Mark S. wrote:

 Hello,

 I've looked through the information at tiddlywiki.com and this forum, but 
 haven't seen this directly addressed. 

 Is there a standard method or known plugin for exporting and importing a 
 set (probably tagged) of tiddlers? In this case, I'm not concerned with the 
 output/input format -- I'm mostly concerned about managing tiddlers as a 
 particular page becomes too large.

 Thank you,
 Mark



-- 
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/d/optout.


[tw] Re: [TW5] filter question

2014-01-07 Thread James Anderson
thank you!

i think i wasn't searching for the right terms

On Tuesday, 7 January 2014 08:39:09 UTC, Stephan Hradek wrote:

 I think, we already had this several times…

 $list filter=[is[current]tagging[]]




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