[tw] Re: option can't be removed after plugin deleted

2012-01-27 Thread HansBKK
How do you usually manage your cookies? 

For a within-TW solution, search for CookieManager and/or CookieSaver.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/iPIKleVR8bYJ.
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 upload - XMLHttpRequest cannot load

2012-01-27 Thread HansBKK
Please post your OS and browser, plus versions.

Try Firefox portable (I've stuck with 3.6).

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/5xTwTydMf98J.
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 Development News

2012-01-27 Thread HansBKK
On Saturday, January 28, 2012 10:57:59 AM UTC+7, dave wrote:
>
> Yeah, that implements a txt2tags formatter in tiddly form. If you need 
> javascript code, that contains a mess of regex's to implement txt2tags. 
>  There are a few gaps in the syntax, and it borrows some tiddlywiki syntax 
> (I copied the <> syntax as txt2tags has no concept of that feature). 
> I've coincidentally been fixing some bugs and am posting an update over the 
> weekend. 
>
> > http://wiki.txt2tags.org/index.php/Main/TiddlywikiPlugin


And may be wildly irrelevant at this point, but note that the developer of Zim 
(desktop wiki + some calendar+to-do) has set a goal 
of transitioning from supporting only its proprietary syntax (very close to 
DokuWiki's) to the Pandoc flavor of 
extended Markdown. To start with he's writing an export routine, but plans 
to support it internally in the future, perhaps with other more open syntax 
choices as well.

I've found that Pandoc is *extremely* actively developed, much more so than 
txt2tags, and another big advantage is that it supports two-way transforms 
for many of its supported formats, whereas your plugin is the *only* 
example I've come across of anything going *to* txt2tags syntax.

For those interested in this stuff, I'm maintaining a pivot-table matrix in 
gDocs

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/HFphD2Rv1poJ.
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 Development News

2012-01-27 Thread dave
Yeah, that implements a txt2tags formatter in tiddly form. If you need
javascript code, that contains a mess of regex's to implement
txt2tags.  There are a few gaps in the syntax, and it borrows some
tiddlywiki syntax (I copied the <> syntax as txt2tags has no
concept of that feature). I've coincidentally been fixing some bugs
and am posting an update over the weekend.

On Dec 23 2011, 9:37 pm, HansBKK  wrote:
> I realize the core group may not be interested, but I (re-)discovered this
> in my wanderings, so posted here to help future googlers
>
> http://wiki.txt2tags.org/index.php/Main/TiddlywikiPlugin

-- 
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] option can't be removed after plugin deleted

2012-01-27 Thread larry
Hi,

I tried installing several plugins, decide to remove them. After save and 
reload, the plugin options are still there. How do I remove these cookie 
based options?

Thanks
Larry

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/OlL4dLX6LVYJ.
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 upload - XMLHttpRequest cannot load

2012-01-27 Thread Simon
Not sure if this is the right place but have spent hours surfing the
web looking for answers!

So have a tiddlywiki along with the uploadPlugin and associated
passwordOptionPlugin

So far so good, until I actually try to upload when I see the
following error:

XMLHttpRequest cannot load http://[my url is here]/store.php. Origin
null is not allowed by Access-Control-Allow-Origin.

So I *think* this is related to cross server security but am stumped -
can anybody help?

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.



Re: [tw] Re: tiddlypocketbook and margins

2012-01-27 Thread Marc Ferguson
I noticed that this TW is made to print perfectly on A4 paper but messes up
when you print it on letter paper. How can you adjust it to fit on letter
size paper?


On Fri, Jan 27, 2012 at 7:21 AM, HansBKK  wrote:

> Sorry to again try to help independently of TW, and ignore the specifics
> if you're not on windoze.
>
> I would try printing to generic image files (I use 
> imageprinterfor this) and crop 
> with your favorite scriptable image toolkit (I use
> IrfanView ).
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tiddlywiki/-/6WwhcyDayKkJ.
>
> 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.
>

-- 
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: (Chrome) Can't upgrade from TW 2.6.2 to 2.6.5

2012-01-27 Thread HansBKK
I'm sticking to Firefox v3.6 portable for my Tiddlywiki's. . .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/tJAY7-wP7CcJ.
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: Problem with macro for creating blog

2012-01-27 Thread funkyeah
Måns/All,

Thanks, for the reply. I had seen the [tag[blog]] function on the
tiddlywiki faq but I guess I thought it was no longer working because
it shows up as plain text when viewing the tiddler. Is there
preliminary documentation for the [tag[tag]] syntax and what it can
do? What part of the core is it related to or what is that syntax even
called (not a macro)?

It does looks like the OpenedTaggedTiddlers transclusion will work,
but I'd still like input on why my macro isn't working from a learning
process perspective (I understand you're not the guy for that
feedback). Another question that comes up is what differentiates a
transclusion style macro from a regular macro, and why is the way Eric
writes the OpenedTaggedTiddlers transclusion macro different from all
available examples for macros? (e.g. no config.macros declaration, no
handler function, etc...)

On Jan 27, 10:04 am, Måns  wrote:
> Hi funkeyeah
>
> > So I added the following to the default tiddlers tiddler
>
> > <>
>
> [tag[blog]] without the outer macro syntax will suffice...
>
> > But I run into problems when trying to write a macro is designed to
> > create a button that shows all the blog posts.
>
> I can't program - sorry, however Eric has made a transclusion which
> does what you want:http://www.tiddlytools.com/#OpenTaggedTiddlers
>
> Cheers 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] (Chrome) Can't upgrade from TW 2.6.2 to 2.6.5

