Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Ray Vermey
I expect the same outcome as the example, but i see no result :-)

Op di 9 mrt. 2021 om 08:40 schreef Mohammad Rahmani <
mohammad.rahm...@gmail.com>:

> Rey,
>  You have copied the example from http://tw-regexp.tiddlyspot.com/
>  It works fine! It extracts the content inside  ... tags
> correctly!
>  So what is wrong here? What do you expect to see as output?
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Mar 9, 2021 at 11:02 AM Ray Vermey  wrote:
>
>> the macro:
>>
>> \define extract-from-tag(tid, tagname)
>> <$list filter="""[{$tid$}splitregexp[\n]join[
>> ]splitregexp[<$tagname$.*?>]butfirst[1]]""" variable=item>
>> <$list filter="""[splitregexp[]butlast[1]]"""
>> variable=item2>
>> <$text text=<>/>
>> 
>> 
>> \end
>>
>>
>> The tiddler calling it
>>
>> <>
>>
>> The tiddler with the data
>>
>> Morbi non enim facilisis, lacinia odio volutpat, congue arcu. Sed vel
>> ullamcorper
>> magna, maximus malesuada nulla. Fusce pharetra commodo facilisis. > class="fred"> #1 This is not
>>  Latin. Integer in justo ac diam  #2
>> This is not Latin either.
>> lobortis eleifend. Nullam vitae sollicitudin risus. Etiam ut aliquet
>> nulla.
>> Morbi facilisis urna id lacus feugiat suscipit.
>>
>> Quisque a nulla luctus lacus tincidunt euismod. Duis condimentum luctus
>> leo a tristique.
>> Donec quis vulputate arcu, non lacinia purus. Nullam sit amet interdum
>> lorem.  #3 Nor is this Latin.
>>
>> Op di 9 mrt. 2021 om 08:23 schreef Mohammad Rahmani <
>> mohammad.rahm...@gmail.com>:
>>
>>> Rey,
>>>  The example in the description page works. Would you please give me a
>>> minimal example to see what the problem is!
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Tue, Mar 9, 2021 at 10:35 AM Ray Vermey  wrote:
>>>
 Yes and doing exactly that does not seem to work.
 That is my question :-)

 Ray

 9 mrt. 2021 04:43:50 Mohammad Rahmani :

 Hi Rey,
 Examples and description for how use extract by tag can be found here

 http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags

 It is used for HTML tags! and not related to TW tags!

 The author of this part is Mark S

 In brief you can use this macro to extract contents inside a 
  



 Best wishes
 Mohammad


 On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey 
 wrote:

> Hi Mohammad
>
> on your page: http://tw-regexp.tiddlyspot.com/
>
> I try the extract-from-tag macro but that doesn't seem to work.
> I copied it from the page but calling the macro does not seem to work.
> Can you shed some light?
>
> Tx
>
> Ray
>
> --
> 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/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.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 view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/012813c6-48b7-49bd-8bb3-dbe3f122b63c%40gmail.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/CAAV1gMALfQeAR4GG8oPUHke1ybEuBDngMYG%3DB1v6F_AF9L8AgA%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are 

Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Mohammad Rahmani
Rey,
 You have copied the example from http://tw-regexp.tiddlyspot.com/
 It works fine! It extracts the content inside  ... tags
correctly!
 So what is wrong here? What do you expect to see as output?


Best wishes
Mohammad


On Tue, Mar 9, 2021 at 11:02 AM Ray Vermey  wrote:

> the macro:
>
> \define extract-from-tag(tid, tagname)
> <$list filter="""[{$tid$}splitregexp[\n]join[
> ]splitregexp[<$tagname$.*?>]butfirst[1]]""" variable=item>
> <$list filter="""[splitregexp[]butlast[1]]"""
> variable=item2>
> <$text text=<>/>
> 
> 
> \end
>
>
> The tiddler calling it
>
> <>
>
> The tiddler with the data
>
> Morbi non enim facilisis, lacinia odio volutpat, congue arcu. Sed vel
> ullamcorper
> magna, maximus malesuada nulla. Fusce pharetra commodo facilisis.  class="fred"> #1 This is not
>  Latin. Integer in justo ac diam  #2
> This is not Latin either.
> lobortis eleifend. Nullam vitae sollicitudin risus. Etiam ut aliquet nulla.
> Morbi facilisis urna id lacus feugiat suscipit.
>
> Quisque a nulla luctus lacus tincidunt euismod. Duis condimentum luctus
> leo a tristique.
> Donec quis vulputate arcu, non lacinia purus. Nullam sit amet interdum
> lorem.  #3 Nor is this Latin.
>
> Op di 9 mrt. 2021 om 08:23 schreef Mohammad Rahmani <
> mohammad.rahm...@gmail.com>:
>
>> Rey,
>>  The example in the description page works. Would you please give me a
>> minimal example to see what the problem is!
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, Mar 9, 2021 at 10:35 AM Ray Vermey  wrote:
>>
>>> Yes and doing exactly that does not seem to work.
>>> That is my question :-)
>>>
>>> Ray
>>>
>>> 9 mrt. 2021 04:43:50 Mohammad Rahmani :
>>>
>>> Hi Rey,
>>> Examples and description for how use extract by tag can be found here
>>>
>>> http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags
>>>
>>> It is used for HTML tags! and not related to TW tags!
>>>
>>> The author of this part is Mark S
>>>
>>> In brief you can use this macro to extract contents inside a 
>>>  
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey  wrote:
>>>
 Hi Mohammad

 on your page: http://tw-regexp.tiddlyspot.com/

 I try the extract-from-tag macro but that doesn't seem to work.
 I copied it from the page but calling the macro does not seem to work.
 Can you shed some light?

 Tx

 Ray

 --
 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/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/012813c6-48b7-49bd-8bb3-dbe3f122b63c%40gmail.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/CAAV1gMALfQeAR4GG8oPUHke1ybEuBDngMYG%3DB1v6F_AF9L8AgA%40mail.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 view this discussion on the web visit
> 

Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Ray Vermey
the macro:

\define extract-from-tag(tid, tagname)
<$list filter="""[{$tid$}splitregexp[\n]join[
]splitregexp[<$tagname$.*?>]butfirst[1]]""" variable=item>
<$list filter="""[splitregexp[]butlast[1]]"""
variable=item2>
<$text text=<>/>


\end


The tiddler calling it

<>

The tiddler with the data

Morbi non enim facilisis, lacinia odio volutpat, congue arcu. Sed vel
ullamcorper
magna, maximus malesuada nulla. Fusce pharetra commodo facilisis.  #1 This is not
 Latin. Integer in justo ac diam  #2 This
is not Latin either.
lobortis eleifend. Nullam vitae sollicitudin risus. Etiam ut aliquet nulla.
Morbi facilisis urna id lacus feugiat suscipit.

Quisque a nulla luctus lacus tincidunt euismod. Duis condimentum luctus leo
a tristique.
Donec quis vulputate arcu, non lacinia purus. Nullam sit amet interdum
lorem.  #3 Nor is this Latin.

Op di 9 mrt. 2021 om 08:23 schreef Mohammad Rahmani <
mohammad.rahm...@gmail.com>:

> Rey,
>  The example in the description page works. Would you please give me a
> minimal example to see what the problem is!
>
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Mar 9, 2021 at 10:35 AM Ray Vermey  wrote:
>
>> Yes and doing exactly that does not seem to work.
>> That is my question :-)
>>
>> Ray
>>
>> 9 mrt. 2021 04:43:50 Mohammad Rahmani :
>>
>> Hi Rey,
>> Examples and description for how use extract by tag can be found here
>>
>> http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags
>>
>> It is used for HTML tags! and not related to TW tags!
>>
>> The author of this part is Mark S
>>
>> In brief you can use this macro to extract contents inside a 
>>  
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey  wrote:
>>
>>> Hi Mohammad
>>>
>>> on your page: http://tw-regexp.tiddlyspot.com/
>>>
>>> I try the extract-from-tag macro but that doesn't seem to work.
>>> I copied it from the page but calling the macro does not seem to work.
>>> Can you shed some light?
>>>
>>> Tx
>>>
>>> Ray
>>>
>>> --
>>> 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/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/012813c6-48b7-49bd-8bb3-dbe3f122b63c%40gmail.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/CAAV1gMALfQeAR4GG8oPUHke1ybEuBDngMYG%3DB1v6F_AF9L8AgA%40mail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9D8Bo3dc%3D9cVFX5ny7rW6PtF5Dt-g%3DDnfgYpFQmrZ-zZw%40mail.gmail.com.


Re: [tw5] Soarin' with Soren

