[tw] Re: Here's an example of a tree structure (treeview) implemented on TW

2009-05-22 Thread Mark S.

Hi Morris,

Actually, I have the jquery.cookie.js code from DD already embedded in
the code at treeview.tiddlyspot.com ... so hopefully you're referring
to what happened when you updated the plugin2 on your tw site. I
suppose I should make this clearer in the documentation. Then again,
it may be just you and me using it ;-)

Yes, it appears that the server at DD won't serve up *anything* via a
third party web site. Oh well.

Thanks for the feedback!
Mark

On May 22, 7:57 pm, Morris Gray  wrote:
> Hi Mark,
>
> Wow it works like a charm, I admire your persistence :-)
>
> However when accessed from TiddlySpot it creats an error in both IE&
> and Chrome if you're accessing the cookie script from DynamicDrive.
>
> I suggest that you put the jquery.cookie.js in TiddlyWiki as a
> plugin.  Someone thoughtfully made TiddlyWiki jQuery compliant :-)
>
> Morris
>
> On May 23, 2:42 am, "Mark S."  wrote:
>
> > Hi Morris and anyone else following this topic!
>
> > I've just uploaded version 0.23.
>
> > This version supports persistence. That is, you can open a tree the
> > way you like it, close the file, and come back later and have it in
> > the same open state. You need to have the dynamic drive cookie library
> > installed, and set up your configuration for the macro appropriately.
> > The instructions are with the plugin2 tiddler.
>
> > Have fun,
> > Mark
>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: popup of tiddler with <> missing contents

2009-05-22 Thread Dave Parker

I think you're on to something...

the fix does work for viewing the form tiddler in the pop-up, but it
disables the viewing of the form tiddler in the straight "right from
the tiddler" way...

Any ideas? (he said hopefully :-)

Thanks,
Dave

On May 22, 10:23 pm, Eric Shulman  wrote:
> > The slider isn't really the issue.  The problem is that data in a form
> > tiddler does not appear in transclusion (e.g., when using the
> > <> macro) - all you can see is the outline of the form, not
> > the contents of the form fields.
>
> The problem originates with the 'lookup function' that
> [[FormTiddlerPlugin]] is using to identify the tiddler in which the
> <> macro and ... block are stored (the
> "source" tiddler).
>
> Here's what that function currently looks like:
> --
> config.macros.formTiddler.getContainingTiddlerName = function(element)
> {
>         return story.findContainingTiddler(element).id.substr(7);}
>
> --
>
> Unfortunately, story.findContainingTiddler() (a standard TW core
> function) always returns the title of the *outermost* containing
> tiddler -- in this case, the one that invokes the <> macro --
> rather than name the actual source tiddler that was transcluded when
> that macro was processed.  This, of course, produces the results that
> you have observed: the plugin is unable to retrieve the form data,
> because it is looking in the wrong tiddler!
>
> Fortunately, there may be a relatively easy solution...
>
> The key is to know that, whenever a tiddler is displayed in the story
> column, it is contained within a 'wrapper' element that includes a
> special "tiddler" attribute that holds the title of the current
> tiddler.
>
> Similarly, whenever a <> macro is processed, the transcluded
> content is also contained in a wrapper element that has its own
> "tiddler" attribute, set to the title of the source tiddler that was
> transcluded.
>
> The fix involves re-defining the FormTiddlerPlugin lookup function, so
> that it will find the *innermost* wrapper that has a "tiddler"
> attribute, and then use *that* value to retrieve the correct
> ... block.
>
> We can do this by adding an extra tiddler, e.g.,
> [[FormTiddlerPluginTweak]], tagged with 'systemConfig', with the
> following replacement code:
> --
> config.macros.formTiddler.getContainingTiddlerName = function(e) {
>         // find transcluded OR containing tiddler
>         while(e && !e.getAttribute("tiddler")) e=e.parentNode;
>         return e?e.getAttribute("tiddler"):e;};
>
> --
>
> PLUS: as an added bonus, because 'transclusion' via the <> macro
> works the same way as the <> macro (i.e., it sets the
> "tiddler" attribute of the containing wrapper), this 'tweak' should
> also fix the same problem when using forms from within tabs!
>
> Give it a try and let me know what happens...
>
> 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 TiddlyWiki@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: popup of tiddler with <> missing contents

2009-05-22 Thread Eric Shulman

