[tw] Re: age calculation from date of birth

2009-05-16 Thread Dave Parker

I found a reminder format for birthdays in the following:

<>

which gives the correct number "(9)"

but when you do it with this date:

<>

it still says "(9)"

Seeing as today's date is between the two I'd expect the second to
display "(8)"



Does anyone know what I'm doing wrong?

Thanks,
-Dave


On Apr 17, 10:09 pm, Dave Parker  wrote:
> Thanks Mike, I think I'll try playing with the reminder plugin and see
> if I can tweak it to go backwards (although I don't really know what
> I'm doing)  I'll post back later if it works.
>
> Dave
>
> On Apr 17, 9:45 pm, Mike  wrote:
>
>
>
> > I haven't tried this - but 
> > maybehttp://www.tiddlytools.com/#TiddlerTweakerPlugin
> > You could try setting the creation date of the tiddler as the starting
> > date (birthday)
>
> > Good Luck,
>
> > Mike
>
> > (Let me know if that works -.- otherwise beyond my understanding)
>
> > On Apr 17, 10:01 pm, Dave Parker  wrote:
>
> > > thanks Mike and M), I could use both of these.
>
> > >  As I'm looking to make use of the calendar/date/reminder plugins I'd
> > > like to get that one going.
>
> > > When you do the newReminder in the example, it only gives you the
> > > current year and future years, not previous years.  Do you (or anyone)
> > > happen to know how to get it to go either forward or backward in time?
>
> > > thanks,
>
> > > Dave
>
> > > On Apr 17, 8:27 pm, Mike  wrote:
>
> > > > <>
> > > > Should give you a drop down list to set the date
> > > > For an annual occurrence try:
> > > > < > > > Anniversary" firstyear:2004>>
> > > > Which adds the first year syntax and gives a total years = 5
> > > > <>
> > > > Also lists your upcoming reminders. . .
>
> > > > Some more 
> > > > examples:http://remindermacros.tiddlyspot.com/#[[Simple%20examples]]http://remindermacros.tiddlyspot.com/#showRemindersSyntax
> > > > (Click edit to see the code)
>
> > > > Not sure how familiar with TW you are, let me know if that gets you
> > > > started.
>
> > > > Good Luck,
>
> > > > Mike
>
> > > > On Apr 17, 7:02 pm, "M)"  wrote:
>
> > > > > Not quite what you are after, but you can use var a=new Date
> > > > > ();document.write(a.getFullYear()-1919); 
> > > > > withhttp://www.tiddlytools.com/#InlineJavascriptPlugin.  
> > > > > Remindermacros
> > > > > has something similar though with significantly more features.
>
> > > > > M)
>
> > > > > On Apr 17, 3:47 pm, Dave Parker  wrote:
>
> > > > > > Hi,
>
> > > > > > does anyone know how to display in one tiddler a personsage, based 
> > > > > > on
> > > > > > the contents of a tiddler called "DateOfBirth"?
>
> > > > > > I've looked at maybe usinghttp://remindermacros.tiddlyspot.com/but
> > > > > > can't figure it out.
>
> > > > > > thanks,
> > > > > > Dave Parker- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: Encrypted (GnuPG/PGP) data in a tiddler.

2009-05-16 Thread lyallp

TiddlerEncryptionPlugin is not quite what you are looking for, but,
may do the job.

http://www.remotely-helpful.com/TiddlyWiki/TiddlerEncryptionPlugin.html

The Tiddler contents is encrypted and tagged with a 'prompt'. You
enter the password that corresponds to the prompt and the tiddler
contents are decrypted.
If a tiddler has a different prompt, then you can give it a different
password.
Settings include not caching the password, so every tiddler you want
to see, you have to re-enter the password.
Tiddlers are automatically encrypted, and a password prompted for, if
you create a new tiddler with a prompt that has not had a password
entered before.
Basically, you simply give different prompts to different tiddlers and
distribute the passwords appropriately. If someone does not have the
password to a prompt, they cannot read the contents.
Feel free to contact me for further details.

...Lyall

Lyall at remotelyhelpful dot com

