[tw] Re: Saving in firefox

2009-04-13 Thread Morris Gray
The best way is to go to http://icanhaz.com/firefoxprivileges and drag the privileges Bookmarklet to your Bookmarks Toolbar. The first time you use it, it will install a new tab in your backstage named Security. (As of this writing the above site seems to be down. If it stays down, download the p

[tw] Using TiddlyWiki for a novel treatment manualization

2009-04-13 Thread dickon
Hello all. My name is Dickon Bevington and I am contributing to this group for the first time. I am not a programming expert, but a consultant in child and adolescent psychiatry (I work in the NHS and at the Anna Freud Centre.) I am using tiddlywiki as the platform for a novel approach to "trea

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread Szabolcs
On Apr 14, 12:24 am, Szabolcs wrote: > > There's one more tiny thing though.  Outside links in TiddlyWiki are > opened in new tabs (for pretty obvious reasons).  But this is a > disadvantage for "spotify:" links, as the new tab will be just an > empty one anyway (and I have to close it manually

[tw] syntaxhighlighterplugin

2009-04-13 Thread fsk141
Hello, I've been looking all over the place for the syntaxhighlighterplugin, and can't find it :(. The original link is dead, anyone happen to have a copy they could push along? I tried grabbing the plugin from another site, but it doesn't work... It does *something*, but doesn't show the numbers,

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread FND
> I assume it's a load-order issue > [...] > There should be a more elegant solution There is; simply re-evaluating the existing formatter's match pattern: --- /*** spotify:foo [[foo|spotify:foo]] ***/ //{{{ (function() { config.textPrimitives.urlPattern = config.textPrimitives.urlP

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread Szabolcs
On Apr 14, 12:14 am, Szabolcs wrote: > On Apr 14, 12:01 am, Eric Shulman wrote: > > > Try this: create a tiddler tagged with 'systemConfig' containing the > > following single line of javascript: > > --- > > config.textPrimitives.urlPattern = "(?:spotify|file|http|https|mailto|

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread FND
> --- > config.textPrimitives.urlPattern = "(?:spotify|file|http|https|mailto| > ftp|irc|news|data):[^\\s'\"]+(?:/|\\b)"; > --- > after saving and reloading, "PrettyLinks" using "spotify:" as the > protocol should then be recognized as external URLs Interestingly,

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread Szabolcs
On Apr 14, 12:01 am, Eric Shulman wrote: > > TiddlyWiki already has an easy way of including http:// and file:// > > links.  I'd really love it if support were added for Spotify links. > > Here are a few examples of what these links look like: > > spotify:user:passat_ecofuel:playlist:3bCdgV61L2

[tw] Re: Feature request: support for Spotify URIs

2009-04-13 Thread Eric Shulman
> TiddlyWiki already has an easy way of including http:// and file:// > links.  I'd really love it if support were added for Spotify links. > Here are a few examples of what these links look like: > spotify:user:passat_ecofuel:playlist:3bCdgV61L2bsPqntSf66cE > spotify:artist:5zjaF8JUdylMWrA7AVo3h

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Måns
Thank you Eric - and Mark.. Now I have a new tool for converting lists to links... I have put it my ViewToolbarCommands .. It looks like this: var tid=store.getTiddler(tiddler.title); var txt='[['+tid.text.split('\n').join(']]\n[[')+']]'; store.saveTiddler (tid.title,tid.title,txt,tid.m

[tw] Feature request: support for Spotify URIs

2009-04-13 Thread Szabolcs
TiddlyWiki already has an easy way of including http:// and file:// links. I'd really love it if support were added for Spotify links. Spotify is a music service that lets you listen to tracks from their library with their desktop application. They have their own URI scheme for linking to play

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Måns
Hi Eric i get this error: TypeError: title.lastIndexOf is not a function However I cannot find out what the problem is by myself... YS Måns Mårtensson On 13 Apr., 21:41, Eric Shulman wrote: > Try this: > > >    var tid=store.getTiddler('SomeTiddler'); >    var txt='[['+tid.text.split('\n').jo

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Eric Shulman
> TypeError: title.lastIndexOf is not a function > However I cannot find out what the problem is by myself... oops! replace 'tid' with 'tid.title' in the first two arguments to saveTiddler(): store.saveTiddler (tid.title,tid.title,txt,tid.modifier,tid.modified,tid.tags,tid.fields); -e --~--~-

[tw] Re: Saving in firefox

2009-04-13 Thread Måns
Hi Johndb I just had to "Allow these abilities" once - After that it worked/ saved as it should. A direct link to a wizard if you cannot make it work the simple way (just allowing firefox to use enhanced abilities)- http://firefoxprivileges.tiddlyspot.com/#[[Firefox%20Privileges%20Wizard]] YS Må

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Måns
Hi thanks for the answers... I'd like to setup a preformatted letter in a cutomized LetterViewTemplate- with title, subtitle, date, picture (from fieldvalue-defined url) Different sections of the letter should have different typographical layout - fonttypes and colours, lettersizes etc etc C

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Eric Shulman
Try this:    var tid=store.getTiddler('SomeTiddler');    var txt='[['+tid.text.split('\n').join(']]\n[[')+']]'; store.saveTiddler (tid,tid,txt,tid.modifier,tid.modified,tid.tags,tid.fields); enjoy, -e --~--~-~--~~~---~--~~ You received this message because

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Måns
Hi Mark I would like the the wikifiedlist to appear exactly as it was written in the first place: and it should replace the original list of nonwikified words. I've tried to make your script work genericly - and put it in the toolbar.. (Now it just makes temporary links working in viewmode - bu

[tw] Saving in firefox

2009-04-13 Thread Johndb
I have read a post on this topic before, and made a failed attempt to resolve it. Whenever I try to save in firefox the computer tells me A script from "file://" is requesting enhanced abilities that are UNSAFE and could be used to compromise your machine or data: Run or install software on you

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread wolfgang
Hi, > I don't think this is what Måns is asking for. Rather, I think he is > asking about how to define a custom ViewTemplate to automatically > render extra "prearranged fields", in addition to (or instead of) the > standard tiddler fields you get with the default ViewTemplate. > Here a very e

[tw] Re: Help to simplyfy a script to do less...

2009-04-13 Thread Mark S.
Its a little unclear whether you want the links to appear in place, or be placed into some other tiddler, or if you want actual links vs. displayed links. This script creates the links in place. The displayed links are arrayed horizontally at the top, and the live links are listed one after the ot

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Mel Grubb
On Apr 13, 9:54 am, Eric Shulman wrote: > 1) Put the desired content into a separate tiddler (e.g., [[MyStuff]]) > using regular TiddlyWiki syntax... no special quoting is needed. > 2) Use the following 'text' param in the <> macro: >    text:{{store.getTiddlerText("MyStuff",""}} I like it. I us

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Eric Shulman
errata: >    text:{{store.getTiddlerText("MyStuff","")}} (was missing close parens preceding "}}") -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyW

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Eric Shulman
Måns wrote: > > I'm trying to make a preformatted viewtemplate with prearranged fields > > for date, title, subtitle, recipient(name fetched from field in > > another tiddler), bodytext divided into columns with linebreaks etc... Mel replied: > You can do this with parameters to the newTiddler ma

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Eric Shulman
Måns wrote: > > I'm trying to make a preformatted viewtemplate with prearranged fields > > for date, title, subtitle, recipient(name fetched from field in > > another tiddler), bodytext divided into columns with linebreaks etc... Mel replied: > You can do this with parameters to the newTiddler ma

[tw] Re: Customized Edit- and ViewTemplates with preformatted text to write a letter or a report..

2009-04-13 Thread Mel Grubb
On Apr 11, 3:23 pm, Måns wrote: > Hi > > I'm trying to make a preformatted viewtemplate with prearranged fields > for date, title, subtitle, recipient(name fetched from field in > another tiddler), bodytext divided into columns with linebreaks etc... > (I even consider to let it show pictures fet

[tw] Re: Introducing Image tagging for tiddlywiki

2009-04-13 Thread MobileLibrary
And now back to this amazing new plugin! Jon, I tried to leave this comment at your site, but the commentplugin didn't accept a posting you did it again! I'm amazed at how many vizualization options you manage to integrate into the TW, and i'm so happy i'll just use them all... I'll start pl

[tw] Re: Introducing Image tagging for tiddlywiki

2009-04-13 Thread MobileLibrary
Hi Ken, > When I opened ImageTaggingPlugin I got the following message: > "exception in display tiddler for ImageTaggingPlugin in > visualisationdefault: TypeError: this.graph.nodes[id] is undefined" the message has to do with Jon's other plugin, the tagmindmap. It means that the tiddler imaget