[tw] Re: [TW5] $:/core/ui/ListItemTemplate : several links per line no longer possible with new result display ?

2016-03-12 Thread Jean-Charles


Le vendredi 11 mars 2016 13:00:41 UTC+1, PMario a écrit :
>
> Have a look, what's different. Make a copy of the old content and use it 
> as your custom ListTemplate. ...
>

A look to what ? My template is working, it's just that the display of 
search results is now done differently that break multi-links per line...
 

> Just don't use $:/core/ui as a prefix, because this may be confusing in 
> the future. .> You may use $://ListItemTemplate
>

I do not need to change $:/core/ui/DefaultSearchResultList, which is fine 
and uses $:/core/ui/ListItemTemplate as a template. I cannot change the 
name.

My issue is more about the new display of search results in the ui. I'll 
try to find what commit it was (but if someone has it in mind or can narrow 
the search, it would help).

Jc

-- 
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/bb63c1de-c871-4c67-9c45-8f75bf4b5b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Solving javascript issue Uncaught TypeError: $tw.addUnloadTask is not a function

2015-08-09 Thread Jean-Charles
Hi Jeremy,

I made a first attemps to isolate the error and it was indeed in a core.js 
tiddler, but as the code raising the error was also in this file, I wasn't 
sure if I was just hiding the error or if it was the main cause of the 
problem. So I solved the issue by re-creating a new tiddler/ folder and 
copying all non-system tiddlers there, and added configuration and 
customization tiddlers.

So, to sum up : source cause was a core.js tiddler related to a previous 
version. Not sure why this tiddler appeared, but I made a lot of test at 
some point of time and maybe did save this file.

Issue solved, thanks for your help.

--
Jean-Charles

Le dimanche 9 août 2015 16:01:56 UTC+2, Jeremy Ruston a écrit :

 Hi Jean-Charles

 My node.js tiddlywiki broke today, with the javascript error message 
 Uncaught 
 TypeError: $tw.addUnloadTask is not a function.


 The stack trace is saying that the module syncer.js couldn't find the 
 function $tw.addUnloadTask() that was added to the boot kernel in 5.1.9. 
 The error suggests that maybe you've somehow ended up with an earlier, 
 different version of one or other the following core JavaScript module 
 tiddlers:

 $:/boot/boot.js
 $:/core
 $:/core/modules/syncer.js

 Perhaps check through your wiki folder and see if there are any unexpected 
 .js files there?

 Best wishes

 Jeremy
  

 I have a somewhat unusual setup, with two services running on two 
 different desktops that use a dropbox-syncrhonized filesystem. My setup is 
 kind of specific, so I suppose some corruption, but what steps can I take 
 to understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki 
 do some consistency check and/or cleanup ? Do I have to do it by hand ? The 
 --verbose flag didn't provide any help regarding this persistent error.



  


 Any Suggestion ?

 $ tiddlywiki mywiki --verbose --server 2700 $:/core/save/all 
 text/plain text/html   0.0.0.0
 Boot log:
   Startup task: load-modules
   Startup task: info after: load-modules before: startup
   Startup task: startup after: load-modules
   Startup task: story after: startup
   Startup task: commands platforms: node after: story
 Executing command: server 2700 $:/core/save/all text/plain text/html   
 0.0.0.0
 Serving on 0.0.0.0:2700
 (press ctrl-C to exit)
 syncer-server: Dispatching 'save' task: $:/StoryList
 FileSystem: Saved file 
 e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid

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

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




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


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


[tw] Solving javascript issue Uncaught TypeError: $tw.addUnloadTask is not a function

2015-08-08 Thread Jean-Charles
My node.js tiddlywiki broke today, with the javascript error message Uncaught 
TypeError: $tw.addUnloadTask is not a function.

I have a somewhat unusual setup, with two services running on two different 
desktops that use a dropbox-syncrhonized filesystem. My setup is kind of 
specific, so I suppose some corruption, but what steps can I take to 
understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki do 
some consistency check and/or cleanup ? Do I have to do it by hand ? The 
--verbose flag didn't provide any help regarding this persistent error.

