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

2021-06-10 Thread Soren Bjornstad
I wrote a TiddlyWiki book in TiddlyWiki, and people have liked the design: 
https://groktiddlywiki.com

I think this design badly fails your "should not present a TiddlyWikish 
face" criterion though.

On Thursday, June 10, 2021 at 8:17:41 PM UTC-5 Télumire wrote:

> I'm not a dev by any means so I probably can't help you much, but I think 
> these links may help you :
>
> In this thread, people have successfully managed to use tiddlywiki for 
> book publishing, with great results : 
> https://groups.google.com/g/tiddlywiki/c/_VLufc4Svp8/m/jALzYZ09BAAJ
> You can see a sample here : 
> https://tw5.immateriel.fr/wiki/7switch/book/aHR0cHM6Ly9jYXRhbG9ndWUuaW1tYXRlcmllbC5mci9yZXNvdXJjZXMvYTYvMTIvMDcyMDhkOTdhZjdmYWZkMjkyNzRhN2MwNDU1YS5lcHVi
> or make your own book from an epub : https://tw5.immateriel.fr/wiki
>
> It's possible to use TW as a blog platform : 
> https://tiddlywiki.com/static/Blog%2520Edition.html
>
> So it seems that it's possible. I'm guessing it will not be simple tho.. 
> maybe wordpress would be easier.
> Le jeudi 10 juin 2021 à 22:28:54 UTC+2, Kosmaton a écrit :
>
>> 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 
>> process of getting them into the TiddlyWiki.
>>  
>> 2) a blog/news page
>>   - Blog posts are expected to regularly contain links to book sections, 
>> or entire transcluded sections.
>>   - Posts must be able to acommodate audio files; a regular HTML > controls> seems sufficient.
>>  
>> 3) a Home page that could e.g. display
>>   - the most recent blog post (truncated if necessary)
>>   - a sort of carousel widget with single sections from the book, with 
>> arrows left and right to flip through them. These sections could be either 
>> randomly taken from the whole book, or from a hand-picked subset of 
>> sections (which I should be able to adjust).
>>  
>> * The thing really ought to be 'responsive', i.e. look fine on small 
>> screens too. This might not be obvious for something like the TOC.
>>  
>> * Towards the visitor it should not present a very TiddlyWikish face. I'm 
>> keen to acknowledge/praise/recommend TW in the About page; but the casual 
>> visitor should not focus on the underlying tech.
>>  
>> * I don't intend to have a server of my own. The free webhost I've 
>> happily used before allows for up to 2 databases, with a choice between 
>> "5.7-MySQL . 10.5-MariaDB . 13.2-PgSQL".
>>  
>> So:
>>  
>> Does this sound feasible with TW5 as a base? (Or would you suggest some 
>> other framework? If it's /challenging/ with TW, but /easy/ with XYZ, 
>> I'd like to hear about XYZ too! :)
>>  
>> How would I set this up as far as server / databases etc. go?
>>  
>> If I go ahead with this, there's bound to be more detailed questions 
>> regarding the functionalities mentioned above; but if you already see any 
>> immediate solutions (plugins, say) please shout.
>>  
>> Apologies for the length of this post. I don't expect anyone to figure 
>> all this out for me, but any thoughts are very welcome. Many thanks in 
>> advance!
>>  
>> K.
>>
>

-- 
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] Re: Unable to run TiddlyDesktop on Linux

2021-06-10 Thread Darth Mole
Is still giving the same exact error as before?

On Thursday, June 10, 2021 at 2:08:32 AM UTC-4 LinuxNoob wrote:

> Ok I followed the instructions and I've successfully installed libgconf2-4 
> but unfortunately the problem persists.
>
> Frustrating!
>
> On Thu, Jun 10, 2021 at 12:37 AM Darth Mole  wrote:
>
>> The instructions seem legit.
>>
>> Try checking out the instructions on this site as well: 
>> https://itsfoss.com/unable-to-locate-package-error-ubuntu/
>>
>> itsfoss.com, imo, is a great website and I've found many of solutions on 
>> there.
>>
>> On Thursday, June 10, 2021 at 12:19:42 AM UTC-4 LinuxNoob wrote:
>>
>>> Thanks for the advice, but it didn't work. I got this message:
>>>
>>> ~& sudo apt install libconf2-4
>>> [sudo] password for user:
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> E: Unable to locate package libconf2-4
>>>
>>> This website doesn't look reputable, which is why I'm not just trying 
>>> out what it recommends.
>>> https://zoomadmin.com/HowToInstall/UbuntuPackage/libgconf-2-4
>>>
>>> But the website suggests that to install libconf2-4 I have to write:
>>>
>>> sudo apt-get update -y
>>> sudo apt-get install -y libgconf-2-4 
>>>
>>> Can anyone confirm that this would be the way to go?
>>>
>>> On Wednesday, June 9, 2021 at 8:36:26 PM UTC-4 iamdar...@gmail.com 
>>> wrote:
>>>
 I preface what I'm about to write with: 

 I'm very new to linux as well and probably just know enough to be 
 dangerous. However, given the wording of the error, and that you still get 
 it after following the linked steps, I would personally try the following 
 if I was experiencing the issue.

 With everything closed I would run the following command in your 
 terminal:

 $sudo apt install libgconf2-4

 If it asks to install listed package with a y/n type Y and then enter 
 to continue the install. Depending on how that goes, restart your machine 
 and then try the ./nw launch again.

 On Wednesday, June 9, 2021 at 4:44:00 PM UTC-4 LinuxNoob wrote:

> I've followed the link and it doesn't seem to be the same issue. 
> Although both problems pertain to the nw file, I can still launch 
> TiddlyDesktop through ./nw
>
> My problem's with getting the application to work. I can create a new 
> wiki, but I can't get the wiki to open up using TiddlyDesktop.
> If I navigate to the place where I've saved the TW file then I can use 
> Firefox to open up the tiddlywiki file, but I'm trying to run TW through 
> TiddlyDesktop.
>
> If I open up a wiki file using TiddlyDesktop this is what I get:
> https://imgur.com/a/1wiCj5X 
>
> And I can't close that file! Not even closing TiddlyDesktop gets the 
> file with random date (https://imgur.com/a/1wiCj5X) to close. The 
> only way to close it is to close the terminal from which I launched ./nw
>
> I forgot to mention: This is the message I get when I launch ./nw and 
> TiddlyDesktop does open:
> ~/TiddlyDesktop$ ./nw
> [6521:6521:0603/160810.303573:ERROR:sandbox.cc(376)] 
> InitializeSandbox() called with multiple threads in process gpu-process.
>
> The above error message that displays in the terminal can be visible 
> here, above the TiddlyDesktop App ( https://imgur.com/a/xnHStTf)
>
> Thanks in advance
>
>
> On Tue, Jun 8, 2021 at 4:23 PM strikke...@gmail.com <
> strikke...@gmail.com> wrote:
>
>> We had a similar problem earlier, discussed here 
>> https://groups.google.com/g/tiddlywiki/c/rXzdNBF7Ozg/m/uxNOfqY-AwAJ
>>
>> I am using linux mint myself and start tiddlydesktop from an icon 
>> (programstarter) on my desktop. The first time I start it, it takes 
>> quite 
>> some time.
>>
>>
>> Birthe
>>
>> On Tuesday, June 8, 2021 at 8:22:35 PM UTC+2 LinuxNoob wrote:
>>
>>> I've tried following the guide but I'm still having trouble with the 
>>> installation. I think that the trouble is with the following step I've 
>>> written below, that makes the nw file executable:
>>>
>>> In the TiddlyDesktop folder, update the file permissions of 
>>> the Linux TiddlyDesktop Linux executable.
>>> sudo chmod +x nw
>>>
>>> When I follow through with the following step, which is:
>>>
>>> Finally, start up the TiddlyDesktop executable application 
>>> up on your Linux PC.
>>> ./nw 
>>>
>>> I get this message in the terminal:
>>>
>>>./nw: error while loading shared libraries: libgconf-2.so.5: 
>>> cannot open shared object file: No such file or directory
>>>
>>> Thanks in advance.
>>>
>>>
>>> On Friday, June 4, 2021 at 2:37:43 AM UTC-4 iamdar...@gmail.com 
>>> wrote:
>>>
 Hello and welcome!

 2 things:

 

[tw5] Re: [question] plugin that turn a transclusion into a clickable link in edit mode ?

2021-06-10 Thread Frédéric Demers
Not exactly what you want but if you use the paragraphs plugin to 
transclude, you can edit the original tiddler's text directly when in view 
more. You may be able to tweak it so the view is nearly identical.

http://j.d.paragraphs.tiddlyspot.com/#paragraphs%20Macro%20(Examples)

On Thursday, 10 June 2021 at 19:33:53 UTC-4 Télumire wrote:

> Hello everyone!
>
> Does anyone know if there is a plugin that turn a transclusion into a 
> clickable link to the tiddler transcluded, in edit mode?
>
> The process would be as follows: 
>
> I want to edit a tiddler (A). When the editor opens, I see that I have 
> transcluded another tiddler (e.g. {{B}}) inside the tiddler A. 
>
> I want to edit what is in B, so rather than copy/paste the title of 
> tiddler B into the search bar, click on the relevant tiddler in the search 
> result, then edit the tiddler B, this plugin would allow me to simply click 
> on {{B}}, which open the tiddler B, ideally already in edit mode. This 
> would save a lot of time !
>
> CodeMirror is able to parse links, so maybe someone made an addon build 
> upon it allowing this functionnality ? I searched but ultimately found 
> nothing ..
>
> PS : I know that it's possible to use a macro instead of a standard 
> transclusion (like discussed here 
> https://tiddlywiki.narkive.com/dxOiR2Vn/tw-tw5-including-a-link-when-transcluding)
>  
> but I dont want to change the way the tiddler is displayed in view mode.
>
>
>

-- 
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/f4a8a660-ce03-49ca-bb91-b3507fd7cf6cn%40googlegroups.com.


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

2021-06-10 Thread Télumire
 I'm not a dev by any means so I probably can't help you much, but I think 
these links may help you :

In this thread, people have successfully managed to use tiddlywiki for book 
publishing, with great results : 
https://groups.google.com/g/tiddlywiki/c/_VLufc4Svp8/m/jALzYZ09BAAJ
You can see a sample here : 
https://tw5.immateriel.fr/wiki/7switch/book/aHR0cHM6Ly9jYXRhbG9ndWUuaW1tYXRlcmllbC5mci9yZXNvdXJjZXMvYTYvMTIvMDcyMDhkOTdhZjdmYWZkMjkyNzRhN2MwNDU1YS5lcHVi
or make your own book from an epub : https://tw5.immateriel.fr/wiki

It's possible to use TW as a blog platform : 
https://tiddlywiki.com/static/Blog%2520Edition.html

So it seems that it's possible. I'm guessing it will not be simple tho.. 
maybe wordpress would be easier.
Le jeudi 10 juin 2021 à 22:28:54 UTC+2, Kosmaton a écrit :

> 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 
> process of getting them into the TiddlyWiki.
>  
> 2) a blog/news page
>   - Blog posts are expected to regularly contain links to book sections, 
> or entire transcluded sections.
>   - Posts must be able to acommodate audio files; a regular HTML  controls> seems sufficient.
>  
> 3) a Home page that could e.g. display
>   - the most recent blog post (truncated if necessary)
>   - a sort of carousel widget with single sections from the book, with 
> arrows left and right to flip through them. These sections could be either 
> randomly taken from the whole book, or from a hand-picked subset of 
> sections (which I should be able to adjust).
>  
> * The thing really ought to be 'responsive', i.e. look fine on small 
> screens too. This might not be obvious for something like the TOC.
>  
> * Towards the visitor it should not present a very TiddlyWikish face. I'm 
> keen to acknowledge/praise/recommend TW in the About page; but the casual 
> visitor should not focus on the underlying tech.
>  
> * I don't intend to have a server of my own. The free webhost I've happily 
> used before allows for up to 2 databases, with a choice between "5.7-MySQL 
> . 10.5-MariaDB . 13.2-PgSQL".
>  
> So:
>  
> Does this sound feasible with TW5 as a base? (Or would you suggest some 
> other framework? If it's /challenging/ with TW, but /easy/ with XYZ, 
> I'd like to hear about XYZ too! :)
>  
> How would I set this up as far as server / databases etc. go?
>  
> If I go ahead with this, there's bound to be more detailed questions 
> regarding the functionalities mentioned above; but if you already see any 
> immediate solutions (plugins, say) please shout.
>  
> Apologies for the length of this post. I don't expect anyone to figure all 
> this out for me, but any thoughts are very welcome. Many thanks in advance!
>  
> K.
>

-- 
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/ed03e0d3-e167-4217-9f30-518d571ffb88n%40googlegroups.com.


[tw5] [question] plugin that turn a transclusion into a clickable link in edit mode ?

2021-06-10 Thread Télumire
Hello everyone!

Does anyone know if there is a plugin that turn a transclusion into a 
clickable link to the tiddler transcluded, in edit mode?

The process would be as follows: 

I want to edit a tiddler (A). When the editor opens, I see that I have 
transcluded another tiddler (e.g. {{B}}) inside the tiddler A. 

I want to edit what is in B, so rather than copy/paste the title of tiddler 
B into the search bar, click on the relevant tiddler in the search result, 
then edit the tiddler B, this plugin would allow me to simply click on 
{{B}}, which open the tiddler B, ideally already in edit mode. This would 
save a lot of time !

CodeMirror is able to parse links, so maybe someone made an addon build 
upon it allowing this functionnality ? I searched but ultimately found 
nothing ..

PS : I know that it's possible to use a macro instead of a standard 
transclusion (like discussed here 
https://tiddlywiki.narkive.com/dxOiR2Vn/tw-tw5-including-a-link-when-transcluding)
 
but I dont want to change the way the tiddler is displayed in view mode.


-- 
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/2ca38f14-5bb7-4b95-8f74-cf249bf4ab5en%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Patrick RB
Thanks for the help, but I discovered the importer works when opened with 
Chrome or Opera, but not Tiddlydesktop - so I guess that's where the 
problem lies.

On Thursday, 10 June 2021 at 13:48:26 UTC+1 Eric Shulman wrote:

> On Thursday, June 10, 2021 at 5:38:56 AM UTC-7 prbru...@gmail.com wrote:
>
>> How do i manually update an existing wiki? I have a whole bunch of 
>> embedded tiddlymaps and it really annoying to have to rebuild them all from 
>> an empty wiki. Thanks!
>
>
> https://tiddlywiki.com/prerelease/upgrade
>
> -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/08c1f160-3c69-4a04-9617-e4b6634a1fa9n%40googlegroups.com.


[tw5] Re: Create Save and close in one click ?

2021-06-10 Thread paulgilbert2000
Thanks Eric,

works very well:) 

@ tones thanks for the suggestion , was not exactly what i am looking for , 
but very good to know about, will def be using too !!

thank again every one

On Wednesday, June 9, 2021 at 6:23:01 AM UTC+2 Eric Shulman wrote:

> On Tuesday, June 8, 2021 at 7:03:17 PM UTC-7 mohamed...@hotmail.com wrote:
>
>> One more thing if possible , the field part somefield, i need to 
>> transclude a value there with spaces
>> somefield={{!!title}}
>> and i cant add brackets , because this turns it into a string 
>> [[{{!!title}}]]
>>
> Is there any way to insert the value enclosed in brackets ?
>>
>
> So... let's say you have a title of "Foo Bar Baz" (i.e., text containing 
> spaces).  Then, when you create a new tiddler using somefield={{!!title}}, 
> the resulting value of somefield will still be "Foo Bar Baz" (i.e., a 
> single text value containing spaces).  For almost all purposes, this will 
> be sufficient, and subsequent references to {{!!somefield}} will still 
> result as a single text value containing spaces.  Nonetheless, it still 
> possible to save the field value including added brackets, so that it will 
> be stored as "[[Foo Bar Baz]]".  Here's one method for adding the brackets:
>
> <$button> click me
><$vars lb="[[" rb="]]">
><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
> [{!!title}addprefixaddsuffix] }}} />
>
> 
>
> Notes:
> * The $vars defines two variables that contain the literal "[[" and "]]" 
> text
> * The somefield parameter value is then assembled using "filtered 
> transclusion" to add the brackets before and after the {!!title} value.
> * The $vars is needed because you can't use literal square brackets as 
> text within the filter syntax, since they would be interpreted as part of 
> the filter syntax itself (i.e., you can't write ...addprefix[[[]... or 
> ...addsuffix[]]]...)
>
> Another way to achieve this is to use macros instead of $vars to define 
> the lb and rb variables, like this:
> \define lb() [[
> \define rb() ]]
>
> <$button> click me
><$action-createtiddler $basetitle="SomethingNew" text="yabba dabba 
> doo!" tags="foo bar baz" caption="this is a caption" somefield={{{ 
> [{!!title}addprefixaddsuffix] }}} />
> 
>
> 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/406f95a7-9f95-4f26-8abb-d3031942b2ecn%40googlegroups.com.