> The slider isn't really the issue.  The problem is that data in a form
> tiddler does not appear in transclusion (e.g., when using the
> <> macro) - all you can see is the outline of the form, not
> the contents of the form fields.

The problem originates with the 'lookup function' that
[[FormTiddlerPlugin]] is using to identify the tiddler in which the
<> macro and ... block are stored (the
"source" tiddler).

Here's what that function currently looks like:
--
config.macros.formTiddler.getContainingTiddlerName = function(element)
{
return story.findContainingTiddler(element).id.substr(7);
}
--

Unfortunately, story.findContainingTiddler() (a standard TW core
function) always returns the title of the *outermost* containing
tiddler -- in this case, the one that invokes the <> macro --
rather than name the actual source tiddler that was transcluded when
that macro was processed.  This, of course, produces the results that
you have observed: the plugin is unable to retrieve the form data,
because it is looking in the wrong tiddler!

Fortunately, there may be a relatively easy solution...

The key is to know that, whenever a tiddler is displayed in the story
column, it is contained within a 'wrapper' element that includes a
special "tiddler" attribute that holds the title of the current
tiddler.

Similarly, whenever a <> macro is processed, the transcluded
content is also contained in a wrapper element that has its own
"tiddler" attribute, set to the title of the source tiddler that was
transcluded.

The fix involves re-defining the FormTiddlerPlugin lookup function, so
that it will find the *innermost* wrapper that has a "tiddler"
attribute, and then use *that* value to retrieve the correct
... block.

We can do this by adding an extra tiddler, e.g.,
[[FormTiddlerPluginTweak]], tagged with 'systemConfig', with the
following replacement code:
--
config.macros.formTiddler.getContainingTiddlerName = function(e) {
// find transcluded OR containing tiddler
while(e && !e.getAttribute("tiddler")) e=e.parentNode;
return e?e.getAttribute("tiddler"):e;
};
--

PLUS: as an added bonus, because 'transclusion' via the <> macro
works the same way as the <> macro (i.e., it sets the
"tiddler" attribute of the containing wrapper), this 'tweak' should
also fix the same problem when using forms from within tabs!

Give it a try and let me know what happens...

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 TiddlyWiki@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: Here's an example of a tree structure (treeview) implemented on TW

2009-05-22 Thread Morris Gray

Hi Mark,

Wow it works like a charm, I admire your persistence :-)

However when accessed from TiddlySpot it creats an error in both IE&
and Chrome if you're accessing the cookie script from DynamicDrive.

I suggest that you put the jquery.cookie.js in TiddlyWiki as a
plugin.  Someone thoughtfully made TiddlyWiki jQuery compliant :-)

Morris


On May 23, 2:42 am, "Mark S."  wrote:
> Hi Morris and anyone else following this topic!
>
> I've just uploaded version 0.23.
>
> This version supports persistence. That is, you can open a tree the
> way you like it, close the file, and come back later and have it in
> the same open state. You need to have the dynamic drive cookie library
> installed, and set up your configuration for the macro appropriately.
> The instructions are with the plugin2 tiddler.
>
> Have fun,
> Mark
>
> On May 21, 11:18 pm, Morris Gray  wrote:
>
> > Update
>
> > It appears the the behaviour with antisesame is the same whether it is
> > started with collapsed:false or collapsed:true.  I suppose you
> > shouldn't use antisesame in collapsed true but it may be an indication
> > of future problems or a clue to known existing bugs.
>
> > Morris
>
> > On May 22, 3:48 pm, Morris Gray  wrote:
>
> > > On May 22, 4:55 am, "Mark S."  wrote:
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: popup of tiddler with <> missing contents

2009-05-22 Thread cmari

The slider isn't really the issue.  The problem is that data in a form
tiddler does not appear in transclusion (e.g., when using the
<> macro) - all you can see is the outline of the form, not
the contents of the form fields.  The only way I've been able to make
the <> macro display the contents of forms is by adding
another macro inside the form tiddler like <> or a fET macro
that calls up the data and puts it into a table (inside the form
tiddler itself, so that the data is effectively displayed twice in
that tiddler - though it can be hidden in a slider).  I'd be
interested to hear about other solutions!
cmari

