[tw5] Re: How to mimic tab bar behaviour

2018-12-04 Thread Tristan Kohl
Hi Tony,

of course I meant tag - don't know why I wrote tab here :/

Could you point me to Mario's plugin? I seem not to be able to find it here 
when looking for alt tag.

Cheers,
Tristan

On Tuesday, December 4, 2018 at 5:00:54 AM UTC+1, TonyM wrote:
>
> Tristain
>
> When you say tabs bar do you mean tags bar in edit mode?
>
> Marios alt tags plugin provides tag like behaviour for other fields, if 
> this is not what you are looking it may have some code in it you could use.
>
> Regards
> 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 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/fa64ad01-e5e9-420c-9671-6aa0a59f8574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to mimic tab bar behaviour

2018-12-03 Thread Tristan Kohl
Hey guys,

I have a field in one of my templates which I would like to populate with a 
selection of tiddlers I choose from a list. When I select one I would like 
to have that tiddler added to a field in my "to-be-created"-Tiddler so all 
selected tidders get shown on my template and I can remove any of them if I 
missclicked.

I know that I can use a select widget (which I currently do) with 
"multiple" but if I have a big list of possible tiddlers to choose from 
holding down Ctrl everytime gets somewhat impractical (forget it once and 
all previous selections are gone). Therefore I was digging around hoping to 
find out how the tab bar was implemented as it pretty much does exactly 
what I want. I would need to trim it a little so it interacts with a field 
other than "tags" but all the functionality is there already. Does anybody 
have a hint for me as to where I can find the implementation of tags bar?

Thanks in advance.

Cheers
Tristan

-- 
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/8c19d00e-9a5a-40a5-8995-b91c3656a405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: List widget templating

2018-10-30 Thread Tristan Kohl
Your hint using a block element brought me to remember reading something 
about block mode somewhere and I found it in the transclude widget. By 
setting mode="block" there I could skip that additional div. Thank you 
again for your help :)

On Tuesday, October 30, 2018 at 3:05:08 PM UTC+1, Tristan Kohl wrote:
>
> Thank you, that was the solution. Feels weird to put a div inside my 
> template but at least it works.
>
> On Tuesday, October 30, 2018 at 1:53:42 PM UTC+1, Eric Shulman wrote:
>>
>> On Tuesday, October 30, 2018 at 5:05:53 AM UTC-7, Tristan Kohl wrote:
>>>
>>> One problem solved, the next arises...
>>> I have a list widget which gets passed a template tiddler to apply. 
>>> However for some reason all TW markup in that tiddler gets just output as 
>>> plain text and not parsed as one would expect.
>>>
>> ... 
>>
>>> I would expect to have three  elements followed by those widgets. 
>>> What am I missing?
>>>
>>
>> The problem is that the template content is being parsed "inline" instead 
>> of "block mode".  One way to force the template content to be shown in 
>> block mode is to add a surrounding ... in the template.  One 
>> very important detail: there MUST be a blank line before the first "!" 
>> (heading) syntax or it still will be rendered inline as a literal "!" 
>> instead of an  element.  Thus, your template should look like this:
>>
>> 
>>
>> ! Activity
>> <$select field="activity-id">
>> <$list filter="[crm-type[activity]]">
>> {{!!name}}
>> 
>> 
>>
>> ! Date
>> <$edit-text field="date" type="date" />
>>
>> ! Description
>> <$edit-text class="tc-edit-texteditor" field="description" size="40" />
>> 
>>
>> That should do it.  Let me know how it goes.
>>
>> enjoy,
>> -e
>> Eric Shulman
>> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
>> InsideTiddlyWiki: The Missing Manuals
>>  
>>
>

-- 
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/7b66c41e-eaf8-4145-8224-729015026a2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: List widget templating

2018-10-30 Thread Tristan Kohl
Thank you, that was the solution. Feels weird to put a div inside my 
template but at least it works.

On Tuesday, October 30, 2018 at 1:53:42 PM UTC+1, Eric Shulman wrote:
>
> On Tuesday, October 30, 2018 at 5:05:53 AM UTC-7, Tristan Kohl wrote:
>>
>> One problem solved, the next arises...
>> I have a list widget which gets passed a template tiddler to apply. 
>> However for some reason all TW markup in that tiddler gets just output as 
>> plain text and not parsed as one would expect.
>>
> ... 
>
>> I would expect to have three  elements followed by those widgets. 
>> What am I missing?
>>
>
> The problem is that the template content is being parsed "inline" instead 
> of "block mode".  One way to force the template content to be shown in 
> block mode is to add a surrounding ... in the template.  One 
> very important detail: there MUST be a blank line before the first "!" 
> (heading) syntax or it still will be rendered inline as a literal "!" 
> instead of an  element.  Thus, your template should look like this:
>
> 
>
> ! Activity
> <$select field="activity-id">
> <$list filter="[crm-type[activity]]">
> {{!!name}}
> 
> 
>
> ! Date
> <$edit-text field="date" type="date" />
>
> ! Description
> <$edit-text class="tc-edit-texteditor" field="description" size="40" />
> 
>
> That should do it.  Let me know how it goes.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
> InsideTiddlyWiki: The Missing Manuals
>  
>

-- 
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/c2a46ede-6076-48ef-837f-75b58c31f9a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] List widget templating

2018-10-30 Thread Tristan Kohl
One problem solved, the next arises...

I have a list widget which gets passed a template tiddler to apply. However 
for some reason all TW markup in that tiddler gets just output as plain 
text and not parsed as one would expect.

Template tiddler:
! Activity
<$select field="activity-id">
<$list filter="[crm-type[activity]]">
{{!!name}}



! Date
<$edit-text field="date" type="date" />

! Description
<$edit-text class="tc-edit-texteditor" field="description" size="40" />

Calling tiddler:
<$wikify name="target" text="$:/temp/<>/activity">
<$set name="contact-id" value={{!!title}}>
<$list filter="[titleis[tiddler]]" template="activity" />



Output:
! Activity:  ! Date:  ! Description: 


I would expect to have three  elements followed by those widgets. What 
am I missing?

-- 
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/dac9d90b-443c-4ace-a4af-c11e71030985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How does one handle dynamic content?

2018-10-30 Thread Tristan Kohl
Thank you, this might do the trick :)

On Monday, October 29, 2018 at 6:14:12 PM UTC+1, Mark S. wrote:
>
> The ActionListopsWidget
>
> can be used to add items to a list.
>
> The delete widget can be used to delete tiddlers.
>
> Your outer template (overall template) might look like:
>
> <$vars person=<>>
> <$list filter=[enlist{!!contacts}] >
> {{||contactTemplate}}
> 
> 
>
> and the contact template might look like:
>
> <$button> 
> <$action-deletetiddler $tiddler=<> />
> <$action-listops $tiddler=<> $field="contacts" 
> $subfilter="+[remove]"/> 
> Delete <> which supports <>
> 
> Phone: <$edit-text tiddler=<> field="phone1" size=20 tag="input"/> 
>
> Then a button would appear in each contact section allowing you to remove 
> that tiddler and remove it's entry in the contact list.
>
> HTH
> -- Mark
>
>
> On Monday, October 29, 2018 at 9:16:22 AM UTC-7, Tristan Kohl wrote:
>>
>> Thanks, that sounds very promising, I almost made my peace with huge 
>> filtering all over the place :/. But how do I get those titles in my list 
>> field without overwriting those that are already there? And how do I manage 
>> deletion of say Person1-Contact2 which might be somewhere in the middle of 
>> that list?
>>
>> Cheers,
>> Tristan 
>>
>> On Monday, October 29, 2018 at 5:04:48 PM UTC+1, Mark S. wrote:
>>>
>>> I would avoid complicated structures like JSON, since the tools in TW 
>>> won't let you work with them easily.  In most cases, it will be easier to 
>>> use other tiddlers as if they formed the related table in a relational 
>>> database.
>>>
>>> I think you want each individual to have multiple contact structures. 
>>> You could store these in separate tiddlers. (e.g. Person1-Contact1, 
>>> Person1-Contact2). Then have a list field like "contacts" that stores the 
>>> name of related contact structures:
>>>
>>> contacts: [[Person1-Contact1]] [[Person1-Contact2]]
>>>
>>> You could have a template for each person. And a contact Template. Your 
>>> person template would call the contact template:
>>>
>>> <$edit field="vorname"  whatever else needs to be edited here ...>
>>> <$list filter=[enlist{!!contacts}] >
>>> {{||contactTemplate}}
>>> 
>>>
>>> The contact template exposes fields like phone number:
>>>
>>> Phone: <$edit-text field="phone1" size=20 tag="input"/>
>>>
>>> Good luck!
>>> -- Mark
>>>
>>> On Monday, October 29, 2018 at 7:45:59 AM UTC-7, Tristan Kohl wrote:
>>>>
>>>> Hey guys,
>>>>
>>>> I have an issue with my current project. I am not sure how one would 
>>>> tackle this problem so I hope one of you could help me:
>>>>
>>>> I have a tiddler representing a person which gets rendered through a 
>>>> template to display some fields. After creation there are only three 
>>>> fields: forename, surname and birthday. However in my template I would 
>>>> like 
>>>> to have a edit-text widget by what I would add contact informations to 
>>>> that 
>>>> contact. I could create a new tiddler for every phone number, email etc. 
>>>> but since those values are tightly coupled to a person I think it would be 
>>>> easier to manage if I put those inside the person tiddler as they are no 
>>>> longer useful if I delete this person (I would put them in the same table 
>>>> in a relational database as well).
>>>>
>>>> But here comes my current problem into play as I do not know how to 
>>>> store an arbitrary amount of contact informations inside a field so I can 
>>>> nicely iterate over them in the template for display. My second idea was 
>>>> to 
>>>> make the person tiddler a dictionary tiddler and pass it through a 
>>>> template 
>>>> upon request but I have no idea how one would do this and if that would 
>>>> even be possible.
>>>>
>>>> *TL;DR;*
>>>> How do I store an arbitrary amount of values inside a field (JSON 
>>>> maybe?) and how to iterate over them? Is there a better alternative?
>>>>
>>>

-- 
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/95f6433a-86d2-4218-98e4-1977fc809fd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How does one handle dynamic content?

2018-10-29 Thread Tristan Kohl
Thanks, that sounds very promising, I almost made my peace with huge 
filtering all over the place :/. But how do I get those titles in my list 
field without overwriting those that are already there? And how do I manage 
deletion of say Person1-Contact2 which might be somewhere in the middle of 
that list?

Cheers,
Tristan 

On Monday, October 29, 2018 at 5:04:48 PM UTC+1, Mark S. wrote:
>
> I would avoid complicated structures like JSON, since the tools in TW 
> won't let you work with them easily.  In most cases, it will be easier to 
> use other tiddlers as if they formed the related table in a relational 
> database.
>
> I think you want each individual to have multiple contact structures. You 
> could store these in separate tiddlers. (e.g. Person1-Contact1, 
> Person1-Contact2). Then have a list field like "contacts" that stores the 
> name of related contact structures:
>
> contacts: [[Person1-Contact1]] [[Person1-Contact2]]
>
> You could have a template for each person. And a contact Template. Your 
> person template would call the contact template:
>
> <$edit field="vorname"  whatever else needs to be edited here ...>
> <$list filter=[enlist{!!contacts}] >
> {{||contactTemplate}}
> 
>
> The contact template exposes fields like phone number:
>
> Phone: <$edit-text field="phone1" size=20 tag="input"/>
>
> Good luck!
> -- Mark
>
> On Monday, October 29, 2018 at 7:45:59 AM UTC-7, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> I have an issue with my current project. I am not sure how one would 
>> tackle this problem so I hope one of you could help me:
>>
>> I have a tiddler representing a person which gets rendered through a 
>> template to display some fields. After creation there are only three 
>> fields: forename, surname and birthday. However in my template I would like 
>> to have a edit-text widget by what I would add contact informations to that 
>> contact. I could create a new tiddler for every phone number, email etc. 
>> but since those values are tightly coupled to a person I think it would be 
>> easier to manage if I put those inside the person tiddler as they are no 
>> longer useful if I delete this person (I would put them in the same table 
>> in a relational database as well).
>>
>> But here comes my current problem into play as I do not know how to store 
>> an arbitrary amount of contact informations inside a field so I can nicely 
>> iterate over them in the template for display. My second idea was to make 
>> the person tiddler a dictionary tiddler and pass it through a template upon 
>> request but I have no idea how one would do this and if that would even be 
>> possible.
>>
>> *TL;DR;*
>> How do I store an arbitrary amount of values inside a field (JSON maybe?) 
>> and how to iterate over them? Is there a better alternative?
>>
>

-- 
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/1f8fc858-4d81-4764-a7d0-869f361695ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How does one handle dynamic content?

2018-10-29 Thread Tristan Kohl
Hey guys,

I have an issue with my current project. I am not sure how one would tackle 
this problem so I hope one of you could help me:

I have a tiddler representing a person which gets rendered through a 
template to display some fields. After creation there are only three 
fields: forename, surname and birthday. However in my template I would like 
to have a edit-text widget by what I would add contact informations to that 
contact. I could create a new tiddler for every phone number, email etc. 
but since those values are tightly coupled to a person I think it would be 
easier to manage if I put those inside the person tiddler as they are no 
longer useful if I delete this person (I would put them in the same table 
in a relational database as well).

But here comes my current problem into play as I do not know how to store 
an arbitrary amount of contact informations inside a field so I can nicely 
iterate over them in the template for display. My second idea was to make 
the person tiddler a dictionary tiddler and pass it through a template upon 
request but I have no idea how one would do this and if that would even be 
possible.

*TL;DR;*
How do I store an arbitrary amount of values inside a field (JSON maybe?) 
and how to iterate over them? Is there a better alternative?

-- 
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/0ebde688-fcb6-44af-875b-121b60912e4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to transclude data tiddler entries as options

2018-07-20 Thread Tristan Kohl
Ah, I did not know that currentTiddler is the actual field. Thank you so 
much for explaining, it is sometimes a little tough wrapping my head around 
this being used to generic programming languages.

On Friday, July 20, 2018 at 7:30:44 PM UTC+2, Jed Carty wrote:
>
> The first list gets a list of the indexes (the labels 1, 2, etc.), the 
> second list gets the value of each index. You could also do it with a set 
> widget and get the same result. Or a view widget like this:
>
> <$select tiddler=<> field="pattern">
> <$list filter='[[$:/plugins/beehive/rating]indexes[]]' variable=IndexValue>
> >><$view tiddler='$:/plugins/beehive/rating' 
> index=<>/>
> 
> 
>
>
>
> setting the value attribute of the option sets the value stored if you 
> want it to be different than the value displayed
>