[tw5] Re: Fields vs Dictionary vs JSON

2021-06-10 Thread TiddlyTweeter
Ciao Ed. 

VERY interesting post. In fact I stopped watching a movie on the phone to 
go to Desktop to reply since Goggle Groups on phone is the Pits.

Briefly. IF your data need is merely BINARY (just *index: value*) then data 
dictionaries ARE really ACE. 
IF you need anything more than that then, yes, there would be no benefit in 
a dictionary. 
(and FYI JSON structures are actually more difficult to manually edit than 
simple flat plain text dictionaries).

The POINT is: ARE you BINARY in need? 
IF SO then simple dictionaries will work well. 
IF NOT, you need  more fields than one under one index, regular tiddlers 
will work MUCH better.

Just an opinion
My 7 Cents
TT
On Thursday, 10 June 2021 at 19:10:53 UTC+2 Ed Heil wrote:

> Right now I'm working on a project where a number of tiddlers are just 
> little chunks of key-value data.  I'm putting them in JSONTiddlers, because 
> that seems to be what tiddlers turn into naturally when I start setting 
> data on their indices.  
>
> I just noticed that there's a nice thing available for tiddlers which are 
> collections of *fields* as opposed to using indices, and that's:
>
> [field:foo] which gives you all the tiddlers whose foo field is equal 
> to the value of the variable "bar".  There's not a simple equivalent with 
> indices as far as I know, you have to cobble together a filter with 
> [filter[]] or the new :filter prefix.
>
> Obviously with fields you're more limited in the names of keys -- keys can 
> be any string in data tiddlers, but only lowercase, "-", "_", and "." for 
> fields. And obviously there are reserved names for fields, like "text", 
> that are not reserved for data tiddlers. 
>
> I *think* I made the right choice going with a data tiddler for my little 
> blobs of data, but that nice [field[]] filter operator made me wonder.
>
> Just wanted to throw the question open to the community:  If you've used 
> tiddlers as blobs of key-value data, and made the choice between using the 
> fields in a normal tiddler, and using a data tiddler, what considerations 
> factored into your decision?  Do you have any rules of thumb?
>
> I'm not asking because of a particular decision I need to make, I'm more 
> curious about the general question.
>
> (Oh, secondarily: any reason to choose one or the other of Dictionary vs 
> JSON?  They seem to do pretty much the same job to me.)
>
> Thanks!
>
>

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


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