2021-03-08 Thread ludwa6
That would be one approach, @Mohammed.  Another would be -as @Sai proposed 
in another thread 
- to 
outline sections of the video with timecodes in the "shownotes" (i.e. what 
shows up when you click "more" dropdown in YouTube UI)- so that one can 
easily jump to the subtopic of interest.  

>From my perspective, it's about how the content is scoped: the former 
approach -typically implemented as a Series w/ multiple episodes, or more 
simply as a playlist- makes sense where scope of each tutorial episode 
results in a product that is useful unto itself, while the latter approach 
makes more sense when it's about the steps in building a single product.  
IMO, it's the latter case that Soren has managed to pull off here (in a 
single unedited virtuoso performance of >1hr!), so i'm for adding an 
outline of sections w/ timecodes.  

In fact i've built that sort of outline for myself, to facilitate returning 
to the sections i plan on reviewing again (and again and again!), there is 
so much that calls for more chewing & digesting capacity than i can muster 
at this point.  This is not an artifact that would make sense to anyone 
else as it stands, but i'd be interested to assist in developing 
"shownotes" along such lines, if @Soren be interested.

/walt
On Tuesday, March 9, 2021 at 4:19:59 AM UTC Mohammad wrote:

> Hi Dave,
>  Soren has created some stuff very useful from a pedagogical point of view!
>  I think it worth to be indexed in Tiddlywiki toolmap under (Learning 
> resources)
>
> @Soren
> You got a lot of positive feedback!  So what you have created is really 
> useful for users.
> One small point, it is good to divide your videos into small 
> lecture/talk/example around 5 to 10 mins
> Also please submit these resources to tw5.com for future references.
> Just some thoughts
>
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Mar 9, 2021 at 4:40 AM David Gifford  wrote:
>
>>
>> Just a note to Soren Bjornstag to thank him for his ZettelKasten TW. I 
>> just decided to open the All tab and read in order. I am not quite through 
>> the A's, and have already learned a lot. And in the process I read three of 
>> his blog posts too. Great stuff. All that in addition to his very helpful 
>> video walkthrough of TiddlyWiki.
>>
>> And a note to everyone else to check it out: 
>> https://zettelkasten.sorenbjornstad.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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/29f05fb5-f83c-4340-b51a-9e0f7f389602n%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/03ad8d5f-6c9f-45ab-b5a4-61ffd834f771n%40googlegroups.com.


Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Mohammad Rahmani
Rey,
 The example in the description page works. Would you please give me a
minimal example to see what the problem is!



Best wishes
Mohammad


On Tue, Mar 9, 2021 at 10:35 AM Ray Vermey  wrote:

> Yes and doing exactly that does not seem to work.
> That is my question :-)
>
> Ray
>
> 9 mrt. 2021 04:43:50 Mohammad Rahmani :
>
> Hi Rey,
> Examples and description for how use extract by tag can be found here
> http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags
>
> It is used for HTML tags! and not related to TW tags!
>
> The author of this part is Mark S
>
> In brief you can use this macro to extract contents inside a 
>  
>
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey  wrote:
>
>> Hi Mohammad
>>
>> on your page: http://tw-regexp.tiddlyspot.com/
>>
>> I try the extract-from-tag macro but that doesn't seem to work.
>> I copied it from the page but calling the macro does not seem to work.
>> Can you shed some light?
>>
>> Tx
>>
>> Ray
>>
>> --
>> 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/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/012813c6-48b7-49bd-8bb3-dbe3f122b63c%40gmail.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/CAAV1gMALfQeAR4GG8oPUHke1ybEuBDngMYG%3DB1v6F_AF9L8AgA%40mail.gmail.com.


Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Ray Vermey
Yes and doing exactly that does not seem to work.
That is my question :-)

Ray

9 mrt. 2021 04:43:50 Mohammad Rahmani :