2012-01-27 Thread Rich
I'm running Chrome 16.0.912.77 (which is latest at the time of this
post) on Windows 7 Professional SP1.

My Tiddlywiki is version 2.6.2.  2.6.5 is the current version of
Tiddlywiki.  When I select Backstage->Upgrade and click the Upgrade
button I receive a pop-up that says "Error with the new core code."

Any suggestions?

-- 
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: Problem with macro for creating blog

2012-01-27 Thread Måns
Hi funkeyeah

> So I added the following to the default tiddlers tiddler
>
> <>

[tag[blog]] without the outer macro syntax will suffice...


> But I run into problems when trying to write a macro is designed to
> create a button that shows all the blog posts.

I can't program - sorry, however Eric has made a transclusion which
does what you want:
http://www.tiddlytools.com/#OpenTaggedTiddlers

Cheers 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: tiddlypocketbook and margins

2012-01-27 Thread HansBKK
Sorry to again try to help independently of TW, and ignore the specifics if 
you're not on windoze. 

I would try printing to generic image files (I use 
imageprinterfor this) and crop 
with your favorite scriptable image toolkit (I use 
IrfanView ).


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/6WwhcyDayKkJ.
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.



Re: [tw] Re: TiddlyWiki Development News

2012-01-27 Thread Jeremy Ruston
> Hey Jeremy, what's the status of your wikifier. It's it play-with-able
> in a standalone kind of way? If so where and how?

With some caveats I think this is probably a good time to start
investigating. I think the code is capable of what you need, but it's
still rather in flux, and so can be changed in response to your
requirements.

The code is still in the wrong repo:

https://github.com/Jermolene/cook.js

The main issues that might affect the decision about timing adoption:

- The new code doesn't currently implement all of the core TiddlyWiki
macros. I've focussed on the structural ones (like view, story, and
tiddler) so far. I don't see any particular obstacles to hoiking the
remainder in.
- The new code doesn't yet properly sanitise HTML and JavaScript
content within tiddlers. In the case of JavaScript, it gets halfway
there: evaluated macro parameters are parsed and recompiled, giving an
opportunity to check for e.g. access to dangerous globals, but this
doesn't happen at the moment
- There is not yet support for sections and slices. This is next on my
list, and I think probably necessary
- There's probably other limitations; I've been focussing on getting a
solid architecture for the representation transformation engine at the
heart of TiddlyWiki
- Error handling is probably a bit inadequate

> The twikifier code used with TiddlySpace is proving to be a bit heavy
> (cpu-use-wise) and it would be useful to experiment with something a
> bit more modern and hopefully more responsive to tweaking, inspection
> and improvement.

Throughout the development I've kept in mind your comment last year
that you'd like wikification to be exposed as an asynchronous
function, presumably with a signature something like this:

store.wikify(tiddler,callback)

And then have the callback invoked with an error code and the HTML
representation of the tiddler.

It turns out that that style interface isn't ideal for the client
code. In the browser, the asynchronicity is around async events
triggering changes to the values of tiddlers which trigger highly
selective changes to the DOM. The actual wikification process is
synchronous; in the client if we're waiting for a tiddler to load from
the server we'd generally want attempts to transclude that tiddler to
succeed, but to render a spinner. The eventual arrival of the tiddler
automatically triggers the DOM processing to refresh the tiddler that
did the transcluding.

So, I've tried to arrive at an implementation that supports both
approaches. One of the hallmarks of the design is the aggressive use
of caching to support efficient selective updating of the DOM. I think
a big area of discussion around this integration is how we can ensure
that our respective caching strategies work well together.

Using the existing implementation, an asynchronous function to wikify
a tiddler goes like this:

- Initialise a WikiStore object
- Asynchronously load the tiddler into the wikistore
- When it's loaded, parse the tiddler to obtain a list of its
dependencies (this is a synchronous operation)
- Loop back to recursively load the dependent tiddlers
- Call the store.renderTiddler() function to obtain an HTML rendering
of the tiddler, which is also a synchronous operation

The WikiStore object is the equivalent of the TiddlyWiki() object in
the old code; it's a collection of tiddlers. The Tiddler object is
intentionally simple: just an immutable collection of fields. The
WikiStore also needs be configured with the parsers and macros that
you want to use. I'm currently using a module called App.js to
centralise the WikiStore configuration steps for both browser and
node.js configurations of the code:

https://github.com/Jermolene/cook.js/blob/master/js/App.js

You'd basically need to do everything that isn't in one of the
if(isBrowser) conditionals.

Loading a new tiddler into the store is easy:

store.addTiddler(new Tiddler({title: "HelloThere", text: "Some text",
type: "text/x-tiddlywiki"}));

Getting the list of dependencies for a tiddler is:

store.parseTiddler(title).dependencies

It will either be an array of tiddler title strings, or the special
value null. This means that the tiddler is dependent on all the other
tiddlers it can get it's hands one - for example, using <>
within a tiddler will set the dependencies to null. Another issue we
might need to look at is that there is currently no distinction
between being dependent on a tiddler because we transclude it, or just
because we link to it. You might prefer to avoid loading tiddlers that
are only linked.

Rendering the tiddler in HTML is:

store.renderTiddler("text/html",title);

You can also render the specified tiddler as though it were another
one; this is useful for rendering tiddlers as templates. For example:

store.renderTiddler("text/html","MyTemplate","HelloThere");

This example would render the tiddler HelloThere using the tiddler
MyTemplate as a template. So things like <> within
MyTemplate would render the tiddler

[tw] Re: tiddlypocketbook and margins

2012-01-27 Thread tiddlygrp
Thanks Corey for your suggestion.  But this does not change my
problem.  Maybe it has to do with the Firefox (3.6.24) which I'm
using.  Basically the print comes out at something like 90% size of a
page, centered.  That implies that the first folding of the pocketmod
is good, but that secondary folds are off the grid lines.

thanks for any suggestions.

-- 
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] Problem with macro for creating blog

2012-01-27 Thread funkyeah
So I added the following to the default tiddlers tiddler

<>

And tiddlywiki seems automatically see the tiddlers now included in
the default tiddler as open by default will all tiddlers tagged with
blog.

So then I want to create a button that creates a new tiddler auto
tagged with blog:

<>

...so far so good.

But I run into problems when trying to write a macro is designed to
create a button that shows all the blog posts.

//{{{
config.macros.showBlog = {};

config.macros.showBlog.handler = function(place)
{
createTiddlyButton(place,this.label,this.prompt,this.onClick);
};

config.macros.showBlog.onClick = function(e)
{
if(!story.isEmpty()) {
story.closeAllTiddlers();
}
story.displayDefaultTiddlers();
return false;
};
//}}}


And the following macro doesn't work:

<>

I should also mention the tiddler containing the macro is tagged
systemConfig


-- 
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: My TiddlyWiki can't see the latest version.

2012-01-27 Thread TonG
Hi Ian,

If you cannot edit the TW to add the version macro ...
There was a bookmarklet TiddlyInfo at Saq Imtiaz' site lewcid.org that
gave the version of a TW, but I cannot find it anymore at Saq's new
location http://tiddlywiki.squize.org/

But, Eric (Tiddlytools) has a bookmarklet "Show Tiddlywiki Document
info ..." http://www.tiddlytools.com/#InstantBookmarklets that gives
the version as well.

Cheers,

Ton

On Jan 27, 9:48 am, PMario  wrote:
> Use the version macro in a tiddler. It'll tell you your actual
> version.
> <>
> -m

-- 
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: My TiddlyWiki can't see the latest version.

2012-01-27 Thread PMario
Use the version macro in a tiddler. It'll tell you your actual
version.
<>
-m

-- 
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: My TiddlyWiki can't see the latest version.

2012-01-27 Thread rakugo
Try again now.
I forget what state this is in, but at some point the upgrade code was
pointed at http://tiddlywiki-releases.tiddlyspace.com/upgrade the idea
being that this would hold all released copies of TiddlyWiki. This
doesn't seem to have been updated/maintained. I've manually updated it
now so if you try upgrading now it should work (if you don't run into
the problems described here [1]).

I've made a comment
https://github.com/TiddlyWiki/tiddlywiki/commit/2e585a107d8092e2c0973f14314409f28f668960#commitcomment-907355

[1] http://tiddlywiki.com/#%5B%5BTiddlyWiki%20Browser%20Compatibility%5D%5D

On Jan 27, 7:56 am, Ian Simcock  wrote:
> Hi HansBKK.
>
> I'm using FireFox 9.0.1 on WinXP sp3.
>
> Is there anyway to tell what version a TiddlyWiki is if you can't edit
> it to add the Version variable to a tiddler? I can bring the venison
> up that the Upgrade option is trying to upgrade from 
> athttp://tiddlywiki-releases.tiddlyspace.com/upgradebut I can't tell
> what version it is, though I'd guess that my TiddlyWiki is right when
> it says it's 2.6.4 and not 2.6.5.
>
> As for using portable FireFox, the problem didn't look to be browser
> related but I did try it in my portable copy I'd set up back when a
> FireFox upgrade broke the importing and it says exactly the same
> thing.
>
> Are you running version 2.6.5, and if so, did you upgrade manually or
> using the BackStage Upgrade option?
>
> Ian Simcock.

-- 
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.