2021-06-10 Thread Kosmaton
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 process of getting them into the TiddlyWiki.

 

2) a blog/news page
  - Blog posts are expected to regularly contain links to book sections, or entire transcluded sections.
  - Posts must be able to acommodate audio files; a regular HTML  seems sufficient.

 

3) a Home page that could e.g. display
  - the most recent blog post (truncated if necessary)
  - a sort of carousel widget with single sections from the book, with arrows left and right to flip through them. These sections could be either randomly taken from the whole book, or from a hand-picked subset of sections (which I should be able to adjust).

 

* The thing really ought to be 'responsive', i.e. look fine on small screens too. This might not be obvious for something like the TOC.

 

* Towards the visitor it should not present a very TiddlyWikish face. I'm keen to acknowledge/praise/recommend TW in the About page; but the casual visitor should not focus on the underlying tech.

 

* I don't intend to have a server of my own. The free webhost I've happily used before allows for up to 2 databases, with a choice between "5.7-MySQL . 10.5-MariaDB . 13.2-PgSQL".

 

So:

 

Does this sound feasible with TW5 as a base? (Or would you suggest some other framework? If it's /challenging/ with TW, but /easy/ with XYZ, I'd like to hear about XYZ too! :)

 

How would I set this up as far as server / databases etc. go?

 

