Re: [tw] Re: startup problems with tiddler macro output

2010-09-22 Thread FND
While I can see the issue, it takes a lot of effort to identify what's going on there - can you create a minimal test case? -- F. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. T

Re: [tw] Special characters and opening tiddlers

2010-09-22 Thread FND
> I cannot open http://foo.com/#My%20Tiddler%20With%20Spaces > It tries to open http://foo.com/#My > I hope I am just encoding the URL incorrectly Tiddler titles with spaces must be enclosed in double brackets (hit the permaview or permalink buttons and check your browser's location bar). Note th

[tw] Re: jQuery plugin and passing an Array of data values

2010-09-22 Thread MidGe
Thank you very much for your help. As you gathered I am rather new to TiddlyWiki but I am getting there and enjoying it! The clue I was looking for was the use of the store object. That achieves my need and your code works perfectly. Thanks again. Michel On Sep 23, 1:20 pm, Eric Shulman wrote:

[tw] Re: jQuery plugin and passing an Array of data values

2010-09-22 Thread Eric Shulman
> As can be seen, there are three separate sections: html, the macro and > the script. How can I assign the output of the macro to the var > myvalues in the script part. > I think I am thinking about this the wrong way, but I am unclear on > how to think differently.  :) First, rather than using H

[tw] Re: jQuery plugin and passing an Array of data values