On May 17, 3:03 am, "Mark S."  wrote:
> GPG wants to flip around 1024 bit numbers. I suspect that is a bit
> much to ask from a scripting language like js. And why the existing
> encryption plugin uses a much simpler algorithm.
>
> Maybe something like TiddlyWeb could access gpg code on the local
> server to do the heavy work of converting RSA and IDEA encrypted text
> into plain text. But then how it would it send it? Maybe via a 128 bit
> https/ssl channel.
>
> If you're not guarding state secrets, why not just use the existing
> encryption plugin, and send the password to everyone that you want to
> access it? PGP/GPG is neat, but its most useful when you don't have a
> secure method of distributing password keys. If you have a method,
> then maybe its just an extra layer of complexity.
>
> -- Mark
>
> On May 15, 1:22 am, 9600  wrote:
>
> > Hello,
>
> > I'd like to be able to store root passwords and the like in a
> > TiddlyWiki, and access to be controlled via GnuPG (PGP) keys. So end
> > users would store their private keys locally and the sensitive data
> > would be encrypted using the public keys of only those users you want
> > to provide access to.
>
> > Ideally you would be able to cache all the public keys in the
> > TiddlyWiki and thus when encrypting be able to simply select which
> > users to give access to. However, you would of course not want to have
> > the user's private key persisted in the TiddlyWiki, and just have this
> > loaded when needed and remove from memory afterwards.
>
> > Whether the data is an element of a tiddler or a entire tiddler
> > probably doesn't matter.
>
> > Other desires include:
>
> > - Being protected from scripting attacks and malicious plug-ins that
> > would result in the private key being compromised.
> > - Being suitable for deploying on top of TiddlyWeb.
>
> > Does anyone know if any work has been done to support this sort of use
> > case?
>
> > Cheers,
>
> > Andrew
--~--~-~--~~~---~--~~
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 for a linkoption in QuickEditPlugin - or have i just overseen the option??

2009-05-16 Thread Eric Shulman

> Mark text - click link - click wiki - voilá [[text]]..

You can do this with:
   http://www.TiddlyTools.com/#QuickEdit_custom

Just add an entry in the QuickEdit_customList, like this:
   wikilink
   [[$1]]