-- 
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/84cd17a5-d757-48b5-baaf-f95a7d944b27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to transclude data tiddler entries as options

2018-07-20 Thread Tristan Kohl
Oh and I saw that it passes "Good" etc. as the new value for my 
tempTiddler. I need it to assign the index value to that. So when I select 
"Good" it should assign "4" to tempTiddler. Sorry for not making that clear 
before.

On Friday, July 20, 2018 at 6:59:11 PM UTC+2, Jed Carty wrote:
>
> This should work
>
> <$select tiddler=<> field="pattern">
> <$list filter='[[$:/plugins/beehive/rating]indexes[]]'>
> <$list filter='[[$:/plugins/beehive/rating]getindex]'>
> <>
> 
> 
> 
>
>
>
>
>

-- 
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/38a2a48e-d4e7-473c-869e-40768b3aa853%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to transclude data tiddler entries as options

2018-07-20 Thread Tristan Kohl
Wow, that is impressive, thank you O.o

However I do not quite understand why we need the second list widget. Would 
you mind explain to me what it does? As far as I understand the first 
"currentTiddler" references my ratings tiddler since it gets assigned by 
the first list widget. But what does the second list do? And why do I have 
to pass my ratings tiddler to getindex?

Cheers,
Tristan

On Friday, July 20, 2018 at 6:59:11 PM UTC+2, Jed Carty wrote:
>
> This should work
>
> <$select tiddler=<> field="pattern">
> <$list filter='[[$:/plugins/beehive/rating]indexes[]]'>
> <$list filter='[[$:/plugins/beehive/rating]getindex]'>
> <>
> 
> 
> 
>
>
>
>
>

-- 
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/85c9b062-ce2c-404d-b1f6-0acc12f438e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to transclude data tiddler entries as options

2018-07-20 Thread Tristan Kohl
Hey guys,

I have a little problem with my transclusions creating uniform rating 
values.

What I want is for Tiddler B to create an option widget for every entry in 
Tiddler A (see below):

Tiddler A:

> title: $:/plugins/beehive/rating
> caption: Rating
> type: application/x-tiddler-dictionary
>
> 1: Poor
> 2: Moderate
> 3: OK
> 4: Good
> 5: Very good
>

Tiddler B:

> Brood pattern: <$select tiddler=<> field="pattern">
> // how do I get options for all values in Tiddler A?
> 
>

Hope, someone can help me out here, I have no clue how to do this :(

Cheers,
Tristan

-- 
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/1881e8a2-705b-415d-a5b1-5462a6d1ae90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create table from filter

2018-06-01 Thread Tristan Kohl
Thank you Mark, I will give it a try.

@Jed: I found your plugin but I wanted a read-only list so I thought it 
would not quite fit my need.

Cheers,
Tristan

On Wednesday, May 30, 2018 at 5:49:47 PM UTC+2, Mark S. wrote:
>
> This seems to do it. Note that you can't use "type" -- it's already used 
> by TW. So I changed it to "kind".
>
> -- Mark
>
> 
> <$list filter="foo" >
> <$vars location-id={{!!title}}>
> <$list filter="[field:location-id{!!title}]" >
> <$vars uid={{!!title}} amount={{!!amount}} date={{!!date}}>
> <$list filter="[{!!type-id}get[kind]]">
> 
> <> <> <> {{!!title}}
> 
> 
> 
> 
> 
> 
> 
> 
>
>
>
> On Wednesday, May 30, 2018 at 8:18:31 AM UTC-7, Tristan Kohl wrote:
>>
>> Hi Mark,
>>
>> yes you are right the location-id refers to Tiddler A.
>>
>> I need this setup for my record keeping for my bees. So I have a hive 
>> (Tiddler A) in some location and there are numerous times a year I check in 
>> on them and do my beekeeping stuff (Tiddler B). Those actions may contain 
>> some treatments (harvest, ...) (Tiddler C).
>>
>> I tried the pipe approach as well but that did not seem to work at all so 
>> I was asking for some hint how to do this for a variable amount of tiddlers 
>> per hive.
>>
>>
>> You would build up the table using HTML table structures - <$list> 
>>> introduces spaces, which breaks pipe | tables -- or at least I could never 
>>> get it to work.  
>>>
>>
>> I am not sure I get what you meant? Up until now I used a custom macro 
>> which would use the field names I give to it as arguments. The values from 
>> B show up quite nice in my table. However due to the reference from B to C 
>> I only get the name from Tiddler C in my table and not the value from the 
>> "type" field in Tiddler C. 
>>
>

-- 
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/2c7cf6f9-aa42-4f3f-8f4e-e1abb1515463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Webdav] Backups ?

2018-06-01 Thread Tristan Kohl
I am happy to see that Caddy got some friends here :)

My backup strategy is not TW specific but since I run my Raspberry 24/7 I 
need a way to backup some directories from it. Therefore I use a shell 
script on my workstation which runs a rsync pull against my Raspberry 
before performing the local backup with borg. So I have always a copy from 
my last backup run (usually once a day) on my local hard drive and 
versioned backups in my borg repository. Since I need 5 or 6 locations to 
backup this way (no direct backup from my Pi), I just dropped the TW folder 
into the mix.

As I said this is not TW specific but it saves me from forgetting about 
backing up my wikis because rsync checks for changes.

Cheers,
Tristan

On Thursday, May 31, 2018 at 8:52:53 AM UTC+2, FrD wrote:
>
> Hi,
>
> I've been using webdav for a few days (weeks ?) now. The main point for me 
> is to be able to save easily my TWs as files. It works very well locally 
> and for files on dropbox (I've tested with OneDrive : works fine too). I'm 
> using Caddy on my PC (windows 10) and Serveur WebDAV on my android phone.
>
> IMO there is one missing feature in the webdav saver : the ability to make 
> backups. It could be for instance the way save-tiddlers (PMario's plugin) 
> works or the way TW Classic manages this question.
>
> I have no idea how to do that and where ; a modification in the putsaver ? 
> a dedicated plugin ?.
> If someone is interested and could take from here ...
>
> I could at least do the testings :-)
>
> Thanks
>
> Regards
>
> FrD
>

-- 
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/dca7faa2-3c26-4c83-a13c-16941149ea86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Create table from filter

2018-05-30 Thread Tristan Kohl
Hi Mark,

yes you are right the location-id refers to Tiddler A.

I need this setup for my record keeping for my bees. So I have a hive 
(Tiddler A) in some location and there are numerous times a year I check in 
on them and do my beekeeping stuff (Tiddler B). Those actions may contain 
some treatments (harvest, ...) (Tiddler C).

I tried the pipe approach as well but that did not seem to work at all so I 
was asking for some hint how to do this for a variable amount of tiddlers 
per hive.


You would build up the table using HTML table structures - <$list> 
> introduces spaces, which breaks pipe | tables -- or at least I could never 
> get it to work.  
>

I am not sure I get what you meant? Up until now I used a custom macro 
which would use the field names I give to it as arguments. The values from 
B show up quite nice in my table. However due to the reference from B to C 
I only get the name from Tiddler C in my table and not the value from the 
"type" field in Tiddler C. 

-- 
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/cdea5e2a-7407-4190-b2fd-2c0bfd0abd82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Create table from filter

2018-05-30 Thread Tristan Kohl
Hey guys,

I might bark up the wrong tree but I can not find a hint how to generate a 
table from a filter. My tiddlers work like records which cross reference to 
others so I need a way to generate a "smart" table.

An example might be better than me explaining foolish:

*Tiddler A:*

   - title: foo
   
*Tiddler B (multiple tiddlers like this):*

   - title: bar0
   - date: bardate0
   - amount: baramount0
   - location-id: foo
   - type-id: baz
   
*Tiddler C:*

   - title: baz
   - type:baztype
   
This would be a classic join in SQL-land but I do not get it working in TW. 
The table I want to see in the end (when opening tiddler A) would look like 
this:

| UID  |   Date   |Amount  |   Type  |
| bar0 | bardate0 | baramount0 | baztype |
| bar1 | bardate1 | baramount1 | baztype |
...

I hope my example is somewhat understandable, I tried to represent the 
problem it as generic as possible.

Cheers,
Tristan

-- 
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/f3926eb7-25e2-45f0-a4dc-7c9cae82e965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Server setup tutorials; anyone interested?

2018-05-23 Thread Tristan Kohl
Hi Jed,

well it looks like I fell for the multiuser keyword. I will give Bob a try 
for a few wikis I share with my family so there might be race conditions - 
altough there never were so far.

Cheers

On Tuesday, May 22, 2018 at 3:54:59 PM UTC+2, Jed Carty wrote:
>
> One reason Bob works the way it does us because I run it on a raspberry pi 
> and tiddlyserver kept using up all the resources, so Bob uses a single node 
> process that serves all the wikis.
>
> the multiuser part isn't the big selling point for Bob, the immediate two 
> way syncing of individual tiddlers between the browser(s) and the server so 
> you don't accidentally open a new tab and lose changes and all the browser 
> tabs are in sync is the biggest reason I use it.
>
> simple solutions are good, if webdav is doing what you want than it is a 
> good solution. I just don't want there to be too many misconceptions about 
> what Bob is.
>
>

-- 
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/a4bd71ab-d6cc-4922-a125-7c93c0110a91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Server setup tutorials; anyone interested?

2018-05-18 Thread Tristan Kohl
The main reason for me to take the WebDAV route was the limited hardware I 
run on. I have a Raspberry 3 as my home server which serves me quite nice 
for all my needs (contacts, calendar, file sync,...) and I did not want to 
upgrade just to have more than a few wikis. The problem with Arlen's 
TiddlyServer was that it starts a new TW instance for everytime a new wiki 
gets browsed for the first time. Since my Pi runs on 1GB of RAM it was only 
a question of time when that memory runs full - and I hit that wall, it was 
not nice.

As far as I can tell from reading Jed's post Bob is for multiuser 
environments which I have limited use for. My main use for TW is to record 
and keep track of various projects and things around me, so most of the 
time it is just me adding stuff to the files. That is also why it is ok for 
me that the WebDAV saver uploads the full wiki on every save as there are 
only occasionally updates to the files I have.

Cheers

On Friday, May 18, 2018 at 6:33:11 PM UTC+2, Mark S. wrote:
>
> It's been a long time since I've had to do web-work without some interface 
> like cpanel. It would be interesting to see how you set up webdav on vultr. 
> Is it considered secure? (at least secure from hackers, that are always 
> looking for a place to put their spam-links) ?
>
> The next question is, for home/office use, what is the advantage of WebDav 
> (which seems to have a very convoluted set up) over tiddlyserver or Bob ?
>
> Thanks!
> -- Mark
>
> On Friday, May 18, 2018 at 7:30:32 AM UTC-7, Lost Admin wrote:
>>
>> A while back PMario made a video on how to set-up a webdav server on IIS 
>> .
>>  
>> I also made some observations on tiddlywiki's WebDAV saver using Apache 
>> HTTP. Since then, the issue I had in my observations has been corrected 
>> (awesome work by the way to Jeremy and anyone who helped). As far as I can 
>> tell the WebDAV Saver works very well on IIS webdav and Apache webdav (I 
>> run both).
>>
>>
>> I imagine many people on this list are technically savvy and capable of 
>> setting up their own server for TiddlyWiki. But I do wonder if there are 
>> people who want to do so but would like a tutorial to follow.
>>
>> When I first found Tiddlywiki, I initially used the download saver. 
>> Shortly after I learned about TiddlySpot and started using it (I still do). 
>> That lead me to finding out how it works and learning about "store.php" and 
>> the various GitHub repositories for variations of it.
>>
>> When the WebDAV saver became available, I switched my home server (just a 
>> little always-on Intel NUC) to use WebDAV and removed store.php (and PHP). 
>> Lately I've been playing with Note Self, which uses the Apache CouchDB as a 
>> back end database, and set-up my own small infrastructure on vultr.com 
>> (cloud vm hosting).
>>
>> None of what I've done is particularly exciting but it does require a 
>> certain amount of knowledge. For the most part, I found tutorials on how to 
>> set-up the various components, followed them, and then read documentation 
>> and fiddled with settings until I was satisfied everything worked smoothly.
>>
>> What I didn't do, was create good documentation on how I actually did 
>> what I did. Before I actually set-out on doing so, would people actually 
>> use it?
>>
>> or
>>
>> How many of you want to set-up your own dedicated server for TiddlyWiki 
>> but want a tutorial to follow?
>>
>> I'll be creating one for a basic self-hosted Note Self 
>>  CouchDB back-end and posting it on the Note 
>> Self forums  regardless.
>>
>>

-- 
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/8d043e44-0dc7-496e-91b0-19ded02bf315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving via WebDAV the easy way

2018-05-18 Thread Tristan Kohl
Well, since I only use it in my own VPN I figured Caddy's built in 
basicauth feature suffices to create user spheres. So I put all wikis for 
one person in one directory and tell caddy to use basicauth for that 
location.

Regarding the startup procedure, I put my Caddy executable inside PATH and 
used a systemd service to start a caddy process on boot. This setup works 
like a charm on my Raspberry for a few months now.

I hope this was somewhat understandable, feel free to ask if I should 
clarify things.


On Friday, May 18, 2018 at 5:46:09 PM UTC+2, Lost Admin wrote:
>
> That is amazingly easy. How do you add user authentication and 
> authorization for saving?
>
> How can it be set-up as a service so that it starts up when the computer 
> boots?
>
> On Sunday, March 4, 2018 at 12:39:24 PM UTC-5, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> as I tried various ways for storing a big amount of wikis on my limited 
>> hardware I came across the WebDAV capabilities and gave them a try as well.
>> Mario's videos were great but since I do not own any Microsoft license 
>> whatsoever this was no option. However I tried it with my favourite open 
>> source webserver Caddy <https://caddyserver.com/> which I tell you is an 
>> awesome peace of software by itself. But combining it with TW makes using 
>> TWs over network a child's play since Caddy has WebDAV build in already.
>>
>> Here are the steps to follow:
>>
>>1. Go to Caddy download page <https://caddyserver.com/download>
>>2. Select the webdav plugin (documentation 
>><https://caddyserver.com/docs/http.webdav>) and personal license and 
>>hit download
>>3. Unzip the archive we only need the executable which we put in the 
>>same directory as the wikis we want to serve
>>4. Create a text file called "Caddyfile" *with capital "C"* and write 
>>these two lines in it*:*
>>
>> :8000
>>
>> webdav
>>
>>
>> That's it, just execute the caddy file via a terminal and you are set. No 
>> configuration or anything else.
>>
>> A wiki called mywiki.html is available 
>> via http://[IP_OF_THE_SERVER]:8000/mywiki.html.
>>
>>
>> I hope this helps some of you, I will play around with it for a while now 
>> and see how it compares to the other solutions I am testing.
>>
>>
>> Cheers,
>>
>> Tristan
>>
>>

-- 
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/1ce9b32b-81f4-406a-9f2e-dcc8c89d4bc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Server setup tutorials; anyone interested?

2018-05-18 Thread Tristan Kohl
In March I wrote a post about how to setup a almost plug and play WebDAV 
server for Tiddlywiki using my favorite webserver Caddy 
. Maybe that helps some people who do not want to 
fiddle around with complicated Apache configurations and there likes.

https://groups.google.com/forum/#!msg/tiddlywiki/EgJrutChcNc/AYXQYfQ0BwAJ

Cheers

On Friday, May 18, 2018 at 4:30:32 PM UTC+2, Lost Admin wrote:
>
> A while back PMario made a video on how to set-up a webdav server on IIS 
> .
>  
> I also made some observations on tiddlywiki's WebDAV saver using Apache 
> HTTP. Since then, the issue I had in my observations has been corrected 
> (awesome work by the way to Jeremy and anyone who helped). As far as I can 
> tell the WebDAV Saver works very well on IIS webdav and Apache webdav (I 
> run both).
>
>
> I imagine many people on this list are technically savvy and capable of 
> setting up their own server for TiddlyWiki. But I do wonder if there are 
> people who want to do so but would like a tutorial to follow.
>
> When I first found Tiddlywiki, I initially used the download saver. 
> Shortly after I learned about TiddlySpot and started using it (I still do). 
> That lead me to finding out how it works and learning about "store.php" and 
> the various GitHub repositories for variations of it.
>
> When the WebDAV saver became available, I switched my home server (just a 
> little always-on Intel NUC) to use WebDAV and removed store.php (and PHP). 
> Lately I've been playing with Note Self, which uses the Apache CouchDB as a 
> back end database, and set-up my own small infrastructure on vultr.com 
> (cloud vm hosting).
>
> None of what I've done is particularly exciting but it does require a 
> certain amount of knowledge. For the most part, I found tutorials on how to 
> set-up the various components, followed them, and then read documentation 
> and fiddled with settings until I was satisfied everything worked smoothly.
>
> What I didn't do, was create good documentation on how I actually did what 
> I did. Before I actually set-out on doing so, would people actually use it?
>
> or
>
> How many of you want to set-up your own dedicated server for TiddlyWiki 
> but want a tutorial to follow?
>
> I'll be creating one for a basic self-hosted Note Self 
>  CouchDB back-end and posting it on the Note 
> Self forums  regardless.
>
>

-- 
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/37ddd837-8095-49c2-b973-ee96044e91ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: History: Is TiddlyWiki A Card-Index System?

2018-04-02 Thread Tristan Kohl
Great recap Josiah, thank you for that :)

I want to drop my two cents as well: Before I came to TW I was just looking 
for a note taking application and tried many (DokuWiki, Zim, 
CherryTree,...) and mentioned Zettelkasten. Since I live in Germany it was 
pretty easy for me to get into the mostly german community as there was no 
language barrier for me to overcome. However after some months and dozens 
of cards I came to the conclusion that "finding emerging interconnections" 
is not the same as "note taking".

I then stumbled on TW and gave it a try as I did with all the others. Back 
then I did not expect that I would fall in love with it and TW bringing me 
an exciting new hobby waking the urge to learn programming. Today, looking 
back at my odyssey I see TW as a general purpose database which provides 
the (boring but necessary) backend (storing, linking, searching, saving, 
... )  to build any imaginable application on top. So I would second Tony's 
observation and state that TW can be used as the database to implement a 
full blown Zettelkasten. But you could not use Zettelkasten for everything 
TW can do (see my experiences above).

Nowadays I use TW as a tool to keep track of my bees, my honey wine 
production, home automation and many other things which I could not do on 
top of many other software other than a real DBM - but than I would have to 
recreate the frontend over and over again instead of just using a bunch of 
widgets and wikitext.

I just noticed that the author dropped the original Zettelkasten 
application in favour of his new app - TW still exists so I would say that 
is another win for us users :)

