[tw] Re: [TW5] Codemirror for SQL

2015-01-21 Thread Captain Packers
Yes. I dragged the link $:/plugins/tiddlywiki/codemirror to my tiddlywiki 
browser window as instructed 
at http://tiddlywiki.com/plugins/tiddlywiki/codemirror/

On Wednesday, January 21, 2015 at 11:27:09 AM UTC-5, Tobias Beer wrote:

 Did you actually install the codemirror plugin?

 Best wishes, Tobias.


-- 
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] Codemirror for SQL

2015-01-21 Thread Captain Packers
I think I may have found the answer 
at http://tiddlywiki.com/plugins/tiddlywiki/highlight/. In the code 
examples there, the code blocks are started with backticks an then the name 
of the programming language, so I tried starting my code block with ```sql 
and voila, it worked! So I don't know how much of the tiddler creation that 
I did was really necessary (following the instructions at 
http://tiddlywiki.com/plugins/tiddlywiki/codemirror/ 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Fsa=Dsntz=1usg=AFQjCNEG9hARuVPZYVYFqrjxcTi-wVMMtQ.
 
It may be that all I needed to do was install the codemirror plugin and 
then apply this here little trick

On Wednesday, January 21, 2015 at 10:35:59 AM UTC-5, Captain Packers wrote:

 I am trying to implement codemirror for sql in node.js tiddlywiki, 
 following the example for clike code at 
 http://tiddlywiki.com/plugins/tiddlywiki/codemirror/.

 I think there are two hurdles I need to overcome. First, my 
 $:/config/EditorTypeMappings/text/x-sql tiddler is showing up as a System 
 tiddler, and not as a Shadow tiddler. All the other EditorTypeMappings are 
 Shadow tiddlers. I don't know how to make the sql mapping a shadow tiddler. 
 (Is this why the type is not available in the Type drop list when I try to 
 create a new sql tiddler?)

 Second, if I type in the Type text/x-sql I get an Undefined widget 
 'edit-codemirror' message.

 Does anyone know what I'm doing wrong and how to fix this? Does anyone 
 have a working example of sql code highlighting?

 Thanks in advance for any tips.

 Regards,
 Captain Packers


-- 
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: Edit tiddlers from my text editor

2015-01-21 Thread László Zsigmond
Wow, very good. Very good when using Windows. 
Intrested in seeing a linux alternative for it :).

Maybe the browser specific add-on is better to be used at a workstation as 
Listary is only for personal use. True, the pro version isn't expensive and 
at least companies should consider to spend on it, support the work. 
Interesting that Chrome can't have an extension that does this...

As geeks are looking for this kind of functionality and many of the 
TiddlyWiki users are geeks, maybe these infos should be shared on 
TiddlyWiki's getting started tiddler at the 'see also' part.


Best wishes,
Laci




miercuri, 21 ianuarie 2015, 13:46:11 UTC+2, Tobias Beer a scris:

 Just found this...

 http://superuser.com/a/262968

 More specifically...

 http://www.listary.com/text-editor-anywhere

 Even better than some browser specific add-on!

 Best wishes, Tobias.


-- 
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: Using TiddlyWiki in Node WebKit

2015-01-21 Thread Arlen Beiler
The biggest reason was just to have an easy way to use TiddlyWiki, since I
usually use Chrome, and both Chrome and Firefox feel pretty heavy on my old
computer. I wasn't even planning to get into the Node.JS version, but I got
to thinking about it and decided to take on the challenge. I really don't
have any goal in mind.

-Arlen

On Wed, Jan 21, 2015 at 11:32 AM, Tobias Beer beertob...@gmail.com wrote:

 I'd really like to know more about your intentions on running node webkit.
 Was it just a proof-of-concept or are you pursuing something with all that?
 If so, what?

 Best wishes, Tobias.

 --
 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.


-- 
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] Codemirror for SQL

2015-01-21 Thread Captain Packers
Yes. I dragged the link $:/plugins/tiddlywiki/codemirror to my tiddlywiki 
browser window as instructed at 
http://tiddlywiki.com/plugins/tiddlywiki/codemirror/

The plugin tiddler shows a list of shadow tiddlers including 
$:/config/EditorTypeMappings/text/css, ...text/html, ...text/plain, ...
Does ...text/x-sql need to be added directly to this tiddler???

On Wednesday, January 21, 2015 at 11:27:09 AM UTC-5, Tobias Beer wrote:

 Did you actually install the codemirror plugin?

 Best wishes, Tobias.


-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Tobias Beer


 I'll be honest. I don't understand the full significance of modules or how 
 to do them. Is a module just a tiddler with the type set to javascript and 
 the module type set to macro? The advantage of that over tagging a tiddler 
 $:/tags/RawMarkup isn't obvious to me.


A module is what makes TiddlyWiki tick, it's a functional bit of the 
clockwork, a gear, a spring, a handle, a winder... so there are different 
module-types that serve different purposes. A macro serves the purpose of 
providing a wikitext macro that works just like any other macro to the 
user. However, he
would not have been able to construct that macro using wikitext-only. So, 
there sometimes is a need to create a javascript macro to do the heavy 
lifting... which might just be a lot less heavy than trying to do the same 
thing using wikitext-only.

I notice in the size routine that you use a number of $tw.wiki.whatever and 
 $tw.utils.something. I assume those are functions defined deep in 
 TiddlyWiki's core. Is there existing documentation for those that I haven't 
 found yet?


yes, those are core functions, here of the *wiki* object or the *utils* 
namespace, either provide useful accessors to the underlying processes, 
*utils* help you work with all things tiddly and *wiki* gives you the 
basics of filtering and then writing to tiddlers, things like that. So, 
there are different collections of codebits, all of which you can explore 
in your browser's console by starting to type *$tw*... or in the GitHub 
repo. Some things are more complicated, other's are really straight 
forward, like many filters for example.

Best wishes, Tobias.

-- 
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: Imagemap in TW5?

2015-01-21 Thread Jon
Hi Tobias,

I managed to get this working - your additional instruction at Interactive 
SVG Image Map @ tb5 
http://www.google.com/url?q=http%3A%2F%2Ftb5.tiddlyspot.com%2F%23Interactive%2520SVG%2520Image%2520Mapsa=Dsntz=1usg=AFQjCNFDSaZJUZuBThY_SyEf_0qqo81hzQ
 
as to how to wrap the triggering SVG elements was what I needed and it does 
work by wrapping a layer.

Many thanks, Jon.


On Wednesday, 21 January 2015 13:00:22 UTC, Tobias Beer wrote:

 As I mentioned before, the layer name then appears if you hover over it 
 when the graphic is in a tiddler, so presumably it would be possible to use 
 that same reference within the code to make it clickable...?


 Ok, now I get it. Yes, that sounds like it should work.
 I guess, uppermost layers will have click-preference.

 Best wishes, Tobias. 


-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread RichShumaker
Thanks BJ for the question I used a [[Special Tag]] so I knew what all the 
Tiddlers were, I do not need to change that.
Thanks again Tobias for all your help, I hit one minor snag and I don't 
know if your code will be able to overcome it.

I did more testing last night and I think I have to use JSON because the 
embedded file is not deleted when you switch to _canonical_uri.
I found it funny as I am doing this to reduce the bloat of my TW and it 
didn't work the way I thought.
I thought once I put in the _canonical_uri the embedded data would go 
away and I was wrong.
I should ask you Tobias have you tested with an embedded image and does the 
image data stay or is it deleted?

Since I hit that snag I am building a JSON based on a tiddler I exported 
and it is going pretty smooth.
Once I can figure out what I am doing wrong on the JSON import I should be 
good to go.

I will be trying out your solution shortly Tobias and thanks to everyone 
for the help.

Rich Shumaker

-- 
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: Edit tiddlers from my text editor

2015-01-21 Thread Tobias Beer


 As geeks are looking for this kind of functionality and many of the 
 TiddlyWiki users are geeks, maybe these infos should be shared on 
 TiddlyWiki's getting started tiddler at the 'see also' part.


Yes. For now, I've added it here...

in-browser editing simplified @ dev5 
http://dev5.tiddlyspot.com/#in-browser%20editing%20simplified

Best wishes, Tobias.

-- 
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] Codemirror for SQL

2015-01-21 Thread Tobias Beer
Did you actually install the codemirror plugin?

Best wishes, Tobias.

-- 
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: Using TiddlyWiki in Node WebKit

2015-01-21 Thread Arlen Beiler
Here is my modification. It is basically a second JS file in the root
tiddlywiki folder. You put it beside tiddlywiki.js.
https://gist.github.com/Arlen22/d7ad0b6a108fa3cedf72  And it actually uses
the same file system syncer. The index.html is just there to get the
browser side started, and Tiddlywiki detects that it has a browser AND
node, and away it goes. I don't know if this was by design or not, but it
works well.

Here is what I mean by Running the Node.JS version (which is as opposed
to a single file TiddlyWiki in the browser). TiddlyWiki is designed to run
on Node.JS, and all single-file TiddlyWikis are generated this way. These
instructions are on windows, but other platforms are similar.

   1. Go to http://github.com/Jermolene/TiddlyWiki5 and select any branch
   or tag you want (or just use the master).
   2. At the bottom of the right sidebar there is a button that says
   Download Zip. Click it.
   3. Unpack the zip file into any directory.
   4. (Optional) If you are using windows, copy node.exe into the directory
   beside tiddlywiki.js. If you have node.js installed globally that works
   too.
   5. Shift + Right Click in the folder (Windows Vista and newer) and click
   Open command window here.
   6. Type path/to/node.exe tiddlywiki.js editions/tw5.com-server --server (
   http://tiddlywiki.com/#Using%20TiddlyWiki%20on%20Node.js)
   7. If it works, it will say Serving on 8080 or something like that.
   Open your browser and navigate to 127.0.0.1:8080.

That is what I do if I am wanting to work with the latest GitHub code. I
don't usually use NPM. So that's the idea behind my modification. That same
code can also run on node-webkit if you start it a little different.

What is the difference between your first post instructions and
 tiddlydesktop or the instructions to make TW work on node webkit described
 here: http://tiddlywiki.com/dev/#TiddlyWiki%20on%20node-webkit ?


I guess my first post instructions accomplish the same thing as
tiddlydesktop, except that nothing is sandboxed, so TiddlyDesktop is safer.
And TiddlyDesktop isn't as complicated as I first thought.

-Arlen

On Wed, Jan 21, 2015 at 4:53 AM, Danielo Rodríguez rdani...@gmail.com
wrote:



 El miércoles, 21 de enero de 2015, 3:48:09 (UTC+1), Arlen Beiler escribió:


 What do you need is a sync module that uses Node-webkit. I think you can
 base your work on the FS syncer.


 I actually think I got it working for both single file and node.js
 style. The single file one needed a hack to bootprefix.js (in order to
 work right) and a Saver module which I based off the tiddlyfox saver. I
 guess that's the same thing as a syncer.


 No. A syncer is responsible of sync single tiddlers as single files to the
 file system. The saver just saves the whole file.


 If you're running the Node.JS version (like you download from GitHub),
 you don't even need the browser-server sync, because the server and the
 browser are one. Literally. So all changes in the browser go directly to
 the Node FileSystemSaver or whatever it is.


 Could you elaborate this? What do you mean running the Node.JS version ?
 The tiddlywiki version for node? How do you mate it running inside
 node-webkit?



 That I don't know. Those instructions didn't work for me (because of the
 bootprefix.js problem), and all you need to do is just paste the file url
 into node-webkit and it loads it like a regular file. You don't actually
 need the package.json.


 It worked for me in the past. I did not check recently.



 TiddlyDesktop sounded a bit complicated, and I wanted to see if there was
 an easier way. I don't know what features it has beyond a regular
 tiddlywiki, though.


 Complicated? Why is complicated? Is just download and run. Nothing else.
 How are you trying to use 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.


-- 
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: [TWC] Fet script question

2015-01-21 Thread sklpns

Tobias, friends, a couple of follow up questions, If I may:
1. how would we go about to produce the same kind of report but on a 
monthly basis?

something like

 |TOTAL EXPENSES | TOTAL INCOME | RESULT | TOTAL 
EXPENSES SUM | TOTAL INCOME SUM|
JAN 2015   
FEB 2015
MAR 2015
APRIL 2015

2. TiddlyChartsPlugin (http://charts.tiddlyspace.com/) allows the creation 
of graphs 
based on data of the following format

|Month|1|2|3|4|5|
|Jon's Money|100|200|700|800|300|
|Colm's Money|50|500|300|900|700|
|Matt's Money|250|550|330|400|2700|

stored on tiddlers.

Would it be remotely possible, using FET or, maybe, inline javascript 
plugin, to somehow automate the process?
Something like 
*gather the monthly data with fet
*click a button to update the content of the tiddler which holds the graph 
data
*automatically update the tiddler that holds the graph and view it?

Just wishing here, manually editing the relevant tiddlers is of course no 
biggie,
just thinking out loud.

Again, Tobias, thank you very much indeed.

sklpns  





-- 
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: Using TiddlyWiki in Node WebKit

2015-01-21 Thread Tobias Beer
I'd really like to know more about your intentions on running node webkit.
Was it just a proof-of-concept or are you pursuing something with all that?
If so, what?

Best wishes, Tobias.

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread 'Stephen Kimmel' via TiddlyWiki



 But yes, you are absolutely right, if the core of TiddlyWiki were to 
 change,
 it would be an awful endeavour to fix starting this bookmarklet based on 
 that url encoded nastiness it is.
 Actually, a bookmarklet should be provided with a version in the title.


I use that particular script of yours a lot so I'll be sorry if they decide 
to close that backdoor. I consider the bookmarklet answer to be inferior 
since that binds the use to a particular machine and installation. I use 
multiple computers, home. office, traveling laptop, etc. Rather than 
install the bookmarklet on multiple machines, some where I don't have the 
rights, my preference is to have the routine as part of the wiki. Then it 
is available wherever the wiki is available.
 

 I'm not sure, though, that you answered Mat's question: 

 How do I integrate a javascript into TW?


 I think I mentioned: *modules*

 At least, that seems to be the official answer.
 Although, I would personally prefer something else.
 But I do understand that it's a safe choice.


I'll be honest. I don't understand the full significance of modules or how 
to do them. Is a module just a tiddler with the type set to javascript and 
the module type set to macro? The advantage of that over tagging a tiddler 
$:/tags/RawMarkup isn't obvious to me.

I notice in the size routine that you use a number of $tw.wiki.whatever and 
$tw.utils.something. I assume those are functions defined deep in 
TiddlyWiki's core. Is there existing documentation for those that I haven't 
found yet?

-- 
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: [TWC] Fet script question

2015-01-21 Thread Tobias Beer
Hi sklpns,
 

 Would it be remotely possible, using FET or, maybe, inline javascript 
 plugin, to somehow automate the process?


Sure, but at that point I would stop trying to stuff it into FET,
as it's far too inflexible and cumbersome.

gather the monthly data with fet


The first problem I notice is that you never even talk about years.
At what point do you need to take that into consideration?
Anyhow, I would calculate that with an inline script.
Much simpler, and easier to read.

Also, do you really need (hidden) data?
Why not use generic slices or even fields?
Wouldn't that be cleaner?

click a button to update the content of the tiddler which holds the graph 
 data


That should automatically update when you open it,
unless you want it to only render at the click of a button.
 

 http://charts.tiddlyspace.com 
 http://www.google.com/url?q=http%3A%2F%2Fcharts.tiddlyspace.comsa=Dsntz=1usg=AFQjCNHtHsjh2UW2pd18NGaWCwfrgomYnw
 automatically update the tiddler that holds the graph and view it?


Same as above.
I never worked with those charts, though,
so I'm not sure what format they expect precisely,
as you seem to want multiple bars per month, i.e. table rows.

Perhaps you try to figure that part out yourself, first,
e.g. construct a demo table and see if you can
get that plugin to show you a meaningful graph?

Best wishes, Tobias.

-- 
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] How do you make a shadow tiddler in TW5?

2015-01-21 Thread Jed Carty
Shadow tiddlers are only tiddlers that are inside a plugin tiddler, so you have 
to make a plugin tiddler to make one. If you just want a tiddler that is 
normally hidden from lists and searches than you can use a system tiddler, 
which is any tiddler with a title that starts with $:/

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Alex Hough
Presumably the Javascript style used by Mr Ruston is worthy of attention of
JS aficionados?

I'd feel good if the JS I was learning was  pointing towards TW and
JermStyle scripting. I've done some coding in the past, but only with great
help from Eric, Tobias and FND. I didn't pick up on the principals behind
the design, partially because to appreciate it would required a strong
background in development and computer science.

Alex

On 21 January 2015 at 15:09, Tobias Beer beertob...@gmail.com wrote:

 Could there be a learning group decicated to upskilling people who might
 be able to use a macro into people who can begin to learn JS in the TW way?


 This is why the dev group should be a github repo... one that doesn't
 (necessarily) have any content but is rather a place to post issues and
 discuss / edit code... which might eventually be part of that repo as best
 practice. Some TiddlyWiki would nice to showcase these things in the right
 context.

 Best wishes, Tobias.

 --
 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.


-- 
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] How do you make a shadow tiddler in TW5?

2015-01-21 Thread Captain Packers
How do you make a shadow tiddler in TW5???

-- 
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: Possible to include/transclude contents of an external text file into a tiddler?

2015-01-21 Thread 'Mark S.' via TiddlyWiki
Whatever system works best for you is ... best ... of course, But just a 
note that TW5 works on FF in  windows, Linux, and Android tablets.

Mark

On Tuesday, January 20, 2015 at 3:10:05 AM UTC-8, Matthew Petty wrote:

 Thanks Tobias, that works great.
 The reason I'm using todo.txt for task management is the mobile aspect and 
 the flexibility. I have a windows client at work, a linux client at home, 
 an Android app, and if necessary I can edit the todo.txt directly.

 On Tue, Jan 20, 2015 at 2:26 AM, 'Mark S.' via TiddlyWiki 
 tiddl...@googlegroups.com javascript: wrote:

 Thanks! Seems to be another situation where the code is case sensitive.

 Mark


 On Monday, January 19, 2015 at 1:46:50 PM UTC-8, Mat wrote:

 @Mark S

 I got it to work by copying Tobias code and put in a local file like 
 this:

 object data=file:///C:/Users/ type=text/plain 
 style=width:100%;height:400px; scrolling:yes
 a href=file:///C:/Users/.. target=_blankEnTiddler.tid/a 
 (missing or not supported)
 /object



 On Monday, January 19, 2015 at 10:24:24 PM UTC+1, Mark S. wrote:

 I couldn't get this code to work with a local file. Does it only work 
 with http ?

 For organizing daily tasks stored in plain text, emacs org-mode has 
 loads of functionality and a wide user base.

 Is there a good meta-app for task management in TW5? OM will let you 
 quickly see a calendar for today, change dates, priorities, tags, 
 statuses, 
 and edit tasks. 
  
 Mark
  
 On Wednesday, January 14, 2015 at 2:29:34 AM UTC-8, Tobias Beer wrote:

 I have settled on using todo.txt (http://todotxt.com/) to manage my 
 todo list. I recommend it.


 Not trying to convince you otherwise...
 May I ask why the decision to use that and not TiddlyWiki?
 Specifically, what was (mostly) missing in TiddlyWiki that you get 
 with *todotxt.com http://todotxt.com*?
 (preferably indicating importance: 10-high / 1-low)

 Is it possible to transclude the contents of the todo file into a 
 tiddler?

 Can it be done with a relative path, so that it will work whereever I 
 access my TW from? 


 This...

 object data=./text.txt type=text/plain style=width:100%;height:
 400px; scrolling:yes
 a href=./text.txttext.txt/a (embedding not supported)
 /object

 ...works for me.

 Best wishes, Tobias.

  -- 
 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/dYIbm6FpYfc/unsubscribe.
 To unsubscribe from this group and all its topics, 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.




 -- 
 website: matthewpetty.com
 podcast: coiledspring.org

 READ CAREFULLY. By reading this email, you agree, on behalf of your 
 employer, to release me from all obligations and waivers arising from any 
 and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, 
 clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and 
 acceptable use policies (BOGUS AGREEMENTS) that I have entered into with 
 your employer, its partners, licensors, agents and assigns, in perpetuity, 
 without prejudice to my ongoing rights and privileges. You further 
 represent that you have the authority to release me from any BOGUS 
 AGREEMENTS on behalf of your employer.
  

-- 
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] Codemirror for SQL

2015-01-21 Thread Captain Packers
I am trying to implement codemirror for sql in node.js tiddlywiki, 
following the example for clike code 
at http://tiddlywiki.com/plugins/tiddlywiki/codemirror/.

I think there are two hurdles I need to overcome. First, my 
$:/config/EditorTypeMappings/text/x-sql tiddler is showing up as a System 
tiddler, and not as a Shadow tiddler. All the other EditorTypeMappings are 
Shadow tiddlers. I don't know how to make the sql mapping a shadow tiddler. 
(Is this why the type is not available in the Type drop list when I try to 
create a new sql tiddler?)

Second, if I type in the Type text/x-sql I get an Undefined widget 
'edit-codemirror' message.

Does anyone know what I'm doing wrong and how to fix this? Does anyone have 
a working example of sql code highlighting?

Thanks in advance for any tips.

Regards,
Captain Packers

-- 
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] How do you make a shadow tiddler in TW5?

2015-01-21 Thread Tobias Beer
By making a plugin:
http://tiddlywiki.com/dev

But, you shouldn't need one,
unless you want to distribute a plugin.

Best wishes, Tobias.

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread RichShumaker
So now for the silly question, how do I use this?
Do I create a bookmarklet 
http://tb5.tiddlyspot.com/#Creating%20Smart%20Bookmarklets with it or do 
I need to use this another way?(I haven't made any bookmarklets yet so that 
might be interesting)

As always thanks everyone for your help.

Rich Shumaker

-- 
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] how to add a left menu ?

2015-01-21 Thread Birthe C
Hi Tobias,
If you  have one tiddler open in zoomin view and you close that tiddler, is 
it not normal then?

Birthe


On Wednesday, January 21, 2015 at 1:08:51 PM UTC+1, Tobias Beer wrote:

 I change css here 
 http://novye-podarki.ru/heeg.html#%24%3A%2F_aa.giff%2FStyleSheetTopic


 I just closed that one tiddler and the page is pretty empty.
 Also, you don't seem to have any menu when the page-width is less than X.

 Best wishes, Tobias.


-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer


 tiddlers are forced to be immutable by tiddlywiki so the code has to be 
 more like this:


Do you know what part of the core does this immutability thing?
I'd be interested in seeing how that works.

Best wishes, Tobias. 

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Astrid Elocson
 There are coding conventions in TW which to the beginner JS  programmer 
may find puzzling. For example in Tobias' example plugin we have a line 
which says tid = tid

The actual line is:

*tid = tid || GettingStarted*

That's conceptually similar to the less puzzling line:

*tid = tid + 1*

which causes *tid* to be set to its own previous value + 1.

In Tobias's example, the *||* symbol means or else, and the line causes 
*tid* to be set to either its current value, or else (if *tid* isn't 
currently set to anything) to *GettingStarted*. This is a common idiom 
for supplying a default value for a parameter in JavaScript.

Tobias's example doesn't actually need to use the word *var* (which 
introduces a new variable), because *tid* has already been declared (as a 
parameter).

– æ

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread BJ
It's in the boot.js -
```
// Freeze the tiddler against modification
Object.freeze(this.fields);
```
On Wednesday, January 21, 2015 at 3:54:58 PM UTC-6, Tobias Beer wrote:

 tiddlers are forced to be immutable by tiddlywiki so the code has to be 
 more like this:


 Do you know what part of the core does this immutability thing?
 I'd be interested in seeing how that works.

 Best wishes, Tobias. 


-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer


 I should ask you Tobias have you tested with an embedded image and does 
 the image data stay or is it deleted?


The above code clears the text field.
You could modify the code of the above by

   - adapt the filter to have it select all with a *_canonical_uri* field
   - remove the code that sets this field
   - leave the code that clears the text

This will remove any left-over base-64-encoded text from what once was an 
embedded image.

Best wishes, Tobias.

-- 
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] 3D question - Is anyone doing it and is it possible

2015-01-21 Thread RichShumaker
Thanks Duarte for your reply.
I like the idea of a catalog of 3d images in TW that you can browse and 
check out.
Seems like TW might make a good repository for this type thing, except for 
the browser crashes some have had.

Yes I was envisioning adding 3D to plug ins that exist to allow them to 
reside in 3d space instead of 2d space.
Possibly for chemical compound visualization and other things like data 
modelling.

I will be interested to see if any 3d add ons come to the surface.

Rich Shumaker 

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Danielo Rodríguez
Hello Alberto,

How is the creation of new tiddlers via form managed? Is there any chance 
to not opening the resulting tiddler for editing?

-- 
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] 3D question - Is anyone doing it and is it possible

2015-01-21 Thread RichShumaker
Did a rudamentary search for web3d javascript and this came back 
http://threejs.org/, three.js
three.js seems pretty cool but seems to be a lot for TiddlyWiki to take on 
and I don't know if there would be any advantages.

It would be cool if you could create Tiddlers that were 3d objects and 
scene Tiddlers and then use three.js to combine the Tiddlers easily.

I will keep my eyes out for more stuff that might add to TW5.

Rich Shumaker

On Wednesday, January 21, 2015 at 1:44:13 PM UTC-8, RichShumaker wrote:

 Thanks Duarte for your reply.
 I like the idea of a catalog of 3d images in TW that you can browse and 
 check out.
 Seems like TW might make a good repository for this type thing, except for 
 the browser crashes some have had.

 Yes I was envisioning adding 3D to plug ins that exist to allow them to 
 reside in 3d space instead of 2d space.
 Possibly for chemical compound visualization and other things like data 
 modelling.

 I will be interested to see if any 3d add ons come to the surface.

 Rich Shumaker 


-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread RichShumaker
So I was able to get the stuff I did yesterday with JSON over to my other 
computer and it worked flawlessly.

ARGH
I will be trying your solution next Tobias and thanks again for your help.

I really like JSON, just wish it worked on this computer and I have no idea 
what craziness is on this computer that keeps it from working.

Rich Shumaker

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread RichShumaker
Tobias,

Thank you very much that took me a few minutes to find the images I put in 
there but now they are all External and the TW dropped almost 10mb in size.
WooHoo.
You may want to add the F12 Console details to your developer page for this 
solution.

That was awesome and saved me a TON of time.

Rich Shumaker

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Alberto Molina
Hi Danielo,
 

 How is the creation of new tiddlers via form managed?


There are dedicated button tiddlers like  
http://magictabs.tiddlyspot.com/#%24%3A%2Fplugins%2Famp%2FMagicTabs%2Fbuttons%2Finput%2Fnotes

   - $:/plugins/amp/MagicTabs/macros/newNote/button 
   
http://magictabs.tiddlyspot.com/#%24%3A%2Fplugins%2Famp%2FMagicTabs%2Fmacros%2FnewNote%2Fbutton
   - $:/plugins/amp/MagicTabs/buttons/input/person 
   
http://magictabs.tiddlyspot.com/#%24%3A%2Fplugins%2Famp%2FMagicTabs%2Fbuttons%2Finput%2Fperson

 Is there any chance to not opening the resulting tiddler for editing?


I would like to have the option of opening or not, for editing or for 
viewing. That was possible with the maketid plugin from matabele, but I 
don't think it's possible atm with the core. I hope I'm wrong.

Regards,

Alberto

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread RichShumaker
Last update I hope.
I used the length macro and lsort filter 
http://tbdemo.tiddlyspot.com/#length%20macro%20and%20lsort%20filter thanks 
again for cataloging that Tobias and I shaved even more off.
From 16mb to under 3mb in less than an hour.

Thanks again everyone for all the help.

Rich Shumaker

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer


 Object.freeze(this.fields);


I couldn't quite decipher how *addTiddler *circumvents this.
What am I missing?

Best wishes, Tobias.

-- 
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] how to add a left menu ?

2015-01-21 Thread Tobias Beer


 For TWc there was some plugin I used at some point, or made, which always 
 opened some *single* home / start tiddler when the last one was closed, 
 so that this wouldn't happen... as it's really awkward for anything 
 aspiring to be a website... to look at an entirely blank canvas.


Ok, I've found the plugin, but it was a buggy one I never got to fix...

http://singlepagehistory.tiddlyspace.com

So, I just created a simplistic version of it that only opens the default 
tiddlers when all others are closed...

http://defaultonempty.tiddlyspace.com

...which is now included in these two...

http://tiddlywiki.org
http://customize.tiddlyspace.com

Best wishes, Tobias. 

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Alberto Molina
Hi Philippe,

OK. I think I understand. I'm going to try as a way of testing the changes 
I've done to the plugins. But before I need to fix other things.
When finished, it could be the start of a new extra plugin for writers.

I also would be pleased to help if you want to add a french documentation 
 (but I believe you speak french too).


Yes, I speak french much better than english. I would like to create 
documentation in english, spanish and french. But until now there's no 
documentation at all. First, the plugin must be stable enough. I also would 
like to have the plugin translatable in different languages, like the core 
of tw, but later.

If you could contribute to the french translation of the documentation of 
tw.com, it would be much more useful.
 
Regards,

Alberto

-- 
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: Imagemap in TW5?

2015-01-21 Thread Tobias Beer
Also here, using the location hash given via the permalink command seems to 
work fine...

http://tb5.tiddlyspot.com/#ImageMaps

Best wishes, Tobias.

-- 
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: Using Image Map in TW5 to link to certain tiddlers

2015-01-21 Thread Tobias Beer
Just thought I'd mention it here, this seems to work (now).

http://tb5.tiddlyspot.com/#ImageMaps

Best wishes, Tobias.

-- 
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] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Mat
Tobias Beer wrote:

 http://tb5dev.tiddlyspot.com/#JSONP


WHAT!? Are you psychic or something? You AGAIN write something mere hours 
before I bring it up. You're clearly using your psychic powers to make me 
look foolish - but note that my signature is a *tiddlywicked* *magician*, 
so I warn thee!!! I shall tiddlify you!!!

...later.


- we need a tiddlyweb like store


But that's not a federated solution, is 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.


[tw] Re: [TW5] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Mat
Tobias Beer wrote:

 http://tb5dev.tiddlyspot.com/#JSONP


WHAT!? Are you psychic or something? You AGAIN write something mere hours 
before I bring it up. You're clearly using your psychic powers to make me 
look foolish - but note that my signature is a *tiddlywicked* *magician*, 
so I warn thee!!! I shall tiddlify you!!!

...later.


- we need a tiddlyweb like store

 But that's not really federated, is it? 


No server, no nothing... unless you want to drag and drop exports from wiki 
 to wiki every the time.

 I just found a thread on How do I load the contents of a text file into a 
 javascript variable? 
 http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F196498%2Fhow-do-i-load-the-contents-of-a-text-file-into-a-javascript-variablesa=Dsntz=1usg=AFQjCNHIBnnnpaKY4K30s-XQhaPRtvBvUA
  which 
 mentions some fudgery (sounds tasty!) I figure this means the full 
 contents could be pulled into a script and then one could use the 
 fieldnames as identifiers for various parts. That should work, right? 


 It does not. We are talking about the web here, not local filesystems. 
 Afaik, there is no local XMLHttpRequest, unless you're running a local 
 server at some local ip address via *node.js*.


But, I *am* talking about a local file here! At least, that too. Or are you 
saying this wouldn't help either? If I go to an external TW, use the 
toolbar command to export that tiddler into my own local folder, and then I 
want to pluck out that data into some kind of tiddler shell so it displays 
as a tiddler in my local TW.

II'm trying this: I have a local .tid file, and making it appear in a 
tiddler via a method you documentet on tb5:

object data=file:///C:/Users/../Tiddler.tid type=text/plain 
style=width:100%;height:400px; scrolling:yes
/object 

This shows the whole file content of Tiddler.tid, but could I extract only 
what is after, say, text: in that file? It all feels so defined that I 
figure it ought to be posible.

:-)


-- 
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] 3D question - Is anyone doing it and is it possible

2015-01-21 Thread Duarte Farrajota Ramos
Not entirely sure, but I believe most if not all WebGL applications 
nowadays rely on three.js, even the one I posted with the fish.
That one was made using Blend4Web https://www.blend4web.com/en/ a free 
plugin for Blender, and it is pretty static in nature, has not 
intelligence, interactivity or data input of any kind, but if anyone 
willing and with the necessary programing skills were so inclined, I am 
sure that given enough time he could make 3D interactive models with 
Blender that could read data from tiddlywiki and modify or somehow adapt to 
reflect that data. Blend4Web has a programming API that can do just that.

WebGL is a pretty neat tool, but I think it should be used wisely and only 
when needed or advantageous, not forced down on the user's throat as a 
useless gimmic just because it looks cool.
Here is another example I made for fun a while back 
http://www.duarteramos.pt/gallery/webgl/janelamanuelina_en.html

On Wednesday, 21 January 2015 21:47:57 UTC, RichShumaker wrote:

 Did a rudamentary search for web3d javascript and this came back 
 http://threejs.org/, three.js
 three.js seems pretty cool but seems to be a lot for TiddlyWiki to take on 
 and I don't know if there would be any advantages.

 It would be cool if you could create Tiddlers that were 3d objects and 
 scene Tiddlers and then use three.js to combine the Tiddlers easily.

 I will keep my eyes out for more stuff that might add to TW5.

 Rich Shumaker

 On Wednesday, January 21, 2015 at 1:44:13 PM UTC-8, RichShumaker wrote:

 Thanks Duarte for your reply.
 I like the idea of a catalog of 3d images in TW that you can browse and 
 check out.
 Seems like TW might make a good repository for this type thing, except 
 for the browser crashes some have had.

 Yes I was envisioning adding 3D to plug ins that exist to allow them to 
 reside in 3d space instead of 2d space.
 Possibly for chemical compound visualization and other things like data 
 modelling.

 I will be interested to see if any 3d add ons come to the surface.

 Rich Shumaker 



-- 
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] A question about conditional view templates and an unrelated small modification of the left menu idea

2015-01-21 Thread Jed Carty
The wiki I was playing with today uses icons on the left instead of the normal 
menu on the right,  it is a modification of the left Menu example from 
http://tw5topleft.tiddlyspot.com

The demo wiki  is here 
https://www.dropbox.com/s/3av1v76la76lm9m/OrganizedBrain.html?dl=0
I am going to try improving it a bit, so if anyone has suggestions I would like 
to hear them. 

As an unrelated question, I am trying to get conditional view templates 
(http://tb5.tiddlyspot.com/#Conditional%20ViewTemplate%20Section)  to work 
correctly in the contacts database I made and I am running into problems where 
the template isn't being applied when a tiddler is transcluded. It isn't a huge 
problem, but it is annoying. The link to the demo wiki shows an example of what 
I am talking about. 

-- 
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] how to add a left menu ?

2015-01-21 Thread Tobias Beer


 If you  have one tiddler open in zoomin view and you close that tiddler, 
 is it not normal then?


Sure, but on that site there is no other clickable link except for that 
basket or whatever it is in the bottm right, so it's really awkward to be 
looking at a blank page.

For TWc there was some plugin I used at some point, or made, which always 
opened some *single* home / start tiddler when the last one was closed, so 
that this wouldn't happen... as it's really awkward for anything aspiring 
to be a website... to look at an entirely blank canvas.

Best wishes, Tobias.

-- 
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] A question about conditional view templates and an unrelated small modification of the left menu idea

2015-01-21 Thread Tobias Beer


 As an unrelated question, I am trying to get conditional view templates (
 http://tb5.tiddlyspot.com/#Conditional%20ViewTemplate%20Section)  to work 
 correctly in the contacts database I made and I am running into problems 
 where the template isn't being applied when a tiddler is transcluded. It 
 isn't a huge problem, but it is annoying.


Such a view-template section is only rendered when a full tiddler is opened 
in the story.
If you just transclude a tiddler, you usually just get it's text or some 
field, but not the entire tidder-viewer.

One way to work about this is to use the actual template via transclusion...

{{||$:/somewhere/must/be/that/template}}

You could write a global helper macro for *inc*lusion like so...

\define inc(template)
{{||$:/somewhere/must/be/that/$template$}}
\end

and then just do...

inc template

Also added here...

Including A Conditional Template @ tb5 
http://tb5.tiddlyspot.com/#Including%20A%20Conditional%20Template

Best wishes, Tobias.

-- 
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: Edit tiddlers from my text editor

2015-01-21 Thread Arc Acorn
+1 for hoping for a Linux  BSD alternative someday, seems like a pretty 
awesome program. (Been slowly converting over to Linux since the preview 
version of windows 10 hit. Been using it pretty often and it's driving me 
to love Linux more and more every week. Though maybe the new major preview 
next week will turn my experience around with it.)
Browser specific may be a little limiting in terms of what browser you can 
use, but at least it works everywhere the browser can. XD


On Wednesday, January 21, 2015 at 10:40:55 AM UTC-8, László Zsigmond wrote:

 Wow, very good. Very good when using Windows. 
 Intrested in seeing a linux alternative for it :).

 Maybe the browser specific add-on is better to be used at a workstation as 
 Listary is only for personal use. True, the pro version isn't expensive and 
 at least companies should consider to spend on it, support the work. 
 Interesting that Chrome can't have an extension that does this...

 As geeks are looking for this kind of functionality and many of the 
 TiddlyWiki users are geeks, maybe these infos should be shared on 
 TiddlyWiki's getting started tiddler at the 'see also' part.


 Best wishes,
 Laci




 miercuri, 21 ianuarie 2015, 13:46:11 UTC+2, Tobias Beer a scris:

 Just found this...

 http://superuser.com/a/262968

 More specifically...

 http://www.listary.com/text-editor-anywhere 
 http://www.google.com/url?q=http%3A%2F%2Fwww.listary.com%2Ftext-editor-anywheresa=Dsntz=1usg=AFQjCNGmMRIPJBoutrRreU7amiuAPA1hTw

 Even better than some browser specific add-on!

 Best wishes, Tobias.



-- 
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: Edit tiddlers from my text editor

2015-01-21 Thread László Zsigmond
In the article there is this line:

 edit textareas using an external editor — right click, select, edit

No right click and select is neccessary, by default an edit button appears 
on every focused textarea in the browser, it can be configured though to 
behave otherwise.


Best wishes,
Laci

miercuri, 21 ianuarie 2015, 21:48:39 UTC+2, Tobias Beer a scris:

 As geeks are looking for this kind of functionality and many of the 
 TiddlyWiki users are geeks, maybe these infos should be shared on 
 TiddlyWiki's getting started tiddler at the 'see also' part.


 Yes. For now, I've added it here...

 in-browser editing simplified @ dev5 
 http://dev5.tiddlyspot.com/#in-browser%20editing%20simplified

 Best wishes, Tobias.


-- 
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] 3D question - Is anyone doing it and is it possible

2015-01-21 Thread Scott Elcomb
On Wed, Jan 21, 2015 at 8:04 PM, Duarte Farrajota Ramos
duarte.fra...@gmail.com wrote:
 Not entirely sure, but I believe most if not all WebGL applications nowadays
 rely on three.js, even the one I posted with the fish.

Three.js is the most common I'm sure but there are definitely others:

http://osgjs.org/
http://www.babylonjs.com/
http://www.senchalabs.org/philogl/

(Technically it's neither a framework nor webgl but I still get a kick
out of http://jlongster.com/s/dom3d/ )

 WebGL is a pretty neat tool, but I think it should be used wisely and only
 when needed or advantageous, not forced down on the user's throat as a
 useless gimmic just because it looks cool.

Lately I've been trying to get a handle on glam
http://tparisi.github.io/glam/. Though it's still early days, glam
is a promising three.js-powered successor to vrml,  (Given glam's
css-parsing engine I'm not sure it would integrate [easily] with
tiddlywiki.)

The idea of combining tiddlywiki with glam is incredibly attractive:
tw authors would be able to include 3d content with relative ease.

I'd love to have a virtual museum in my tiddlywiki; maybe an
interactive 3D atlas for the fictional worlds of books  games. A
realtor might keep a tiddlywiki of home listings, just open a tiddler
for the virtual tour. Ditto salespeople with products to sell.

-- 
  Scott Elcomb @psema4
  http://psema4.com/pubkey.txt
 http://www.pirateparty.ca/

-- 
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] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Tobias Beer


 But, I *am* talking about a local file here!


I know, and it's precisely the problem, because — by default — you have no 
local server running.
 

 Or are you saying this wouldn't help either?


So, yes, that.
 

 If I go to an external TW, use the toolbar command to export that tiddler 
 into my own local folder, and then I want to pluck out that data into some 
 kind of tiddler shell so it displays as a tiddler in my local TW.


What you can do is drag and drop or use some input element to select the 
file, and that's it.

II'm trying this: I have a local .tid file, and making it appear in a 
 tiddler via a method you documentet on tb5:

 object data=file:///C:/Users/../Tiddler.tid type=text/plain 
 style=width:100%;height:400px; scrolling:yes
 /object


This works, because your browser is able to render the file as an object, 
all encapsulated. It decides what to do with it for you, with its own 
text-viewer thingy. But, as I tried to explain before, this comes with the 
very same access restrictions, as, say, an iframe. You just can't tell that 
thing to do something. All you can do is replace it with another thing. But 
you can't access its internal data ...e.g. some tiddler json... just like 
you can't tell an element in an iframe to change its color for you... 
unless you have a server running and both, the iframed file and the file 
iframing it are hosted at the same domain.

This shows the whole file content of Tiddler.tid, but could I extract only 
 what is after, say, text: in that file? It all feels so defined that I 
 figure it ought to be posible.


So, no, there is no extracting ...not without a server giving you a file 
with a proper response that you can handle in your javascript.

Best wishes, Tobias.

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer


 So now for the silly question, how do I use this?
 Do I create a bookmarklet 
 http://tb5.tiddlyspot.com/#Creating%20Smart%20Bookmarklets with it or 
 do I need to use this another way?(I haven't made any bookmarklets yet so 
 that might be interesting)


You hit F12 to open the developer tools of your browser, the console.
In the debug line  at the very bottom, you paste the code to run it.

Best wishes, Tobias.

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Alex Hough
wise words Tobias,

answers some of the questions I think about. put it in TB5?


Alex

On 21 January 2015 at 11:01, Tobias Beer beertob...@gmail.com wrote:

 Hi Mat,


 I found this little treasure of javascripts: JavaScript Kit - Free
 JavaScripts http://www.javascriptkit.com/cutpastejava.shtml

 BTW, that site also links to a site on DHTML.


 It looks a bit like a dusty treasure from the dark ages,
 refering to concepts from back then...
 which, of course are still usable today, like an ax is. ^^

 What I mean is, DHTML is from a time
 when people thought it was good to write code this way...

 a href=# onclick=var x=2;callMyFunction(); style=color:AliceBlue
 click/a

 ...which is pure evil,
 throwing all the different aspects of a program
 into one bucket where eventually
 you never find the right spot
 ...or manage to manage that code, ever again.

 ...which makes me wonder, just how do I integrate a javascript into TW?

 I find very little info on tw .com on this, probably Modules
 http://tiddlywiki.com/prerelease/#Modules is the most informative one,
 which is not much.


 yes, writing things like modules: http://tiddlywiki.com/dev

 however, the task of TiddlyWiki(.com) cannot be to teach you JavaScript
 you will have to do that yourself
 please don't start with a site like the above, one with snippets from
 the 90ies
 better google javascript tutorial or learn javascript, etc... or some
 specific topic
 or take a look at: http://www.w3schools.com/js

 an even more fruitful endeavour would possibly be
 to start using node.js and all the bells and whistles

 You create a tiddler and set the type to XXX. You must surround the code
 with YYY and ZZZ. And for the core to execute it you must make sure that...


 you can start experiminenting with:
 Basic Javascript Macro @ tb5
 http://tb5.tiddlyspot.com/#Basic%20Javascript%20Macro


 And if it is not a direct procedure, is there any way to tell how tricky
 it would be?


 it's JavaScript development and can get as tricky as I want to create
 something like this TiddlyWiki thing

 If anyone is kind enough to answer, please note I'm not a programmer so
 I'd really appreciate the dummies version.


 There really is no dummies version.
 There only is that process that you either (dare) start or you don't.
 Which means: you always start (feeling) as a dummy.


 Is this something we can use in TW?

 Actually, other than JavaScript, HTML and CSS what is directly applicable
 in TW?


 Most importantly:

- Go about it differently!

 Don't ask:

- What could I possibly do?

 Ask:

- What do I want to do?
- Why do I want to do that?
   - be clear about your goals
   - ask that five times over to get to the heart of your motives
- What steps need to be taken?
   - compartmentalize and modularize
   - you'll never do it all at once
- Will I need help with any of it?
   - Where? From Whom?
- What is the next step?
   - and the next step

 There is no universal guidebook to any of that.
 You need to walk every little step along the way... yourself.
 Sometimes, you have a mentor to ask and reply,
 sometimes you have awesome tutorials that help you learn,
 some of which ask you to pay a buck: https://www.codeschool.com

 I know jQuery is basically JavaScript so this should work, right? Other
 languages?


 jQuery is not a language, it's a framework, a library, an abstraction
 layer wrapped around the language that is JavaScript. So far, I have yet to
 see someone use it in TW5. This process would start with properly making
 the library available in TW5
 https://groups.google.com/forum/#!searchin/tiddlywikidev/jquery$20tw5/tiddlywikidev/zT9fXP-iE2o/eNyy90i_QHoJ
 .

 There are different kinds of abstractions that facilitate working with
 JavaScript. A totally different approach would be CoffeeScript
 http://coffeescript.org/.

 All of this does not matter so much, at all. What matters is that you find
 a goal and then take on that challenge and adventure of figuring out how to
 make it work. It will be a slow process, it will require lots of learning,
 you will make abundant mistakes — coding always comes with nasty bugs and
 stumbling blocks — you will discard mountains of superfluous and redundant,
 if not false stuff, go ahead a step and back two. I sure encourage anyone
 to join the dancers... but the most important thing is to swing those
 limbs, not to read swinging for dummies ...unless that actually helps you
 do just that. ^^

 Best wishes, Tobias.

 --
 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.


-- 
You received this message because you are 

[tw] Re: Edit tiddlers from my text editor

2015-01-21 Thread Tobias Beer
Just found this...

http://superuser.com/a/262968

More specifically...

http://www.listary.com/text-editor-anywhere

Even better than some browser specific add-on!

Best wishes, Tobias.

-- 
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] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Tobias Beer


 I think Jeremy talked about JSONP in one of the three or four most recent 
 hangouts. I recall him describing it as really horrible or words to that 
 effect :)


http://tb5dev.tiddlyspot.com/#JSONP

Best wishes, Tobias.

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Tobias Beer
Hi Mat,
 

 I found this little treasure of javascripts: JavaScript Kit - Free 
 JavaScripts http://www.javascriptkit.com/cutpastejava.shtml

BTW, that site also links to a site on DHTML. 


It looks a bit like a dusty treasure from the dark ages,
refering to concepts from back then...
which, of course are still usable today, like an ax is. ^^

What I mean is, DHTML is from a time
when people thought it was good to write code this way...

a href=# onclick=var x=2;callMyFunction(); style=color:AliceBlue
click/a

...which is pure evil,
throwing all the different aspects of a program
into one bucket where eventually
you never find the right spot
...or manage to manage that code, ever again.

...which makes me wonder, just how do I integrate a javascript into TW?

I find very little info on tw .com on this, probably Modules 
 http://tiddlywiki.com/prerelease/#Modules is the most informative one, 
 which is not much. 

 
yes, writing things like modules: http://tiddlywiki.com/dev

however, the task of TiddlyWiki(.com) cannot be to teach you JavaScript
you will have to do that yourself
please don't start with a site like the above, one with snippets from the 
90ies
better google javascript tutorial or learn javascript, etc... or some 
specific topic
or take a look at: http://www.w3schools.com/js

an even more fruitful endeavour would possibly be
to start using node.js and all the bells and whistles

You create a tiddler and set the type to XXX. You must surround the code 
 with YYY and ZZZ. And for the core to execute it you must make sure that...

 
you can start experiminenting with:
Basic Javascript Macro @ tb5 
http://tb5.tiddlyspot.com/#Basic%20Javascript%20Macro
 

 And if it is not a direct procedure, is there any way to tell how tricky 
 it would be?


it's JavaScript development and can get as tricky as I want to create 
something like this TiddlyWiki thing

If anyone is kind enough to answer, please note I'm not a programmer so I'd 
 really appreciate the dummies version.


There really is no dummies version.
There only is that process that you either (dare) start or you don't.
Which means: you always start (feeling) as a dummy.
 

 Is this something we can use in TW? 

Actually, other than JavaScript, HTML and CSS what is directly applicable 
 in TW?


Most importantly:

   - Go about it differently!

Don't ask:

   - What could I possibly do?

Ask:

   - What do I want to do?
   - Why do I want to do that?
  - be clear about your goals
  - ask that five times over to get to the heart of your motives
   - What steps need to be taken?
  - compartmentalize and modularize
  - you'll never do it all at once
   - Will I need help with any of it?
  - Where? From Whom?
   - What is the next step?
  - and the next step
   
There is no universal guidebook to any of that.
You need to walk every little step along the way... yourself.
Sometimes, you have a mentor to ask and reply,
sometimes you have awesome tutorials that help you learn,
some of which ask you to pay a buck: https://www.codeschool.com

I know jQuery is basically JavaScript so this should work, right? Other 
 languages?


jQuery is not a language, it's a framework, a library, an abstraction layer 
wrapped around the language that is JavaScript. So far, I have yet to see 
someone use it in TW5. This process would start with properly making the 
library available in TW5 
https://groups.google.com/forum/#!searchin/tiddlywikidev/jquery$20tw5/tiddlywikidev/zT9fXP-iE2o/eNyy90i_QHoJ
.

There are different kinds of abstractions that facilitate working with 
JavaScript. A totally different approach would be CoffeeScript 
http://coffeescript.org/.

All of this does not matter so much, at all. What matters is that you find 
a goal and then take on that challenge and adventure of figuring out how to 
make it work. It will be a slow process, it will require lots of learning, 
you will make abundant mistakes — coding always comes with nasty bugs and 
stumbling blocks — you will discard mountains of superfluous and redundant, 
if not false stuff, go ahead a step and back two. I sure encourage anyone 
to join the dancers... but the most important thing is to swing those 
limbs, not to read swinging for dummies ...unless that actually helps you 
do just that. ^^

Best wishes, Tobias.

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer
I tried to write a litte console script, but I'm stuck...

var tids = 
$tw.wiki.filterTiddlers([field:type[image/jpeg]!has[_canonical_uri]]); 
$tw.utils.each(tids,function(t){ var tid = $tw.wiki.getTiddler(t); 
tid.fields.text = ; tid.fields._canonical_uri = t; 
console.log(tid.fields._canonical_uri, WHY undefined?!? Should be..., t); 
$tw.wiki.addTiddler(tid); })

Anyone able to tell me why I can't set a tiddler's field like that?

Best wishes, Tobias.

-- 
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: Imagemap in TW5?

2015-01-21 Thread Tobias Beer


 Apologies if this is what you've already done here Interactive SVG Image 
 Map @ tb5 
 http://www.google.com/url?q=http%3A%2F%2Ftb5.tiddlyspot.com%2F%23Interactive%2520SVG%2520Image%2520Mapsa=Dsntz=1usg=AFQjCNFDSaZJUZuBThY_SyEf_0qqo81hzQ
  
 but this is too advanced for me and I wondered if the layer thing might be 
 easier (for me to do)


What you want to do is precisely what you see in the example above. It only 
looks complicated because I perhaps didn't chose the simplest SVG... which 
might have been better. So, thre's that noise.

Anyhow, I have added some more explanations, especially on how to turn an 
svg element into a clickable link.

Best wishes, Tobias.

-- 
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] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Tobias Beer


 Digression: I can't let go of the Federation thoughts because I'm sure 
 this will revolutionize our little community. It will open up for social 
 behaviour in a completely different way than now. I think special interest 
 groups will form, micro-communites if you will, that will naturally lead to 
 much more application oriented solutions in TW.


It's pretty simple (to me)

   - we need a tiddlyweb like store
   - where registered users can host tiddlers
   - that can be queried for relatedness
   
No server, no nothing... unless you want to drag and drop exports from wiki 
to wiki every the time.

I just found a thread on How do I load the contents of a text file into a 
 javascript variable? 
 http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F196498%2Fhow-do-i-load-the-contents-of-a-text-file-into-a-javascript-variablesa=Dsntz=1usg=AFQjCNHIBnnnpaKY4K30s-XQhaPRtvBvUA
  which 
 mentions some fudgery (sounds tasty!) I figure this means the full 
 contents could be pulled into a script and then one could use the 
 fieldnames as identifiers for various parts. That should work, right? 


It does not. We are talking about the web here, not local filesystems. 
Afaik, there is no local XMLHttpRequest, unless you're running a local 
server at some local ip address via *node.js*.

It also brings up JSONP http://en.wikipedia.org/wiki/JSONP. On wikipedia 
 it says Note that for JSONP to work, a server must know how to reply with 
 JSONP-formatted results. - but this should not be a problem in TW because 
 both ends are TWs, right?


Not right. TiddlyWiki is an html file. It does not serve anything, it is 
being served. You cannot call an html file and ask it to return json. 
Instead you call a server and ask it to get a resource at a uri. This 
resource hopefully has a mime type attached, so the browser knows what to 
do with it, e.g. display this as html, because that's what it is.

Best wishes, Tobias.

-- 
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: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Tobias Beer


 @Tobias - for your page, a quick note on what *is* happening will 
 probably be good. 

Maybe Here is the string {{HelloThere}} split up to make five parameter 
 values or some such.


Done. 

-- 
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: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Matthew Petty
I do like to keep the orphans list and the missing list as short as 
possible. They are very useful as they stand. When writing notes in a 
meeting, I will create a link to a tiddler, and then go back and create it 
later. Similarly, I may create tiddlers on their own and then link them up 
to somewhere relevant later. I definitely want to keep things interlinked.

I like the idea that tiddlers can be either hard linked (manually 
referred to) or soft linked (included in a list). I don't know how it 
could be dealt with. The regular orphan list is still useful, but maybe 
there is room for a new list.

On Tuesday, January 20, 2015 at 7:27:56 PM UTC+4, Tobias Beer wrote:

 Does anyone have any thoughts or suggestions about this?


 It seems like you're not so much concerened about interconnecting your 
 tidbits.
 So, here's a question: Why bother?

 However, if you don't like the orphans list as it is, you can experiment 
 changing the *filter* field in...

 $:/core/Filters/Orphans 
 http://tiddlywiki.com/#%24%3A%2Fcore%2FFilters%2FOrphans

 There might possibly be components not yet making use of configurable 
 filters like that.
 Probably, macros and plugins should consider this approach to make 
 defaults configurable.

 Never new that these things work...

 \define ref(foo:{{$:/core/Filters/Orphans!!filter}})
 $foo$
 \end

 \define var(foo:currentTiddler)
 $foo$
 \end

 \define data(foo:{{$:/palettes/Vanilla##background}})
 $foo$
 \end

 * ref
 * var
 * data

 Added here...

 Variable Parameter Defaults @tb5 
 http://tb5.tiddlyspot.com/#Variable%20Parameter%20Defaults

 Best wishes, Tobias. 


-- 
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] css and transclusion

2015-01-21 Thread Astrid Elocson
Hi Jon,

You could enclose {{mytiddler}} in a div and then style that.

– æ

-- 
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: Using TiddlyWiki in Node WebKit

2015-01-21 Thread Danielo Rodríguez


El martes, 20 de enero de 2015, 16:39:08 (UTC+1), Arlen Beiler escribió:

 Sure looks like it. I've finally got the other format working as well 
 where you have all the tiddlers in separate files. That was a little 
 harder, but it works. Basically I had to use tiddlywiki.js and modify it a 
 bit.


Could you share this modification? I'm quite interested on 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.


[tw] Re: [TW5] how to add a left menu ?

2015-01-21 Thread sini-Kit
mу left and top menu http://novye-podarki.ru/heeg.html  I change css here 
http://novye-podarki.ru/heeg.html#%24%3A%2F_aa.giff%2FStyleSheetTopic

and put menus   here 
http://novye-podarki.ru/heeg.html#%24%3A%2F_BreadcrumbsMenu 

среда, 14 января 2015 г., 18:54:28 UTC+3 пользователь Nicolas A-M-B написал:

 Hi, 

 I'm a beginner, since I've been using TW for quite a while, whithout 
 customization.

 I have seen some TW sites with nice left menus...

 thanks


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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] css and transclusion

2015-01-21 Thread Jon
Thanks, Astrid. I'll try that when I get home.
Jon

On Wednesday, 21 January 2015 08:23:12 UTC, Astrid Elocson wrote:

 Hi Jon,

 You could enclose {{mytiddler}} in a div and then style that.

 – æ


-- 
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: Using TiddlyWiki in Node WebKit

2015-01-21 Thread Danielo Rodríguez


El miércoles, 21 de enero de 2015, 3:48:09 (UTC+1), Arlen Beiler escribió:


 What do you need is a sync module that uses Node-webkit. I think you can 
 base your work on the FS syncer.


 I actually think I got it working for both single file and node.js 
 style. The single file one needed a hack to bootprefix.js (in order to 
 work right) and a Saver module which I based off the tiddlyfox saver. I 
 guess that's the same thing as a syncer. 


No. A syncer is responsible of sync single tiddlers as single files to the 
file system. The saver just saves the whole file.
 

 If you're running the Node.JS version (like you download from GitHub), you 
 don't even need the browser-server sync, because the server and the browser 
 are one. Literally. So all changes in the browser go directly to the Node 
 FileSystemSaver or whatever it is. 


Could you elaborate this? What do you mean running the Node.JS version ? 
The tiddlywiki version for node? How do you mate it running inside 
node-webkit?
 
 

 That I don't know. Those instructions didn't work for me (because of the 
 bootprefix.js problem), and all you need to do is just paste the file url 
 into node-webkit and it loads it like a regular file. You don't actually 
 need the package.json. 


 It worked for me in the past. I did not check recently.

 

 TiddlyDesktop sounded a bit complicated, and I wanted to see if there was 
 an easier way. I don't know what features it has beyond a regular 
 tiddlywiki, though.


Complicated? Why is complicated? Is just download and run. Nothing else. 
How are you trying to use 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.


[tw] Re: [TW5] Which plugin to see Motovun Jack.pdf ?

2015-01-21 Thread Astrid Elocson
Hi Mat,

I think Jeremy talked about JSONP in one of the three or four most recent 
hangouts. I recall him describing it as really horrible or words to that 
effect :)

– æ

-- 
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: Lists, Filters and Orphans - thoughts

2015-01-21 Thread Astrid Elocson
Hi Mat,

 If it hadn't been for the space between } } which I initially assumed was 
a typo, I wouldn't have figured out what is happening.

Yes, it's cryptic stuff. I agree that any documentation that uses this 
example should explain it a bit more.

– æ

-- 
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] how to add a left menu ?

2015-01-21 Thread Tobias Beer


 I change css here 
 http://novye-podarki.ru/heeg.html#%24%3A%2F_aa.giff%2FStyleSheetTopic


I just closed that one tiddler and the page is pretty empty.
Also, you don't seem to have any menu when the page-width is less than X.

Best wishes, Tobias.

-- 
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: Imagemap in TW5?

2015-01-21 Thread Tobias Beer


 How do you select a particular part of the graphic to then assign a class 
 to it?


By being able to read from the svg markup which elements do what.
Not sure if there is some application that would highlights
precisely which part of the svg markup renders which element on the canvas.

Best wishes, Tobias.

-- 
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: Imagemap in TW5?

2015-01-21 Thread Tobias Beer


 Not sure if there is some application that would highlights
 precisely which part of the svg markup renders which element on the 
 canvas.


Well, actually, what you can use are the developer tools that come with 
your browser!

Best wishes, Tobias.

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Alberto Molina
Hi Philippe,

I must say your work is awsome.


Thanks, I'm glad you like it.
 

 These plugins contain what I need, and in speaking of customisations, i 
 can say I am trying hard to adapt your plugin to my needs.
 And I also can say I can't finalize it... 

 I am trying to do this, for an help to a writer : character tiddlers, with 
 three bottom tags filled with fields (describing the character), and forms 
 to fill these fields.
 I hope I can do it one day.


I'm currently trying to make things much easier for customization. But 
there's still work to do. And I'm sorry there's no documentation at the 
moment.

Please explain better what you want to achieve and I'll try to help you:

   - Which tiddler types do you need? One is characters 
   ($:/type/character). What about the others? 
   - Which fields do you want for each tiddler type?
   - Which bottom tabs do you need?

Bien cordialement,

Alberto

-- 
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: Imagemap in TW5?

2015-01-21 Thread Tobias Beer


 As I mentioned before, the layer name then appears if you hover over it 
 when the graphic is in a tiddler, so presumably it would be possible to use 
 that same reference within the code to make it clickable...?


Ok, now I get it. Yes, that sounds like it should work.
I guess, uppermost layers will have click-preference.

Best wishes, Tobias. 

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Alberto Molina
Hi Danielo,

Of course I can share with you my customizations. But currently they are 
 very basic: I just created a new type, a new tab and I added it to the 
 control panel. I have plans to put a link to the parent tiddler of each 
 annotation (not just notes) in the control panel. I think is important to 
 know where do you have those notes when you want to review, for example, 
 your doubts or what is the note about.


If its something that can be useful to others, I can add your 
customizations to the core plugins. 

Please consider making the tiddler 
 *$:/plugins/amp/MagicTabs/lists/notes/filter *tags based. I had to edit 
 it manually to ad my own type, and this is not good. As important as having 
 the ability to add new tabs is to sumarize its tiddlers. Regards.


You are right. I'm currently working on this and other improvements.

Saludos,

Alberto

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread BJ
tiddlers are forced to be immutable in boot - so the code has to be more
like:

$tw.utils.each(tids,function(t){
var tiddler = $tw.wiki.getTiddler($tw.listtag)||{title:$tw.listtag},
updateFields = {};
updateFields[text] = ;
updateFields[_canonical_uri] = Images/+t;
$tw.wiki.addTiddler(new
$tw.Tiddler($tw.wiki.getCreationFields(),tiddler,updateFields,
$tw.wiki.getModificationFields()));
})

but I have not tried this...

On 21 January 2015 at 05:33, Tobias Beer beertob...@gmail.com wrote:

 I tried to write a litte console script, but I'm stuck...

 var tids =
 $tw.wiki.filterTiddlers([field:type[image/jpeg]!has[_canonical_uri]]);
 $tw.utils.each(tids,function(t){ var tid = $tw.wiki.getTiddler(t);
 tid.fields.text = ; tid.fields._canonical_uri = t;
 console.log(tid.fields._canonical_uri, WHY undefined?!? Should be..., t);
 $tw.wiki.addTiddler(tid); })

 Anyone able to tell me why I can't set a tiddler's field like that?

 Best wishes, Tobias.

 --
 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/MRQp850dd1A/unsubscribe.
 To unsubscribe from this group and all its topics, 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.


-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread 'Stephen Kimmel' via TiddlyWiki



 a href=# onclick=var x=2;callMyFunction(); style=color:AliceBlue
 click/a

 ...which is pure evil,
 throwing all the different aspects of a program
 into one bucket where eventually
 you never find the right spot
 ...or manage to manage that code, ever again.


From the gentleman who brought this bit of code:

a 
 href=javascript:void((function()%7Bvar%20e%3D%22%5B!is%5Bshadow%5D!is%5Bsystem%5D%5D%22%2Ct%3Dprompt(%22Please%20define%20a%20filter...%22%2Ce)%3Be%3Dt%7C%7Ce%3Bvar%20n%3D%5B%5D%3B%24tw.utils.each(%24tw.wiki.filterTiddlers(e)%2Cfunction(e)%7Bvar%20t%3D0%2Cr%3D%24tw.wiki.getTiddler(e)%3Bn.push(%7Btitle%3Ae%2Csize%3A%24tw.wiki.getTiddlerAsJson(e).length.toString()%2Cfields%3AObject.keys(r.fields).length%2Ctype%3Ar.fields%5B%22type%22%5D%7C%7C%22%22%7D)%7D)%3Bn.sort(function(e%2Ct)%7Breturn%20t.size-e.size%7D)%3Bvar%20r%3D%22%22%3B%24tw.utils.each(n%2Cfunction(e)%7Br%2B%3De.size%2B%22%20%5B%5B%22%2Be.title%2B%22%5D%5D%2C%20%22%2Be.fields%2B%22%20fields%22%2B(e.type%3F%22%2C%20%22%2Be.type%3A%22%22)%2B%22%5Cn%22%7D)%3Bvar%20i%3D%22%24%3A%2FStoryList%22%2Cs%3D%22%24%3A%2Ftemp%2Ftiddler-sizes%22%2Co%3D%24tw.wiki.getTiddlerList(i)%3B%24tw.wiki.addTiddler(new%20%24tw.Tiddler(%7Btitle%3As%2Ctext%3A'%22%22%22%5Cn'%2Br%2B'%22%22%22'%7D))%3Bif(o.indexOf(s)%3D%3D%3D-1)%7Bo.unshift(s)%7D%24tw.wiki.addTiddler(new%20%24tw.Tiddler(%7Btitle%3Ai%7D%2C%24tw.wiki.getTiddler(i)%2C%7Blist%3Ao%7D))%3Bconsole.log(r)%7D)())%3B
  
 title=Bookmark me!tiddler sizes/a


in 
http://tbdemo.tiddlyspot.com/#Draft%20of%20%27Console%20Log%20Of%20Tiddler%20Sizes%27

I'm not sure, though, that you answered Mat's question: How do I integrate 
a javascript into TW?

Only some non-TW javascripts can be incorporated in TW at all. Nothing 
requiring a modification of the body element such as body 
onload=dynAnimation8() will work. Nothing that uses a OnClick= like 
input type=button value=  1   onClick=head1() will work because 
TW with its security concerns strips away the OnClick. Nothing that 
requires the script to be located at a specific location such as 
immediately after a textarea will work. Javascripts that can be completely 
contained in the head/head section and interact with named elements or 
windows components may work. Javascripts that can be completely self 
contained like Tobias' Console Log Of Tiddler Sizes may work.

Scripts that are stored in the head/head section can be handled in TW 
by giving the tiddler the tag $:/tags/RawMarkup 

You can invoke a javascript by using the same trick Tobias used in the bit 
of code above by entering a href=javascript:head1()Click here for 
javascript head1/a. You can use this, sometimes, to get around the 
OnClick restriction.

If a task is possible using TW systems and components, then do it that way. 
If you're going to play with Javascripts and TW, then do lot's of backups. 



 

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread BJ
Hi Tobias,

tiddlers are forced to be immutable by tiddlywiki so the code has to be 
more like this:

$tw.utils.each(tids,function(t){
var tiddler = $tw.wiki.getTiddler(t),
updateFields = {};
updateFields[text] = ;
updateFields[_canonical_uri] = Images/+t;
$tw.wiki.addTiddler(new 
$tw.Tiddler($tw.wiki.getCreationFields(),tiddler,updateFields,
$tw.wiki.getModificationFields()));
})

but I have not tried this code

cheers
BJ
On Wednesday, January 21, 2015 at 5:33:33 AM UTC-6, Tobias Beer wrote:

 I tried to write a litte console script, but I'm stuck...

 var tids = 
 $tw.wiki.filterTiddlers([field:type[image/jpeg]!has[_canonical_uri]]); 
 $tw.utils.each(tids,function(t){ var tid = $tw.wiki.getTiddler(t); 
 tid.fields.text = ; tid.fields._canonical_uri = t; 
 console.log(tid.fields._canonical_uri, WHY undefined?!? Should be..., t); 
 $tw.wiki.addTiddler(tid); })

 Anyone able to tell me why I can't set a tiddler's field like that?

 Best wishes, Tobias.


-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread Alberto Molina
Hi Tobias,

A $:/type tiddler, which will be used as tag. This tiddler defines the 
 caption and the icon.


 I find it rather confusing that this would be a tag.
 Is that just a design choice or would it be a necessity?
 All in all, there would only ever be one *mt.type* to a single tiddler, 
 or not?

 Or is it a tag to simplyify assigning it, to assure the user selects a 
 valid value ...if he ever does so, manually.


Its a design choice. And I have several reasons for that. Previously, in 
http://tesis.tiddlyspot.com/, I used the field *catégorie* for the same 
purpose, but it was a pain in the neck. Tags are much easier to use, for 
instance in list filters; they are easier to assign, as you point out, and 
other reasons… We could do the same with field instead of tags, or have 
both, but do not consider going that way until the plugin is stable enough.


The macro tabContents uses the tag caption and icon to create the 
 heading of the tab, so it's imperative to fill the contents.tag with the 
 type tiddler you created.


 I think it would be helpful if all these components would come prefixed, 
 e.g.

 mt-tab-contents



1. Tabs fields: fields like *filter* and *template* have changed to 
*list.filter* and *list.template*, and other fields have been added.

 Perhaps use a more specific *mt* prefix, e.g. *mt.filter*?


Yes, it might be a good thing to avoid interferences with other macros.

Regards,

Alberto

-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Tobias Beer


 answers some of the questions I think about. put it in TB5?


http://tb5.tiddlyspot.com/#Code-101

Best wishes, Tobias. 

-- 
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: Imagemap in TW5?

2015-01-21 Thread Jon
Hi Tobias,

I'll study it when I get home but from a quick look, I suspect I'll still 
have a problem with this bit: assign classes to the elements you wish to 
style... 
How do you select a particular part of the graphic to then assign a class 
to it?
Thanks, Jon


On Wednesday, 21 January 2015 10:09:09 UTC, Tobias Beer wrote:

 Apologies if this is what you've already done here Interactive SVG Image 
 Map @ tb5 
 http://www.google.com/url?q=http%3A%2F%2Ftb5.tiddlyspot.com%2F%23Interactive%2520SVG%2520Image%2520Mapsa=Dsntz=1usg=AFQjCNFDSaZJUZuBThY_SyEf_0qqo81hzQ
  
 but this is too advanced for me and I wondered if the layer thing might be 
 easier (for me to do)


 What you want to do is precisely what you see in the example above. It 
 only looks complicated because I perhaps didn't chose the simplest SVG... 
 which might have been better. So, thre's that noise.

 Anyhow, I have added some more explanations, especially on how to turn an 
 svg element into a clickable link.

 Best wishes, Tobias.


-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Tobias Beer


 Could there be a learning group decicated to upskilling people who might 
 be able to use a macro into people who can begin to learn JS in the TW way?


This is why the dev group should be a github repo... one that doesn't 
(necessarily) have any content but is rather a place to post issues and 
discuss / edit code... which might eventually be part of that repo as best 
practice. Some TiddlyWiki would nice to showcase these things in the right 
context.

Best wishes, Tobias.

-- 
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] css and transclusion

2015-01-21 Thread Tobias Beer
You really don't have to style them at all, just put them side by side...

{{Motovun Jack.jpg}} {{Motovun Jack.jpg}}

Otherwise use...

@@.my-images
{{Motovun Jack.jpg}} {{Motovun Jack.jpg}}
@@

To style them: http://style.tiddlyspot.com

Best wishes, Tobias.

-- 
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: Imagemap in TW5?

2015-01-21 Thread Jon
Hi Tobias,

That's why I was wondering if you could use the layer feature of SVG-edit.

It's very easy to assign an element of a graphic to a layer and give it a 
name.

As I mentioned before, the layer name then appears if you hover over it 
when the graphic is in a tiddler, so presumably it would be possible to use 
that same reference within the code to make it clickable...?

Thanks, Jon
On Wednesday, 21 January 2015 12:43:22 UTC, Tobias Beer wrote:

 Not sure if there is some application that would highlights
 precisely which part of the svg markup renders which element on the 
 canvas.


 Well, actually, what you can use are the developer tools that come with 
 your browser!

 Best wishes, Tobias.


-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Alex Hough
I think we are approaching the barrier between keen user and developer.
Keen user would like a the learning curve associated with using TW to
develop in a similarly pleasant manner onto the foothills of Javascript so
that Keen User can begin to become more of a developer.

I think Tobias has addressed this: sadly its not as simple as Keen User
would like. Some of the design decision associated with TW makes an
ordinary Javascript course having little value.

There are coding conventions in TW which to the beginner JS  programmer may
find puzzling. For example in Tobias' example plugin we have a line which
says tid = tid

var tid = tid


I think there is a demand for learning JS in the TW way for Keen Users --
I'd include myself in this. Could there be a learning group decicated to
upskilling people who might be able to use a macro into people who can
begin to learn JS in the TW way?

best wishes

Alex

On 21 January 2015 at 14:32, Tobias Beer beertob...@gmail.com wrote:

 From the gentleman who brought this bit of code:


 There's a mild difference.
 This thing is not designed to run in the context of a page.
 It's intended for a browser to just run it.

 But yes, you are absolutely right, if the core of TiddlyWiki were to
 change,
 it would be an awful endeavour to fix starting this bookmarklet based on
 that url encoded nastiness it is.
 Actually, a bookmarklet should be provided with a version in the title.

 I'm not sure, though, that you answered Mat's question:

 How do I integrate a javascript into TW?


 I think I mentioned: *modules*

 At least, that seems to be the official answer.
 Although, I would personally prefer something else.
 But I do understand that it's a safe choice.

 Nothing requiring a modification of the body element such as body
 onload=dynAnimation8() will work.


 There shouldn't be code that requires you to do that and if there is, it's
 from the dark ages.


 Nothing that uses a OnClick= like input type=button value=  1  
 onClick=head1() will work because TW with its security concerns strips
 away the OnClick.


 Same thing, it's simply no longer how you bind functions to events
 ...unless you want to keep doing it that way,
 which will not be supported in TiddlyWiki, by default.


 Nothing that requires the script to be located at a specific location

 such as immediately after a textarea will work.


 You an write code that does just that, only you will have to wrap it in a
 module
 and figure out the appropriate way to bind it to that textarea.


 JavaScripts that can be completely contained in the head/head section
 and interact with named elements or windows components may work.

 Scripts that are stored in the head/head section can be handled in TW
 by giving the tiddler the tag $:/tags/RawMarkup


 including a 3rd party library @ dev5
 http://dev5.tiddlyspot.com/#including%20a%203rd%20party%20library

 Javascripts that can be completely self contained like Tobias' Console Log
 Of Tiddler Sizes may work.


 It's actually not so self-contained in that it relies upon core functions
 of TiddlyWiki to actually do its thing.


 You can invoke a javascript by using the same trick Tobias used in the
 bit of code above by entering a href=javascript:head1()Click here
 for javascript head1/a. You can use this, sometimes, to get around the
 OnClick restriction.


 It looks like this won't be available for too long...

 https://github.com/Jermolene/TiddlyWiki5/issues/1350

 I sure hope that this ticket will be implemented in a way that you do get
 an option to activate it.


 If a task is possible using TW systems and components, then do it that
 way.

 If you're going to play with Javascripts and TW, then do lot's of backups.


 ...and use your browser console, a decent text-editor, version control,
 etc...

 Best wishes, Tobias.

 --
 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.


-- 
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: Free JavaScripts site! - how install?

2015-01-21 Thread Tobias Beer


 From the gentleman who brought this bit of code:


There's a mild difference.
This thing is not designed to run in the context of a page.
It's intended for a browser to just run it.

But yes, you are absolutely right, if the core of TiddlyWiki were to change,
it would be an awful endeavour to fix starting this bookmarklet based on 
that url encoded nastiness it is.
Actually, a bookmarklet should be provided with a version in the title.

I'm not sure, though, that you answered Mat's question: 

How do I integrate a javascript into TW?


I think I mentioned: *modules*

At least, that seems to be the official answer.
Although, I would personally prefer something else.
But I do understand that it's a safe choice.

Nothing requiring a modification of the body element such as body 
 onload=dynAnimation8() will work.


There shouldn't be code that requires you to do that and if there is, it's 
from the dark ages.
 

 Nothing that uses a OnClick= like input type=button value=  1   
 onClick=head1() will work because TW with its security concerns strips 
 away the OnClick.


Same thing, it's simply no longer how you bind functions to events
...unless you want to keep doing it that way,
which will not be supported in TiddlyWiki, by default.
 

 Nothing that requires the script to be located at a specific location 

such as immediately after a textarea will work.


You an write code that does just that, only you will have to wrap it in a 
module
and figure out the appropriate way to bind it to that textarea.
 

 JavaScripts that can be completely contained in the head/head section 
 and interact with named elements or windows components may work.

Scripts that are stored in the head/head section can be handled in TW 
 by giving the tiddler the tag $:/tags/RawMarkup 


including a 3rd party library @ dev5 
http://dev5.tiddlyspot.com/#including%20a%203rd%20party%20library

Javascripts that can be completely self contained like Tobias' Console Log 
 Of Tiddler Sizes may work.


It's actually not so self-contained in that it relies upon core functions 
of TiddlyWiki to actually do its thing.
 

 You can invoke a javascript by using the same trick Tobias used in the bit 
 of code above by entering a href=javascript:head1()Click here for 
 javascript head1/a. You can use this, sometimes, to get around the 
 OnClick restriction.


It looks like this won't be available for too long...

https://github.com/Jermolene/TiddlyWiki5/issues/1350

I sure hope that this ticket will be implemented in a way that you do get 
an option to activate it.
 

 If a task is possible using TW systems and components, then do it that way.
  

If you're going to play with Javascripts and TW, then do lot's of backups. 


...and use your browser console, a decent text-editor, version control, 
etc...

Best wishes, Tobias.

-- 
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] Changing an Image from Embedded to _canonical_uri

2015-01-21 Thread Tobias Beer


 tiddlers are forced to be immutable by tiddlywiki so the code has to be 
 more like this:


Thanks, BJ, that works...

convert embedded to external images @ dev5 
http://dev5.tiddlyspot.com/#convert%20embedded%20to%20external%20images

The code (just set the path correctly, assuming the tiddler titles 
correspond to those filenames)...

var path=Images/,
  filter=[field:type[image/jpeg]!has[_canonical_uri]];

$tw.utils.each(
  $tw.wiki.filterTiddlers(filter),
  function(t){
var fields = {},
tiddler = $tw.wiki.getTiddler(t);
fields.text = ;
fields._canonical_uri = path + t;
$tw.wiki.addTiddler(
  new $tw.Tiddler(
$tw.wiki.getCreationFields(),
tiddler,
fields,
$tw.wiki.getModificationFields()
  )
)
  }
)

Best wishes, Tobias.

-- 
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] BottomTabs plugin (v. 0.1)

2015-01-21 Thread philippe mekal
Hi Alberto,

I wouldn't let you do all the work !
What i am trying to do is an help to manage characters for a book to 
write.

To my idea, what is needed for a basic set is :

A way to create one tiddler for each character. (you button 'person' on 
'scholars' is nice)

This tiddler would have few fields, like name, surname, and sex, for a 
basic set. (the idea is,
 that anyone who want to custumize, can add whatever fields he wants, and 
can report the filling
of these fields in the creation act)

Once this character tiddler is created, it would automaticaly have 5 other 
bottom tab : 
idea(s) and note(s) (what you already have created, in the same way, saying 
with the + button to add as many ideas or notes as wanted) and three other
that would contain many other fields to be filled (basicaly for a writing 
book : one tab for physical description, one for mental and one for life 
description)

These three bottom tab don't need the + button, only a modify button
In a basic set, i would see bottomtab1, bottomtab2, bottomtab3 and each of 
them with 3 fields : btf11,btf12 and btf13 for the first bottom tab,
btf21,btf22 and btf23 for the second bottom tab, and so on.
These name (bottomtab1, btf11,...) could be easily renamed to fit every 
need.
And of course, many other fields could be added on each of these 
bottomtab123.

This basic set could be re-used for any purpose.
I also believe that the macro part is not that easy to adapt (that is also 
why i am stucked...)

I don't know if i am clear... i could explain again in french if needed.

I also would be pleased to help if you want to add a french documentation 
(but I believe you speak french too).

Thanks a lot if you have some time to spend on these ideas.

One again, great job you've done.

Bien cordialement

Philippe 

-- 
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.