If I go ahead with this, there's bound to be more detailed questions regarding the functionalities mentioned above; but if you already see any immediate solutions (plugins, say) please shout.

 

Apologies for the length of this post. I don't expect anyone to figure all this out for me, but any thoughts are very welcome. Many thanks in advance!

 

K.



-- 
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/trinity-376e720d-06cd-4bca-b96e-4de3359bc585-1623356924853%403c-app-mailcom-bs06.


Re: [tw5] Fields vs Dictionary vs JSON

2021-06-10 Thread Mohammad Rahmani
Ed,
 I myself love JSON and dictionary tiddlers as they are very handy, compact
and encapsulate things in one pack!
On the other hand, it seems Jeremy supports using fields as first
class citizens in Tiddlywiki!
Also, it seems *TW  5.2.0* is coming  soon and it supports field names with
almost all characters! So the restrictions on field names will be lifted!


This is my 2 cents! But, let the developers come and advise!



Best wishes
Mohammad


On Thu, Jun 10, 2021 at 9:40 PM Ed Heil  wrote:

> Right now I'm working on a project where a number of tiddlers are just
> little chunks of key-value data.  I'm putting them in JSONTiddlers, because
> that seems to be what tiddlers turn into naturally when I start setting
> data on their indices.
>
> I just noticed that there's a nice thing available for tiddlers which are
> collections of *fields* as opposed to using indices, and that's:
>
> [field:foo] which gives you all the tiddlers whose foo field is equal
> to the value of the variable "bar".  There's not a simple equivalent with
> indices as far as I know, you have to cobble together a filter with
> [filter[]] or the new :filter prefix.
>
> Obviously with fields you're more limited in the names of keys -- keys can
> be any string in data tiddlers, but only lowercase, "-", "_", and "." for
> fields. And obviously there are reserved names for fields, like "text",
> that are not reserved for data tiddlers.
>
> I *think* I made the right choice going with a data tiddler for my little
> blobs of data, but that nice [field[]] filter operator made me wonder.
>
> Just wanted to throw the question open to the community:  If you've used
> tiddlers as blobs of key-value data, and made the choice between using the
> fields in a normal tiddler, and using a data tiddler, what considerations
> factored into your decision?  Do you have any rules of thumb?
>
> I'm not asking because of a particular decision I need to make, I'm more
> curious about the general question.
>
> (Oh, secondarily: any reason to choose one or the other of Dictionary vs
> JSON?  They seem to do pretty much the same job to me.)
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d7c6875b-8edd-40e8-9a3a-e07dea33c4f1n%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/CAAV1gMB7_eiAiJve-TUxNY2XKtoW4VG%3DtO1ENbHO3VjgC-zjcw%40mail.gmail.com.


[tw5] Fields vs Dictionary vs JSON

2021-06-10 Thread Ed Heil
Right now I'm working on a project where a number of tiddlers are just 
little chunks of key-value data.  I'm putting them in JSONTiddlers, because 
that seems to be what tiddlers turn into naturally when I start setting 
data on their indices.  

I just noticed that there's a nice thing available for tiddlers which are 
collections of *fields* as opposed to using indices, and that's:

[field:foo] which gives you all the tiddlers whose foo field is equal 
to the value of the variable "bar".  There's not a simple equivalent with 
indices as far as I know, you have to cobble together a filter with 
[filter[]] or the new :filter prefix.