Cheers,
Tristan

On Thursday, March 29, 2018 at 4:07:03 PM UTC+2, @TiddlyTweeter wrote:
>
> Mark S. asked ... 
>
>> Perhaps with your background you could explain Zettelkasten. There seems 
>> to be an almost cult-like culture around a system of taking notes (by 
>> software or index cards). https://zettelkasten.de/ .
>>
>
> Mark S. asked me that interesting question in another thread, started by 
> Mat, comparing TW to other "similar software". I been thinking about Mark's 
> question. I wasn't sure if people here are interested in this, but then I 
> thought well, hey, they might be ...
>
> "Zettelkästen" is just the German for "card indices" in general. 
> https://zettelkasten.de/ is a specific "Zettelkästen Methodology" derived 
> from the work done originally (on physical cards) by the brilliant prolific 
> sociologist and systems theorist Niklas Luhmann.
>
> He was one of several social scientists who prefigured issues that would 
> come up in the development of software for "soft data" and "emergent 
> structure". The point being that in the social sciences, a lot of the time, 
> theories/patterns emerge during research, so you need flexibility--its not 
> like hard science which is more driven by strict prior hypotheses that have 
> clear "data slots"--nor is it like birth & death records, nor address books 
> etc. In short, social science (especially ideographic fieldwork) needs an 
> "open" way to record information. 
>
> The PRACTICAL issue for the Luhmann style Zettelkästeners, in software, 
> was (1) how to maintain the integrity of the record (the card) AND (2) 
> relate that record to other records (the cards) in an EMERGENT way. In 
> other words NOT be a strict database that only had determined prior slots 
> (hypothesised significant). At the time of emergence of such work it was a 
> hot issue.
>
> The "Zettelkästen Methodology" is interesting and clearly is still used to 
> good effect. Not so remarked upon, but significant, is that quite a lot of 
> the sense-making in it is EXTERNAL to the computer. Its about guesses 
> external to the data itself to find pattern. 
>
> Luhmann make two Zettelkästen (manual, physical) in his life, with 
> thousands of records each, and they informed and structured most all of his 
> voluminous writing. It worked. But I'm not convinced it worked without HIM 
> doing "in head" most of the cross-connection work.
>
> Zettelkästen Methodology now looks a bit like a "blast from the past" ... 
> I mean the oft discussion of the vitality of "Tags" OVER 
> "Topics/Categories" is already a done deal on the net nowadays. So in that 
> sense its a bit like a Philosophy of Knowledge that's done it job already.
>
> ---
>
> On the comparison of TiddlyWiki and Card Indices ... which OFTEN users 
> point to and celebrate ... well it works for SOME TiddlyWiki set up that 
> way. No harm in using that analogy. BUT the analogy quickly breaks down.
>
> Card Index systems (& computer equivalents) are base on *the sacredness 
> of the record (Card)* whilst TiddlyWiki is based on the *equality of the 
> fragment (Tiddler)*. So what in the Zettelkästen Methodology is seen as a 
> "basic unit" (card), in TiddlyWiki might also be a card, but could also be 
> composed of fragments (Tiddlers), decomposed and reassembled multiple ways. 
>
> Zettelkästen 

[tw] Saving via WebDAV the easy way

2018-03-04 Thread Tristan Kohl
Hey guys,

as I tried various ways for storing a big amount of wikis on my limited 
hardware I came across the WebDAV capabilities and gave them a try as well.
Mario's videos were great but since I do not own any Microsoft license 
whatsoever this was no option. However I tried it with my favourite open 
source webserver Caddy  which I tell you is an 
awesome peace of software by itself. But combining it with TW makes using 
TWs over network a child's play since Caddy has WebDAV build in already.

Here are the steps to follow:

   1. Go to Caddy download page 
   2. Select the webdav plugin (documentation 
   ) and personal license and hit 
   download
   3. Unzip the archive we only need the executable which we put in the 
   same directory as the wikis we want to serve
   4. Create a text file called "Caddyfile" *with capital "C"* and write 
   these two lines in it*:*

:8000

webdav


That's it, just execute the caddy file via a terminal and you are set. No 
configuration or anything else.

A wiki called mywiki.html is available 
via http://[IP_OF_THE_SERVER]:8000/mywiki.html.


I hope this helps some of you, I will play around with it for a while now 
and see how it compares to the other solutions I am testing.


Cheers,

Tristan

-- 
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/9cfa7613-3dba-4a37-a730-4c5bf35889b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faster version

2018-03-01 Thread Tristan Kohl
Hello Mark,

I can not second this impression as my FF 58.0.2 on Kubuntu 16.04 (8GB 
RAM) uses ~900MB right now with the main process taking up around 200MB of 
that. Currenty there are 2 Tabs pinned (WhatsApp Web and one TW) and... let 
me count... 24 Tabs open one of them YouTube playing a video. So your 
problem is quite strange as the memory use was significantly decreased with 
the FF 58 Update. Before that my Firefox was almost as bad as Chrome in 
regards to memory but since than it got so much better. Maybe there are 
some plugins of yours eating up your memory? I can not remember that I ever 
had to reboot my computer/browser due to memory problems. My last computer 
reboot was like 4 days ago since then I only went to hibernate with Firefox 
still open and no problems so far.

Cheers,
Tristan


On Thursday, March 1, 2018 at 6:00:41 AM UTC+1, Mark S. wrote:
>
> The more tabs you open the more memory the browser takes. The more memory 
> the browser takes, the slower the browser goes.  You can see the memory use 
> in the task manager. When the browser uses too much memory it comes to a 
> complete stop and I have to reboot. 
>
> It's possible that your computer has a lot of memory and don't notice this 
> effect. I have only 8 gigs. At this moment, FF is taking up somewhere 
> around 5 gigs and I will need to reboot soon. I was hoping that the new 57+ 
> FF would be smarter about memory, but it is only marginally better than 
> before.
>
> -- Mark
>
> On Wednesday, February 28, 2018 at 6:33:35 PM UTC-8, PMario wrote:
>>
>> On Wednesday, February 28, 2018 at 8:43:11 PM UTC+1, Mark S. wrote:
>>>
>>> For firefox, reboot the browser and don't open more tabs than you really 
>>> need.
>>>
>>
>> That doesn't make sense. You can open as many tabs as you want. This 
>> doesn't affect TW. I personally have 10 tabs pinned, and several open, most 
>> of the time. 
>>
>> -m
>>
>

-- 
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/731d902f-cff6-4750-a3a2-f68d257391ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [POLL] What does the community think about the new diff plugin?

2018-02-27 Thread Tristan Kohl
I voted for it being not part of the core for the reason to keep the core 
as slim as possible. This makes TW run as fast as possible from the 
beginning and one can add new features (plugins) if need be. For simple 
note taking for example I could not imagine myself using this as it is a 
"write and forget" kind of workflow. In this case another bucket of code 
would just increase the load on my mobile devices (desktop has enough horse 
power) for no added benefit.

On the other side if I am about to tweak something in my test-wiki which I 
personally only do on my desktop I would love to have such a little helper 
to find out where I might screw things up. So I think the diff plugin as 
all the other little helpers that are not absolutely necessary for TW to 
run should be plugins which the user is free to add at their own discretion.

Cheers,
Tristan

On Monday, February 12, 2018 at 5:40:46 AM UTC+1, BurningTreeC wrote:
>
> Hello community,
>
> there's a new plugin on the TiddlyWiki prerelease page (link) 
>  that visually shows the differences 
> of what you added and deleted while editing a tiddler in the preview panel
>
> one can switch the colored diff preview on/off inside the preview dropdown 
> (beneath the eye button)
>
> Here's the github commit: 
> https://github.com/Jermolene/TiddlyWiki5/pull/3112
> As one can read there, it's not settled if this makes it into the 
> TiddlyWiki core, adding ~30kb to the empty html, or if it will be available 
> as a TiddlyWiki plugin
>
> I thought it would be interesting to see what the community thinks about it
>
> *So here's an anonymous poll:*
>
> *https://goo.gl/forms/Oh2a3Fhx9dUSttWA2* 
> 
>
> BTC
>

-- 
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/b923c91d-7564-4dc8-bc18-9f00cd211fbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: remoteStorage syncadaptor plugin

2018-02-24 Thread Tristan Kohl
Hi Giovanni,

thanks for fixing my two requests over on github ;)

I am quite happy with the plugin right now and did not encounter any 
problems so far. I will slowly start to migrate my "record keeping" wikis 
over to remoteStorage as I really still like the idea behind it and I can 
bring my account to some use finally. I will checkout your microapps over 
on remotestorage for sure.

Cheers,
Tristan

On Friday, February 23, 2018 at 3:45:17 AM UTC+1, Giovanni Parra wrote:
>
> Yeah, Tristan. I'm also the owner of a very old 5apps account, I always 
> liked remoteStorage, but had never seem any useful apps that supported it. 
> I wish I could say nowadays the situation is different, but still there 
> aren't many useful apps on https://wiki.remotestorage.io/Apps (besides 
> the 3 micro apps I've published recently, which are probably useful to me 
> only).
>
> Incredibly enough, there are lots of people using the protocol and working 
> on the client 10 years after, and everything works quite nicely. I guess 
> it's just waiting for more cases that match very well with the idea, like 
> TiddlyWiki, to discover it.
>
> Please let me know what you think of the plugin and whatever.
>
> On Thu, Feb 22, 2018 at 6:25 PM, Giovanni P  > wrote:
>
>> BTC: are you talking about (a) different storage providers/accounts or 
>> (b) different "folders" within the same storage provider?
>>
>> If (b), yes it could be done quite easily. Currently you can alternate 
>> between folders by changing $:/plugin/fiatjaf/remoteStorage/namespace (or 
>> something like that) in the config tiddler. There could be a custom 
>> configuration that used prefixes (or perhaps a custom function?) to 
>> determine the folder. I don't know what would be the best UI to implement 
>> this, but sure it is possible.
>>
>> If (a), then yes, but implementing it would be cumbersome since the 
>> remoteStorage JS client currently assumes you only have one remoteStorage 
>> server. There's an issue open to address this behavior there: 
>> https://github.com/remotestorage/remotestorage.js/issues/991, but this 
>> could be implemented with a different client, or just using raw HTTP 
>> requests to the remoteStorage server.
>>
>>
>> On Wed, Feb 21, 2018 at 6:42 PM, BurningTreeC > > wrote:
>>
>>> Thank you, Giovanni!
>>>
>>> Now it's much more clear to me - and it confirms that it does what I 
>>> wished it would!
>>>
>>> Could it also handle more storages than one? let's say 
>>> $:/tiddlers/like/this -> storage1, $:/tiddlers/like/that -> storage2 ?
>>> It's just an idea, I think it's already very cool what you've made!
>>>
>>> BTC
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> tiddlywiki+...@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/ddfc480d-7fc0-42d8-aa04-ee8f45b6019a%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/3cb10375-f41f-4f53-b6c6-3961006ae48d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: remoteStorage syncadaptor plugin