> Hi Rey,
> Examples and description for how use extract by tag can be found here
> http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags
> 
> It is used for HTML tags! and not related to TW tags!
> 
> The author of this part is Mark S
> 
> In brief you can use this macro to extract contents inside a   
> 
> 
> 
> 
> Best wishes
> Mohammad
> 
> 
> On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey  wrote:
>> Hi Mohammad
>> 
>> on your page: http://tw-regexp.tiddlyspot.com/
>> 
>> I try the extract-from-tag macro but that doesn't seem to work.
>> I copied it from the page but calling the macro does not seem to work.
>> Can you shed some light?
>> 
>> Tx
>> 
>> Ray
>> --
>> 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/aad64424-5f63-4117-b3b7-b85c2d921daan%40googlegroups.com[https://groups.google.com/d/msgid/tiddlywiki/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.gmail.com[https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.gmail.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/012813c6-48b7-49bd-8bb3-dbe3f122b63c%40gmail.com.


[tw5] Re: Another code pattern (or design approach) for your perusal

2021-03-08 Thread Charlie Veniot
Arg.  

About those attachments:  not code but rather various appearances of the 
viewed tiddler as per related selection of options.

Posts close to bedtime: maybe not a great idea...

On Monday, March 8, 2021 at 11:07:18 PM UTC-4 Charlie Veniot wrote:

> I figure, once some retrieval of tiddler info via filters works, then wrap 
> that well-working with whatever to customize the resulting content for 
> whatever purposes.
>
> Please find attached the related code as a PDF, highlighting the important 
> bits.  If you want to dig into the code itself, find the related Tiddler in 
> my 
> Tifoist project .
>
> My latest bit of code is about "configuring" "display options":
> [image: Screenshot 2021-03-08 at 10.38.45 PM.png]
>
> A little bit of the code pasted below to entice you to delve into the 
> details???
>
> Cheers !
>
> 
> Display Options
> <$checkbox tiddler=<> index="opt_show_verb_fact" checked="yes" 
> unchecked="no" default="yes"> Verbalized Fact
> <$checkbox tiddler=<> index="opt_show_code_fact" checked="yes" 
> unchecked="no" default="yes"> Coded Fact
> <$checkbox tiddler=<> index="opt_show_ve_butts" checked="yes" 
> unchecked="no" default="yes"> View and Edit Buttons
> 
>
> <$list 
> filter="[getindex[opt_show_verb_fact]!match[no]then]">
> 
> //({{ || fLmg}})// <$text text={{{ 
> [get[description]else[❓]]}}}/>
> <$list 
> filter="[getindex[opt_show_ve_butts]!match[no]then]">
> 
> <$button actions=<> tooltip="View Fact" 
> class="cj_btn">{{iView}}
> <$button actions=<> tooltip="Edit Fact" 
> class="cj_btn">{{iEdit}}
> 
> 
> 
> 
>
>

-- 
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/0ccca575-ffcd-4135-aa4a-d8d8534fd27bn%40googlegroups.com.


Re: [tw5] Soarin' with Soren

2021-03-08 Thread Mohammad Rahmani
Hi Dave,
 Soren has created some stuff very useful from a pedagogical point of view!
 I think it worth to be indexed in Tiddlywiki toolmap under (Learning
resources)

@Soren
You got a lot of positive feedback!  So what you have created is really
useful for users.
One small point, it is good to divide your videos into small
lecture/talk/example around 5 to 10 mins
Also please submit these resources to tw5.com for future references.
Just some thoughts



Best wishes
Mohammad


On Tue, Mar 9, 2021 at 4:40 AM David Gifford  wrote:

>
> Just a note to Soren Bjornstag to thank him for his ZettelKasten TW. I
> just decided to open the All tab and read in order. I am not quite through
> the A's, and have already learned a lot. And in the process I read three of
> his blog posts too. Great stuff. All that in addition to his very helpful
> video walkthrough of TiddlyWiki.
>
> And a note to everyone else to check it out:
> https://zettelkasten.sorenbjornstad.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/29f05fb5-f83c-4340-b51a-9e0f7f389602n%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/CAAV1gMCfQGgBCg%3DEgb9y_8SEjfBL4%2BMPBGEUvfSS060Q14SqAw%40mail.gmail.com.


Re: [tw5] Another code pattern (or design approach) for your perusal

2021-03-08 Thread Mohammad Rahmani
Very informative and useful!
One can learn alot for explained codes!



Best wishes
Mohammad


On Tue, Mar 9, 2021 at 6:37 AM Charlie Veniot  wrote:

> I figure, once some retrieval of tiddler info via filters works, then wrap
> that well-working with whatever to customize the resulting content for
> whatever purposes.
>
> Please find attached the related code as a PDF, highlighting the important
> bits.  If you want to dig into the code itself, find the related Tiddler in my
> Tifoist project .
>
> My latest bit of code is about "configuring" "display options":
> [image: Screenshot 2021-03-08 at 10.38.45 PM.png]
>
> A little bit of the code pasted below to entice you to delve into the
> details???
>
> Cheers !
>
> 
> Display Options
> <$checkbox tiddler=<> index="opt_show_verb_fact" checked="yes"
> unchecked="no" default="yes"> Verbalized Fact
> <$checkbox tiddler=<> index="opt_show_code_fact" checked="yes"
> unchecked="no" default="yes"> Coded Fact
> <$checkbox tiddler=<> index="opt_show_ve_butts" checked="yes"
> unchecked="no" default="yes"> View and Edit Buttons
> 
>
> <$list
> filter="[getindex[opt_show_verb_fact]!match[no]then]">
> 
> //({{ || fLmg}})// <$text text={{{
> [get[description]else[❓]]}}}/>
> <$list
> filter="[getindex[opt_show_ve_butts]!match[no]then]">
> 
> <$button actions=<> tooltip="View Fact"
> class="cj_btn">{{iView}}
> <$button actions=<> tooltip="Edit Fact"
> class="cj_btn">{{iEdit}}
> 
> 
> 
> 
>
> --
> 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/99f3c458-fcef-475e-8acd-603f1d16e45dn%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/CAAV1gMDAu%3DzC2AmXHT%2BE4kcaVsfTLWGjhGUdOmqpFMrCtQ1BBA%40mail.gmail.com.


[tw5] Re: [Update] Tamasha Presentation Plugin

2021-03-08 Thread Mohammad Rahmani
Tamasha is now listed in the KaTex user page
https://katex.org/en/users.html

Best wishes
Mohammad


On Tue, Feb 2, 2021 at 10:12 PM Mohammad Rahmani 
wrote:

> I would like to announce the new experimental release of Tamasha plugin.
>
> *Code and demo*
> Demo: https://kookma.github.io/TW-Tamasha
> Code: https://github.com/kookma/TW-Tamasha
>
> This beta release has some new features
>
> *Release 0.4.3*
> Feb 2nd, 2021
> [NEW] Experimental font size using linear scaling based on vh
> [NEW] kimia theme which hides slide number and nav buttons and uses
> default Tiddlywiki default setting
> [NEW] classes to hide UI elements (slide number, nav buttons, progress bar)
>
> The size kept around 34Kb as of the previous update.
>
> *Please contribute with your feedback*
> There are some ongoing experiments on automatic font scaling based on the
> screen size. I like people who have access to big screens, especially a
> video projector (which can create a big picture around 2m x 2m) give a try
> and send me their feedback on the font size, readability and overflow. The
> feedback can be posted here or preferably to
> https://github.com/kookma/TW-Tamasha
> On the other end, feedback from the small screens is welcome.
>
>
>
> Best wishes
> Mohammad
>

-- 
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/CAAV1gMDNGSbJYcWeMBa-3T0MyAdH9EXbv4A1-Tot6g4caozc-A%40mail.gmail.com.


[tw5] Re: Roam Research style TW5 instance

2021-03-08 Thread Steph Butera
Thanks for posting about it here OP. I came across it on Reddit and have 
been using it for a few days. I'm absolutely loving it so far. If anyone 
else starts using it, please post here or send me a DM. I'm looking for 
people to troubleshoot things with, I'm an absolute TW5 noob! 

On Monday, March 8, 2021 at 3:43:07 AM UTC-5 Ste wrote:

>
> Thanks for the heads up. I'll try and have a look later today. 
>
> On Sunday, 7 March 2021 at 20:05:01 UTC arunn...@gmail.com wrote:
>
>> Recently a reddit user named trisaster 
>>  posted a Roam research style 
>> TW5 instance 
>> .
>>  
>> I really liked his work . I 
>> request those who haven't seen this yet to go through it and give your 
>> valuable feedback. Since he is not using google groups, you can provide 
>> feedback in reddit 
>> 
>>  or 
>> twitter . This is 
>> his GitHub page  (I am not 
>> sure whether he is active in GitHub or not).
>
>

-- 
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/0ee1be9d-1e59-449c-93bf-8e189e31097an%40googlegroups.com.


Re: [tw5] Re: Changed my way of taking notes in TW5 - RFC

2021-03-08 Thread Mohammad Rahmani
Hi Tony!

The blog by late Joe Armstrong  one the
simplest and semantic Tiddlywiki I have ever seen!
It is clean, minimal and very simple!

The one I shared with Rey uses the same philosophy but equipped with Shiraz!




Best wishes
Mohammad


On Tue, Mar 9, 2021 at 12:50 AM tony  wrote:

> On Sunday, March 7, 2021 at 2:49:43 AM UTC-8 rayv...@gmail.com wrote:
>
>>
>> Comments welcome, thanks!
>> I have the feeling i can make this setup smarter and perhaps more
>> flexible.
>>
>> Ray
>>
>>
> Use what you will and discard the rest (below); i lost my detailed reply
> :-(
>
> When things get fast and chaotic, i find *simple* is best for my brain.
>
> My tiddlers are close to Randy Pausch's 
> timelog: line based log with datestamps and keywords/tags that i access via
> search or filters and lifecycle through Joe Armstrong's
>  Chandler
>
> if TW ever fades, i can still parse the lines for a meaningful archive
>
> i use these and they have been proven helpful:
>
>- Joe Armstrong's Chandler implementation for action tiddlers
>https://joearms.github.io/#Chandler
>- insert <"[!is[system]search[$(currentTiddler)$]sort[title]]">>  into any project or
>'student tiddler'
>- date stamp every line with Riz's timestamp toolbar snippet
>https://groups.google.com/g/tiddlywiki/c/UHt6GsMpyAQ/m/USFJxw68AQAJ
>- <> to collect
>tiddlers from March 2021
>- <> to collect
>tiddlers about Student MaryDoe
>
> Have fun!
>
> Best,
> tony
>
> --
> 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/320ce7fb-fb83-4f9b-bdd3-002947d66d58n%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/CAAV1gMD_%2B7T%2B8VuWs66xQ91u%2BkV_Kkj1Ld2d3s3%2BL3wMRarUqQ%40mail.gmail.com.


Re: [tw5] Q: for Mohammad - extract-from-tag macro

2021-03-08 Thread Mohammad Rahmani
Hi Rey,
Examples and description for how use extract by tag can be found here
http://tw-regexp.tiddlyspot.com/#Extract%20Contents%20between%20Html%20Tags

It is used for HTML tags! and not related to TW tags!

The author of this part is Mark S

In brief you can use this macro to extract contents inside a  




Best wishes
Mohammad


On Tue, Mar 9, 2021 at 12:36 AM Ray Vermey  wrote:

> Hi Mohammad
>
> on your page: http://tw-regexp.tiddlyspot.com/
>
> I try the extract-from-tag macro but that doesn't seem to work.
> I copied it from the page but calling the macro does not seem to work.
> Can you shed some light?
>
> Tx
>
> Ray
>
> --
> 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/aad64424-5f63-4117-b3b7-b85c2d921daan%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/CAAV1gMAOVhST1atUfMR08nN6%3Dff0c%3Dx%2BdJ72v1-YbWJN9OSgQw%40mail.gmail.com.


[tw5] External Links For Blog questions

2021-03-08 Thread Sapphireslinger

*Just want to make sure before I spend possibly hours changing each link.*

*1.* I'm transferring a bunch of links from my old blogger blog to my new 
tiddlywiki blog. I want my external web links to open in a new window. I 
assume this means I need to change:

https://foo.com/foo;>Title (this kind of link opens in the 
same window taking people away from my blog = bad)

to:

[[Title|https://foo.com/foo]] (this kind of link opens in a different 
window or tab = good)

Am I correct that I need to take the time to change all those links from 
one to the other?

*2.* Regardless of which option I use, do I still need to add rel="noopener 
noreferrer" to each link, or is that already taken care of somehow behind 
the scenes in Tiddlywiki?

*3.* If necessary, is it even possible to add rel="noopener noreferrer" to 
[[Title|https://foo.com/foo]]?

-- 
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/b2e0bdfa-2e68-4581-9fff-0f3941d0fdecn%40googlegroups.com.


[tw5] Re: Soarin' with Soren

2021-03-08 Thread strikke...@gmail.com
You too! I cannot stop reading. Very interesting.


tirsdag den 9. marts 2021 kl. 02.26.13 UTC+1 skrev dieg...@gmail.com:

> Agreed  David! I'm working my way through it as well! 
>
> Since it might be difficult to spell, Soren mentioned in the video a 
> helpful shortcut: http://562.nz/
>
> On Monday, March 8, 2021 at 7:10:31 PM UTC-6 David Gifford wrote:
>
>>
>> Just a note to Soren Bjornstag to thank him for his ZettelKasten TW. I 
>> just decided to open the All tab and read in order. I am not quite through 
>> the A's, and have already learned a lot. And in the process I read three of 
>> his blog posts too. Great stuff. All that in addition to his very helpful 
>> video walkthrough of TiddlyWiki.
>>
>> And a note to everyone else to check it out: 
>> https://zettelkasten.sorenbjornstad.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/cdbbea03-217a-411f-a0bf-e1e5ad37aa5cn%40googlegroups.com.


[tw5] Re: Soarin' with Soren

2021-03-08 Thread dieg...@gmail.com
Agreed  David! I'm working my way through it as well! 

Since it might be difficult to spell, Soren mentioned in the video a 
helpful shortcut: http://562.nz/

On Monday, March 8, 2021 at 7:10:31 PM UTC-6 David Gifford wrote:

>
> Just a note to Soren Bjornstag to thank him for his ZettelKasten TW. I 
> just decided to open the All tab and read in order. I am not quite through 
> the A's, and have already learned a lot. And in the process I read three of 
> his blog posts too. Great stuff. All that in addition to his very helpful 
> video walkthrough of TiddlyWiki.
>
> And a note to everyone else to check it out: 
> https://zettelkasten.sorenbjornstad.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/2174a1a2-63d1-4291-9405-97df74a2d9e6n%40googlegroups.com.


[tw5] Soarin' with Soren

2021-03-08 Thread David Gifford

Just a note to Soren Bjornstag to thank him for his ZettelKasten TW. I just 
decided to open the All tab and read in order. I am not quite through the 
A's, and have already learned a lot. And in the process I read three of his 
blog posts too. Great stuff. All that in addition to his very helpful video 
walkthrough of TiddlyWiki.

And a note to everyone else to check it out: 
https://zettelkasten.sorenbjornstad.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/29f05fb5-f83c-4340-b51a-9e0f7f389602n%40googlegroups.com.


[tw5] Re: Using TW html file on Chrome & Firefox - Problem

2021-03-08 Thread ArchiMark
THANKS, BIrthe!

Good to hear.hopefully, this time, I won't have problems.

We shall see

Mark

On Monday, March 8, 2021 at 4:13:35 PM UTC-8 strikke...@gmail.com wrote:

> Mark,
> The plugins on you list are plugins I am using very much myself, I have 
> not had any problems. I know we can never be sure...used together all of 
> them, but I am optimistic on you behalf. 
> https://github.com/ibnishak/Timimi/releases
> And the how to install: https://ibnishak.github.io/Timimi/
>
> Birthe
> tirsdag den 9. marts 2021 kl. 01.06.15 UTC+1 skrev sreb...@gmail.com:
>
>> I will start a new fresh TW file and then slowly, add one plugin at a 
>> time, if I need it, and make sure it runs on both computers, before adding 
>> anymore. This way I should easily know if any item causes a problem.
>>
>> I have been able to install some browser extensions in workplace browser, 
>> Chrome. Will check out Timimi
>>
>> Thanks,
>>
>> Mark
>> On Monday, March 8, 2021 at 3:51:42 PM UTC-8 strikke...@gmail.com wrote:
>>
>>> I really believe the problem for you right now is Noteself and 
>>> tiddlypouch. As I remember it, it was original built to be run from 
>>> Danielos original logging into your own database. Rebuild later for people 
>>> to run their own nodejs wikis. It might have changed since then.
>>> Now as you suggest you could start a new wiki and import the other 
>>> plugins you like, and your own tiddlers. Saving is another question, are 
>>> you able to install browser extension on you workplace browser? If it is 
>>> possible I admit my favourite is Timimi. (lovely backups too!)
>>>
>>> Birthe
>>>
>>> tirsdag den 9. marts 2021 kl. 00.26.33 UTC+1 skrev sreb...@gmail.com:
>>>
 Since I am at work, I decided to go back to file that I last updated 
 successfully here and open it. And it opens up OK

 Here's two screenshots of console info for this TW file. You can see 
 that the file opened OK.

 Although given what I seen, I'm thinking to start a new fresh TW file 
 without any of Danielo's pluginsand then see what happens on different 
 computers, moving file back and forth.


 [image: Marks-TiddlyWiki-Console Info-03-08-21.png]

 And this screenshot is taken a bit further down in the list...all about 
 tiddlypouch.

 [image: Marks-TiddlyWiki-Console Info-2-03-08-21.png]

 And here's screenshot that shows list of plugins.sorry but I can 
 seem to widen the view of the list, so right side is cut off a bit.

 [image: Marks-TW-v8.png]

 On Monday, March 8, 2021 at 3:02:00 PM UTC-8 ArchiMark wrote:

> Thanks, Birthe.well, I thought I had a reason at the time when 
> installing.I was following some instructions for setting up TW and it 
> suggested NoteSelf as a means to save TW file to where you want when you 
> click saveor at least so I thought
>
> Sounds like it could be the culprit or one of themso, sounds like 
> I should remove it and then see if file opens up OK on work computer.
> On Monday, March 8, 2021 at 1:34:32 PM UTC-8 strikke...@gmail.com 
> wrote:
>
>> I will first admit, that I have never used tiddlypouch. I am sure you 
>> have a reason. I just wonder - because due to your sending your wiki pr. 
>> mail to yourself, I was sure you were using a singlefile tiddlywiki.
>> I have only heard of tiddlypouch before in relation to Danielo's 
>> NoteSelfbut that might be my mistake.
>> The fact, that you are not able to start your wiki up - make me think 
>> of, what Danielo himself called the chicken and egg problem... in the 
>> discussion here: 
>> https://forum.noteself.org/t/installing-the-plugins-on-an-existing-tw/24/8
>>
>>
>> mandag den 8. marts 2021 kl. 22.25.59 UTC+1 skrev sreb...@gmail.com:
>>
>>> Thanks, Birthe
>>>
>>> Here's what it says:
>>>
>>> DevTools failed to load SourceMap: 
>>> Could not load content for 
>>> file:///P:/Wiki/maps/danielo515/tiddlypouch/boot/tpouch-boot.js.map: 
>>> System error: 
>>> net::ERR_FILE_NOT_FOUND
>>>
>>> On Monday, March 8, 2021 at 12:25:53 PM UTC-8 strikke...@gmail.com 
>>> wrote:
>>>
 Good that you send the last screenshot. The last partstarting 
 with the yellow triangel. refering to 
 danielo/tiddlypouch.something. 
 Sorry I am not really able to read it, but I am sure someone will know 
 what 
 to do.



 mandag den 8. marts 2021 kl. 20.50.19 UTC+1 skrev sreb...@gmail.com
 :

> Thank you, Charlie and (Other) Mark !
>
> Yes, it's possible my computer has some security settings, given 
> the ultra high level of security IT tries to maintain at work.
>
> Good idea of comparing files side-by-side and check differences.

[tw5] Re: trying to embed gist (github) in tiddler

2021-03-08 Thread Gavin Gamboa
wow. it works! 

I do so appreciate you figuring this out. I have implemented the gists into 
the 'Software Notes' on my digital garden. I added a scrolling="no" 
declaration  to the iframe to prevent the embed from having its own 
vertical scrollbar (horizontal scroll still works).

On Monday, March 8, 2021 at 2:17:33 AM UTC-8 mMHog wrote:

> Sorry for a syntax mistake of template tiddler, here is the correct one 
>
> <$set name="q" 
> value={{{[[path/to/your/gist.html?user=]addsuffix{!!gist_user}addsuffix[=]addsuffix{!!gist_id}]}}}>
> > frameborder="0" width="100%" 
> height="600">
> 
> 在2021年3月8日星期一 UTC+8 下午4:36:07 写道:
>
>> Here are the file required
>> 在2021年2月24日星期三 UTC+8 上午5:39:13 写道:
>>
>>> From a previous thread where I was having the same problem:
>>>
>>> SOLUTION/WORKAROUND
>>> WARNING: this requires changing a core tiddler.  The code is there for a 
>>> reason.  My use case is very specific in that I will only be doing this on 
>>> a wiki that runs just to render static tiddlers.
>>>
>>> I noticed that the rendering process for the  tag renders as 
>>> .  So I just searched and found the tiddler responsible for 
>>> the modification and commented out the code.
>>>
>>> The tiddler is $:/core/modules/widgets/element.js  and the code to 
>>> comment out is
>>>
>>> if($tw.config.htmlUnsafeElements.indexOf(tag) !== -1)
>>> { tag = "safe-" + tag;
>>> }
>>>
>>> <https://tiddlywiki.com/#>Again this would I imagine create a very 
>>> serious security risk in wikis open to the internet.
>>>
>>> I cannot stress enough that this could cause serious issues.  Since it 
>>> is a gist it may just be better to just copy/paste and avoid the potential 
>>> for problems.  
>>> On Friday, February 19, 2021 at 4:57:18 PM UTC-5 gavin@gmail.com 
>>> wrote:
>>>

 Hi TW users, 

 Does anyone know why the embed code for a gist doesn't display in a 
 tiddler? I get an empty box returned. I tried wrapping in an