Any Suggestion ?

$ tiddlywiki mywiki --verbose --server 2700 $:/core/save/all text/plain 
text/html   0.0.0.0
Boot log:
  Startup task: load-modules
  Startup task: info after: load-modules before: startup
  Startup task: startup after: load-modules
  Startup task: story after: startup
  Startup task: commands platforms: node after: story
Executing command: server 2700 $:/core/save/all text/plain text/html   
0.0.0.0
Serving on 0.0.0.0:2700
(press ctrl-C to exit)
syncer-server: Dispatching 'save' task: $:/StoryList
FileSystem: Saved file 
e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fd54a3e9-98fb-40bb-8fb1-b98417528c58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Solving javascript issue Uncaught TypeError: $tw.addUnloadTask is not a function

2015-08-08 Thread Jean-Charles
Console output is the following, by the way...

Uncaught TypeError: $tw.addUnloadTask is not a function
$:/core/modules/syncer.js:43

Syncer @ $:/core/modules/syncer.js:43
exports.startup @ $:/core/modules/startup.js:75
$tw.boot.executeNextStartupTask @ (index):13096
$tw.boot.executeNextStartupTask @ (index):13100
$tw.boot.executeNextStartupTask @ (index):13100
$tw.boot.startup @ (index):13062
(anonymous function) @ (index):13202
$tw.boot.decryptEncryptedTiddlers @ (index):12535
$tw.boot.boot @ (index):13200
_boot @ (index):13209
(anonymous function) @ (index):13219


Le samedi 8 août 2015 21:23:51 UTC+2, Jean-Charles a écrit :

 My node.js tiddlywiki broke today, with the javascript error message 
 Uncaught 
 TypeError: $tw.addUnloadTask is not a function.

 I have a somewhat unusual setup, with two services running on two 
 different desktops that use a dropbox-syncrhonized filesystem. My setup is 
 kind of specific, so I suppose some corruption, but what steps can I take 
 to understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki 
 do some consistency check and/or cleanup ? Do I have to do it by hand ? The 
 --verbose flag didn't provide any help regarding this persistent error.

 Any Suggestion ?

 $ tiddlywiki mywiki --verbose --server 2700 $:/core/save/all text/plain 
 text/html   0.0.0.0
 Boot log:
   Startup task: load-modules
   Startup task: info after: load-modules before: startup
   Startup task: startup after: load-modules
   Startup task: story after: startup
   Startup task: commands platforms: node after: story
 Executing command: server 2700 $:/core/save/all text/plain text/html   
 0.0.0.0
 Serving on 0.0.0.0:2700
 (press ctrl-C to exit)
 syncer-server: Dispatching 'save' task: $:/StoryList
 FileSystem: Saved file 
 e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid


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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-07 Thread Jean-Charles

 


 I was thinking of a modifier at the start of the invocation, because it's 
 not really a parameter:

 some-macrotext param
 some-macrowikify param
 some-macrowikify-to-text param

  