2018-02-23 Thread Tristan Kohl
Hi Tony,

my knowledge about remoteStorage is a bit rusty as I did not use it for a 
few years and almost forgot about it. But as I remember the remotestorage 
library works pretty much like pouchdb as it connects to a remote server 
and syncs itself with it when going online. All changes made offline are 
preserved and will be changed when there is a connection established. I 
think from the point of multiple users it behaves as pouchdb (NoteSelf) so 
any shortcomings there apply here as well as both are wrapers around a sync 
mechanism for the local IndexDB and the rest is handled by TW.

I would say NoteSelf and this plugin do pretty much the same thing the only 
difference being that they talk to different backends (remoteStorage or 
CouchDB).

I do not know anything about cpanel but judging by a short look at the 
homepage it is a linux hosting so running your own instance of a 
remoteStorage server should be a easy..

Cheers,
Tristan

On Thursday, February 22, 2018 at 11:52:08 PM UTC+1, TonyM wrote:
>
> Giovanni,
>
> I am not immediatly in a position to test this but the following questions 
> arrise;
> Can I host remote storage on cpanel accounts?
> How will it deal with multiple users both view and edit? Similtaniously or 
> serialy.
>
> Have you seen noteself?, It can also use a pouchdb inside the browser 
> session so changes can be saved locally to the browser even before the 
> equivalent of remoteStorage (couchdb) is connected to. This method may work 
> well with your solution.
>
> I hope your solution fits well with tiddlywiki because we still have some 
> gaps in hosted tiddlwikis.
>
> Thanks for your contribution.
>
> Regards
> 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 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/f6e5710b-c267-4496-a14d-7ddf0eeaf0ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: remoteStorage syncadaptor plugin

2018-02-22 Thread Tristan Kohl
When opening your files from your hard drive via the file:// protocol this 
might be an issue since Firefox does not allow http requests than. I would 
just use an always on static server to host single file wikis via 
caddyserver and store everything to remoteStorage.

I am trying to setup this myself right now so no guarantees.

Cheers,
Tristan

On Thursday, February 22, 2018 at 10:16:25 AM UTC+1, BurningTreeC wrote:
>
> Hi Giovanni,
>
> can this be set up with local files, too?
>
> forgive me, I'm not aware if there are limitations in local file-access
>
> BTC
>

-- 
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/6819dd05-3bf0-4bd4-bdd5-521dbb233928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: remoteStorage syncadaptor plugin

2018-02-21 Thread Tristan Kohl
Hi Giovanni,

this is awesome! Just when I came into problems with my many small wikis 
using up all my storage and started digging into some TiddlyWeb setup for 
myself to solve this you came as my saviour :)

I heard of remoteStorage before but never used it to be honest since there 
were not so many apps that brought me any benefits.

I will definitely check this out and finally use my years old 5apps account 
for something useful. Thank you so much for this.

Cheers,
Tristan

-- 
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/40ef95e5-0d68-4706-a535-bab654dc1bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: How to handle a lot of wikis with Node

2018-02-16 Thread Tristan Kohl
I do not have much time right now unfortunately but as I see from the 
Dev-Tools there is only one initial load of the wiki. Afterwards it just 
periodically polls the Tiddler list. Since you know more about the ins and 
outs of TW would it be hard to just let TW generate this initial view for 
multiple wikis determined by the URL and consecutively the tiddlers 
JSON? As my 99% text-only tiddlers do not eat up that much memory I would 
be fine if they were all stored within Node. I only need to get rid of 
redundant Node instances all loading a full TW environment and snacking 
away my limited RAM 30 - 40 MB at a time.

On Thursday, February 15, 2018 at 4:54:19 AM UTC+1, Arlen Beiler wrote:
>
> You have precisely defined the problem. The crux of the matter really is 
> the cache because it isn't just a cache, it is the entire $tw environment 
> loaded into NodeJS, which then generates the HTML for the browser. 
>  
>
>> I think one has to fix the server command as well as it defaults to the 
>> "default" route and just needs to use the value from bag to determine the 
>> correct target wiki.
>>
>> Other than that I did not find any problems that surfaced on my first 
>> look. It would be fine for me if the plugins are just forwarded to the 
>> browser as all the real work happens there.
>>
>> Side note: I thought about writing a SQLite adaptor some time if my setup 
>> grows as I can imagine this would speed up things quite a lot and make 
>> backups easier since all wikis would be just tables within one database. 
>> The only problem I saw just yet is the fact that the Node server seems to 
>> cache the tiddlers - otherwise mult-user wikis would be a breeze as Node 
>> could be completely agnostic of anything and just serve the tiddlers from 
>> the database. But I think this is a topic for a different day.
>>
>

-- 
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/b71b135c-1f77-4855-be22-518bad82a5a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [GitHub] awesome lists - where should TW be listed?

2018-02-14 Thread Tristan Kohl
Hi BTC,

I for ones came from wikimatrix  back in the 
days. As I see now the entry for TW is pretty outdated saying it had its 
last release back in mid 2016. I second your idea that more people should 
know about TW and also that there are many out there running a full blown 
MediaWiki or what not just to take some notes for themselves without even 
knowing there is a better alternative - to just name one (and I think most 
important) use case.

But to be honest I think that a proper presentation is not so much a 
problem of TW not beeing on so many lists - even though it should. But the 
fact that new users like me in the beginning find it hard to find proper 
help and documentation. I know this topic has been discussed so many times 
before but from my own first experience with TW in 2008 I can say that I 
droped it back than for not being easy enough for absolute neewbies. I came 
back around 2011 when my confidence with JS had grown and I was sick of all 
the "big" wiki setups requiring a full LAMP stack just to take some notes.

Cheers,
Tristan

On Wednesday, February 14, 2018 at 1:24:47 PM UTC+1, BurningTreeC wrote:
>
> Hello folks,
>
> on GitHub  there's a "trend" of listing useful 
> programs/sources in repositories called "awesome-ios", 
> "awesome-selfhosted", "awesome-thisandthat" ... there are many of those 
> lists
>
> I found out about TW through the awesome-selfhosted list  (link 
> )  where it's listed. But 
> this suggests to me that TW is too hard to find for what it offers in 
> usefulness.
>
> I think it should make it to every list where it makes sense, we just need 
> to make some pull requests or issues in those github repositories.
>
> This is something we all can do to help spread the word about TW and that 
> could come back like a boomerang in helping TW getting a larger userbase
>
> What do you think?
>
> BTC
>

-- 
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/083234e7-62be-42b0-a5a6-f1faa8082202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: How to handle a lot of wikis with Node

2018-02-14 Thread Tristan Kohl
Hi Arlen,

nice to hear from you again (thanks for fixing my image linking problems a 
while back over on github :) ).

Since there was no answer that could help me up until you came I finally 
had a good reason to overcome my own weaker self and start to dig into TW 
code for real. As I am quite confident in JS but was just to lazy to ever 
bother before I quickly came to the conclusion that the changes I would 
have to implement are less dramatic than I expected. As the tiddlyweb 
adaptor already uses the "bag" field but only fills it with "default", 
changing this behavior to make the field contain the actual wiki name 
should be an easy task. I just started setting up a dev environment the 
other day but was not able to write any code just yet.

I think one has to fix the server command as well as it defaults to the 
"default" route and just needs to use the value from bag to determine the 
correct target wiki.

Other than that I did not find any problems that surfaced on my first look. 
It would be fine for me if the plugins are just forwarded to the browser as 
all the real work happens there.

Side note: I thought about writing a SQLite adaptor some time if my setup 
grows as I can imagine this would speed up things quite a lot and make 
backups easier since all wikis would be just tables within one database. 
The only problem I saw just yet is the fact that the Node server seems to 
cache the tiddlers - otherwise mult-user wikis would be a breeze as Node 
could be completely agnostic of anything and just serve the tiddlers from 
the database. But I think this is a topic for a different day.

If you need any help in implementing the changes, I would be willing to 
throw in a hand.

Cheers,
Tristan

On Tuesday, February 13, 2018 at 4:38:03 PM UTC+1, Arlen Beiler wrote:
>
> I came across this thread this evening. I like hearing that someone else 
> besides me has grappled with this problem. You in using TiddlyServer, and I 
> in developing it. 
>
> This is exactly the problem that I predicted would happen, but I did not 
> expect it would show up in real-world use, as I did not really think anyone 
> would have 50 wikis! I should have known to trust my instincts :)
>
> The problem is caused in part by the way Tiddlywiki data folders are 
> setup. Each folder must be in its own Tiddlywiki environment. So every wiki 
> loads the same code files from disk and executes them. All in the same Node 
> process, but still all separate objects.
>
> I could create a new type of connecter that would serve the folder 
> directly to the client along with the required plugins and core. When a 
> data folder would be opened it would serve a loader which would load the 
> core and the specified plugins directly into the browser and then sync 
> changes back to the server. 
>
> In my mind this should be a fairly easy route to follow. The loader could 
> be generated on the fly so the page loads fairly quickly and also so it 
> works with the browser cache. I have wanted to implement this in many 
> scenarios and it seems like it is becoming more realistic and necessary.
>
> Thoughts, anyone? Does it matter if plugins in a data folder get loaded 
> directly to the browser? It shouldn't, I don't think. Especially with the 
> current template for the server command in TiddlyServer, which is 
> $:/core/save/all.
>
> That's my two cents.
> Arlen
>
> On Feb 12, 2018 00:46, "Tristan Kohl" <kohlt...@gmail.com > 
> wrote:
>
>> Unfortunetely not, nohup just stops them from receiving the HUP signal 
>> when I terminate a ssh session. Nothing in terms of overhead due to loading 
>> a new Node instance running full TW for every wiki.
>>
>> On Sunday, February 11, 2018 at 1:54:37 PM UTC+1, TonyM wrote:
>>>
>>> Only a short response but on node instance with starting multiple wikis 
>>> with nohup  & does that reduce overheads?
>>>
>>> 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+...@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/8f082316-2de6-4838-b6fc-1907d61a2935%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/8f082316-2de6-4838-b6fc-1907d61a2935%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You re

[tw] Re: How to handle a lot of wikis with Node

2018-02-11 Thread Tristan Kohl
Unfortunetely not, nohup just stops them from receiving the HUP signal when 
I terminate a ssh session. Nothing in terms of overhead due to loading a 
new Node instance running full TW for every wiki.

On Sunday, February 11, 2018 at 1:54:37 PM UTC+1, TonyM wrote:
>
> Only a short response but on node instance with starting multiple wikis 
> with nohup  & does that reduce overheads?
>
> 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 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/8f082316-2de6-4838-b6fc-1907d61a2935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to handle a lot of wikis with Node

2018-02-10 Thread Tristan Kohl
Hello BTC,

this does not sound too bad and might be a intermidate solution to solve at 
least part of the problem.
However it would require some memory watching and instance starting and 
stoping all the time, I switch my wikis regularly and access at least 20 of 
them every day. Killing and starting new processes might prevent my Pi from 
bogging down but adds complexity and overhead (and Bash scripting which I 
am the worst in ;) ) which would be solved if the Node version would serve 
multiple wikis by itself.

Another things are connection and speed: If my poor "server" has to start a 
new process every time I go to a wiki it adds additional delay. But what I 
think might become a problem is if there is a wiki open in one tab and I 
have pm2 configured to kill all other wikis I can not edit this wiki 
anymore if there is another started in the meantime. But how should TS know 
which wikis are still "up" in the browser? I am quite confident with JS and 
Python but this I would not know how to solve reliably so I shy away from 
just killing processes automatically. If I restart TS I know I have to 
reload my wikis but if my Pi kills them I can only know via the 
XMLHttpRequest error coming up.

Cheers,
Tristan

On Sunday, February 11, 2018 at 5:33:16 AM UTC+1, BurningTreeC wrote:
>
> Hello Tristan,
>
> I'm using pm2 http://pm2.keymetrics.io/ to handle multiple node 
> processes, it gives you some control you may want
>
> you can start a process with pm2 start "processname" and stop it the same 
> way, reload it and more
>
> with a bit of  bash scripting one could manage processes to stop when 
> another starts or simply stop all others when you start one
>
> right now I'm starting and reloading tiddlyserver that way, but TS then 
> starts the whole group of wikies.
>
> maybe inside the TS starting scripts pm2 could be inserted
>
> BTC
>

-- 
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/be6b0e8a-f53a-443b-a2ab-971e81e57d2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to handle a lot of wikis with Node

2018-02-10 Thread Tristan Kohl
Hi Coda,

I use TiddlyServer as well, my "problem" is that TS seems to start a new 
Node instance for every wiki I have once I browse it for the first time. If 
I do not regularly restart TS to kill all the instances my memory fills up 
to the point my Pi gets unresponsive. I can see that by starting top in a 
ssh session and browse one wiki after the other. Every wiki adds about 
30-40 MB to TS's reserved memory, slowly creeping to 900+ MB which I think 
is because there is always a new full TW server running even though on the 
server side there is not much to do other than sync my Tiddlers back which 
together range between 2MB and 15MB per wiki. Therefore I would like just 
one Node instance handling all the wikis at once and determine via URL or 
setting (like in NoteSelf) where to get and store the Tiddlers for this 
particular wiki.

Cheers,
Tristan