On May 22, 4:56 pm, Eric Shulman  wrote:
> > +++^* <> ===
> > When I click the slider to show the pop-up, the little box around the
> > pop-up only borders part of the tiddler, and the field boxes extend
> > beyond the right border and are empty.  When I open the tiddler
> > normally it is fine.
>
> Try specifying a fixed width for the floating slider panel:
>
> +++^40em^* <> ===
>
> -e
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Request: QuickEdit_insertcustomtextList

2009-05-22 Thread wolfgang

> I just wondered if it would be possible to open this panel from a
> QuickEditToolbar button?

goosh, what a dull question. It's so easy to just use ShowPopup with
QuickEdit:

http:www.TiddlyTools.com/#ShowPopup

regards..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: TagglyTaggingPlugin suggestion

2009-05-22 Thread RA

> I don't think I understand what you are achieving here. Can you explain a
> little?
>
> Simon.
>

The way TagglyTaggingPlugin remembers the settings is by creating a
tiddler for each tag or tag expression. Suppose I have a macro call

<>

The macro generates a list and a menu. If I change grouping or order
of the list using the provided menu, I will have created a tiddler
called

tool&&!excludeTaggly

I don't want to see that tiddler anywhere so I am adding excludeXxx
tags to it after it has just been created (changecount==1). I am also
checking that there are no tiddlers tagged by this one, because I
don't want to hide the tiddler if it's also a tag (which would be an
unlikely case for an expression, but very likely for a single tag,
e.g. <>). Finally, I categorize the tiddler as
tagglyExpression, just because I like to.

-- R
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Before I give up - database/spreadsheet features?

2009-05-22 Thread Måns

Hi Matt

I have tried to setup a copy of BibblyWiki by Dave Gifford, with some
of the plugins and fETs I use often.
The idea was not to confuse you  with all the possibilities - but just
to show a few which are quite easy to setup/copy/alter to suit your
own needs.
Take a look at (The customized version): http://bibtw.tiddlyspot.com/
and compare the way it works with the original: 
http://www.giffmex.org/bibblywiki.html

I think Dave Giffords version is very capable as it is - my changes
just show some ways to implement sortable tables and images..

Regards Måns Mårtensson

