[tw5] Re: [TW5] smallest possible tiddlywiki?

2022-11-17 Thread leoperbo
*"hCard*" no "eCard" .__.

El miércoles, 16 de noviembre de 2022 a las 21:37:27 UTC-6, leoperbo 
escribió:

> Just for the people landindg here searching for a "tiny" TiddlyWiki", 
> there is *FeatherWiki*, described by Robbie Antenesse 
> <https://robbie.antenesse.net> (creator) "to be just like TiddlyWiki 
> <https://tiddlywiki.com>, but with the smallest file size possible". It 
> is 50 times smaller than an empty TiddlyWiki, and it's compatible with 
> Tiddlyhost.
>
> I made use of FeatherWiki to create an "eCard" named "TiddlyCard", that 
> made distributed verification possible between Mastodon and a wiki 
> published in Tiddlyhost.
>
> https://feather.wiki/
> https://github.com/simonbaird/tiddlyhost/wiki/FAQ#what-is-feather-wiki
> https://leoperbo.tiddlyhost.com/
> https://mstdn.mx/@leoperbo/109356422428292257
> El martes, 13 de mayo de 2014 a las 4:01:15 UTC-5, PMario escribió:
>
>> On Monday, May 12, 2014 6:42:36 AM UTC+2, RunningUtes wrote:
>>>
>>> Just wondering if anyone had tried to strip out anything to make a TW5 
>>> as small as possible say for read only display of information.
>>
>>
>> Are you talking about a downloaded empty.html or  a downloaded version of 
>> tiddlywiki.com?
>>
>> TW.com contains all translated interface languages. So your users may 
>> need only one or 2 of them. 
>>
>> As mentioned already, you can create 
>>
>> * as single file, that contains a static version of all tiddlers. No 
>> javascript ... should work with all browsers.
>> * many static files, that contain single tiddlers. No javascript ... 
>> should work with all browsers.
>>
>> or 
>>
>> * if you want TW functionality (eg: search), you could compress the 
>> javascript source code, to get a smaller file size. 
>>
>> IMO at the moment it doesn't make sense to compress the core js code. ... 
>> I doubt it ever will. 
>>
>> reasons:
>>
>> * A well designed server will send a compressed version over the wire, to 
>> the browser. So web traffic will be less, than the actual file size.
>>* 621kByte sent 2100kByte file size  ... tiddlywiki.com.html
>>* 187kByte sent 892kByte file size ... empty.html
>>
>> * In my opinion, the advantage to have readable source code, outweights 
>> the win of less disk space.
>> * Many users include images into there TWs. So if you include one image 
>> with about 300kbyte, the "compressed javascript" file size advantage is 
>> gone. 
>> * Harddisk space is cheap.
>> * Maintaining a compressed TW is not cheap. 
>>
>> just my 2 cents
>> -mario
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8f89090-d8d4-4d7f-8371-128aa84adb37n%40googlegroups.com.


[tw5] Re: [TW5] smallest possible tiddlywiki?

2022-11-16 Thread leoperbo
Just for the people landindg here searching for a "tiny" TiddlyWiki", there 
is *FeatherWiki*, described by Robbie Antenesse 
<https://robbie.antenesse.net> (creator) "to be just like TiddlyWiki 
<https://tiddlywiki.com>, but with the smallest file size possible". It is 
50 times smaller than an empty TiddlyWiki, and it's compatible with 
Tiddlyhost.

I made use of FeatherWiki to create an "eCard" named "TiddlyCard", that 
made distributed verification possible between Mastodon and a wiki 
published in Tiddlyhost.

https://feather.wiki/
https://github.com/simonbaird/tiddlyhost/wiki/FAQ#what-is-feather-wiki
https://leoperbo.tiddlyhost.com/
https://mstdn.mx/@leoperbo/109356422428292257
El martes, 13 de mayo de 2014 a las 4:01:15 UTC-5, PMario escribió:

> On Monday, May 12, 2014 6:42:36 AM UTC+2, RunningUtes wrote:
>>
>> Just wondering if anyone had tried to strip out anything to make a TW5 as 
>> small as possible say for read only display of information.
>
>
> Are you talking about a downloaded empty.html or  a downloaded version of 
> tiddlywiki.com?
>
> TW.com contains all translated interface languages. So your users may need 
> only one or 2 of them. 
>
> As mentioned already, you can create 
>
> * as single file, that contains a static version of all tiddlers. No 
> javascript ... should work with all browsers.
> * many static files, that contain single tiddlers. No javascript ... 
> should work with all browsers.
>
> or 
>
> * if you want TW functionality (eg: search), you could compress the 
> javascript source code, to get a smaller file size. 
>
> IMO at the moment it doesn't make sense to compress the core js code. ... 
> I doubt it ever will. 
>
> reasons:
>
> * A well designed server will send a compressed version over the wire, to 
> the browser. So web traffic will be less, than the actual file size.
>* 621kByte sent 2100kByte file size  ... tiddlywiki.com.html
>* 187kByte sent 892kByte file size ... empty.html
>
> * In my opinion, the advantage to have readable source code, outweights 
> the win of less disk space.
> * Many users include images into there TWs. So if you include one image 
> with about 300kbyte, the "compressed javascript" file size advantage is 
> gone. 
> * Harddisk space is cheap.
> * Maintaining a compressed TW is not cheap. 
>
> just my 2 cents
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab846931-9af1-4022-a8a6-0820a1121d46n%40googlegroups.com.