On Saturday, February 10, 2018 at 8:45:44 PM UTC+1, coda coder wrote:
>
>
> Hi Tristan
>
> Perhaps I'm not understanding you, but...
>
> I use Arlen's TiddlyServer too, and I think I'm using it as you describe:  
> I have one TS serving multiple "flatfile" TWs and also a NodeTW.
>
> For me, it's all mapped out in the settings.json file in the TS folder.
>
> Coda
>
> On Saturday, February 10, 2018 at 7:19:42 AM UTC-6, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> thanks to your help in the past I got pretty decent (apart from a few 
>> hickups) in developing my own TW plugins to keep track of a lot of stuff. 
>> However since I prefer to keep thinks seperate and do not want to put my 
>> beekeeping notes in the same wiki I keep track of my honey wine making I 
>> ended up creating quite a few wikis for various (logging) tasks. However 
>> since I come close to 30 instances all served by TiddlyServer (thanks 
>> Arlen) my poor Raspberry 3 which is my 24/7 home server starts to struggle 
>> with all the Node instances - one for every wiki - running at the same time.
>>
>> So my question is if there is some way to keep just one Node instance 
>> running and serving multiple wikis through it. I know one Node instance can 
>> handle this, the CPU use is minimal over all but all the memory taken up by 
>> those processes is quite tough on my limited hardware. Since all the wikis 
>> share the same code base on the server and my plugins are executed in the 
>> browser I thought if it would be possible to have Node serve one "default" 
>> wiki where one can select which wiki to load.
>>
>> Node could for example create one folder per wiki as the server version 
>> does already and determine which folder to serve via the URL or a 
>> configuration similar to the way NoteSelf handles different databases. 
>> NoteSelf was my inspiration about this to be honest and I think Daniello 
>> solved the multi-wiki problem pretty elegant, however I was not able to 
>> setup a CouchDB on my Pi the way that NoteSelf would connect to it (I am 
>> not used to CouchDB).
>>
>> Is there any way one can serve multiple wikis through one Node instance 
>> to save ressources, especially memory which is the limiting factor most of 
>> the time?
>>
>> Sorry for my length I fought hard to explain my problem ;)
>>
>> Cheers,
>> Tristan
>>
>

-- 
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/8d9cf17d-710e-4704-805d-6ef07c26ca7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to handle a lot of wikis with Node

2018-02-10 Thread Tristan Kohl
Hey guys,

thanks to your help in the past I got pretty decent (apart from a few 
hickups) in developing my own TW plugins to keep track of a lot of stuff. 
However since I prefer to keep thinks seperate and do not want to put my 
beekeeping notes in the same wiki I keep track of my honey wine making I 
ended up creating quite a few wikis for various (logging) tasks. However 
since I come close to 30 instances all served by TiddlyServer (thanks 
Arlen) my poor Raspberry 3 which is my 24/7 home server starts to struggle 
with all the Node instances - one for every wiki - running at the same time.

So my question is if there is some way to keep just one Node instance 
running and serving multiple wikis through it. I know one Node instance can 
handle this, the CPU use is minimal over all but all the memory taken up by 
those processes is quite tough on my limited hardware. Since all the wikis 
share the same code base on the server and my plugins are executed in the 
browser I thought if it would be possible to have Node serve one "default" 
wiki where one can select which wiki to load.

Node could for example create one folder per wiki as the server version 
does already and determine which folder to serve via the URL or a 
configuration similar to the way NoteSelf handles different databases. 
NoteSelf was my inspiration about this to be honest and I think Daniello 
solved the multi-wiki problem pretty elegant, however I was not able to 
setup a CouchDB on my Pi the way that NoteSelf would connect to it (I am 
not used to CouchDB).

Is there any way one can serve multiple wikis through one Node instance to 
save ressources, especially memory which is the limiting factor most of the 
time?

Sorry for my length I fought hard to explain my problem ;)

Cheers,
Tristan

-- 
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/c735f6bb-63b0-4955-a4d5-d699396af6e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Macro with substitution

2018-02-08 Thread Tristan Kohl
Hi Mark,

that works, thank you so much for this I would never have come to this by 
myself.

However my guts hurt when I see a macro defined inside a tiddler. I know 
that this is the way TW works but whenever I develop software I work very 
hard to separate concerns as much as possible so mashing everything 
together is a tough pill :)

Nevertheless this solves my problem so thanks again.

Cheers,
Tristan


On Thursday, February 8, 2018 at 4:32:15 PM UTC+1, Mark S. wrote:
>
> Whenever you need to concatenate, you almost need a helper macro. 
> Something like this might work:
>
>
> \define myfilter() [tag[action]hive[$(title)$]]
>
> <$vars title={{!!title}}>
> <$macrocall $name=mymacro filter=<> columns="title date text" 
> columns2="UID Date Notes"/>
> 
>
> Of course, I'm just guessing at your argument names and I had no way of 
> testing this. You might be able to do this without using <$macrocall>, but 
> macrocall is usually a little more predictable. You could also set up your 
> environmental variables and then pick them up inside your JS macro using 
> getVar (or is it getVariable? -- look around). Then you could concatenate 
> within your JS (JS being a lot more predictable than TW syntax).
>
> Good luck
>
> -- Mark
>
> On Thursday, February 8, 2018 at 7:10:37 AM UTC-8, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> for my wiki I need to substitute part of a filter which gets passed to a 
>> macro which in turn builds a table from those tiddlers.
>>
>> My call looks like this:
>> <>
>> Obviously that does not work (I dropped a console.log in my JS macro), my 
>> macro gets passed the filter without substituted title. What else I tried 
>> and did not work:
>>
>>- Enclosing the filter in quotes
>>- Using the filter without quotes
>>- Using {{!!title}}
>>- $set a variable and concatenate the filter: [tag[action]hive] 
>>- Results in an TW error claiming the widget being null (maybe my macro 
>> is 
>>not bullet proof)
>>- $set a variable by making the substitution the vars value: <$set 
>>name="var" value={{!!title}}>
>>
>> My initial thought was this might be caused by the tiddler being 
>> transcluded via the *tabs* macro. But when I just drop the filter inside 
>> a list widget it shows the correct tiddlers and a {{!!title}} inside the 
>> transcluded tiddler revealed the name of the "parent" tiddler - so no 
>> problem there.
>>
>>
>> I am out of ideas so I came here hoping someone is willing to point me 
>> into the right direction.
>>
>>
>> Cheers,
>>
>> Tristen
>>
>

-- 
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/c75ab5ac-e6e5-4c51-8b93-4bf65f5de029%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Macro with substitution

2018-02-08 Thread Tristan Kohl
Hey guys,

for my wiki I need to substitute part of a filter which gets passed to a 
macro which in turn builds a table from those tiddlers.

My call looks like this:
<>
Obviously that does not work (I dropped a console.log in my JS macro), my 
macro gets passed the filter without substituted title. What else I tried 
and did not work:

   - Enclosing the filter in quotes
   - Using the filter without quotes
   - Using {{!!title}}
   - $set a variable and concatenate the filter: [tag[action]hive] - 
   Results in an TW error claiming the widget being null (maybe my macro is 
   not bullet proof)
   - $set a variable by making the substitution the vars value: <$set 
   name="var" value={{!!title}}>

My initial thought was this might be caused by the tiddler being 
transcluded via the *tabs* macro. But when I just drop the filter inside a 
list widget it shows the correct tiddlers and a {{!!title}} inside the 
transcluded tiddler revealed the name of the "parent" tiddler - so no 
problem there.


I am out of ideas so I came here hoping someone is willing to point me into 
the right direction.


Cheers,

Tristen

-- 
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/8de7e8f0-303d-4fd0-8f4e-ad08264f0b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Would this group be better on WhatsApp?

2017-11-17 Thread Tristan Kohl
I don:t think we will need real-time chat at all as TW is about knowledge 
exchange and information which is usually not that time critical. A real 
forum would support way better search capabilities as topics are split up.

If we really want to chat like in a hangout I think a classic IRC (maybe 
with a webinterface for those without clients) would be the best option as 
anybody may participate whenever they want. My experience from i.e. 
WhatsApp groups is the big problem of noise created when the number of 
people grows beyond a specific threshold (~20). One can mute the chat but 
nonetheless messages are coming in and you loose track. With IRC you just 
don't start the client if you don't want to read it.

Plus it would be better for privacy as nobody has to share stuff like their 
phone number if they don't want to.

Just my two cents.

On Friday, November 17, 2017 at 9:23:15 AM UTC+1, Jed Carty wrote:
>
> While I support the idea of moving to a new forum I don't have much 
> experience with any forums, but the french forums seem to work well.
> I am never going to use WhatsApp. If we need a real-time chat option I 
> would suggest matrix.
>

-- 
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/fc35d9b1-cd8a-4c59-9bc8-8884b2d2c223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Would this group be better on WhatsApp?

2017-11-16 Thread Tristan Kohl
I moved to DeltaChat some time ago and never looked back. A few days ago 
they started work on an iOS app so I would second Mario in this regard.

On Thursday, November 16, 2017 at 7:07:32 PM UTC+1, PMario wrote:
>
> Hmmm, 
>
> I'm on Telegram. So not for me.
>
> -m
>

-- 
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/761850c1-9d55-40d8-bd92-6583d015ab67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Announcing the release of TiddlyWiki v5.1.15

2017-11-15 Thread Tristan Kohl
Thank you Jeremy for your continued and awesome work.
Kudos to all contributors :)

On Wednesday, November 15, 2017 at 4:40:41 PM UTC+1, Jeremy Ruston wrote:
>
> I’m delighted to announce the belated release of TiddlyWiki version 
> 5.1.15: 
>
> https://tiddlywiki.com/ 
>
> Remember to keep careful backups before upgrading existing 5.x.x wikis at: 
>
> https://tiddlywiki.com/upgrade.html 
>
> There are quite a few improvements and new features in this version. 
> Highlights include: 
>
> * A new plugin for use with TiddlyDesktop that allows you to import files 
> as external attachments: rather than importing the entire file, a tiddler 
> is created with a _canonical_uri field that points to the file. There is 
> flexible control over whether absolute or relative links are created. 
> Hopefully this is the start of features that take advantage of capabilities 
> of TiddlyDesktop that we could never have implemented with TiddlyFox 
>
> * Updated support for Beaker browser. This is a good time to check it out 
> again now that there is a Windows package available. Right now, it seems to 
> be the closest thing to the Firefox+TiddlyFox user experience 
>
> * For Node.js, the addition of new “render” and “save” commands that 
> combine the functionality of rendertiddler/rendertiddlers and 
> savetiddler/savetiddlers respectively with more flexible handling of 
> filenames 
>
> * Many bug fixes, including the notorious problem with the “new journal” 
> button 
>
> * Many minor tweaks and improvements 
>
> Full details of all the changes can be found in the release note: 
>
> http://tiddlywiki.com/#Releases 
>
> My sincere thanks to the many people who have contributed to this 
> substantial release. 
>
> As usual, feedback and questions are welcome, 
>
> Best wishes 
>
> Jeremy

-- 
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/f1de505c-4cc3-424d-81e2-0b4c0a09acae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Kann man Tiddlywiki als Adressdatenbank benutzen ?

2017-07-21 Thread Tristan Kohl
Nicht, dass ich wüsste, aber ich habe das mal mit Hilfe des Set Widgets 
 und EditText Widgets 
 realisiert. Der Punkt, den man 
verstehen muss ist, dass man nicht den aktuellen Tiddler "bearbeitet", 
sondern im Hintergrund die Felder eines anderen Tiddlers verändert werden. 
Mittels eines Button Widgets  kann man 
diesen "Hintergrund" Tiddler dann umbenennen in einen dauerhaften Tiddler. 
Das ganze ist ziemlich fortgeschrittene Materie und ich habe auch recht 
lange gebraucht, um das zu überreißen, trotz meines Hintergrunds als 
Hobby-Programmierer.

Ich habe hier mal ein sehr abgespecktes Beispiel, im Grunde ist es nur ein 
Verschachteln der Widgets, aber wie gesagt nicht ganz einfach zu verstehen:

<$set name="tempTiddler" value="$:/temp/newContact">

Name: <$edit-text focus="true" tiddler=<> field="contact-name" 
/>

Phone-Nr.: <$edit-text size="100" tiddler=<> 
field="contact-phone" />

<$button>Speichern
<$action-setfield $tiddler=<> title="NeuerKontakt" />
<$action-deletetiddler $tiddler=<>/>
<$action-navigate $to="NeuerKontakt" />




Anmerkung: In diesem Beispiel müsste jeder neu angelegte Kontakt noch 
umbenannt werden, ich habe die Logik für die automatische Benennung 
entfernt, weil es dadurch noch komplexer würde.


Am Freitag, 21. Juli 2017 12:28:22 UTC+2 schrieb Marko Nordquist:
>
> Danke Tristan. Ich bin Rooky bei Tiddlywiki. Gibt es irgendwo ein How-to 
> für die Erstellung einer Eingabemaske ?
> Grüsse Marko 
>
>
>
> Gesendet von myMail für iOS
>
>
> Freitag, 21. Juli 2017, 12:00 +0200 von kohlt...@gmail.com  <
> kohlt...@gmail.com >:
>
> Hallo Marko,
>
> Dafür braucht es eigentlich kein Template in dem Sinne, sondern nur eine 
> Eingabemaske für die Werte, die dann in Feldern gespeichert werden. Ich 
> weiß nicht, wie groß der deutschsprachige Anteil der Community ist, daher 
> fürchte ich, dass nicht sonderlich viel Hilfe kommen wird.
>
> Am Freitag, 21. Juli 2017 11:23:16 UTC+2 schrieb Marko Nordquist:
>
> Ich habe eine Adressdatenbank mit 72 Datenfeldern in Excel. Der Vorteil 
> ist, dass man in Excel gut sortieren und filtern kann.
> Gibt es Templates für Tiddlywiki für Adressdatenbanken, die man selbst 
> erweitern/anpassen kann ?
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/ahs14Hs22MM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@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/4d9b82fb-4762-49f6-a21b-0a3ad671%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/89ab3193-f048-40b1-a218-a143d9e21195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Kann man Tiddlywiki als Adressdatenbank benutzen ?

2017-07-21 Thread Tristan Kohl
Hallo Marko,

Dafür braucht es eigentlich kein Template in dem Sinne, sondern nur eine 
Eingabemaske für die Werte, die dann in Feldern gespeichert werden. Ich 
weiß nicht, wie groß der deutschsprachige Anteil der Community ist, daher 
fürchte ich, dass nicht sonderlich viel Hilfe kommen wird.