(don't forgot to add a HR separator () as well)

-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 for a linkoption in QuickEditPlugin - or have i just overseen the option??

2009-05-16 Thread Måns

Hi Eric
I have both in my toolbar.
What I can't figure out is the simple function just to put [[]] around
marked text. (Text is already present - and I don't need to find the
tiddler it should link to).
I often have lists where I need to convert names to links - and the
names already exists in the TW as tiddlers.
I think the Quick edit package ROCKS - and I might change my way to do
things because of it - but untill then I'd like this simple option
too...
Is it already present - is there some shortcut? - Because I haven't
figured out how to do it with QuickEdit - yet - I'm still using
WikiBar - only to do this...
Mark text - click link - click wiki - voilá [[text]]..

YS Måns Mårtensson

On May 17, 2:21 am, Eric Shulman  wrote:
> > myself using QuickEditPlugin by Eric Shulman 
> > (http://www.tiddlytools.com/#QuickEditPlugin) more and more - and I'd like 
> > to
> > see a similar option. Could it be implemented? - or is the option
> > already present?
>
> http://www.TiddlyTools.com/#QuickEdit_linkhttp://www.TiddlyTools.com/#QuickEdit_image
>
> seehttp://www.TiddlyTools.com/#QuickEditPackagefor the complete set
> of Quick Edit buttons...
>
> -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 for a linkoption in QuickEditPlugin - or have i just overseen the option??

2009-05-16 Thread Eric Shulman

> myself using QuickEditPlugin by Eric Shulman 
> (http://www.tiddlytools.com/#QuickEditPlugin) more and more - and I'd like to
> see a similar option. Could it be implemented? - or is the option
> already present?

http://www.TiddlyTools.com/#QuickEdit_link
http://www.TiddlyTools.com/#QuickEdit_image

see http://www.TiddlyTools.com/#QuickEditPackage for the complete set
of Quick Edit buttons...


-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] request for a linkoption in QuickEditPlugin - or have i just overseen the option??

2009-05-16 Thread Måns

Hi TwWizards

Uptill now I have been using WikiBar (http://
aiddlywiki.sourceforge.net/) to add wikilinks"[[]]", but lately I find
myself using QuickEditPlugin by Eric Shulman (http://
www.tiddlytools.com/#QuickEditPlugin) more and more - and I'd like to
see a similar option. Could it be implemented? - or is the option
already present?

YS 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 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: Encrypted (GnuPG/PGP) data in a tiddler.

2009-05-16 Thread Mark S.

GPG wants to flip around 1024 bit numbers. I suspect that is a bit
much to ask from a scripting language like js. And why the existing
encryption plugin uses a much simpler algorithm.

Maybe something like TiddlyWeb could access gpg code on the local
server to do the heavy work of converting RSA and IDEA encrypted text
into plain text. But then how it would it send it? Maybe via a 128 bit
https/ssl channel.

If you're not guarding state secrets, why not just use the existing
encryption plugin, and send the password to everyone that you want to
access it? PGP/GPG is neat, but its most useful when you don't have a
secure method of distributing password keys. If you have a method,
then maybe its just an extra layer of complexity.

-- Mark


On May 15, 1:22 am, 9600  wrote:
> Hello,
>
> I'd like to be able to store root passwords and the like in a
> TiddlyWiki, and access to be controlled via GnuPG (PGP) keys. So end
> users would store their private keys locally and the sensitive data
> would be encrypted using the public keys of only those users you want
> to provide access to.
>
> Ideally you would be able to cache all the public keys in the
> TiddlyWiki and thus when encrypting be able to simply select which
> users to give access to. However, you would of course not want to have
> the user's private key persisted in the TiddlyWiki, and just have this
> loaded when needed and remove from memory afterwards.
>
> Whether the data is an element of a tiddler or a entire tiddler
> probably doesn't matter.
>
> Other desires include:
>
> - Being protected from scripting attacks and malicious plug-ins that
> would result in the private key being compromised.
> - Being suitable for deploying on top of TiddlyWeb.
>
> Does anyone know if any work has been done to support this sort of use
> case?
>
> Cheers,
>
> Andrew
--~--~-~--~~~---~--~~
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: Is <> supported?

2009-05-16 Thread pat toche

>  {{customInput{<>}}}
>  .customInput input { width: 10em; }

Fantastic FND, your suggestion works great on the txtUserName box.
This is very useful because I would like to have the username+password
boxes inside the main menu horizontally at the top, where space is
valuable.

Applying the trick to pasUploadPassword did not produce good results
though, because pasUploadPassword is a combination of 3 objects: the
password box, the tick box, and the side text "save password to
computer". When applying your tweak, the box can indeed be shrunk, but
the tick box and side text remain where they were, so that instead of
shrinking the overall object the tweak creates an unnecessary empty
space between the password box and tick box.

I had a look at the UploadPlugin where most of this seems to be
defined, but did not make much progress. It looked to me (but I could
be wrong) that something called pasOptionInput was controlling the
overall size. So I randomly tried things like :

.config.macros.pasOptionInput { width: 5em; }
.config.options.macros.pasOptionInput { width: 5em; }
.config.macros.options.pasOptionInput { width: 5em; }
.config.macros.option.pasOptionInput { width: 5em; }

but, you guessed it, without success.

To an expert eye the following may provide a useful hint. UploadPlugin
contains the following line:

setStylesheet(".pasOptionInput {width: 11em;}
\n","passwordInputTypeStyle");

As as second-best option, I'd settle for having a shrunk password box
without the tick and side text -- but I still haven't figured out the
name of that stripped-down password box.

Thanks again FND for your great support,

Patrick.

P.S. The following lines of code from UploadPlugin may provide useful
hints too. I think what it is is the process of constructing the
password-tick-sidetext object:

merge(config.macros.option.types, {
'pas': {
elementType: "input",
valueField: "value",
eventName: "onkeyup",
className: "pasOptionInput",
typeValue: config.macros.option.passwordInputType,
create: function(place,type,opt,className,desc) {
// password field

config.macros.option.genericCreate(place,'pas',opt,className,desc);
// checkbox linked with this password "save this 
password on this
computer"
config.macros.option.genericCreate
(place,'chk','chk'+opt,className,desc);
// text savePasswordCheckboxLabel
place.appendChild(document.createTextNode
(config.macros.option.passwordCheckboxLabel));
},
onChange: config.macros.option.genericOnChange
}
});

--~--~-~--~~~---~--~~
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: how I removed the line under external links

2009-05-16 Thread pat toche

Thanks a lot FND,

I did try that and countless variations thereof such as

#topMenu .externalLink { text-decoration: none;}

#topMenu externalLink a { text-decoration: none;}

#topMenu a.externalLink a { text-decoration: none;}

to no effect, but as I said, not to worry, I'm probably doing
something silly elsewhere.

I'll live with .externalLink { text-decoration: none; }

Thanks again for your help FND,

Patrick.
--~--~-~--~~~---~--~~
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: how I removed the line under external links

2009-05-16 Thread FND

> I am using the MptwTheme, and the above did not work.

MPTW uses "topMenu" as identifier instead of "mainMenu", so try the 
following instead:
 #topMenu a.externalLink { text-decoration: none; font-weight: bold; }


-- F.

--~--~-~--~~~---~--~~
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: Is <> supported?

2009-05-16 Thread FND

> There is a thread from November 2006 suggesting that something like
> <> (to control the size of the box)

You should use CSS for this:
 {{customInput{<>}}}
 .customInput input { width: 10em; }
(The second line goes into your StyleSheet shadow tiddler.)

This approach is much more efficient and flexible than making every 
single macro understand style definitions.*


-- F.


* http://en.wikipedia.org/wiki/Separation_of_concerns

--~--~-~--~~~---~--~~
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: Simple Journal

2009-05-16 Thread FND

> I'd do the blocking cursor by toggling a div.  But sorry, CBF actually
> writing example code :)

Someone should have written code for this already (think web OS):
http://www.google.com/search?q=%28JavaScript+OR+jQuery%29+terminal+%22blinking+cursor%22

Twoogie there uses an animated GIF. I would guess Goosh* uses JavaScript 
to achieve something similar.


-- F.


* http://goosh.org

--~--~-~--~~~---~--~~
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: Simple Journal

2009-05-16 Thread Daniel Baird

Looks like the font-face list in CSS is: Courier, mono-space
So on your system it's probably Courier?  in bold.

I'd do the blocking cursor by toggling a div.  But sorry, CBF actually
writing example code :)

;Daniel

On Sat, May 16, 2009 at 12:18 PM, actioncomics
 wrote:
>
> I would like to try to mimic this site to create a very simple journal
> using tiddlywiki.
> http://twoogie.com/
> 2 questions arise from this.
> 1.  Can the blinking cursor be recreated?
> 2.  Any idea what font that is?
>
> Thanks for any help.
> ac
> >
>



-- 
Daniel Baird
I've tried going to the XHTML  a few times, but it's always closed.

--~--~-~--~~~---~--~~
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: "hit-counters" and "feedback forms" on individual tiddlers

2009-05-16 Thread Alex Hough

in the red, amber and green, there you will see something like

<>

SDscore is "strengths and difficulties score" - its a template in the
tiddler SDtemplate. It contains the following


not true
somewhat true
certainly true




To adapt to evaluate Tiddlers, make another template , with another
variable in say TIDscore

bad
ok
ace

Then put this into the tiddlers you want to include the

<>

Tag the tiddlers you want evaluating say EVAL Adapt the fET accoringly

<>



ALex

2009/5/16 dickon :
>
> Hi Alex, and thanks. I kind of thought there would be a link to your
> Likert Scale
>
> How do I configure the forEachTiddler plugin?
>
> Best
>
> Dickon
>
> On 15 May, 13:23, Alex Hough  wrote:
>> > As a secondary thought, does anyone have any thoughts about how to
>> > place a really simple feedback form at the bottom of each tidder (
>>
>> On the questionnare TW i did, open a tiddler. you will see a score
>> form template: <> or something like that.
>> Put in in your tiddlers you want to evaluate.
>>
>> Read the values with the contents in the trafic lights - generated by
>> forEachTiddler plugin
>>
>> ALex
>>
>>
>>
>> > Any thoughts or help welcome.
>>
>> > Dickon Bevington
>>
>> --
>> t: 0161 442 2202
>> m: 0781 372 50 17
>> skype: alexhough
>> delicious: alexhough
> >
>



-- 
t: 0161 442 2202
m: 0781 372 50 17
skype: alexhough
delicious: alexhough

--~--~-~--~~~---~--~~
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] tiddlyspot loads slowly at home

2009-05-16 Thread rebirth

Hello.

I am having kind of a strange problem.  When I access tiddlyspot on
any of my home computers, it loads slowly.  On any other computer it
loads fine.  Does anyone know how I can fix this? 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] Is <> supported?

2009-05-16 Thread pat toche

There is a thread from November 2006 suggesting that something like
<> (to control the size of the box)
might be implemented soon, but I've tried it, and variations thereof,
without success -- is there a more recent plugin or a script to do the
trick or should I follow the workaround described by Eric in the
thread below ?

these "old" threads are very useful, thanks again,

http://groups.google.com/group/TiddlyWiki/browse_thread/thread/546ace727d7ff6c3/b5e954f0424854f9?lnk=gst&q=size+password#b5e954f0424854f9

Of course I'm also interested in <>...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---