On May 21, 9:55 pm, "Matt L."  wrote:
> Thank you both for your replies.
>
> Unfortunately, I must admit my ignorance and lack of comprehension at
> the examples you both gave.  Perhaps I can spend some more time
> figuring out how to generate the tables I want using fET.  I think I
> need to set up a bare TW with just the plugins I need and then start
> small with just a field or two.  I had tried BibblyWiki awhile ago but
> since it only seemed to generate lists I felt it wasn't what I
> wanted.  If I can decipher fET and figure out how to set things up the
> way I want them, perhaps I too can customize it to my needs.
>
> Thanks again!
>    - Matt L.
>
> On May 20, 7:52 pm, Måns  wrote:
>
> > Hi Matt
>
> > > I would need separate "queries"
>
> > to look for tiddlers with missing or invalid data, different sorted
> > lists, etc. <
>
> > As long as you don't have missing data(or field-)names as a needed
> > value in the first part of the fET it's not nessecary to make separate
> > "queries" - they will just appear as "undefined" in the resulting list/
> > table. This way you will quickly get an overview and see what you
> > haven't specified yet ie:
> > < > where
> > 'tiddler.tags.contains("Books")'
> > sortBy 'tiddler.title.toUpperCase()'
> > write
> > '"#{{indent{//[["+tiddler.title+"]]//}}} {{indent{[["+tiddler.data
> > ("author")+"]].}}} {{indent{[img(1em+,)["+store.getValue
> > (tiddler,"title")+" |"+store.getValue(tiddler,"image")+"]
> > ["+tiddler.title+"]]}}}\n"'
>
> > If you havn't specified author . it will be rendered as "undefined".
>
> > Tables:
> > < > sortBy 'tiddler.fields["title"]'
> > write
> >  '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]] |
> > [["+tiddler.data("author")+"]] | [["+tiddler.data("primtopic")+"]] |
> > [img(3em+,)["+store.getValue(tiddler,"title")+" |"+store.getValue
> > (tiddler,"image")+"]["+tiddler.title+"]] | [["+tiddler.title+"-note]]
> > | [["+tiddler.data("wherekept")+"]] |\n" : ""'
> >               begin '"|sortable|k\n"
> > +"|>|>|>|>|>|>| !<\> |h\n"
> > +"| # | Titel | [[Author|Sort by author]] | [[Theme|Sort by theme]] |
> > Cover | Note | <\> |h\n"'
> > end 'count+" books\n"' none '"no books \n"'>>
>
> > Regards Måns Mårtensson
>
> > On May 20, 11:10 pm, "Matt L."  wrote:
>
> > > Hi all,
> > >    I am very close to giving up hope that TW will fit my
> > > requirements...
>
> > >    I have various lists (books, movies, passwords, etc) that would fit
> > > quite well in an advanced spreadsheet or database - sortable columns,
> > > validated data, required fields, etc.  I cannot seem to find any
> > > functionality that encompasses all of these features easily.
>
> > > I have tried using the DataDB plugin, but it cannot sort on either the
> > > display or editing modes, so it is easy to lose track of data (new
> > > entries always end up on the bottom of the list).
>
> > > I am hesitant to try using a combination of DataTiddlerPlugin and
> > > FormTiddlerPlugin and ForEachTiddlerPlugin - it seems like it would
> > > take a fair bit of effort to set up.  I would need separate "queries"
> > > to look for tiddlers with missing or invalid data, different sorted
> > > lists, etc.
>
> > > Using extended fields would not work either - they appear on every
> > > tiddler, and would still require using the ForEachTiddler plugin to
> > > generate lists and find missing data.
>
> > > Using a plain table and the TableSortingPlugin is okay for display
> > > purposes, but has no validation and editing a table with a large
> > > number of both rows and columns quickly becomes unmanageable.
>
> > > I couldn't find anything that cleanly allows me to edit table cells
> > > inline (without going into edit mode).  I even looked for external
> > > tools and Firefox extensions.
>
> > > Does anyone have any ideas that I have not tried yet?  If I cannot
> > > come up with something else, I may just stick my "big lists" into
> > > Google Docs and leave everything else in TW...
>
> > > Here is an example of one of my lists:
>
> > > BOOKS:
> > > * Author
> > > * Title
> > > * Format (validated: ebook, audio, hardcover, softcover)
> > > * Owned (validated and required - y/n)
> > > * Year Read (blank allowed)
> > > * Audiobook available from library (validated and required - y/n)
>
> > > Thanks in advance for any suggestions!
> > >     - Matt L.
--~--~-~--~~~---~--~~
You received t

[tw] Re: popup of tiddler with <> missing contents

2009-05-22 Thread Eric Shulman

> +++^* <> ===
> When I click the slider to show the pop-up, the little box around the
> pop-up only borders part of the tiddler, and the field boxes extend
> beyond the right border and are empty.  When I open the tiddler
> normally it is fine.

Try specifying a fixed width for the floating slider panel:

+++^40em^* <> ===

-e


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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] popup of tiddler with <> missing contents

2009-05-22 Thread Dave Parker

Hi,

I have a tiddler with a nested slider popup like this

+++^* <> ===


and the tiddler called "Problem1" has this in it:

<>{"location":"sdfgsdfg","referral
to":"elbow","course":"better"}

When I click the slider to show the pop-up, the little box around the
pop-up only borders part of the tiddler, and the field boxes extend
beyond the right border and are empty.  When I open the tiddler
normally it is fine.


Any ideas?

Thanks,
DP
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: TiddlyWiki favicon in main menu

2009-05-22 Thread IanO


Opps. I unblocked the file and behold the image is displayed.
Before today, I thought Unblock was just for saving.
Live and learn

IanO
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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] TiddlyWiki favicon in main menu

2009-05-22 Thread IanO

For some time I have included ^^[img[favicon.ico]]TiddlyWiki
<>^^ in my MainMenu tiddler. The favicon was displayed as it
is on other sites. Today I happened to open one of my files in IE 7.
The favicon was not displayed. The favicon.ico  file is in the same
folder as the .html file.

Is there something that FireFox does special to show the image.
is there something that I can do to show it in IE?

Thanks,
IanO
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Here's an example of a tree structure (treeview) implemented on TW

2009-05-22 Thread Mark S.


Hi Morris and anyone else following this topic!

I've just uploaded version 0.23.

This version supports persistence. That is, you can open a tree the
way you like it, close the file, and come back later and have it in
the same open state. You need to have the dynamic drive cookie library
installed, and set up your configuration for the macro appropriately.
The instructions are with the plugin2 tiddler.

Have fun,
Mark

On May 21, 11:18 pm, Morris Gray  wrote:
> Update
>
> It appears the the behaviour with antisesame is the same whether it is
> started with collapsed:false or collapsed:true.  I suppose you
> shouldn't use antisesame in collapsed true but it may be an indication
> of future problems or a clue to known existing bugs.
>
> Morris
>
> On May 22, 3:48 pm, Morris Gray  wrote:
>
> > On May 22, 4:55 am, "Mark S."  wrote:
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread rtimwest

Ugh. 5:45?  12:45?

There's an important lesson in there somewhere about letting
politicians have a say in engineering issues.

Looks like a "minutes" syntax may be desirable. .75 = 45m is bound to
confuse someone.

Which, again, is why the old system is just wrong...


On May 22, 10:59 am, Eric Shulman  wrote:
> > Never mind, there are. According to Wikipedia, Delhi is in one.
>
> Here's a few other cities with 'non-integral' offsets from UTC:
>
> Caracas, Venezuela:
>    UTC/GMT -4:30 hours noDST
> St. John's, Newfoundland and Labrador, Canada
>    UTC/GMT -3:30 hours DST=-2:30
> Tehran, Iran
>    UTC/GMT +3:30 hours DST=+4:30
> Kabul, Afghanistan
>    UTC/GMT +4:30 hours noDST
> India (all) and Sri Lanka
>    UTC/GMT +5:30 hours noDST
> Kathmandu, Nepal
>    UTC/GMT +5:45 hours noDST
> Darwin, Northern Territory, Australia
> Adelaide, South Australia, Australia
>    UTC/GMT +9:30 hours noDST
> Lord Howe Island, Australia
>    UTC/GMT +10:30 hours noDST
> Kingston, Norfolk Island, Australia
>    UTC/GMT +11:30 hours noDST
> Chatham Island, New Zealand
>    UTC/GMT +12:45 hours
>
> -e
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Putting Taggly Tagging in my existing TW

2009-05-22 Thread DrCory

Thanks for the input gentlemen.
that helps my (limited) understanding. I'll give it a try.

DrCory
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread Eric Shulman

> Never mind, there are. According to Wikipedia, Delhi is in one.

Here's a few other cities with 'non-integral' offsets from UTC:

Caracas, Venezuela:
   UTC/GMT -4:30 hours noDST
St. John's, Newfoundland and Labrador, Canada
   UTC/GMT -3:30 hours DST=-2:30
Tehran, Iran
   UTC/GMT +3:30 hours DST=+4:30
Kabul, Afghanistan
   UTC/GMT +4:30 hours noDST
India (all) and Sri Lanka
   UTC/GMT +5:30 hours noDST
Kathmandu, Nepal
   UTC/GMT +5:45 hours noDST
Darwin, Northern Territory, Australia
Adelaide, South Australia, Australia
   UTC/GMT +9:30 hours noDST
Lord Howe Island, Australia
   UTC/GMT +10:30 hours noDST
Kingston, Norfolk Island, Australia
   UTC/GMT +11:30 hours noDST
Chatham Island, New Zealand
   UTC/GMT +12:45 hours

-e

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread Eric Shulman

> Are there places in the world where the difference between local time
> and Greenwich in hours is ever not an integer?

These links should help:

http://www.time.gov
http://www.timeanddate.com/worldclock/full.html
http://www.timeanddate.com/library/abbreviations/timezones/

-e
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread rtimwest

Never mind, there are. According to Wikipedia, Delhi is in one.




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Embed Tiddlywiki into Web Page

2009-05-22 Thread dannymac

Morris, you pointed me in the right direction and Eric, you gave me
the last turn into the driveway!
Between both of you, I now have it working the way I want!...When it's
done I'll post the link.
I can't thank you guys enough for your patience and help!

Dan

On May 21, 12:13 pm, Eric Shulman  wrote:
> > Thank you Morris. That works, but it won't bring up the Tiddlywiki
> > html file because it is an internal file.
>
> Do you mean a "local" file (i.e. stored on your computer's hard
> drive)?
>
> In that case, you can use a src="file:///C:/path/to/file.html" to
> specify a local URL
>
> Alternatively, if the file is located in a sub-directory (relative to
> the current page), then you can use src="path/to/file.html" to specify
> a relative URL, which can refer to a file that can be stored locally
> and/or on a web server.
>
> 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 TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread rtimwest

All,

Are there places in the world where the difference between local time
and Greenwich in hours is ever not an integer?

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: now Alternate Time Systems in TW- major thread drift.

2009-05-22 Thread rtimwest

I was in such a rush yesterday I'm not sure exactly what I did, but my
posts didn't show up for some reason.

NBD (er, "no worries")

Morris- as I mentioned, so far you're half of the demand, and the
other half is running a copy of the current plugin, and is happy for
the moment. I need to do the NET programming for the final version
anyway... if I do a one-off version modified for NET time, that might
satisfy your immediate needs for your site, it will need to be tested
anyway, and satisfying the immediate demand will cut me a little slack
on delivering a more comprehensive, ready-for-prime-time version.

Want to play with a prototype?

The "°" thing didn't work out- works as part of the mask, but not
in a string returned from Javascript. No problem, I found the symbol
in the Unicode tables and used that.

Gotta say, still not a fan of the system. I admit I haven't read all
the material you linked to yet, so I'll keep an open mind...

Still, one NET degree = 4 minutes or 240 seconds, that's fine. There
are 60 NET "seconds" in a NET degree, so each NET minute evaluates to
4 conventional seconds, which seems at least a bit confusing. Then we
divide that into 60 for NET seconds, and we end up with each NET
"second" being two-thirds of one-tenth of a conventional second...
might have helped if they'd picked other names, and maybe 4-
(conventional) second increments are fine enough for most use, but
displays that DO show NET seconds are going to be whirring too fast to
really see.

Mostly because of that, it's difficult to compare the NET seconds
ouput to anything, so I left the math section of the program "fluffed
out" a bit to make it more readable in case you want to check it.
Degrees and minutes match up fine. I'd recommend the seconds not be
used in a real-time display, cranking the refresh up high enough to
make the display "work" could be a real drain. Using all three
segments in a timestamp is no problem, of course. I didn't really use
the math example you sent in the applet, didn't follow all of it and
don't much see the point in a program doing sub-calculations that
result in a constant, but no doubt the result they get is correct.

Based on the website examples and yours I've left-padded the segments
out with zeroes, but apparently it's not always displayed that way.
I've looked at the output in different fonts, and I think for most
purposes it looks better without a space between the segments, but let
me know what you think on both points.

The math part and output formatting is done for NET time, hopefully
today I'll have a chance to tackle the mask string handling. The first
version was written in a hurry, I was never been happy with it, and it
needs to be modified anyway to handle multi-character delimiters to
return UTC datetime strings. If I can get the UTC "delta" working as
well... that's about 80 percent of the "broader" scope I outlined. The
rest is just some conditional looping in case there are different time
zones needed for the same mask (besides local time).

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Request: QuickEdit_insertcustomtextList

2009-05-22 Thread wolfgang

Hi Eric,

At this location I have a custom script to insert special characters
into the text edit field:

http://tiddlyhome.bidix.info/desk/#InsertPali

I just wondered if it would be possible to open this panel from a
QuickEditToolbar button? I tried it by adapting the
QuickEdit_customList, but this displays only the first line as it is,
ie: 

[tw] Re: Putting Taggly Tagging in my existing TW

2009-05-22 Thread Måns

Hi DrCory

You an use tagglytagging directly in a tiddler, without having it in
the viewtemplate like this: <>
Directly in the ViewTemplate like this: 

Regards Måns Mårtensson



On May 21, 6:47 pm, DrCory  wrote:
> Hey Simon,
> I'm creating a reference database in a TW and I've got about 100
> tiddlers already. I'm trying to add TaggylyTagging to it. I imported
> the TagglyTaggingPlugin and the MptwUserConfigPlugin. I even imported
> the view and edit templates, reloaded TW but I can't get it to
> function.
> Do I have to start with MPTW and import my info?
>
> Any suggestions
>
> DrCory
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@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: Here's an example of a tree structure (treeview) implemented on TW

2009-05-22 Thread Morris Gray

Update

It appears the the behaviour with antisesame is the same whether it is
started with collapsed:false or collapsed:true.  I suppose you
shouldn't use antisesame in collapsed true but it may be an indication
of future problems or a clue to known existing bugs.

Morris

On May 22, 3:48 pm, Morris Gray  wrote:
> On May 22, 4:55 am, "Mark S."  wrote:
>
> > Hi Morris et al,
>
> > I've updated the version. Plugin should read .22.
>
> Hi mark,
>
> I've brought everything up to date 
> at:http://twt-notes-treeview-experimental.tiddlyspot.com/index.html
>
> The 0.22 plugin is looking very good.  It's wonderful to keep certain
> levels closed or open at will. It depends on the context within the
> menu itself how one uses it and the versatility is great.
>
> Using antisesame I gave it a pretty thorough test an didn't see an
> anomalies.  Well done.
>
> As far as sesame is concerned I didn't try it since you said it still
> had bugs.
>
> As far as having both options, open-sesame and close-sesame, are
> concerned if you had to choose one or the other which one would it
> be?  You can achieve what you want with either one.
>
> Although I only tried close-sesame I found it intuitive to start with
> the fully open tree and tag the branches I wanted kept closed. I not
> sure how it would be the other way around.  However I did start with
> an existing menu.  If you were building one from the ground up tagging
> it as you go would be a different matter.
>
> When you think you have found all the bugs in sesame you know about
> let me know and I'll have a go at it.
>
> Great work so far Mark...
>
> Morris
>
> On May 22, 4:55 am, "Mark S."  wrote:
>
> > Hi Morris et al,
>
> > I've updated the version. Plugin should read .22.
>
> > I *think* I've gotten rid of the closed-for-open errors that were
> > reported. Except for the situation noted in the following.
>
> > The "antisesame" option should work better now, and does pretty much
> > what you expect. You invoke treeview with the "collapsed: false"
> > option, and it all opens except for those tiddler/folders that you
> > have marked with the antisesame tag (typically "closed").
>
> > The sesame option allows you to mark a tiddler as "open", but it may
> > not work quite the way you think. If the tree starts as collapsed,
> > then when you click to open the tree, branches that have been marked
> > as "open" will already be open -- but only for that level! Not all the
> > way down the sub-branch. If the tree starts as opened, then the same
> > behavior applies. The branch is open, but not all the way down AND ...
> > unfortunately, the crazy bug reappears. I've been trying everything I
> > can think of ... hopefully this isn't too much a problem at this
> > stage.
>
> > Thanks,
> > Mark
>
> > On May 20, 12:47 pm, Morris Gray  wrote:
>
> > > Hi Mark,
>
> > > I've been unsuccessful in making antisesame work on my site.  I've
> > > disabled your other versions, tried it on various little branches, I
> > > copied and pasted your antisesame code (but not your tiddlers I admit)
> > > I am a bit thick in the head right now though.
>
> > > Perhaps you could try it on the latest version of my site since that's
> > > what I tried it on. You got it all fresh in your mind so you might
> > > find I was doing something wrong.
>
> > > Oh I did notice the +s and -s do get mixed up when trees are open on
> > > startup, I think that was always the case.
>
> > > Morris
>
> > > On May 21, 4:24 am, "Mark S."  wrote:
>
> > > > Hi Morris,
>
> > > > I've just updated plugin2 with a new, undocumented feature.
> > > > Undocumented, because we'll have to see if its worth it.
>
> > > > Now when you specify the settings, you can specify a "sesame" and an
> > > > "antisesame" tag. Like
>
> > > >   'collapsed: false, antisesame: "closed" '
>
> > > > "sesame" (case matters) gives the name of the tag to indicate that a
> > > > tiddler should be OPEN by default. "antisesame" gives the name of the
> > > > tag to indicate that a tiddler should be CLOSED by default.
>
> > > > So far, I haven't found any use for "sesame" -- in fact, I'm not
> > > > entirely sure that it works -- it may be that it only works when you
> > > > have a rootless tree.
>
> > > > But for your purposes, the 'antisesame' does seem to work. So if you
> > > > say that you want a menu to be open (collapsed: false), but specify
> > > > 'antisesame' as "closed", and then tag each of the tier two menu items
> > > > with "closed", then the tree will be open, but each of the branches
> > > > will be closed.
>
> > > > I allow you to specify your own tags, in case you're already using
> > > > "open" and "closed" for something, or in case you want to have
> > > > different menu trees with different defaults.
>
> > > > The extra code to do this may slow things down a bit ... not sure.
> > > > Seems fine on FF so far. Oh, code seems to work on IE 6 so far as
> > > > well ... if you want to put that on your front page.
>
> > > > Persistence probl