Am Freitag, 21. Juli 2017 11:23:16 UTC+2 schrieb Marko Nordquist:
>
> Ich habe eine Adressdatenbank mit 72 Datenfeldern in Excel. Der Vorteil 
> ist, dass man in Excel gut sortieren und filtern kann.
> Gibt es Templates für Tiddlywiki für Adressdatenbanken, die man selbst 
> erweitern/anpassen kann ?
>

-- 
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/4d9b82fb-4762-49f6-a21b-0a3ad671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki is very irritating.

2017-06-17 Thread Tristan Kohl

>
> My current missive concerns a bug in 5.14. I have a number of files that 
> use TiddlyWiki 5. I was updating one, when I decided to upgrade it to the 
> latest version. Accordingly I used the upgrader to upgrade the file. I did 
> this a number of times as there were problems with the final result. The 
> upgrade failed in one of two ways, either the document presented correctly, 
> but none of the menus, buttons etc worked. Or the upgraded document had two 
> menus, ( the section on the right which controls TiddlyWiki) overlaying 
> each other. 
>

> I gave up at that point and decided to recreate my document (luckily it 
> was short), from scratch in an empty TW5. I did this and again there was a 
> bug, a different one this time! Presumably, to make life interesting. On 
> this occasion, I had two documents one after another in the file. The 
> edited file and original empty file.
>
> Well, this sounds like a problem I had in the beginnings of my TW 
experiences. Did you use the browsers "Save as..." and not the TW mechanism 
to save your file (Firefox addon, etc.)? I got my first two or three runs 
corrupted that way and the results looked very similar to what you 
describe. 

Cheers

-- 
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/d41dba3e-2ef8-45ff-9b83-eb6dd14e40d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Should I request that X be built into TW or as plugin?

2017-04-19 Thread Tristan Kohl
Thank you Mat for clearing things up. I think the current "plugin 
first" philosophy is quite good of a way to go as it makes adding new stuff 
easy and new plugins serve a proof of concept.

If plugin X becomes so widely used that almost any TW relies on it this 
could be a signal to add the functionality to the core. I like to think of 
this similar to python where new core modules were added if they proofed 
themself worthy.

Cheers,
Tristan

-- 
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/570d891d-08c0-4c41-a6a3-dd431dfdd13e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing Browser Tabs as Tiddlers - a primitive bookmarking system

2017-04-15 Thread Tristan Kohl
Hi Steve,

I tried to reproduce your thing but for me a dropped page triggers my 
browser (FF 52.0.2) to load that page in the tab of my wiki, even though TW 
shows the green import bar at the top before dropping. Is there any special 
configuration/setting/addon in your browser preventing the default "go to" 
behavior?

Cheers,
Tristan

-- 
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/8125246b-ad37-44ab-8d9b-a9d0bc141447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to get the base html code and POST it to PHP server?

2017-04-13 Thread Tristan Kohl
I do not know if I get you right, but when the file is loadad you can 
simply run:

var html = $tw.wiki.getTiddler("$:/core/templates/tiddlywiki5.html")

That will return a Tiddler object with the tiddlers content stored in the 
property "fields" -> "text"

Cheers,
Tristan

-- 
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/91997afc-5a69-4895-bb2e-8e17fdcc0410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Salvaging an improperly saved TiddlyWiki

2017-04-12 Thread Tristan Kohl
You could try to get a fresh empty version and import your existing wiki 
into it. That brought one of my wikis back to life when my browser crashed 
during save and I had changed a big load of tiddlers since the last backup 
(the evening before).

Cheers,
Tristan

-- 
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/1c78ed8e-1c46-462c-834d-bce1429b5866%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter by field value

2017-04-06 Thread Tristan Kohl
Hi Mark,

I dropped some "console.log" (I write only JS macros since I am comfortable 
with JS) and found out, that my table macro was indeed called with: 
"[tag[inspection]hive-id{!!hive-id}]" so your guess was right. I tried your 
approach and it works, you are my hero I would never have come up with that 
:D

However that shows to me once more that I still do not get how macro and 
widget evaluation works. Boy, I do not even get the difference between 
widget and macro as some macros have the same names and do the same thing - 
at least that is what it feels like. Do you have some source that explains 
this in some more detail as the documentation is not enough for me 
obviously?

Thanks again I have a strong feeling you saved my little project once more.
Tristan

-- 
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/6de290e7-5f08-44f3-ae3d-34fd4ea450d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get value of state tiddler field

2017-04-06 Thread Tristan Kohl
If someone is interested in the solution I took, here is my 
(shortened) code:

<$button>Save new Hive
> <$set name="counter" value=<>>
> <$set name="newTitle" value=<>>
> <$action-setfield $tiddler=<> $field="hive-id" 
> $value=<> />
> 
> 
> 
>

-- 
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/f0b66f85-62ec-4a52-9040-b8b66f825a43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get value of state tiddler field

2017-04-06 Thread Tristan Kohl
Mark,

after sleeping for a night and doing some other stuff I got what you meant 
and solved the issue in a similar way.
Thank you very much :)

-- 
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/0a045792-529f-4a77-b179-a27cb23e7dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Filter by field value

2017-04-06 Thread Tristan Kohl
Hey guys,

sorry to stress your patience again but I really suck at some of the TW 
things :/

Since I fixed my last problem by going another way I am now stuck with 
filters...

Tiddler 1:

hive-id: 2
> tags: inspection
> title: Inspection 1
>

Tiddler 2:

hive-id: 2
> tags: hive
> title: Hive 2 
>

Which uses this template:

title: $:/plugins/beehive/templates/hive
> tags: $:/tags/ViewTemplate
>
> <$list filter="[is[current]tag[hive]]">
>
> < $:/plugins/beehive/masks/newinspection" 
> "$:/plugins/iceity/views/listinspections">>
>

Tiddler 3:

title: $:/plugins/beehive/views/listinspections
> caption: List inspections
>
> < inspection-type inspection-description" "UID Name Date Type Description">>
>
> {!!hive-id}
>

My problem:
If I search by hand for: [tag[inspection]hive-id[2]] I get Tiddler 1 which 
is fine. But Tiddler 3 does not display Tiddler 1 even though the 
TextReference in the end returns a "2" which should end up in the filter as 
well.

My only clue is that the template for Tiddler 2 messes things up for the 
filter by changing the <> when tabbing stuff.

I hope there is still someone willing to help me out, my head is already 
spinning.

Thank you very much,
Tristan

-- 
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/788b1621-a356-4873-b4c3-92aec47801b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get value of state tiddler field

2017-04-04 Thread Tristan Kohl
Hey guys,

thanks for your input on this.

@Mat: unfortunately your solution does not work, or I do not get where to 
put it^^

@Mark: Well I get where you going, but I do not understand where to put the 
$(incvalue)$ reference. My code looks like this at the moment:

<$button>New Hive
> <$set name="incval" value={{$:/state/beehive!!hiveCounter}}>
> <$set name="counter" value=<>>
> <$action-sendmessage $message="tm-new-tiddler" 
> title=<> tags="active hive" />
> <$action-setfield $tiddler="$:/state/beehive" 
> $field="hiveCounter" $value=<> />
> 
> 
>  


As I fail explaining what I want to do, I like to link to Tobias' One 
Button Multiple Actions 
 post 
which is very close to what I want. The only difference is that I want the 
counter to be from another tiddler (namely $:/state/beehive). I hope this 
makes things a little clearer, sorry...

Tristan

-- 
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/6cfc9c0e-4174-473b-af28-249b0daa8480%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: IndieWeb and TW

2017-04-04 Thread Tristan Kohl
Hi Jed,

sorry for my late reply, I did not get the notification somehow.

On Wednesday, 1. March 2017 12:53:50 UTC+1 Jed Carty wrote:
>
> [...] if you can't curl it it isn't online' [...]
>

Yes you are right and they did not change it but if I generate a static 
site from my TW they can curl it - if they want to :D.

Cheers 

-- 
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/d3ceaed6-3f09-4208-a8f4-439c35036a68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Get value of state tiddler field

2017-04-04 Thread Tristan Kohl
Hey guys,

it is me again. Still working on my website and coming up with another 
problem. I still can not completely wrap my head around how to achieve some 
simple - at least I think they are - things. I am writing a plugin for my 
site to track my beekeeping and therefore made a button which "creates" a 
new hive and increments a global counter.

However since this whole thing should be a plugin I do not want to store a 
"counter" within the sidebar tiddler containing the button but rather have 
a "state" tiddler handling this as there are a couple of things I want to 
increment (queens, hives, checks...). My problem is that I do not know how 
to "get" the value from the state tiddler in the first place so I can 
increment it and set the new value (increment macro does work).

As of now I have this (what do I have to insert at the question marks?):

<$button>New Hive

<$set name="counter" value=<>>
> <$action-sendmessage $message="tm-new-tiddler" title=Hive 
> #<> tags="active Hive" />
>
> <$action-setfield $tiddler="$:/state/beehive" $field="hiveCounter" 
> $value=<> />
>
> 
> 
>

Thanks in advance.
Cheers,
Tristan

-- 
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/92f7dc78-0a8a-4478-b5a9-d8af9bb4e1c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: IndieWeb and TW

2017-02-28 Thread Tristan Kohl
Hi Jed,

thank you for your help :)

Am Dienstag, 28. Februar 2017 16:27:30 UTC+1 schrieb Jed Carty:
>
> I added some of the rel-me things to my thing over at 
> http://ooktech.com/jed/externalbrain/ and it worked. You have to put the 
> rel-me things in a tiddler tagged with $:/tags/RawMarkup like the tiddler 
> here http://ooktech.com/jed/externalbrain/#Me
>

I thought, I had to put it in the top of my wiki...  but I wonder, what you 
meant by "they dismissed" TW, as I could not see a problem with it (maybe 
static for search engines) used for this.
 

-- 
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/6db63c87-1cb5-4bfc-b901-ea6378118762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] IndieWeb and TW

2017-02-28 Thread Tristan Kohl
Hey guys,

I read about IndieWeb  some time ago and managed to 
dive into it a little the last days. As far as I can tell TW would be a 
perfect fit for this and since we are moving to federation it should be 
quite easy to integrate - at least that is what I thought... I found 
Hangout #52 when Jeremy mentioned IndieWeb - but unfortunately these 5 
seconds is all there is about this matter.

First of I thought adding the "rel-me" to the single page version was all 
one had to do, but I think that was naive ;)
My next idea was that maybe I could tweak the static page generation 
template but that again would destroy dynamic syndication...

So my question is (please bare with me if I missed some source) does 
anybody has something running or some pre-release stuff in this direction?
And if not (most probably) do you have any idea/advice/hint...?

Cheers
Tristan

-- 
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/a4ccd4a8-b96a-42f5-84a0-b9d7125ded52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A Solution! -- Serving Personally Archived Web Pages in TiddlyWiki

2016-11-19 Thread Tristan Kohl
Well you are right, I did not think about that since I used MAFF some years 
ago.

Today I use PrintFriendly  which generates 
great looking PDFs from websites via a bookmarklet and you can cut out 
parts (save just a small part) of the website. Big advantage for me is that 
I do not depend on my browser to see the PDF plus I can embed it in 
TiddlyWiki via canonical_url.

Cheers
Tristan

-- 
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/1500d75c-ac63-4dfb-8bc8-cf4144573fcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A Solution! -- Serving Personally Archived Web Pages in TiddlyWiki

2016-11-19 Thread Tristan Kohl
Hi Steve,

as I understand your project you create a local copy of a webpage and serve 
that through a link in TW which opens the page in a new tab?

You said, your approach relies on Scrapbook, but if I got your idea right, 
you do not need that at all. For Firefox there is a expansion called Mozilla 
Archive Format 
, 
which saves a whole webpage in a single MHT file (actually a zip following 
some rules). For Chrome there is i.e. SingleFile 

 
(note: I do not use Chrome, this was just the first result I got looking 
for MAFF and MHT). Afterwards you can link to the local file the same way 
you did in your example.

Synchronization is up to you and I think your solution works quite good.

Cheers
Tristan

-- 
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/fc670a9b-645e-4d57-ad36-ffe65c530171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hegart is back, kind of...

2016-11-03 Thread Tristan Kohl
Hi Hegart,

good to see you back on track. I am very sorry to hear about your health 
issues and hope you will fully recover in the next weeks.

Regarding your DropBox hosting, there is udog.co  which 
hosts your stuff from there. I did not try it by myself but it looks 
promising.

Cheers
Tristan

-- 
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/0f7310b1-a51d-44cd-bdcb-aaf766033112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: sync tiddlywiki accross machines