Obviously with fields you're more limited in the names of keys -- keys can 
be any string in data tiddlers, but only lowercase, "-", "_", and "." for 
fields. And obviously there are reserved names for fields, like "text", 
that are not reserved for data tiddlers. 

I *think* I made the right choice going with a data tiddler for my little 
blobs of data, but that nice [field[]] filter operator made me wonder.

Just wanted to throw the question open to the community:  If you've used 
tiddlers as blobs of key-value data, and made the choice between using the 
fields in a normal tiddler, and using a data tiddler, what considerations 
factored into your decision?  Do you have any rules of thumb?

I'm not asking because of a particular decision I need to make, I'm more 
curious about the general question.

(Oh, secondarily: any reason to choose one or the other of Dictionary vs 
JSON?  They seem to do pretty much the same job to me.)

Thanks!

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


[tw5] Re: Simple authentication options for Bob

2021-06-10 Thread Ed Heil
Thanks for all these suggestions!

On Monday, June 7, 2021 at 1:06:40 PM UTC-4 scot wrote:

> Hi Ed,
> not sure if you've seen this link on  TiddlyWikiLinks 
>  or if it's relevant to your setup.
>
> "Add Login to a Node.js App with Cloudflare Argo Tunnels". Detailed 
> explanation of setting up TiddlyWiki 
>  in a Digital Ocean 
> droplet, with a CloudFlare  
> Argo tunnel providing secure publishing to a domain with built-in 
> authentication 
>
> https://mydigitalmark.com/add-login-to-nodejs-with-cloudflare-argo-tunnels/ 
> 
> Add Login to a Node.js App with Cloudflare Argo Tunnels
>
> Scot
>
> On Monday, 7 June 2021 at 16:16:56 UTC+1 PMario wrote:
>
>> Hi Ed,
>> It should be possible to activate basic auth on the Nginx level. It will 
>> create a system popup and deny access, if the credentials are wrong. 
>> That should be relatively simple for the start. 
>>
>> see: 
>> https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
>> I didn't read it. I only did a short search q:-)
>> -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/1a042f5a-bb44-4337-b997-d34e9067bc50n%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Eric Shulman
On Thursday, June 10, 2021 at 5:38:56 AM UTC-7 prbru...@gmail.com wrote:

> How do i manually update an existing wiki? I have a whole bunch of 
> embedded tiddlymaps and it really annoying to have to rebuild them all from 
> an empty wiki. Thanks!


https://tiddlywiki.com/prerelease/upgrade

-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/8f021a92-ca42-453f-842e-1c0f4d0a4fa5n%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Patrick RB
How do i manually update an existing wiki? I have a whole bunch of embedded 
tiddlymaps and it really annoying to have to rebuild them all from an empty 
wiki. Thanks!
 

On Thursday, 10 June 2021 at 12:52:30 UTC+1 fred@gmail.com wrote:

> that should work for you: https://tiddlywiki.com/prerelease/
>
> On Thursday, 10 June 2021 at 07:32:26 UTC-4 prbru...@gmail.com wrote:
>
>> Thanks. I would like to upgrade and test the pre-release, but there is 
>> not automatic updater yet? I'm not sure how to do manually (using 
>> tiddlydesktop and windows desktop rather than node.js))
>>
>> On Thursday, 10 June 2021 at 05:21:16 UTC+1 History Buff wrote:
>>
>>> While I don't know the specific, there is a problem with those versions. 
>>> The problem has been fixed in the 5.1.24 prerelease. I've used it there and 
>>> confirms it works.
>>>
>>> On Tuesday, June 8, 2021 at 8:49:42 PM UTC-7 prbru...@gmail.com wrote:
>>>
 I'm a big fan of Tiddlywiki, fairly new and not really a developer so 
 it's been a long slog to get past the basics!

 I've been using XLXS utilities to import chunks of text with dates and 
 sorting them using the timelines plugin. I need to upgrade a wiki from V16 
 which can't use Timelines. However when upgraded to V22 when xlxs files 
 are 
 imported they show as binary files. 

 I've tried with V23 - same issue - can anyone help? 

 I use tiddlywiki with tiddly desktop so don't know how to upgrade 
 manually (have always used the drag and drop updater). There is no 
 previous 
 updater versions, so i can;t try updating the V16 to V20. 

 kind regards

>>>

-- 
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/12c7932a-70b0-46a0-a0c0-54ccde6d6123n%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Frédéric Demers
that should work for you: https://tiddlywiki.com/prerelease/

On Thursday, 10 June 2021 at 07:32:26 UTC-4 prbru...@gmail.com wrote:

> Thanks. I would like to upgrade and test the pre-release, but there is not 
> automatic updater yet? I'm not sure how to do manually (using tiddlydesktop 
> and windows desktop rather than node.js))
>
> On Thursday, 10 June 2021 at 05:21:16 UTC+1 History Buff wrote:
>
>> While I don't know the specific, there is a problem with those versions. 
>> The problem has been fixed in the 5.1.24 prerelease. I've used it there and 
>> confirms it works.
>>
>> On Tuesday, June 8, 2021 at 8:49:42 PM UTC-7 prbru...@gmail.com wrote:
>>
>>> I'm a big fan of Tiddlywiki, fairly new and not really a developer so 
>>> it's been a long slog to get past the basics!
>>>
>>> I've been using XLXS utilities to import chunks of text with dates and 
>>> sorting them using the timelines plugin. I need to upgrade a wiki from V16 
>>> which can't use Timelines. However when upgraded to V22 when xlxs files are 
>>> imported they show as binary files. 
>>>
>>> I've tried with V23 - same issue - can anyone help? 
>>>
>>> I use tiddlywiki with tiddly desktop so don't know how to upgrade 
>>> manually (have always used the drag and drop updater). There is no previous 
>>> updater versions, so i can;t try updating the V16 to V20. 
>>>
>>> kind regards
>>>
>>

-- 
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/280e1d89-f5b7-4767-a0f9-a3bd939c5e74n%40googlegroups.com.


[tw5] Re: xlxs utilities not working in V22 or V23

2021-06-10 Thread Patrick RB
Thanks. I would like to upgrade and test the pre-release, but there is not 
automatic updater yet? I'm not sure how to do manually (using tiddlydesktop 
and windows desktop rather than node.js))

On Thursday, 10 June 2021 at 05:21:16 UTC+1 History Buff wrote:

> While I don't know the specific, there is a problem with those versions. 
> The problem has been fixed in the 5.1.24 prerelease. I've used it there and 
> confirms it works.
>
> On Tuesday, June 8, 2021 at 8:49:42 PM UTC-7 prbru...@gmail.com wrote:
>
>> I'm a big fan of Tiddlywiki, fairly new and not really a developer so 
>> it's been a long slog to get past the basics!
>>
>> I've been using XLXS utilities to import chunks of text with dates and 
>> sorting them using the timelines plugin. I need to upgrade a wiki from V16 
>> which can't use Timelines. However when upgraded to V22 when xlxs files are 
>> imported they show as binary files. 
>>
>> I've tried with V23 - same issue - can anyone help? 
>>
>> I use tiddlywiki with tiddly desktop so don't know how to upgrade 
>> manually (have always used the drag and drop updater). There is no previous 
>> updater versions, so i can;t try updating the V16 to V20. 
>>
>> kind regards
>>
>

-- 
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/c3a0f3af-c103-45ce-971d-efb1f768b522n%40googlegroups.com.


[tw5] Re: Date Export to static site

2021-06-10 Thread David Ralph Lewis
 Figured it out! Nothing to do with my snippets and everything to do with 
how I import tiddlers from the copy I use when I'm away from my main 
computer. D'oh! 

On Wednesday, 9 June 2021 at 19:53:08 UTC+1 David Ralph Lewis wrote:

>
> Hello, I'm new to this group. 
>
> I'm using tiddly wiki as a personal wiki and exporting most notes to a 
> static site. 
>
> I've adapted the subtitle field to show the modified date on the static 
> site. The problem is the static site shows the modified date as the date I 
> run the export for all pages. 
>
> The snippet I'm using is this:
>
> 
> <$link to={{!!modifier}} />
>  This page modified on <$view field="modified" format="date" 
> template={{$:/language/Tiddler/DateFormat}}/>
> 
>
> In the static tiddler template it is down as:
>
> `<$view tiddler="$:/davidralphlewis/date-modified" format="htmlwikified"/>`
>
> The site with the date I exported it on the right of each page is here: 
> https://davidralphlewis.github.io/binaryephemera/
>
> Any idea how I can make the site show the actual modified date, not the 
> date I ran the import?
>
> Thanks so much!
>
> David
>

-- 
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/1096943b-e3d2-4234-9b9b-cc3f0a95a8d6n%40googlegroups.com.


[tw5] Aeolian, An Adaptive Typographic Scale

2021-06-10 Thread Euthymious
Hello, I've been silenlty reading this group for some while, but this is my 
first real post with something to share. 

I am just learning how to use TW5, in particular trying to figure out how 
css styling works.

So, here  is my humble attempt of styling 
TiddlyWiki, using a modular typographic scale and adding some 
responsiveness. On desktop it utilizes a scale ratio of 1.2 and rather wide 
line spacing, and degrades to more "compact" line height and ratio of 1.125 
on small mobile screens.

Not much to appreciate yet, but I have learned quite a bit while making it 
and would be glad if anybody finds it useful.

-- 
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/7bb6569e-dcb8-4e62-9c3e-e5c99a93af19n%40googlegroups.com.


Re: [tw5] Re: Unable to run TiddlyDesktop on Linux