2010-09-22 Thread MidGe
Further to the above, here is the code within a tiddler that examplifies my dliemna: - Sparkline with dynamic data: Loading.. <> var myvalues = [14,10,

[tw] jQuery plugin and passing an Array of data values

2010-09-22 Thread MidGe
Playing with TiddlyWiki and JQuery plugins, I am confronted with the following problem: I need to pass an array of data values from a series of tiddlers, to a function invocation of the jQuey plugin. I can get a comma delimited list of values thru using fET, but I can't use this result in the scri

[tw] Special characters and opening tiddlers

2010-09-22 Thread Shareen
I can open http://foo.com/#MyTiddler I can open http://foo.com/MyOtherSite.html/#Tiddler2 I can open http://foo.com/MyOtherSite.html/#Tiddler2'sURL I cannot open http://foo.com/#My%20Tiddler%20With%20Spaces It tries to open http://foo.com/#My I hope I am just encoding the URL incorrectly, since I

Re: [tw] Re: Having a hard time with my progressbar layout...

2010-09-22 Thread Rafael Carrasco
Hello Tobias. Nice work, it became much better than I was expecting. Sorry for the late email, but I was busy... Anyway, you asked about a use case for those bars. I just find it inspiring to track my own progress with progress bar. For example, if I'm reading a pdf with 100 pages, and I'm at page

[tw] Re: Having a hard time with my progressbar layout...

2010-09-22 Thread colmjude
> I played a bit with your code and streamlined it, including StyleSheet > management: > > http://tbsandbox.tiddlyspace.com/#[[ProgressBar%20Examples]] > Nice work Tobias! Rafael, if you use what Tobias has done and want to vertically center the text (numbers) in the progress bars you need to alte

[tw] Re: startup problems with tiddler macro output

2010-09-22 Thread Tobias Beer
*bump* -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at

[tw] Re: Interesting Todo app

2010-09-22 Thread PMario
> Maybe a jQuery plugin could be the right way. > Actually, for another tiddler miniapplication that require moving some > objects, I'm going to try this:http://threedubmedia.com/code/event/drag That's an interesting library. thx for sharing -m -- You received this message because you are subscri

[tw] Re: Having a hard time with my progressbar layout...

2010-09-22 Thread Tobias Beer
Hi Rafael, I played a bit with your code and streamlined it, including StyleSheet management: http://tbsandbox.tiddlyspace.com/#[[ProgressBar%20Examples]] Hope you like it. Feel free to take any or all of it into your codebase and to ask about whatever codebits you might find difficult to unders

[tw] Re: Having a hard time with my progressbar layout...

2010-09-22 Thread Tobias Beer
Hi Rafael, I played a bit with your code and streamlined it a bit, including StyleSheet management ...hope you like it: http://tbsandbox.tiddlyspace.com/#[[ProgressBar%20Examples]] Feel free to take any or all of it into your codebase. Cheers, Tobias. -- You received this message because you

Re: [tw] Re: Interesting Todo app

2010-09-22 Thread tiziano de togni
PMario ha scritto: On Sep 21, 9:21 pm, Tobias Beer wrote: Didn't PMario have something to make lists sortable? Would be interesting to see if or if not this ToDoTiddler can be easily enhanced to being sortable. Cheers, Tobias. I had a short look at the tiddlers content. It is a very interesti

[tw] Re: Having a hard time with my progressbar layout...

2010-09-22 Thread Tobias Beer
Hi Rafael, May I ask what usecase you have in mind? As a quick tip, if you want to position text vertically, you have to use block-level elements. If you want to position your outer div's inline (next to the labels), you have to make them display:inline, or display:inline-block (which does not wor

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Tobias Beer
Hi Jeremy, I believe with said "sandbox-mode" I had something quite different in mind. Something along the lines of putting all change requests at the server into some temporary store and to somewhat disconnect the wiki from the server ...while allowing any changes to the local wiki in an unrestri

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Tobias Beer
Hi Martin, I think Eric's transclusions provide awill fairly good benchmark as to what others might as well (want to) accomplish and thus require parameter evaluation. As I said, these transclusions essentially are like plugins and from my point of view should be treated in the context of securi

[tw] Having a hard time with my progressbar layout...

2010-09-22 Thread Rafael Carrasco
Hello! I'm trying to write a plugin to show a progress bar. The idea is that the progress bar gets totally inlined with the tiddler text, showing up exactly where it was called, without affecting the line height. My code is fully functional, but it renders distorted bars(see attachment)! Also, the

Re: [tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Jeremy Ruston
> How difficult would you think it were to implement a sandbox-mode > after including another space... then for a while one could work with > the sandboxed-inclusion and once you're comfortable that things work > as expected, you hit the button to either permanently accept or > otherwise undo the i

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Martin Budden
At Jeremy's suggestion I'm looking at a halfway-house. So rather than just have evaluated macro parameters switched on or off, we could have a restricted evaluation: the code would be parsed and only executed if it was 'safe'. The user would then have the choice of setting macro parameter evaluatio

[tw] Re: Wikify without enclosing span

2010-09-22 Thread Tobias Beer
Ah, sorry... you already used the css funtion . However, what you didn't do is to turn your wrapperDiv into a jQuery object first. jQuery(wrapperDiv).css(...); Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Rafael Carrasco
Hey Tobias, I did it, and it worked. Thank you! Thank you too, Jeremy! I still have some work to do, but it's just some minor adjustments! Cheers 2010/9/22 Tobias Beer > Ah, sorry... you already used the css funtion . However, what you > didn't do is to turn your wrapperDiv into a jQuery object

[tw] Re: Wikify without enclosing span

2010-09-22 Thread Tobias Beer
Hi Rafael, You have to set styles individually or - much better- use jQuery, as in... jQuery(element).css({property1:value1,property2:value2}); See here: http://api.jquery.com/css/#css2 Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Tobias Beer
Hi Jeremy... How difficult would you think it were to implement a sandbox-mode after including another space... then for a while one could work with the sandboxed-inclusion and once you're comfortable that things work as expected, you hit the button to either permanently accept or otherwise undo t

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Rafael Carrasco
I wrote this: wrapperDiv.css (config.macros.progressbar.containerDivStyle); And I've got an error stating that css is not a function... -- *Rafael da Silva Carrasco* *Mestrando em Ciência da Computação* *Universidade Federal de Viçosa* Facebook LinkedI

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Jeremy Ruston
On Wed, Sep 22, 2010 at 2:00 PM, Rafael Carrasco wrote: > Thanks Tobias and Jeremy, but it still doesn't work. Apparently, the line: > > > wrapperDiv.style = config.macros.progressbar.containerDivStyle; > > generates an error: "*setting a property that has only a getter*" > Ouch, of course. Rathe

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Rafael Carrasco
Thanks Tobias and Jeremy, but it still doesn't work. Apparently, the line: wrapperDiv.style = config.macros.progressbar.containerDivStyle; generates an error: "*setting a property that has only a getter*" Also, I don't need to "echo" the wrapperDiv? Cheers -- *Rafael da Silva Carrasco* *Mestr

Re: [tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Jeremy Ruston
> Thanks for those interesting links. However, neither seems to give > information as to the reasoning behind the "evaled parameters security > risk"... maybe I am just missing the obvious, I'll try to restate the risk as best I can. If a space A includes content from another space B, then when I

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Jeremy Ruston
In this case I think you're probably better off not using wikify() at all. The last bit of your macro handler (from the "var pbstring=..." line) could be something like this: var wrapperDiv = createTiddlyElement(place,"div"); wrapperDiv.style = config.macros.progressbar.containerDivStyle; var wra

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Tobias Beer
Hi PMario, Thanks for those interesting links. However, neither seems to give information as to the reasoning behind the "evaled parameters security risk"... maybe I am just missing the obvious, Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "Tiddl

Re: [tw] Re: Wikify without enclosing span

2010-09-22 Thread Jeremy Ruston
> My reading of the core source seems to indicate that >   wikify(source,place); > APPENDS elements to the specified place (the containing DOM element), > but does NOT create an 'enclosing span tag' as a container *within* > that place.  Have I mis-read the code, or have I mis-understood the > ques

[tw] Re: Wikify without enclosing span

2010-09-22 Thread Eric Shulman
> > When I use the wikify() function, it's resulting text will be enclosed in a > > span tag, right? > Jeremy replied: > That's correct. My reading of the core source seems to indicate that wikify(source,place); APPENDS elements to the specified place (the containing DOM element), but does NO

[tw] Re: Wikify without enclosing span

2010-09-22 Thread Tobias Beer
Insteadof wikify(what,where) you could use http://tiddlywiki.org/wiki/Dev:CreateTiddlyElement Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from t

[tw] Re: Variables in text

2010-09-22 Thread Tobias Beer
Your example seems wrong in two ways... 1) Shouldn't it be tiddler.title+ '_info'? 2) What is tiddler.title+ '_info'? If that is not a property or field of the current tiddler, then no, the view macro cannot render it. If you want to see another tiddler use the tiddler macro. <> However, since

[tw] Re: Wikify without enclosing span

2010-09-22 Thread Carrasco
> That's correct. You'll have to manually migrate the content nodes from > inside the up into the parent node. Can you show the context so that > I can advise more specifically? Well, here is full my code. It's not finished and a lot ugly! //code start //{{{ version.extensions.ProgressBarMacro =

[tw] Re: How to protect some tiddler of TiddlyWiki?

2010-09-22 Thread Tobias Beer
Hi DM, As for using java applets... I believe you can call java functions. HyperGraph is just one example where you can call applet functions and have the applet behave accordingly. I don't know if it is possible for those functions to return values as well. As for hypergraph, it kind- of is possi

[tw] Re: "Welcome to our COMMUNITY SITE"

2010-09-22 Thread dickon
I am following this conversation thread with great interest and my non- technical legs are paddling as fast they can to keep up. Jeremy is right that our recently-awarded Comic Relief funding for the AMBIT project (http://tiddlymanuals.tiddlyspot.com/#%5B%5BAMBIT%20- %20Adolescent%20Mentalization-

Re: [tw] Wikify without enclosing span

2010-09-22 Thread Jeremy Ruston
> > Hello everyone! I'm trying to write my first plugin (a simple progress > bar), and I have little experience with CSS and HTML and almost nothing at > Javascript, but I'm a farily experienced programmer. That's said, here is my > question: > > When I use the wikify() function, it's resulting tex

[tw] Wikify without enclosing span

2010-09-22 Thread Rafael Carrasco
Hello everyone! I'm trying to write my first plugin (a simple progress bar), and I have little experience with CSS and HTML and almost nothing at Javascript, but I'm a farily experienced programmer. That's said, here is my question: When I use the wikify() function, it's resulting text will be enc

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread Tobias Beer
Hi everyone, As a quick workaround, to get back that much desired functionaility (and fix my spaces), I created a most simple macro called "Evalify" and put it into a dedicated plugin-space [1] from which to included it. It evals a statement and wikifies the returned string into either place or an

[tw] Re: How to protect some tiddler of TiddlyWiki?

2010-09-22 Thread whatever
Regarding your second question. Create a tiddler z12345 and in it, you put <>. However, that does not enable you to edit PeterPan directly, but if your prupose is to just display the tiddler, this should do. w On Sep 22, 12:15 pm, DM wrote: > Hi Tobias, > > i want to use TW in a local network as

[tw] Re: Variables in text

2010-09-22 Thread DM
but this doesn't support a javascript. Example: <> doesn't work On 22 Sep., 10:53, colmjude wrote: > > This tiddler has a title <>. > > Or if you want to use style: > > <> > > Luckily enough the same effect can be achieved without having to use > additional plugins. It is all achievable using the

[tw] Re: How to protect some tiddler of TiddlyWiki?

2010-09-22 Thread DM
Hi Tobias, i want to use TW in a local network as a team wiki. I have prepared a structure of tiddler for TW and will to protect some "template"-tiddler from changes. Is it possible to write a .jar (in Java) extension for TW (as TiddlySaver.jar), which allows me to read a user name from a environm

Re: [tw] Re: "Welcome to our COMMUNITY SITE"

2010-09-22 Thread Jeremy Ruston
> Sorry but it's not Tobias behind this. Anything 'theme-beautiful' > there are thanks to his Pearl theme (see #CRED). Anything less pretty > is me :-) Apologies Matias. That CRED tiddler might be better called "Credits", perhaps? >> [...]the community would benefit as it would >> allow us to pre

[tw] Re: Variables in text

2010-09-22 Thread colmjude
> This tiddler has a title <>. > Or if you want to use style: > <> > Luckily enough the same effect can be achieved without having to use additional plugins. It is all achievable using the standard TW macros. To view the title in your text you need to have <> And if you want to add a style do it l

Re: [tw] Re: How to define global variables and new tiddler properties

2010-09-22 Thread FND
NB: Strictly development-related issues are better discussed on the dev group: http://groups.google.com/group/TiddlyWikiDev/ You're more likely to get competent help there. > How can I define a global variable [...] > Also, what about functions? Can I define a function in one Tiddler and > cal

[tw] Re: How to display the body of a tiddler inside another tiddler?

2010-09-22 Thread colmjude
> <> Just thought I'd provide so extra info for you. The approach whatever outlines is called *tiddler transclusion* and it is a very powerful feature of tiddlywiki. http://tiddlywiki.org/wiki/Transclusion has a very good explanation of it and it also explains how you can use it for templating. c

Re: [tw] (TSpace faq) Protect tiddlers from overwriting when including?

2010-09-22 Thread FND
> Is it possible to protect individual tiddlers when including another > space that will otherwiser overwrite the current ones This should ever happen; your own tiddlers always take precedence over included ones. If space Alpha includes space Bravo, and both spaces have a tiddler Foo, Alpha's Foo

[tw] Re: TiddlySpace, Security and Computer Macro Parameters

2010-09-22 Thread PMario
hi tobias, There has been a thread at TiddlyWeb group some time ago. Also talking about security issues with binary / svg uploads. I think you should also read that one. Even if it is really looong. http://groups.google.com/group/tiddlyweb/browse_thread/thread/d42af0cfcb5cc4e1/f667ff648b3a6fb1 An