2016-11-03 Thread Tristan Kohl
Hi Martin,

 - When switching from one device to the other (note that most devices stay 
> up even when I'm working on another one), I often need to restart the 
> nodejs server, otherwise it does not seem to be seeing the changes that 
> DropBox pushed to the folder in the mean time;
>

Regarding your (manual) server restart you could use the node supervisor 
module. I know, it is intended for development but it should work pretty 
well with changing files due to DropBox syncs.

Cheers
Tristan

-- 
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/dbede70a-28b8-48f5-9c40-7bbf5ca354a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-06-15 Thread Tristan Kohl
Hi Hegart,

sorry to hear you had health issues. For sure I will wait until you fully 
recovered from that and hopefully see you soon on track again.
In the mean time I will poke around in TiddlyCRM and try to get the hang 
how you guys did intend the things to work.

Cheers
Tristan

Am Mittwoch, 15. Juni 2016 08:53:15 UTC+2 schrieb Hegart Dmishiv:
>
> Hi Tristan,
>
> Sorry, my health isn't the greatest, and I ended up in hospital for a 
> while just at the end of the *{{DesignWrite}}* course. I haven't heard 
> from Andrew at all since the course ended, and I haven't had much time to 
> work on the project since then, but it definitely isn't dead. I still plan 
> to get this finished and distributed, and I'm keen to work on it 
> collaboratively, to internationalise it.
>
> Keep an eye on this thread, and I'll let you know when I'm back working on 
> TiddlyCRM. Hopefully Andrew may resurface by then as well. In the meantime, 
> if you want to fork what we've done so far and work on it yourself, you're 
> most welcome. The TiddlyCRM code is freely available, and licensed under a 
> Modified 
> BSD License 
> <https://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29>,
>  
> the same as TiddlyWiki itself is.
>
> Sorry that I can't give you a more precise date at present when I'll begin 
> working on it again, I'm still taking things quiet after my previous health 
> scare.
>
> Hegart.
>
>
> On Monday, 13 June 2016 22:13:17 UTC+12, Tristan Kohl wrote:
>>
>> Hey guys,
>>
>> since I did not hear from you for quite some time I figure the project is 
>> dead? If so that would be a real bummer for me I was quite excited about 
>> the idea.
>>
>> Cheers
>> Tristan
>>
>

-- 
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/48e6041f-f6c9-4ff7-b722-aa6d0a22a310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki European Meetup 2016

2016-06-13 Thread Tristan Kohl
Ah man,

I just booked a trip that weekend to visit some friends of mine. If I had 
known that a week earlier I might have made it and finally meet the awesome 
guys from the hangouts :D

Well, I look forward to see the streams on YouTube afterwards.

Cheers
Tristan

-- 
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/397f7383-92f6-4ccb-9a80-d8bec1fc8b78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-06-13 Thread Tristan Kohl
Hey guys,

since I did not hear from you for quite some time I figure the project is 
dead? If so that would be a real bummer for me I was quite excited about 
the idea.

Cheers
Tristan

-- 
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/76abc5c6-a957-42ef-8b55-8b7a77979eef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to detect not imported Tiddlers

2016-06-08 Thread Tristan Kohl
Hey guys,

thank you all for your support and suggestions. I used the way Duarte told 
me and I found that three titles were indeed not imported.
I tried again to convert my .csv to .json via http://convertcsv.com/ and 
this time it just works, there are 924 tiddlers now... Quite wired I think. 
Since my programmer heart woke up about this, I will try to hunt down the 
problem but a quick diff between the "old" and "new" json did not result in 
any clarity.

@Richard: Sorry if my explanation was not that clear, my english is a 
little poor.

@Jeremy: I already tried the console thing and it works for the old and the 
new file, I will post here if I found something.

Thanks again to you all
Cheers
Tristan


Am Dienstag, 7. Juni 2016 20:24:25 UTC+2 schrieb Tristan Kohl:
>
> Hi Richard,
>
> as I said, I already checked for duplicates in Calc. I want TiddlyWiki to 
> return a list of tiddlers that did not get imported or something similar.
>
> Cheers,
> Tristan
>
> Am Dienstag, 7. Juni 2016 17:25:30 UTC+2 schrieb RichardWilliamSmith:
>>
>> Why would three of them get lost? Do they have duplicate titles, perhaps? 
>> Do you want to troubleshoot the import or do you really want to compare the 
>> lists from the two programs?
>>
>> If I were you I think I would start from scratch and try importing a 
>> batch of say 100 entries - see if they all go across. If they do, save it 
>> and import a bigger batch next time, repeat. If they don't all go across, 
>> try a smaller batch until it works or you spot the reason why something 
>> isn't being imported.
>>
>> Regards,
>> Richard
>>
>

-- 
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/2e06807c-fdd4-403a-aafb-7f03d5d382e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to detect not imported Tiddlers

2016-06-07 Thread Tristan Kohl
Hi Richard,

as I said, I already checked for duplicates in Calc. I want TiddlyWiki to 
return a list of tiddlers that did not get imported or something similar.

Cheers,
Tristan

Am Dienstag, 7. Juni 2016 17:25:30 UTC+2 schrieb RichardWilliamSmith:
>
> Why would three of them get lost? Do they have duplicate titles, perhaps? 
> Do you want to troubleshoot the import or do you really want to compare the 
> lists from the two programs?
>
> If I were you I think I would start from scratch and try importing a batch 
> of say 100 entries - see if they all go across. If they do, save it and 
> import a bigger batch next time, repeat. If they don't all go across, try a 
> smaller batch until it works or you spot the reason why something isn't 
> being imported.
>
> Regards,
> Richard
>

-- 
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/8cd4b95f-9e0a-4f91-9963-46dee7b5516f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to detect not imported Tiddlers

2016-06-06 Thread Tristan Kohl
Hey guys,

I am migrating from my ebook management software that I used for years to a 
TW what I hope makes my workflow easier. The problem I have is that I need 
to import around 1000 Tiddlers and while LibreOffice Calc tells me, there 
are 924 Tiddlers for the books (I already checked for duplicates via 
sorting and =IF(A2=A3,1,"")) TW only says there are just 921 Tiddlers so 
there are three of them lost in the process. Unfortunately I do not know a 
way to get TW return the names of those "bad guys" :D

I hope some of you guys got an idea how to tackle that task since sifting 
by hand is no option as there are over 1000 more tiddlers to import.

Cheers
Tristan

-- 
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/b7d9f36f-4e11-4f24-ac11-5df5dd10b452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-05-04 Thread Tristan Kohl
Hi guys,

I will do that.

Cheers
Tristan


Am Mittwoch, 4. Mai 2016 03:34:30 UTC+2 schrieb Andrew Myers:
>
> Tristan,
>
> If you use email, you can contact us at tidd...@gmail.com . 
> I know the push notifications would help me, at least, with prompt response 
> times.
>
> On Monday, May 2, 2016 at 3:03:07 AM UTC-4, Tristan Kohl wrote:
>>
>> Hi Hegart,
>>
>> sorry for my late respnse, that was hell of a week here :D
>>
>> I would be available tomorrow at 10:00 UTC or on Wednesday between 12:00 
>> UTC and 15:00 UTC. Until then I have to figure out, how to setup Hangouts 
>> on my machine ;).
>> I second your concerns about the hard coded postal code as in Germany we 
>> do have a complete different system, but I am sure we can figure out a 
>> solution for this.
>>
>> Cheers
>> Tristan
>>
>> Am Sonntag, 24. April 2016 19:57:55 UTC+2 schrieb Hegart Dmishiv:
>>>
>>> Hi Tristan,
>>>
>>> It seems as though both Andrew and I spend a lot of time outside our own 
>>> natural timezones, haha. If you suggest a time, I'm sure either or both of 
>>> us could accommodate. If you could provide a timezone conversion link, such 
>>> as by using The Time Zone Converter 
>>> <http://www.thetimezoneconverter.com/>, that makes it even easier for 
>>> us. 
>>>
>>> I'm looking forward to getting more people involved in this project. 
>>> It's something I've been thinking about for many years now. I even 
>>> rediscovered recently a blog post 
>>> <https://citizynware.wordpress.com/2010/11/05/guyfawkes/> I wrote back 
>>> in 2010 about the subject. If you read that, I think you'll understand more 
>>> of the mentality behind TiddlyCRM, and why it is focused on the home user, 
>>> as opposed to the traditional target audience of CRM packages. I'm using 
>>> New Zealand as a test case for this, and I already have a potential 
>>> distribution point in mind here for getting the end product into the hands 
>>> of a large number of users within the ideal target audience. However, I 
>>> realise that this will all have interest for other audiences, and work will 
>>> need to be done to internationalise TiddlyCRM eventually. For instance, the 
>>> strict Street Number > Street Name > Suburb > City > Postcode flow of a 
>>> physical / postal address may not be the same in Germany as it is in New 
>>> Zealand, so the address field names will probably eventually need to become 
>>> more dynamic than static.
>>>
>>> Andrew and I have also been discussing ways to take discussion of 
>>> TiddlyCRM beyond just this single discussion thread, in an organised 
>>> fashion. We'll announce here any decisions made on that.
>>>
>>> Kind regards,
>>>
>>> Hegart.
>>>
>>>
>>> On Sunday, 24 April 2016 21:46:20 UTC+12, Tristan Kohl wrote:
>>>>
>>>> Hi Andrew,
>>>>
>>>> that sounds awesome and I look forward to help you with the JS part as 
>>>> far as I am capable of. As I am from Germany neither you nor Hegart are 
>>>> close to my timezone so what would be a good time to contact one of you to 
>>>> talk about details?
>>>>
>>>> Cheers
>>>> Tristan
>>>>
>>>>
>>>> Am Samstag, 23. April 2016 01:50:04 UTC+2 schrieb Andrew Myers:
>>>>>
>>>>> Hi Tristan,
>>>>>
>>>>> Regarding javascript. Neither Hegart nor myself have much experience 
>>>>> with it. Any such background is beneficial down the line I am sure.
>>>>>
>>>>> Currently we have been dealing with html with light ineraction of CSS. 
>>>>> There is still much to decide on what needs to be done in Beta.
>>>>>
>>>>> If you would like, you can catch one of us on Hangouts to chat about 
>>>>> joining the main dev team. Let me know and I will set it up.
>>>>>
>>>>>

-- 
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/3c88f1b7-30d4-4eb0-80f3-e62e9a051651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-05-02 Thread Tristan Kohl
Hi Hegart,

sorry for my late respnse, that was hell of a week here :D

I would be available tomorrow at 10:00 UTC or on Wednesday between 12:00 
UTC and 15:00 UTC. Until then I have to figure out, how to setup Hangouts 
on my machine ;).
I second your concerns about the hard coded postal code as in Germany we do 
have a complete different system, but I am sure we can figure out a 
solution for this.

Cheers
Tristan

Am Sonntag, 24. April 2016 19:57:55 UTC+2 schrieb Hegart Dmishiv:
>
> Hi Tristan,
>
> It seems as though both Andrew and I spend a lot of time outside our own 
> natural timezones, haha. If you suggest a time, I'm sure either or both of 
> us could accommodate. If you could provide a timezone conversion link, such 
> as by using The Time Zone Converter <http://www.thetimezoneconverter.com/>, 
> that makes it even easier for us. 
>
> I'm looking forward to getting more people involved in this project. It's 
> something I've been thinking about for many years now. I even rediscovered 
> recently a blog post 
> <https://citizynware.wordpress.com/2010/11/05/guyfawkes/> I wrote back in 
> 2010 about the subject. If you read that, I think you'll understand more of 
> the mentality behind TiddlyCRM, and why it is focused on the home user, as 
> opposed to the traditional target audience of CRM packages. I'm using New 
> Zealand as a test case for this, and I already have a potential 
> distribution point in mind here for getting the end product into the hands 
> of a large number of users within the ideal target audience. However, I 
> realise that this will all have interest for other audiences, and work will 
> need to be done to internationalise TiddlyCRM eventually. For instance, the 
> strict Street Number > Street Name > Suburb > City > Postcode flow of a 
> physical / postal address may not be the same in Germany as it is in New 
> Zealand, so the address field names will probably eventually need to become 
> more dynamic than static.
>
> Andrew and I have also been discussing ways to take discussion of 
> TiddlyCRM beyond just this single discussion thread, in an organised 
> fashion. We'll announce here any decisions made on that.
>
> Kind regards,
>
> Hegart.
>
>
> On Sunday, 24 April 2016 21:46:20 UTC+12, Tristan Kohl wrote:
>>
>> Hi Andrew,
>>
>> that sounds awesome and I look forward to help you with the JS part as 
>> far as I am capable of. As I am from Germany neither you nor Hegart are 
>> close to my timezone so what would be a good time to contact one of you to 
>> talk about details?
>>
>> Cheers
>> Tristan
>>
>>
>> Am Samstag, 23. April 2016 01:50:04 UTC+2 schrieb Andrew Myers:
>>>
>>> Hi Tristan,
>>>
>>> Regarding javascript. Neither Hegart nor myself have much experience 
>>> with it. Any such background is beneficial down the line I am sure.
>>>
>>> Currently we have been dealing with html with light ineraction of CSS. 
>>> There is still much to decide on what needs to be done in Beta.
>>>
>>> If you would like, you can catch one of us on Hangouts to chat about 
>>> joining the main dev team. Let me know and I will set it up.
>>>
>>>

-- 
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/7a17cdf8-51d0-4143-bb6e-38464bea1928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-04-24 Thread Tristan Kohl
Hi Andrew,

that sounds awesome and I look forward to help you with the JS part as far 
as I am capable of. As I am from Germany neither you nor Hegart are close 
to my timezone so what would be a good time to contact one of you to talk 
about details?

Cheers
Tristan


Am Samstag, 23. April 2016 01:50:04 UTC+2 schrieb Andrew Myers:
>
> Hi Tristan,
>
> Regarding javascript. Neither Hegart nor myself have much experience with 
> it. Any such background is beneficial down the line I am sure.
>
> Currently we have been dealing with html with light ineraction of CSS. 
> There is still much to decide on what needs to be done in Beta.
>
> If you would like, you can catch one of us on Hangouts to chat about 
> joining the main dev team. Let me know and I will set it up.
>
>

-- 
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/ae5b1967-f1aa-4a81-9ec8-a2311e88faed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-04-22 Thread Tristan Kohl
Hi Hegard,

Thanks for your continued support and encouragement of this project. We're 
> reaching the end of the Alpha Phase of development, as the 
> *{{DesignWrite}}* MOOC course comes to an end for this current semester 
> in a few weeks. Once our semester project (TiddlyCRM v0.0.1-alpha) has been 
> submitted and assessed as part of the course, we'll be beginning the Beta 
> Phase of development of TiddlyCRM. At that time we'll be inviting wider 
> contribution from the TiddlyWiki user community.  
>

I did not know that you actually planned to make the development open. I 
always thought you guys had to do this as a "complete" thing for your 
semester project.

This sounds great and I am looking forward for when I can actively help you 
guys with this. Until then I will improve my JavaScript skills with my own 
projects.  

My co-conspirator on the semester project, Andrew Myers, has developed that 
> awesome new collaboration method, as a hybrid between Dropbox and GitHub. 
> We'll probably open that up so more collaborators can participate in the 
> project once we reach Beta Phase.
>

I did read about his approach in the DesignWrite group but did not quite 
get the point of the benefits of this approach in comparison to the "good 
old" way of pushing and pulling from remote repositories (maybe this is 
because of my years as a hobby developer :) ).

Cheers,
Tristan

-- 
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/43802d65-6fd2-4a9d-9803-c26a77907eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-04-21 Thread Tristan Kohl
Hi Hegard,

your progress looks very promising and neat. I check out your 
SampleDataPlayground and your trello board every few days to follow your 
progress. I like how you managed to create all those sample data for 
testing and by playing around with the Playground, I get a pretty good 
impression of where TiddlyCRM is heading to.

I did however not manage to add a new contact via the interface. I figure 
you did not yet implement this functionality? And I got another problem, 
which is not TiddlyCRM-only, as I know a hand full of people, that have 
exactly the same names. Maybe some sort of UUID would be good for person or 
organisation tiddlers to avoid collisions? I think Tobi has a plugin or 
macro which creates UUIDs.