2021-06-10 Thread Tariq A
Ok I followed the instructions and I've successfully installed libgconf2-4
but unfortunately the problem persists.

Frustrating!

On Thu, Jun 10, 2021 at 12:37 AM Darth Mole  wrote:

> The instructions seem legit.
>
> Try checking out the instructions on this site as well:
> https://itsfoss.com/unable-to-locate-package-error-ubuntu/
>
> itsfoss.com, imo, is a great website and I've found many of solutions on
> there.
>
> On Thursday, June 10, 2021 at 12:19:42 AM UTC-4 LinuxNoob wrote:
>
>> Thanks for the advice, but it didn't work. I got this message:
>>
>> ~& sudo apt install libconf2-4
>> [sudo] password for user:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package libconf2-4
>>
>> This website doesn't look reputable, which is why I'm not just trying out
>> what it recommends.
>> https://zoomadmin.com/HowToInstall/UbuntuPackage/libgconf-2-4
>>
>> But the website suggests that to install libconf2-4 I have to write:
>>
>> sudo apt-get update -y
>> sudo apt-get install -y libgconf-2-4
>>
>> Can anyone confirm that this would be the way to go?
>>
>> On Wednesday, June 9, 2021 at 8:36:26 PM UTC-4 iamdar...@gmail.com wrote:
>>
>>> I preface what I'm about to write with:
>>>
>>> I'm very new to linux as well and probably just know enough to be
>>> dangerous. However, given the wording of the error, and that you still get
>>> it after following the linked steps, I would personally try the following
>>> if I was experiencing the issue.
>>>
>>> With everything closed I would run the following command in your
>>> terminal:
>>>
>>> $sudo apt install libgconf2-4
>>>
>>> If it asks to install listed package with a y/n type Y and then enter to
>>> continue the install. Depending on how that goes, restart your machine and
>>> then try the ./nw launch again.
>>>
>>> On Wednesday, June 9, 2021 at 4:44:00 PM UTC-4 LinuxNoob wrote:
>>>
 I've followed the link and it doesn't seem to be the same issue.
 Although both problems pertain to the nw file, I can still launch
 TiddlyDesktop through ./nw

 My problem's with getting the application to work. I can create a new
 wiki, but I can't get the wiki to open up using TiddlyDesktop.
 If I navigate to the place where I've saved the TW file then I can use
 Firefox to open up the tiddlywiki file, but I'm trying to run TW through
 TiddlyDesktop.

 If I open up a wiki file using TiddlyDesktop this is what I get:
 https://imgur.com/a/1wiCj5X

 And I can't close that file! Not even closing TiddlyDesktop gets the
 file with random date (https://imgur.com/a/1wiCj5X) to close. The only
 way to close it is to close the terminal from which I launched ./nw

 I forgot to mention: This is the message I get when I launch ./nw and
 TiddlyDesktop does open:
 ~/TiddlyDesktop$ ./nw
 [6521:6521:0603/160810.303573:ERROR:sandbox.cc(376)]
 InitializeSandbox() called with multiple threads in process gpu-process.

 The above error message that displays in the terminal can be visible
 here, above the TiddlyDesktop App ( https://imgur.com/a/xnHStTf)

 Thanks in advance


 On Tue, Jun 8, 2021 at 4:23 PM strikke...@gmail.com <
 strikke...@gmail.com> wrote:

> We had a similar problem earlier, discussed here
> https://groups.google.com/g/tiddlywiki/c/rXzdNBF7Ozg/m/uxNOfqY-AwAJ
>
> I am using linux mint myself and start tiddlydesktop from an icon
> (programstarter) on my desktop. The first time I start it, it takes quite
> some time.
>
>
> Birthe
>
> On Tuesday, June 8, 2021 at 8:22:35 PM UTC+2 LinuxNoob wrote:
>
>> I've tried following the guide but I'm still having trouble with the
>> installation. I think that the trouble is with the following step I've
>> written below, that makes the nw file executable:
>>
>> In the TiddlyDesktop folder, update the file permissions of
>> the Linux TiddlyDesktop Linux executable.
>> sudo chmod +x nw
>>
>> When I follow through with the following step, which is:
>>
>> Finally, start up the TiddlyDesktop executable application up
>> on your Linux PC.
>> ./nw
>>
>> I get this message in the terminal:
>>
>>./nw: error while loading shared libraries: libgconf-2.so.5:
>> cannot open shared object file: No such file or directory
>>
>> Thanks in advance.
>>
>>
>> On Friday, June 4, 2021 at 2:37:43 AM UTC-4 iamdar...@gmail.com
>> wrote:
>>
>>> Hello and welcome!
>>>
>>> 2 things:
>>>
>>> 1) There is a known bug when trying to create a new TiddlyWiki file
>>> from within TiddlyDesktop.
>>> 2) Follow the steps outlined in the below link, including the
>>> downloading and renaming of the HTML file, and you should be good :) You
>>> can download the zip file via