Would this also imply calls through $macrocall ?
Currently, if if have a macro called with $macrocall returning unwanted 
CamelCase, and turning it into text seems tricky (as I cannot use $text 
with its argument being a $macrocall, or use $macrocall with $text as the 
name of the macro

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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-05 Thread Jean-Charles
The $macrocall is exactly what I initially expected. Why does the 
bracketsyntax limit arguments to plaintext ? Is it an internal 
limitation of some kind or is it a choice for some reason ?

Is there a way to avoid wikification of a macro result ? (Some of mine 
return CamelCase and despite trying tildas everywhere, I had to remove all 
links parsing...)

Le lundi 5 janvier 2015 20:35:17 UTC+1, Jeremy Ruston a écrit :

 Hi Jed

 I think there's a couple of points that need clarifying:

 * Invoking a macro with double angle brackets causes the result of the 
 macro (after parameter and variable substitutions) to be wikified (as 
 expected)
 * Using a macro as a widget/element attribute (eg div class=myMacro) 
 doesn't wikify the result of the macro; the plain result of the macro is 
 assigned to the attribute
 * Invoking a macro with double angle brackets doesn't allow parameters to 
 be specified as transclusions or macro invocations; you can only use plain 
 strings
 * Macros can also be invoked with the $macrocall widget, which does 
 allow attributes to be specified as transclusions or macro invocations

 Does that help?

 Best wishes

 Jeremy. 



 On Mon, Jan 5, 2015 at 7:27 PM, Jed Carty inmy...@gmail.com javascript:
  wrote:

 I made an example here 
 http://inmysocks.tiddlyspot.com/#Concatenating%20Strings%20-%20What%20Breaks

 The 'Simplest example using two levels of variables' section shows this 
 situation.

 Hopefully that explains a bit better. I seem to be pretty bad explaining 
 most things so I hope the working example helps.

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




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

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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-02 Thread Jean-Charles


 Ok, Problem was solved with a simple... reload of the whole page :-|


But that is only for making a working javascript macro.

output = 'a onclick=\'alert(alert);\' dumb=\'alert(alert);\' 
href=xxyy/a';

It renders as :

a dumb=alert(quot;alertquot;); href=xxyy/a

So it seems that the onclick part is discarded by TW5 at some point, and that 
what I want to achieve is not possible...


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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-02 Thread Jean-Charles
WhiIe trying to achieve a clean way to mange links and url, I wanted to 
build an url based upon a field containing part of it. So I use this :

\define genurl()http://somesite/{{!!some_field}}

a href=genurl {{!!someotherfield}}/a

That generate something like :
a href=http://somesite/{{!!somefield}};Value_of_the_other_field/a

While I expected :
a href=http://somesite/Value_of_the_field;Value_of_the_other_field/a

Documentation (http://tiddlywiki.com/#HTML%20in%20WikiText) states that 
it's ok to use fields or macros, but I am not too sure when the parser 
replaces what. Do I miss something obvious here ?

Jc

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


[tw] Re: [TW5] Generating custom links (onClick)

2015-01-02 Thread Jean-Charles
Hi Jed.

Your example is exactly what is was trying to achieve. I wonder why the 
syntax I tried to use fails, there must be some parsing done by TW5 at 
different steps...

Thanks for your help !


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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-02 Thread Jean-Charles
The iframe trick does the job perfectly, this is what I wanted to achieve 
(firing a HTTP request without changing the current page). I had to remove 
some security headers from my server that prevented the iframe usage to 
make this work properly, that's all.

The download suggestion is interesting, but does not apply here : my 
webserver fires some application directly (as it run locally, its ok).

Thank you very much for your help !

Best wishes for 2015
--
Jean-Charles

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


[tw] Re: [TW5] Generating custom links (onClick)

2015-01-01 Thread Jean-Charles


You would probably be creating a bit of javascript in a custom macro of 
 that kind...

 http://tb5.tiddlyspot.com/#Basic%20Javascript%20Macro

 
Thank you Thobias. Is this example up-to-date with the current TW5 (5.1.7) 
version ? I created several working non-js macros without trouble, but I 
fail to have a working one in javascript. Refering to your example, I :

   1. create a $:/macros/example.js tiddler with your exact code sample 
   (with exports containing name, params, and run function)
   2. tag it with $:/tags/Macro (and another custom tag of mine to organize 
   stuff)
   3. set its *type* field to application/javascript
   4. set its *module-type* to macro

Is that the whole process or do I miss something here ?! Are Javascript 
macros different than usual macros regarding their creation and setup in 
tiddlers ?

Thanks for your help,
--
Jean-Charles

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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-01 Thread Jean-Charles


Le jeudi 1 janvier 2015 21:13:11 UTC+1, Jeremy Ruston a écrit :


 Tiddlers containing JavaScript macro modules should not be tagged 
 $:/tags/Macro. Can you share a wiki on tiddlyspot so that we can advise 
 better?

 Hi Jeremy,

I didn't know TW5 could run on tiddlyspot. I gave a try but didn't manage 
to make a proper TW5 up and running... Keep having a Error while saving: 
Error:NS_ERROR_DOM_BAD_URI: Access to restricted URI denied. And removing 
the $:/tags/Macro tag didn't help making javascript work...

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


Re: [tw] Re: [TW5] Generating custom links (onClick)

2015-01-01 Thread Jean-Charles
Ok, Problem was solved with a simple... reload of the whole page :-|

Sounds trivial, but after a quick overview I am not sure this detail 
appears in the documentation. I'll propose to add this detail if I cannot 
find it after a double-check.

Thank you very much for your help !

Jean-Charles


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


[tw] [TW5] Generating custom links (onClick)

2014-12-28 Thread Jean-Charles
I use TW5 as a Document Management system, with a lot of tiddlers generated 
containing references to various local files. Organization is done with 
fields/tags within TW5. I also have a small web server running locally, 
that answer to requests by opening the correct application directly on the 
desktop (a pdf opens in the pdf reader application, not in the browser). 
This web server sends no HTML back.

Currently, I use the [[somelink|http://127.0.0.1:2701/path/of/file]] link 
syntax. TW5 opens a new tab to make the request, the application opens as 
expected, but there is an empty tab open that stays around.

What I wanted to do is to generate a specific a link with an asynchronous 
AJAX request to my local web server. This would avoid tabs opening all 
along. However, my first tests showed that a macro could generate links 
easily, but that adding onclick= javascript is not allowed (TW5 seems to 
remove this). Are there ways to make this work (configuration tweak of some 
kind) ? I have no security concern as all this runs locally.

Suggestions are welcome.
--
 Jean-Charles

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


[tw] Re: [TW5] Fields versus Tags ? (now and tomorrow)

2014-12-22 Thread Jean-Charles

Hi Tobias,

Thanks for your feedback.
 

 I don't think it is an issue, to the contrary. For example, it makes 
 search much easier. For example, try searching $, #,  ...catch my drift?


Ok, I got your point. Isn't this approach a kind of shortcut for hidden 
properties or fields ? Supplier standing for networkCategory=Supplier, 
$ for projectStatus, # for taskStatus, etc. They seem to be 
semantically equivalent, with the advantage of using all the tag features. 
I'll give this way of organizing a try.
 

 What are fields' future ? Is there a will to make them more 
 important/usable or not ?


 Just as I hoped they would be in TWc, I hope they will become *much* 
 smarter in TW5. I would like to see typed fields 
 https://developer.salesforce.com/page/An_Introduction_to_Force_Database, 
 e.g. string, number, check, select, radio... etc... as well as an ability 
 to define fieldsets that you can associate with filter expressions 
 corresponding to the tiddlers for which you wish to display a given field 
 or fieldset. 


Sounds promising :-) 

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


[tw] [TW5] Fields versus Tags ? (now and tomorrow)

2014-12-21 Thread Jean-Charles
I'd like to know if some of you have good practices regarding their use 
of *tags *and *fields*.

My current perception is that *tags *are very simple to use, accessible, 
searchable, customizable, and used by several extensions. That is a lot, 
and they are definitely worth using. However, I'm afraid that after a 
while, they are too much of them to make a personal tiddlywiki 
maintainable. Think about journal entries using tags to refer to tiddlers, 
etc...
On the other hand, *fields *are neat but somewhat more hidden to the user. 
They are also used by TW5 internally, so there is a risk of collision as 
there is not such *$field* convention like the one used on tiddler naming. 
But they convey more information as they provide both a type/property and 
its value. However, they seem to be less integrated (no field-based TOC, no 
field backlinks, etc)

I have two use-cases in mind, and the choice may apply to both :

   - project field/tag. What I call project is very broad, and I have 
   up to 30 or 40 to manage/follow. So basically I can use a tag per project, 
   and tag these tags with a project tag to avoid a complete mess. As 
   projects come and go, I'll probably have lots of them after a while. A 
   little bit scary in my opinion.
   - organization field/tag. I'd like to put all my contacts in TW5, and 
   they all belong to one or more organization. Having tiddlers for each and 
   every organization is ok, but having tags for each and every of them may 
   end up having tons of them after a while. I'd prefer to use fields for each 
   contact that refers to their organization(s)

Maybe I'm reluctant because I'm ignorant of some practices or ways to 
organize TW5 tiddlers. Maybe having hundreds of tags is by no way an issue. 
But working with open properties/fields is something really great to 
organize stuff, so I tend to stick on this schema (I am a semantic 
mediawiki, for example).

So, to sum it up :

   1. Do you have any experience regarding tags vs. fields TW5 organization 
   ? What were your conclusions ?
   2. Is hundred of tags maintainable, and are their some tricks to make 
   this easy ?
   3. What are fields' future ? Is there a will to make them more 
   important/usable or not ?

Thank you for your feedbacks.

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


[tw] [TW5] TW as front-end ?

2014-12-07 Thread Jean-Charles
I'd like to use TW as a front-end to external data, I have two use-cases in 
mind :
 - mapping all users of my organization into tiddlers, as well as their 
teams, etc. Consider ~7000 people here
 - mapping my personal documentation (files, links) into tiddlers. Consider 
a ~2000 documents here.

Two questions arise :
 - is this a good idea, considering the number of items, or not ?
 - if yes, I was thinking about the implementation and considering 
something like tiddlywebadaptor. Is this a good starting point or are there 
better options ?


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


Re: [tw] [TW5] TW as front-end ?

2014-12-07 Thread Jean-Charles
Hi Jeremy,

Thanks for your feedback,

 Where's the external data coming from, and in what format? Do you want to 
sync changes to it back to the external data source?

Data is mostly in databases, so my intend was to throw a web service in 
front of my data, and have a custom tiddlywebadaptor-like js to deal with 
it.
There is no need to push data back to the source at first, but it may be 
a future option (for document tagging, for example).

To be honest, I'm quite a beginner regarding TiddlyWiki : I used it for a 
while in the past, but stayed with the basics and didn't dig
enough in it to achieve what I wanted. I can however see that it is really 
powerful and couldn't help to come back to it : so 
thanks to you and all contributors for building such a great product !

Jc

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


Re: [tw] [TW5] Add information to Fields/Links ?

2014-08-20 Thread Jean-Charles


Le mardi 19 août 2014 22:56:03 UTC+2, Stephan Hradek a écrit :

 This should work:

 $list filter=[field:author{!!title}]

 Thank you, that made the trick.

Is there some good practice to structure the Tiddlers categories (for 
example : People, Document, Taks...) ? I currently use *Tags*, but *Fields* 
may also be used, and there are probably other possible ways, from what I 
saw in another TW5 example. What are the Pros/Cons for each way of 
achieving this ?

PS: And thanks for your very valuable http://tw5magick.tiddlyspot.com/ site.

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


[tw] Re: [TW5] Add information to Fields/Links ?

2014-08-19 Thread Jean-Charles


Le lundi 18 août 2014 21:54:33 UTC+2, Stephan Hradek a écrit :



 Am Montag, 18. August 2014 21:17:46 UTC+2 schrieb Jean-Charles:


 I came across TW5 while coding a personal document management for myself, 
 and TW5 seem to be an excellent candidate. However I would like to expose a 
 feature that may really be neat for managing all kind of informations, and 
 that do not seem to exist from my (newbie) understanding :

1. Allow one *Property *to be multi-valued.

 the field named list already is multi-valued - if that's what you mean. 

Thanks, didn't know that, I'll check this one. 


1. Allow a *Property *to target a *Tiddler*. This somehow is 
equivalent to a *Link*.

 any field can contain anything which can be interpreted as a 
 tiddler-title to link to

I tried to add an author property, but when I list them, they appear as 
plan text. I propably miss something here...
$list filter=[!has[draft.of]tag[document]sort[created]]
*$link to={{!!title}}$view field=title//$linksmall$view 
field=created/ $view field=author//small
/$list
 

  


1. Allow a *Property *to have a semantic meaning. For example, a *Tiddler 
*about the book *C Programming Language* could use *property **Has 
Author* twice, targetting *Ritchie* and *Kernighan*. Not that a 
 *property 
*is directionnal, and that the reverse has a different meaning 
(something like *Was written by*). This may be familiar for users 
of the Semantic extension of Mediawiki.

 no field can appear twice.

 Maybe I misunderstood you completely?


Let's take a more complex use case : Having two *Tiddlers **United Nations* 
and *Kofi Annan*, I want to express the fact that Kofi Annan was first 
secretary of the United Nations  from 1 January 1997 to 31 December 2006. 
From a semantic point of view, that mean to create a *Has First Secretary 
/ Is First Secretary of* relationship, and to add some infdormation to 
this relationship (the start date and the end date).

How to I achieve this with TiddlyWiki ?

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


[tw] Re: [TW5] Add information to Fields/Links ?

2014-08-19 Thread Jean-Charles

Got the trick to access the field and make a Link of it : 

 $list filter=[!has[draft.of]tag[document]sort[created]]
 *$link to={{!!title}}$view field=title/ /$linksmall$link 
 to={{!!author}}$view field=author//$link/small
 /$list


I am still by feedback regarding the following kind of use case :
 

 Let's take a more complex use case : Having two *Tiddlers **United 
 Nations* and *Kofi Annan*, I want to express the fact that Kofi Annan 
 was first secretary of the United Nations  from 1 January 1997 to 31 
 December 2006. From a semantic point of view, that mean to create a *Has 
 First Secretary / Is First Secretary of* relationship, and to add some 
 infdormation to this relationship (the start date and the end date).

 How to I achieve this with TiddlyWiki ?


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


Re: [tw] [TW5] Add information to Fields/Links ?

2014-08-19 Thread Jean-Charles

Thank you very much for your answer. As an absolute beginner, I must 
probably play around with filters to achieve what I want. I have a quick 
question if you do not mind. I try to list all the Tiddlers that have a 
specific author with :

$list filter=[field:author[*SomeAuthor*]]
* $link to={{!!title}}$view field=title//$link
/$list

Things work as expected. However, I expected the following to work when the 
current Tiddler was itself named *SomeAuthor*  and doing the search on 
!!title :

$list filter=[field:author[!!title]]
* $link to={{!!title}}$view field=title//$link
/$list

I tried with extra {},or trying  , but to my dismiss, I wasn't able to 
make it work, and the answer is probably trivia, shame on me...

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


[tw] [TW5] Add information to Fields/Links ?

2014-08-18 Thread Jean-Charles

I came across TW5 while coding a personal document management for myself, 
and TW5 seem to be an excellent candidate. However I would like to expose a 
feature that may really be neat for managing all kind of informations, and 
that do not seem to exist from my (newbie) understanding :

   1. Allow one *Property *to be multi-valued.
   2. Allow a *Property *to target a *Tiddler*. This somehow is equivalent 
   to a *Link*.
   3. Allow a *Property *to have a semantic meaning. For example, a *Tiddler 
   *about the book *C Programming Language* could use *property **Has 
   Author* twice, targetting *Ritchie* and *Kernighan*. Not that a 
*property 
   *is directionnal, and that the reverse has a different meaning 
   (something like *Was written by*). This may be familiar for users of 
   the Semantic extension of Mediawiki.
   

This *Property *feature could probably be implemented by extending an 
existent features :

   -  *Links *already allow 1 and 2 and back-links exists. Currently *Links 
   *do not convey any specific meaning. They just represent a generic has 
   something to do with relationship.
   -  *Fields *allow 3, without any reverse meaning because *Tiddlers *are 
   currently not valid targets (2.). Maybe this fits the Tiddler object 
   format deferred task of the roadmap.

Internally, such *Properties *could even be used to implement *Fields*, 
*Links*, or *Tags*,, as the laters seem to be specific cases of a more 
generic one.

Do some of you need such a feature ? Did someone manage to tweak TW5 do 
achieve this without changing it ?

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