Then you could store the name in another field and use the UUID for linking 
etc.

Cheers
Tristan
Am Freitag, 4. März 2016 18:33:32 UTC+1 schrieb Hegart Dmishiv:
>
> Tzag  everyone,
>
> I see this question was raised back in 2008 
> ,
>  
> and Jeremy Ruston mentioned it again in 2014 
> . 
> I'm planning to create a TW5-based CRM system as my Semester Project for 
> the *{{DesignWrite}}* course 
> .
>  
> Is anyone doing / has done something similar? Does anyone have any specific 
> tips or advice that I should take into consideration? I'd like to release 
> my work back to the community, and I have no experience with creating "
> Editions ", but I figure this might well 
> result in one. Any advice would be appreciated.
>
> Hegart.
>

-- 
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/caee3052-9237-4b96-946b-631bfc025a5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: twproxy – an authentication proxy for your TiddlyWiki

2016-04-18 Thread Tristan Kohl
HI Steve,

this looks very promising and I can already think of a wiki I want to try 
this on :)

One little hint: In your readme you wrote port 8080 in the command and in 
the next sentence it is port .

Cheers
Tristan


Am Sonntag, 17. April 2016 17:05:37 UTC+2 schrieb Steve Gattuso:
>
> Hi everyone!
>
> I'm a newcomer to the TiddlyWiki community (coming off of a long affair 
> with Vimwiki) and have really enjoyed developing my personal wiki so far.
>
> One of my favorite aspects of TiddlyWiki has been that it's web-based, 
> making it possible for me to access my wiki from everywhere (especially my 
> phone). That being said, I'm a bit paranoid, so I was left a bit 
> unsatisfied with the tiddlywiki server's HTTP basic auth for protecting my 
> wiki. ~23 commits later, I've created something called twproxy that I'd 
> like to share with you all today, as I'm hoping somebody other than myself 
> will find it useful.
>
> Essentially it is a simple proxy that puts your wiki behind a username, 
> password, and optional 2-factor auth prompt. This gives you added security 
> in addition to the ability to remember your credentials past one browsing 
> session (I was getting sick and tired of typing my username/password in 
> over and over using basic auth).
>
> The project is open-source and released under the MIT license here: 
> https://github.com/stevenleeg/twproxy
>
> Hope some of you find it useful, and any/all feedback is welcome!
> - Steve
>

-- 
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/96c915cc-8b28-4cfa-922b-3dd647950279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] More JavaScript macro questions

2016-04-14 Thread Tristan Kohl
Hi Mark,

if I do get your code right you create a "list" of author names without 
commas?
In my code I join them together and remove the trailing comma and 
whitespace pair with a slice before returning the text. So far this works 
for my usecase but yours is way more compact which is nice I guess :)

Thanks a lot for your help and effort I am sure I will ask for more when I 
dig deeper in my e-book management plugin.

Cheers
Tristan


Am Donnerstag, 14. April 2016 18:02:44 UTC+2 schrieb Mark S.:
>
> Hi Tristan,
>
> This was the export part of the code I came up with for testing:
>
> exports.run = function(text) {
> 
>  var vartext = "[["+text.split(",").join("]] [[")+"]]"   ;
> return vartext ;  
>
> };
>
> Both our approaches probably need something in there to squeeze out spaces 
> after commas.
>
> Have fun!
> Mark
>
>
> On Wednesday, April 13, 2016 at 11:49:29 PM UTC-7, Tristan Kohl wrote:
>>
>> Hi Mark,
>>
>> here is my macro code:
>> /*\
>>
>> title: $:/plugins/mirodin/ebooks/linklist.js
>> type: application/javascript
>> module-type: macro
>>
>> \*/
>> (function() {
>>
>> "use strict";
>>
>> /*
>> List all field values as comma separated list of clickable links.
>> */
>>
>> exports.name = "linklist";
>>
>> exports.params = [];
>>
>> /*
>> Run the macro
>> */
>> exports.run = function(field) {
>>  if (typeof field === "undefined") {
>>  return "''Please pass field.''";
>>  }
>>  var elements = field.split(",");
>>  var result = "";
>>  for (var i = 0; i < elements.length; i++) {
>>  result += "[[" + elements[i] + "]], ";
>>  }
>>  result = result.slice(0, -2);
>>  return result;
>> };
>>
>> })();
>>
>> Thanks for your hint, that works for me too and the whole call is way 
>> more readable.
>>
>> Cheers
>> Tristan
>>
>

-- 
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/bb756d54-063e-4c76-9ac1-b2a275061b89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] More JavaScript macro questions

2016-04-14 Thread Tristan Kohl
Hi Mark,

here is my macro code:
/*\

title: $:/plugins/mirodin/ebooks/linklist.js
type: application/javascript
module-type: macro

\*/
(function() {

"use strict";

/*
List all field values as comma separated list of clickable links.
*/

exports.name = "linklist";

exports.params = [];

/*
Run the macro
*/
exports.run = function(field) {
 if (typeof field === "undefined") {
 return "''Please pass field.''";
 }
 var elements = field.split(",");
 var result = "";
 for (var i = 0; i < elements.length; i++) {
 result += "[[" + elements[i] + "]], ";
 }
 result = result.slice(0, -2);
 return result;
};

})();

Thanks for your hint, that works for me too and the whole call is way more 
readable.

Cheers
Tristan

-- 
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/44475e17-e08a-4306-8e4e-d3fa349ccd95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] More JavaScript macro questions

2016-04-13 Thread Tristan Kohl
Hey guys,

i started creating my e-book management with TW a couple days ago. But 
there are still some things I do not get right away so I hope you can help 
me out with them.

First a short explanation of my "design": I have a template tiddler which 
is used to show the details of a book. In this template a call my custom 
macro to make a comma separated list of links from a field with comma 
separated author names. So i.e. field "authors" contains *Mark Twain* and 
*J.R.R. 
Tolkien* separated by comma. My macro produces links like *[[Mark Twain]], 
[[J.R.R. Tolkien]]* so I can find books for every author via backlinks.

My problem is that I can not figure out, how to use the value of "authors" 
within my JavaScript macro. At the moment I use the *set* widget to create 
a variable authors:
<$set name=authors value={{!!authors}}><$macrocall $name="linklist" field=<
> />

But this looks like overkill for me and is not that readable, so I wonder 
if it Is possible to replace this whole setup with something like (which 
does not work for me):
<>

There is another question that bothers me. As I am not a native English 
speaker I do not get the difference between substitution and transclusion. 
I figure one is *before* the macro call and the other one *after* that? But 
which is when and how do I use substitution at all? Unfortunately the 
documentation is very short and abstract about this I feel.

Thanks for your help
Tristan

-- 
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/955357b3-2833-458d-9989-27ccdcd32f60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5][Offtopic] Why not JSON for storage?

2016-04-07 Thread Tristan Kohl
Hi Alex,

I just asked because I was curious, there is no workflow in my head 
regarding JSON. I was just wondering why Jeremy chose the HTML approach 
over JSON as I myself use JSON for transfer (and sometimes storage) like 
many other people.

Anyways thanks for your hint, I will think about a usecase with JSON ;)

Cheers
Tristan

Am Donnerstag, 7. April 2016 13:21:47 UTC+2 schrieb AlexHough:
>
> Tristan,
>
> You can export tiddlers to the JSON format.
>
> This could open up a workflow where the JSON could be used by a framework 
> of your choice to deliver a static website
>
> best wishes
>
> Alex
>
> On 7 April 2016 at 11:26, Tristan Kohl <kohlt...@gmail.com > 
> wrote:
>
>> Hi Jeremy,
>>
>> thank you for your explanation, this helped me a lot. I also figured it 
>> could correlate with TWC but thought there might be some performance 
>> reasons for choosing the HTML method over JSON.
>> I will keep digging into TiddlyWiki and look forward to learn more about 
>> JavaScript so one day I can do something with my knowlege :)
>>
>> Cheers
>> Tristan
>>
>> Am Mittwoch, 6. April 2016 15:49:27 UTC+2 schrieb Jeremy Ruston:
>>>
>>> Hi Tristan
>>>
>>> I got a little deeper look into TiddlyWiki and came to wonder why the 
>>> storage of Tiddlers is implemented the way it is. As I understand it every 
>>> Tiddler is a single  which are all stored in the "Tiddler Area". But 
>>> since every Tiddler is a object with its own properties ("created", 
>>> "author", etc.), wouldn't it be a logic decision to keep them as JavaScript 
>>> objects and store everything as a big JSON string in the storage area so we 
>>> do not need to parse it back again?
>>>
>>>
>>> The serialisation format of tiddlers with the standalone HTML file is 
>>> indeed as a bunch of DIVs with custom attributes. The origin of the format 
>>> was TiddlyWiki Classic back in 2004 (before JSON was discovered). 
>>> Technically, it would be quite easy to change the format to something else, 
>>> but in general we don’t see sufficient payback to make it worth the effort, 
>>> and the inevitable backwards compatibility problems it would cause.
>>>
>>> Having said that, using HTML as the basis for the serialisation format 
>>> does provide some interoperability with HTML/XML tooling, which is also 
>>> sometimes useful.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>> My only clue is that there are some performance thoughts which I (with 
>>> my limited JavaScript skills) do not get. Any hint or link would be very 
>>> much appreciated.
>>>
>>>
>>> Thanks guys
>>> Tristan
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%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+...@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/4d533999-f203-49fd-8cb1-661d76795dfd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/4d533999-f203-49fd-8cb1-661d76795dfd%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/b3e53a52-a9ee-43c0-a041-aa6b30f62a5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5][Offtopic] Why not JSON for storage?

2016-04-07 Thread Tristan Kohl
Hi Jeremy,

thank you for your explanation, this helped me a lot. I also figured it 
could correlate with TWC but thought there might be some performance 
reasons for choosing the HTML method over JSON.
I will keep digging into TiddlyWiki and look forward to learn more about 
JavaScript so one day I can do something with my knowlege :)

Cheers
Tristan

Am Mittwoch, 6. April 2016 15:49:27 UTC+2 schrieb Jeremy Ruston:
>
> Hi Tristan
>
> I got a little deeper look into TiddlyWiki and came to wonder why the 
> storage of Tiddlers is implemented the way it is. As I understand it every 
> Tiddler is a single  which are all stored in the "Tiddler Area". But 
> since every Tiddler is a object with its own properties ("created", 
> "author", etc.), wouldn't it be a logic decision to keep them as JavaScript 
> objects and store everything as a big JSON string in the storage area so we 
> do not need to parse it back again?
>
>
> The serialisation format of tiddlers with the standalone HTML file is 
> indeed as a bunch of DIVs with custom attributes. The origin of the format 
> was TiddlyWiki Classic back in 2004 (before JSON was discovered). 
> Technically, it would be quite easy to change the format to something else, 
> but in general we don’t see sufficient payback to make it worth the effort, 
> and the inevitable backwards compatibility problems it would cause.
>
> Having said that, using HTML as the basis for the serialisation format 
> does provide some interoperability with HTML/XML tooling, which is also 
> sometimes useful.
>
> Best wishes
>
> Jeremy
>
>
> My only clue is that there are some performance thoughts which I (with my 
> limited JavaScript skills) do not get. Any hint or link would be very much 
> appreciated.
>
>
> Thanks guys
> Tristan
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%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/4d533999-f203-49fd-8cb1-661d76795dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5][Offtopic] Why not JSON for storage?

2016-04-06 Thread Tristan Kohl
Hey guys,

it is me again :)

I got a little deeper look into TiddlyWiki and came to wonder why the 
storage of Tiddlers is implemented the way it is. As I understand it every 
Tiddler is a single  which are all stored in the "Tiddler Area". But 
since every Tiddler is a object with its own properties ("created", 
"author", etc.), wouldn't it be a logic decision to keep them as JavaScript 
objects and store everything as a big JSON string in the storage area so we 
do not need to parse it back again?

My only clue is that there are some performance thoughts which I (with my 
limited JavaScript skills) do not get. Any hint or link would be very much 
appreciated.


Thanks guys
Tristan

-- 
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/03eeba93-0901-489e-a3cc-803559418c91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using TW for CRM?

2016-04-05 Thread Tristan Kohl
Hi Andrew,

your progress on the trello board looks very promissing, I am looking 
forward for the first "release" of TiddlyCRM.

Regards
Tristan


Am Montag, 4. April 2016 11:14:16 UTC+2 schrieb Andrew Myers:
>
> Tristan, all others interested.
>
> The TiddlyCRM project is coming along quite nicely. The alpha development 
> functionality portion is nearing a close.
>
> The trello board has been updated to reflect this.
>
> https://trello.com/b/IiYqc4IG/tiddlycrm
>
> Any inquiries about this project can also be sent to tidd...@gmail.com 
> . Hegart or myself will contact you as soon as we can!
>
>
> On Saturday, March 12, 2016 at 2:50:42 PM UTC-5, Tristan Kohl wrote:
>>
>> Hi Hegart,
>>
>> this sounds super interesting, I am looking for a tool like this for ages 
>> but did not find something that fits my (small) private needs. Your first 
>> ideas sound very promising and I hope you will find a good start for this. 
>> Unfortunately is far beyond my JavaScript skills but I started learning by 
>> developing a simple budget app for my monthly expenses so maybe one day I 
>> will be capable of helping you out with this.
>>
>> Cheers
>> Tristan
>>
>

-- 
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/b9b577d5-e631-496a-906c-b95adf3e969a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: JavaScript macros driving me crazy

2016-03-24 Thread Tristan Kohl
Ah, I knew it was some stupid little thing :/

Thank you very much, I suspect that I would never have found this on my own.

Cheers
Tristan

Am Mittwoch, 23. März 2016 21:21:29 UTC+1 schrieb Eric Shulman:
>
> On Wednesday, March 23, 2016 at 12:56:49 PM UTC-7, Tristan Kohl wrote:
>>
>> I also set the type field to application/javascript and the module_type to 
>> macro but when I called it within an new tiddler (after page refresh) via 
>> <> there was no output.
>>
>>
> Not sure if it's just a typo in your message, but the field name is 
> "module-type "... not "module_type" (i.e., use dash... not underscore).  If 
> the module-type field name wasn't correctly defined, that would prevent the 
> macro from being loaded at startup. Thus, when the <> macro syntax 
> is processed, there is no known macro t o be invoked, so no output is 
> produced.
>
> hope this helps,
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>

-- 
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/7df7be81-07ce-48c8-a013-c39e3cce4d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.