[tw] ImagePathPlugin fails silently to find file on chrome 5.0.375.125 beta

2010-08-08 Thread rouilj
Hi all and Eric:

I am testing a tiddlywiki with ImagePathPlugin installed and it works
file under
firefox 3.6.8 displaying .../support/images/main_lk.png, but under
chrome it fails to find
the file or display an error.

I am running chrome with:

--enable-file-cookies --allow-file-access-from-files

but AFAICT the config.formatterHelpers.fileExists located in
ImagePathPlugin doesn't have a case for chrome.

Also I realize it's alpha, but it's a useful tool when displaying
images in a tiddlywiki.

-- rouilj

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] TSpace faq: How include only individual tiddlers?

2010-08-08 Thread twgrp
Unless I misunderstand something, including a space resets the 'local
layout' to the layout of that last included space. I'd assume this is
not typically desired. Or, more generally, various undesired tiddlers
are included also.

Is there a way to include only individual tiddlers? Or sets of
tiddlers?

:-)

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Bar/Pie/Line Charts in TiddlyWiki using g.raphael

2010-08-08 Thread Måns
Hi Jon
> I did a bit of a hack on Friday to take tables of data and put them
> into useful charts.
> I'm hoping this well help convert lots of Excel users to using
Simply brilliant and very beautiful indeed!!
I really like the different graphical representations - and the simple
animations are awesome.
I will try to put it my TW with Paul S's slideShowPlugin - and see if
this combination eventually will end the need for powerpoint once and
for all :-)

Great job - and thanks for sharing!!

Regards Måns Mårtensson

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Extending TiddlerName##Section Header to support html anchors