Re: [tw5] Re: [tw] [TW5] using highlight.js for transcluded code

2019-06-10 Thread leoperbo
Your answer pushed me to verify and I found a custom general stylesheet 
which includes a custom color for "code", commented it and then the 
transclusion via codeblock widget worked honoring the standard.

It's curious that had been working without double quotes too...

Thank you and sorry for the false "bug"!

El lunes, 10 de junio de 2019, 15:29:16 (UTC-5), Jeremy Ruston escribió:
>
> Hi Leoperbo
>
> That shouldn’t be the case. I wonder if there’s something else going on: I 
> can't duplicate the problem on 
> https://tiddlywiki.com/editions/full/index.html
>
>
> Best wishes
>
> Jeremy
>
>
> For what is worth, in TW *5.1.19* I tried:
>
> <$codeblock language="bash" code={{my_bash_script.sh}}/>
>
>
> And didn't get highlights, but when I tried without doble quotes arround 
> language value:
>
> <$codeblock language=bash code={{my_bash_script.sh}}/>
>
> And the highlights appeared.
>
> El domingo, 4 de octubre de 2015, 16:46:01 (UTC-5), Jeremy Ruston escribió:
>>
>> Hi Tobias
>>
>>
>> Using highlight plugin 
>> <http://tiddlywiki.com/plugins/tiddlywiki/highlight/>, how would I 
>> actually highlight the source of a core tiddler rather than the code to 
>> retrieve it?
>>
>> For example:
>>
>> ```javascript
>> <$view tiddler="$:/core" subtiddler="$:/core/modules/startup/info.js"/>
>> ```
>>
>> The *codeblock* widget appears to be missing any documentation.
>>
>> Trying to decipher it, I noticed that this won't work:
>>
>> <$codeblock language="javascript"><$view tiddler=<> 
>> subtiddler={{!!subtiddler}}/>
>>
>> So, how would I do...
>>
>> <$codeblock language="javascript" code=?!?>/>
>>
>>
>> Try:
>>
>> <$codeblock language=“javascript” code={{MyJavaScriptTiddler}}/>
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> Best wishes,
>>
>> — tb
>>
>> -- 
>> 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 tiddl...@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/a846ef32-9f1f-4540-b721-c84849cef90b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/a846ef32-9f1f-4540-b721-c84849cef90b%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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 tiddl...@googlegroups.com .
> To post to this group, send email to tiddl...@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/f4ec7cbe-f445-47d5-91eb-c3750616f824%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/f4ec7cbe-f445-47d5-91eb-c3750616f824%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6080abb1-782f-4995-a229-d82ab3d60987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [tw] [TW5] using highlight.js for transcluded code

2019-06-10 Thread leoperbo
For what is worth, in TW *5.1.19* I tried:

<$codeblock language="bash" code={{my_bash_script.sh}}/>


And didn't get highlights, but when I tried without doble quotes arround 
language value:

<$codeblock language=bash code={{my_bash_script.sh}}/>

And the highlights appeared.

El domingo, 4 de octubre de 2015, 16:46:01 (UTC-5), Jeremy Ruston escribió:
>
> Hi Tobias
>
>
> Using highlight plugin 
> , how would I 
> actually highlight the source of a core tiddler rather than the code to 
> retrieve it?
>
> For example:
>
> ```javascript
> <$view tiddler="$:/core" subtiddler="$:/core/modules/startup/info.js"/>
> ```
>
> The *codeblock* widget appears to be missing any documentation.
>
> Trying to decipher it, I noticed that this won't work:
>
> <$codeblock language="javascript"><$view tiddler=<> 
> subtiddler={{!!subtiddler}}/>
>
> So, how would I do...
>
> <$codeblock language="javascript" code=?!?>/>
>
>
> Try:
>
> <$codeblock language=“javascript” code={{MyJavaScriptTiddler}}/>
>
> Best wishes
>
> Jeremy.
>
>
>
> Best wishes,
>
> — tb
>
> -- 
> 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 tiddl...@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/a846ef32-9f1f-4540-b721-c84849cef90b%40googlegroups.com
>  
> 
> .
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4ec7cbe-f445-47d5-91eb-c3750616f824%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5]Question about days operator

2016-11-05 Thread leoperbo
Try this:

<$set name="daysfromtoday1" value="-1">
<$set name="daysfromtoday2" value="7">

<$list filter="[days:due!days:due
sort[due]]">

<$link to={{!!title}}><$view field="title"/> 






El sábado, 30 de enero de 2016, 1:09:02 (UTC-6), CL escribió:
>
> First of all, I could not attach any minimal test case
> because this question is about days operator which can vary depends on 
> your local time.
>
> I am trying to get list of tiddlers due within 7 days including today and 
> excluding past event.
> I thought excluding past event would be not that complicated but it's 
> trickier than I thought.
> I just couldn't figure out this.
>
> <>
>
> This macro retrieve task due in 7 days but includes task due yesterday.
>
> <>
>
> This macro retrieve task due in 7 days and except task due tomorrow.
>
> I have tried various days operator form but I coudn't figure out how to 
> deal with this +-1 day problem.
> Any help would be really appriciated 
>
> Best wishes
>
> CL
>
>
>

-- 
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/28c61baa-55c3-42b2-a63a-175c242d5db4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.