2010-08-08 Thread rouilj
On Aug 8, 2:25 pm, rouilj  wrote:
> For use in <> I guess the same algorithm 
> could be used, but I am not sure how useful it would be for
> named anchors as I am not sure what happens:
>
>    when an named anchor tag encompasses 
> text.
>
> Is that an addressable item in jQuery? If so and I can do a jQuery('a 
> [name="texthere"]').text() or
> some such then it could replace the functionality of the PartTiddlerPlugin.

Well I did a little testing and I think I discovered a bug. According
to:

 http://www.w3.org/TR/html4/struct/links.html#h-12.2.3

<<<
Suppose we define an anchor named "anchor-one" in the file "one.html".

...text before the anchor...
This is the location of anchor one.
...text after the anchor...

This creates an anchor around the text "This is the location of anchor
one.". Usually, the contents of A are not rendered in any special way
when A defines an anchor only.
<<<

so it looks like:

when an named anchor tag
encompasses text.

should work except when I typed this into tiddlywiki and looked at it
with FireFox 3.6.8 and Firebug 1.5.4, I saw the following structure:

  when an named anchor tag
encompasses text

huh, where did the  come from? Running
jQuery("a[name='texthere']]").text() in the firbug console returned no
text which given the rendered
code looks right. Changing the tiddler text to:

foo barwhen an named anchor tag
encompasses text.

resulted in "foo bar" being rendered *as a link* and when hovered over
it showed "javascript:" as the href. However using
 jQuery("a[name='texthere']]").text() did return the expected "foo
bar" which was great for using  to replace the
PartTiddlerPlugin, but the rendering of "foo bar" as a link was
unexpected (and I think incorrect). Also I would argue
that adding the  seemingly automatically by  is also wrong,
but I could see that being 'corrected' by the
browser as a result of the , so I am not sure quite where that
malfunction occurs.

-- rouilj

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: How do get the NewMeansNewPlugin to work?

2010-08-08 Thread Tobbe
Hehe, damn, miss that one, thanks. It works now

//Tobbe

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Extending TiddlerName##Section Header to support html anchors

2010-08-08 Thread rouilj
Hi all:

In some tiddlers, there just isn't a good place to put a section
header, but you still want to create a reference
to a specific sentence, paragraph or description item in the tiddler.
I can add:

 

and reference it from within that tiddler using

link to myAnchor

But I can't use the anchor if it's in a different tiddler.

What are the downsides of modifying the handling of [[link|
TiddlerName##section title]] to:

* if "section title" exists as a section title in TiddlerName, jump to
that
* if "section title" doesn't exist as a section title, look for an
anchor with the name "section title" in TiddlerName and if it exists,
jump to there
* if neither exist jump to the beginning of the TiddlerName

For use in <> I guess the same
algorithm could be used, but I am not sure how useful it would be for
named anchors as I am not sure what happens:

   when an named anchor tag
encompasses text.

Is that an addressable item in jQuery? If so and I can do a jQuery('a
[name="texthere"]').text() or
some such then it could replace the functionality of the
PartTiddlerPlugin.
Adding Eric's AliasPlugin to reduce the typing to <> ...
<> would be a trivial exercise
at that point.

-- rouilj

Quips, comments, evasions, questions or answers anyone?

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: pass paramter through a link

2010-08-08 Thread Eric Shulman
> 1) you have a tiddler called Test, maybe the text is hello %1.

Note:
The "%n" syntax is used by the TW core's String.prototype.format()
function.  However, the 'substitution markers' used by the <>
macro are denoted by:
   $1, $2, $3, $4, $5, $6, $7, $8, $9
This difference is *important*, as it allows both types of syntax to
be used in the same tiddler, without conflicts.

> One thing you could do is use the message macro.
> So instead of using %0 use this macro.
> eg. hello <>
> will print out "hello jon" if the value of config.options.txtUserName
> in javascript is jon.

Although the core macro is useful for displaying text from internal
variables (e.g., config.options.txtUserName), it will only render
*text*.  For example, if the current user name is a WikiWord, using
the <> macro won't render that WikiWord as a link... and,
unfortunately, you *cannot* write something like this as a workaround:
[[<>]]
because macros render their own output directly into the document
display, rather than "returning" text results that can then be
combined and rendered.

Fortunately, you CAN assemble and render full wiki-syntax formatted
content, using:
http://www.TiddlyTools.com/#WikifyPlugin

The plugin defines a new macro, <>, that takes a "format
string" and a set of "value" parameters that are substituted into the
format string and then rendered.
   <>

For example:
   <>
will output the same username as the <> macro, but it will be
formatted as a fully-functional TiddlyLink.  Note: the formatstring
param uses the Javascript %0..%9 substitution markers to avoid
conflict with $1..$9 markers used by the <> macro.

For complete documentation and examples, see:
http://www.TiddlyTools.com/#WikifyPluginInfo

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: pass paramter through a link

2010-08-08 Thread rakugo
So if I understand correctly
1) you have a tiddler called Test, maybe the text is hello %1.
You want to create a link [[Test]] that when clicked opens up Test but
passes a parameter through so when you open Test you get Hello Jon or
Hello Bob or Hello Kriss..

This is not possible as far as I'm aware - first a single tiddler can
only be displayed once at a time. So you couldn't have several tests
opened with Hello Jon, Hello Bob, Hello Kriss as the text. Also it
might get confusing to a reader if they are viewing the tiddler with
title Test and it says Hello Jon, and they click what looks like the
same link later and it says Hello Bob.

One thing you could do is use the message macro.
So instead of using %0 use this macro.
eg. hello <>

will print out "hello jon" if the value of config.options.txtUserName
in javascript is jon.
I imagine your list macro could set some other value in config.options
before opening? The advantage of this is a view source on the tiddler
will reveal what is going on to the user if he sees it say hello jon
at one point and hello bob at another point.

Are you aware of my Tiddlers plugin which also allows looping over
tiddlers?:
http://tiddlers.tiddlyspace.com/

Jon
On Aug 7, 5:12 pm, Kriss  wrote:
> > Hi Kriss
>
> > > I don't want to transclude but link to the test-tiddler: something
> > > like   [[TEST with:PARAMETER]]
>
> > To me it sounds like you are trying to create new tiddlers with:
> > parameter.
>
> thank you Måns for your answer, but in fact, this is not what I wanted
> to do.
> The tiddlers exist already, I only want tot *link* to them, in stead
> of *transcluding* them ...  thus, using the  "[[ ... ]]"  notation in
> stead of the "<>"  notation.
> Piont is that using the transclusion, one can pass the parameters
> $1..$9 to the slave tiddler...
> I want to do the same by *linking* to them.
>
> I understand, in fact, your proposal for creating new tiddlers might
> be a sort of work-around, but it will create a lot of new tiddlers
> which is not desirable.

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Bar/Pie/Line Charts in TiddlyWiki using g.raphael

2010-08-08 Thread rakugo
I did a bit of a hack on Friday to take tables of data and put them
into useful charts.
I'm hoping this well help convert lots of Excel users to using
TiddlyWiki instead... we'll see!

There are lots of examples and the code at:
http://charts.tiddlyspace.com/

Interested in thoughts, ideas - in particular around generating tables
of data easily.
Jon

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: How do get the NewMeansNewPlugin to work?

2010-08-08 Thread PMario
Have you tagged it systemConfig?

NewTiddler -> save without any change
NewTiddler -> should give NewTiddler (1)

-m

On Aug 8, 9:52 am, Tobbe  wrote:
> Hi,
>
> I downloaded a new empty TW from the original site. I installed
> NewMeansNewPlugin fromhttp://mptw.tiddlyspot.com/via backstage.
> Reloaded the TW and then what, where is it? Do I need to add it to
> ViewTemplate or something or is it depending on other plugins aswell?.
> Yes I know I can download a copy from MonkeyPirate but I only want one
> plugin from that site so I can have several tiddlers withe the same
> name with a number in ( ) parantes.
>
> //Tobbe

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] How do get the NewMeansNewPlugin to work?

2010-08-08 Thread Tobbe
Hi,

I downloaded a new empty TW from the original site. I installed
NewMeansNewPlugin from http://mptw.tiddlyspot.com/ via backstage.
Reloaded the TW and then what, where is it? Do I need to add it to
ViewTemplate or something or is it depending on other plugins aswell?.
Yes I know I can download a copy from MonkeyPirate but I only want one
plugin from that site so I can have several tiddlers withe the same
name with a number in ( ) parantes.

//Tobbe

-- 
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 
http://groups.google.com/group/tiddlywiki?hl=en.