[tw] Re: HELP: Import still not working

2012-01-05 Thread julien23
Hi there

I am also very annoyed by this importing issue, but I haven't found
alternative to TW neither the time to invest for it.

Prism sounds nice to me.

 HansBBK
  Is-it portable ?
  Does it works along with another instance of FF ?

thanks

On Jan 5, 7:38 am, HansBKK hans...@gmail.com wrote:
 Sorry I can't give a more complete answer, but personally I recommend using
 the latest Firefox v3 with standard TW, especially to ensure compatibility
 with plugins that haven't been updated.

 Since I also use FF kept updated as an installed (=registered with
 Windows) app, I use the Portable Apps version, which doesn't require
 installation, can be run from any arbitrary location, including an external
 drive where the drive letter may change.

 It is also compatible with Prism, to create standalone TiddlyWiki
 applications that strip out the FF navigation kruft.

 I'm pretty sure this is what you'd search for on google:

 FirefoxPortableLegacy36_3.6.23_English.paf

 Hope this helps.

-- 
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] Matching tags with regular expressions

2012-01-05 Thread Reto
With forEachTidler I am trying to find tiddlers with tags matching
certain patterns. I read carefully through the posts in this group
related to this topic but wasn't able to figure out a solution.

This is what I have:

forEachTiddler where
'tiddler.tags.sort().join(]]).contains(new RegExp(\-..
\-..,gm))'


Date tags with format -0MM-0DD should be found. As far as I
understood the tag array is converted to a string after the join but I
obviously do not understand how to apply the RegExp function to it ...

Any hints welcome!

-- 
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: HELP: Import still not working

2012-01-05 Thread HansBKK
On Thursday, January 5, 2012 3:07:30 PM UTC+7, julien23 wrote:

 Prism sounds nice to me. 

  HansBBK 
   Is-it portable ? 
   Does it works along with another instance of FF ? 


Yes, the old Prism extension works fine - as does every other extension I 
ever tried (100's) in portable mode, and therefore by definition along with 
other instances of FF.

Doing things this way is IMO infinitely easier for most people than trying 
to get TW to work with recent browsers, at least until the next major 
revision is released (which I assume will be compatible with them).

Note that what seems to be your TW running an independent app is actually 
just using the FF binaries in a minimalist window. When the extension 
creates your batch file/icon stuff for you in your users docssettings 
folder, you just move them over as regular batch files into your portable 
apps dirtree, maybe need to change paths to relative if your drive letter 
changes, but nothing rocket science.

-- 
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/-/hg5njmDd4AQJ.
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: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread Grmble
Hi,

I've never seen this specific behaviour but this would be my approach

* try to get into the console of the java plugin. See if any errors
show up there, or maybe the console thing is there and disappears
after a while? Maybe that's when the saving stops working
* in chrome's javascript console: once the behaviour is broken, what
happens if you try to access document.applets['TiddlySaver'] ?  If you
still get a valid object, you can also try
document.applets['TiddlySaver'].loadFile(someexistingfile,
UTF-8) ... the error messages will most likely not tell you much,
but something useful show up in the java console.  If loading works
also try document.applets['TiddlySaver'].saveFile(DOESNOTEXIST,
UTF-8, some text).
* the low-tech approach/workaround would be to press F5 after coming
back to the tab after some time ... I'd probably forget to do this a
lot and hack some reload mechanism into the TiddlyWiki

Kind regards,
Juergen

-- 
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: Matching tags with regular expressions

2012-01-05 Thread Eric Shulman
 forEachTiddler where
 'tiddler.tags.sort().join(]]).contains(new RegExp(\-..
 \-..,gm))'

 Date tags with format -0MM-0DD should be found. As far as I
 understood the tag array is converted to a string after the join but I
 obviously do not understand how to apply the RegExp function to it ...

To test a text string against a regular expression, you can use
the .match() method of the string, passing the regexp as an argument:

var foo=some text;
if (foo.match(/some regexp/)) { ... }

If the pattern is found within the string, match() returns an *array*,
where match[0] is the complete matched text, and match[1..n] contain
matches for parenthesized sub-expressions (if any were used in the
regexp).  If no match is found, then match() returns a NULL (==false)
value.

Try this:

forEachTiddler where
'tiddler.tags.join( ).match(/[0-9]{4}-[0-9]{2}-[0-9]{2}/)'

* I used a literal regexp (/.../) instead of creating a new RegExp
object within the forEachTiddler loop (more efficient).
* The regexp uses more specific matching (looks for numerics only)
* Except within the [0-9] regexp syntax, - is treated literally
and is not a special symbol.  It doesn't need backslash-quoting to be
matched.
* The tags don't need to be sorted, since you are matching across the
whole set of tags at once
* The tags are joined with   rather than ]].

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread Lappie
Hi,

Thanks for your suggestions. Could you help me a bit more by
specifying where/how to find the java console and javascript console?

Thanks!

On Jan 5, 9:53 am, Grmble spamless.juer...@gmail.com wrote:
 Hi,

 I've never seen this specific behaviour but this would be my approach

 * try to get into the console of the java plugin. See if any errors
 show up there, or maybe the console thing is there and disappears
 after a while? Maybe that's when the saving stops working
 * in chrome's javascript console: once the behaviour is broken, what
 happens if you try to access document.applets['TiddlySaver'] ?  If you
 still get a valid object, you can also try
 document.applets['TiddlySaver'].loadFile(someexistingfile,
 UTF-8) ... the error messages will most likely not tell you much,
 but something useful show up in the java console.  If loading works
 also try document.applets['TiddlySaver'].saveFile(DOESNOTEXIST,
 UTF-8, some text).
 * the low-tech approach/workaround would be to press F5 after coming
 back to the tab after some time ... I'd probably forget to do this a
 lot and hack some reload mechanism into the TiddlyWiki

 Kind regards,
 Juergen

-- 
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: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread HansBKK
It's always a good idea to try your friend 
Googlehttp://www.google.com/search?q=chrome+java+consolefor general-interest 
questions http://www.google.com/search?q=chrome+javascript+console

Also see here http://catb.org/%7Eesr/faqs/smart-questions.html





-- 
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/-/MK_r86B7E9sJ.
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: Matching tags with regular expressions

2012-01-05 Thread Reto
Works like a charm, muchas gracias! And thanks for the helpfull
coments.

Cheers
Reto

On Jan 5, 11:23 am, Eric Shulman elsdes...@gmail.com wrote:
  forEachTiddler where
  'tiddler.tags.sort().join(]]).contains(new RegExp(\-..
  \-..,gm))'

  Date tags with format -0MM-0DD should be found. As far as I
  understood the tag array is converted to a string after the join but I
  obviously do not understand how to apply the RegExp function to it ...

 To test a text string against a regular expression, you can use
 the .match() method of the string, passing the regexp as an argument:

 var foo=some text;
 if (foo.match(/some regexp/)) { ... }

 If the pattern is found within the string, match() returns an *array*,
 where match[0] is the complete matched text, and match[1..n] contain
 matches for parenthesized sub-expressions (if any were used in the
 regexp).  If no match is found, then match() returns a NULL (==false)
 value.

 Try this:

 forEachTiddler where
 'tiddler.tags.join( ).match(/[0-9]{4}-[0-9]{2}-[0-9]{2}/)'

 * I used a literal regexp (/.../) instead of creating a new RegExp
 object within the forEachTiddler loop (more efficient).
 * The regexp uses more specific matching (looks for numerics only)
 * Except within the [0-9] regexp syntax, - is treated literally
 and is not a special symbol.  It doesn't need backslash-quoting to be
 matched.
 * The tags don't need to be sorted, since you are matching across the
 whole set of tags at once
 * The tags are joined with   rather than ]].

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios

 
 TiddlyTools needs YOUR financial support...
 Help ME to continue to help YOU...
 make a generous donation today:
    http://www.TiddlyTools.com/#Donations

 Professional TiddlyWiki Consulting Services...
 Analysis, Design, and Custom Solutions:
    http://www.TiddlyTools.com/#Contact

-- 
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 it possible to use jQuery.getJSON() syntax in TW?

2012-01-05 Thread skye riquelme
Hi All

The heading says it all. Anyone played with jQuery.getJSON()
syntax.is it possible? Can you give me some leads???

Thanks
Skye

-- 
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: HELP: Import still not working

2012-01-05 Thread Alexandre C Vieira

Great idea!!!

I also use FF9 Portable

I have FF and TiddlyWiki on my stick so I can load my tiddlers anywhere

Regards,

On 05/01/2012 04:38, HansBKK wrote:
Sorry I can't give a more complete answer, but personally I recommend 
using the latest Firefox v3 with standard TW, especially to ensure 
compatibility with plugins that haven't been updated.


Since I also use FF kept updated as an installed (=registered with 
Windows) app, I use the Portable Apps version, which doesn't require 
installation, can be run from any arbitrary location, including an 
external drive where the drive letter may change.


It is also compatible with Prism, to create standalone TiddlyWiki 
applications that strip out the FF navigation kruft.


I'm pretty sure this is what you'd search for on google:

FirefoxPortableLegacy36_3.6.23_English.paf

Hope this helps.
--
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/-/xIDx_7OrwRkJ.

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: TW on Kindle Fire?

2012-01-05 Thread Scott Simmons
Anyone tried it on Silk now that the Kindle Fire is out there in the 
public?  I've heard some people mention JS handling quirks on the Fire, but 
I can't find any comments around the web about how TW plays on it.
 
Anyone ... ?  :)

-- 
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/-/ovwanbUxtdMJ.
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] PopupPreviewPlugin doesn't work :(

2012-01-05 Thread Arek
Hello!

I'm trying to use it (with mouseover option) on 
http://hr4startups.com/HR_wiki_english.html
I didn't succeed with configuring it in CookieJar tiddler and even
when I modified the plugin code it still doesn't work.

What am I doing wrong?

Thank you in advance 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] Re: HELP: Import still not working

2012-01-05 Thread rakugo
File import has been breaking in more recent browsers. If I remember
correctly some browsers are trying to load from a file uri. e.g.
file:///path/to/file - if you put the file in the same working
directory and manually edit the input to just be the filename you may
find it imports okay.

I started trying to tackle file importing in modern browsers using the
File API although didn't get much feedback. I'd be interested in how
you find this plugin:
http://repository.tiddlyspace.com/#TiddlyFileImportr
which swaps out the default file import code for a modern alternative
where it can.

Jon

On Jan 5, 12:39 pm, Alexandre C Vieira acamargo.vie...@gmail.com
wrote:
 Great idea!!!

 I also use FF9 Portable

 I have FF and TiddlyWiki on my stick so I can load my tiddlers anywhere

 Regards,

 On 05/01/2012 04:38, HansBKK wrote:







  Sorry I can't give a more complete answer, but personally I recommend
  using the latest Firefox v3 with standard TW, especially to ensure
  compatibility with plugins that haven't been updated.

  Since I also use FF kept updated as an installed (=registered with
  Windows) app, I use the Portable Apps version, which doesn't require
  installation, can be run from any arbitrary location, including an
  external drive where the drive letter may change.

  It is also compatible with Prism, to create standalone TiddlyWiki
  applications that strip out the FF navigation kruft.

  I'm pretty sure this is what you'd search for on google:

  FirefoxPortableLegacy36_3.6.23_English.paf

  Hope this helps.
  --
  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/-/xIDx_7OrwRkJ.
  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] Creating a date from a string representing week of year

2012-01-05 Thread Reto
I am using a tiddler per week-of-year with the title in the format
-KW0MM (via calendar plugin).

I would like to generate lists of tiddlers (with forEachTiddler)
within this wee-of-year tiddler for each day of the week. Those
tiddlers have a tag in the format -0MM-0DD.

I guess some (javascript) magic is needed to convert the
context.inTiddler.title to a valid date which may be used in the where
clause of fET.

I am aware that the date plugin lets me create week-of-year strings:
date link today KW0WW -KW0WW.

But it seems that there is no way in using it the other way round ...

I was looking into the calendar plugin to get a hint on how the week
of year are generated but I have to admit that this is beyond my
skills ...

Problem:How do I convert the year and week number in a valid date?
This seems to be quite difficult ...

Possible workaround: when a week-of-year tiddler is created the first
day is automatically added (hidden, some kind of variable). This
variable could be used in fET.

-- 
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] Stylesheet question

2012-01-05 Thread axelm
Hello All, Happy New Year,

I have this in my StyleSheet:

div[tags~=120].tiddler .viewer { font-size:120%; color:black; }

In a tiddler, if I want the text to appear larger, I just add the 120 
tag. Works great.

Is there a way use a custom field value instead?
What I mean is that lets say I have a field called Fontsize, if I enter 
the value 120 then the font size would be 120%,
but if I change the value to 90 then the font size would be 90%.

In the stylesheet it would be like this:

div[field=Fontsize~=field value].tiddler .viewer { font-size:field 
value%; color:black; }
Of course, this doesn't work, because I don't know the syntax.

axelm


-- 
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/-/QqIize0baGoJ.
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: PopupPreviewPlugin doesn't work :(

2012-01-05 Thread HansBKK
Sorry I can't help more specifically, but it might make it easier for 
others to help you if you post your OS and browser, including versions.

-- 
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/-/_gCsX4N3eq0J.
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] Uploading a site to tiddlyspot.com from a local file

2012-01-05 Thread mgp
Dear all,

Thank you in advance for your help.

I am trying to upload a local TW to tiddlyspot and get the following
error:


[Exception... Access to restricted URI denied code: 1012 nsresult:
0x805303f4 (NS_ERROR_DOM_BAD_URI) location: PATHTOFILE Line:
16784]


In more detail:

1. I found an interesting TW (http://twt-blackicity.tiddlyspot.com)
that I wished to use and downloaded it to my harddrive
2. I wished to upload the file to tiddlyspot (mskb.tiddlyspot.com) and
followed the instructions at:
http://faq.tiddlyspot.com/#[[Can%20I%20upload%20an%20existing%20TiddlyWiki%20to%20a%20tiddlyspot.com%20site%3F]]
3. Tried to upload using the backstage and got the error displayed
above (also happens when using the -modified- sidebar link)

Though I have been on and off the list for a while now, I am an
absolute newbie with TW and Javascript and I am rather lost on how to
solve this. Thinking it might be related to TW trying to upload to the
original page I hunted down any references in the local file but that
did not solve the issue. My searches on the internet have got me to
conclude that it might be something related to the use of a proxy to
upload the file (
https://groups.google.com/group/tiddlywiki/browse_thread/thread/2628cd11a60e85a4/8e3072422f5147f5?lnk=gstq=%22Access+to+restricted+URI+denied%22+#8e3072422f5147f5
) but I am pretty much clueless on how to fix this.

Thanks again for your help.

Best,

Michael

-- 
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: PopupPreviewPlugin doesn't work :(

2012-01-05 Thread Eric Shulman
 I'm trying to use it (with mouseover option) 
 onhttp://hr4startups.com/HR_wiki_english.html
 I didn't succeed with configuring it in CookieJar tiddler and even
 when I modified the plugin code it still doesn't work.

I opened your document and went to the PopupPreviewPlugin.  In it's
configuration section, there are two checkboxes, option
chkPopupPreview and option chkPopupPreviewMouseover.  I checked
the 'chkPopupPreview' (which is unchecked by default), and the
mouseover previews *DO* work in your document (using FF/Win7)

I look, and found *no* CookieJar in your document.  I assume you
removed it after an unsuccessful attempt.  However, without being able
to see what you wrote there, I have no way to know why it didn't work.

Try it again:

First, create a tiddler named CookieJar, tagged with systemConfig,
containing:
   //{{{
   config.options.chkPopupPreview=true;
   //}}}

Then, save-and-reload and go to the PopupPreviewPlugin to confirm that
both checkboxes in the config section are selected.  That should be
all you need to do.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact



-- 
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: PopupPreviewPlugin doesn't work :(

2012-01-05 Thread Arek
Thank you Eric very much for quick response and detailed explanation -
I needed this as I just made some errors in CookieJar, due to
misinterpretation of configuration instructions. Thanks Hans for even
quicker reminder about basic rules :)

Now when it's running I started to wonder if it would be possible to
(easily) make popup disappear on 'Mouseout'?



-- 
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] Displaying the source of one tiddler inside the source of another tiddler

2012-01-05 Thread Andy Green
Are there any plugins that make it possible to display the source of one 
tiddler inside the source of another when using transclusion? This would 
make it easier to edit multiple tiddlers at the same time.

Example:

Tiddler A source code:

This is tiddler A. It is transcluded inside tiddler B.

Tiddler B source code:

This is Tiddler B.

includeSource [[Tiddler A]]This is tiddler A. It is transcluded inside 
tiddler B./includeSource [[Tiddler A]]

-- 
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/-/tGmKj4B7lykJ.
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: Displaying the source of one tiddler inside the source of another tiddler

2012-01-05 Thread PMario
Hi Andy,
I'm not sure, what you mean with source

TiddlerA
some tiddler a text

TiddlerB
b text tiddler TiddlerA b text

or

TiddlerA
! section1
some section1 text

! section2
some section2 text

!end
some more text not seen when transcluded


TiddlerB
tiddler TiddlerA##section1

hope, this is what you want
-mario
see: http://tiddlywiki.com/#%5B%5Btiddler%20macro%5D%5D for more info

-- 
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: Displaying the source of one tiddler inside the source of another tiddler

2012-01-05 Thread Andy Green
In the example I posted, I wanted to transclude the source of tiddler A 
inside the source of tiddler B. By source, I mean the page source as 
written in wiki markup language.

Here's the same example again:

Tiddler A source code:
(

This is tiddler A. It is transcluded inside tiddler B.

)

Tiddler B source code:
(

This is Tiddler B.
includeSource [[Tiddler A]]This is tiddler A. It is transcluded inside 
tiddler B./includeSource [[Tiddler A]]

)

I want to find a macro that will perform this function. The transcluded 
text should be synchronized with the page it corresponds to.

-- 
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/-/lNROxzC785oJ.
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: HELP: Import still not working

2012-01-05 Thread twgrp
Does portable FF not conflict with simultaneous instances of FF for
regular surfing? Does Prism change anything?

I use an old FF3.6 that is portable but I cannot run this at the same
time as FF9 standard version.

Thanks

On Jan 5, 2:54 pm, rakugo jdlrob...@gmail.com wrote:
 File import has been breaking in more recent browsers. If I remember
 correctly some browsers are trying to load from a file uri. e.g.
 file:///path/to/file - if you put the file in the same working
 directory and manually edit the input to just be the filename you may
 find it imports okay.

 I started trying to tackle file importing in modern browsers using the
 File API although didn't get much feedback. I'd be interested in how
 you find this plugin:http://repository.tiddlyspace.com/#TiddlyFileImportr
 which swaps out the default file import code for a modern alternative
 where it can.

 Jon

 On Jan 5, 12:39 pm, Alexandre C Vieira acamargo.vie...@gmail.com
 wrote:







  Great idea!!!

  I also use FF9 Portable

  I have FF and TiddlyWiki on my stick so I can load my tiddlers anywhere

  Regards,

  On 05/01/2012 04:38, HansBKK wrote:

   Sorry I can't give a more complete answer, but personally I recommend
   using the latest Firefox v3 with standard TW, especially to ensure
   compatibility with plugins that haven't been updated.

   Since I also use FF kept updated as an installed (=registered with
   Windows) app, I use the Portable Apps version, which doesn't require
   installation, can be run from any arbitrary location, including an
   external drive where the drive letter may change.

   It is also compatible with Prism, to create standalone TiddlyWiki
   applications that strip out the FF navigation kruft.

   I'm pretty sure this is what you'd search for on google:

   FirefoxPortableLegacy36_3.6.23_English.paf

   Hope this helps.
   --
   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/-/xIDx_7OrwRkJ.
   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: TypeError in MachineGun

2012-01-05 Thread PMario
On Jan 5, 1:50 am, twgrp matiasg...@gmail.com wrote:
 MARIO YOU ARE MY HERO!

 Can I humbly ask, how did you find this? Just by looking at it or via
 some debugging tool or something?
FireFox and FireBug are good friends :)

mGSD tiddlers are editable, even if serverd from the web.
So I just opened your tiddler and inserted some
  code
console.log('1')  -
  code
console.log('2')  -
  code
console.log('3')  lines

close the tiddler and click FIRE to see, how far the code is
executed, since the error stops execution.
It didn't execute the '1' so it was moved up in code. ...

As I knew, which function call causes the problem I did test
console.log('config.act', config.act)
if (story.getTiddler(config.act)) { ...
From my first post, and created the post.

After your second post, I did look a bit closer, if it is save to just
ignore the code inside the evil if. Since the if block above and
below overwrite the same variables (if the named tiddlers exist), it
seems to be save.  I didn't look at the rest of the code.

Since you are happy, it seems to work as expected.

 Thank you
you are welcome :)

-- 
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 it possible to use jQuery.getJSON() syntax in TW?

2012-01-05 Thread PMario
On Jan 5, 1:05 pm, skye riquelme riquelme.s...@gmail.com wrote:
 The heading says it all. Anyone played with jQuery.getJSON()
 syntax.is it possible? Can you give me some leads???
If you give us some info about, what you want to achieve?
Which server is on the other end
-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: Displaying the source of one tiddler inside the source of another tiddler

2012-01-05 Thread Andy Green
In the example I posted, I wanted to transclude the source of tiddler A 
inside the source of tiddler B. By source, I mean the page source as 
written in wiki markup language.

Here's the same example again:

Tiddler A source code:
(

This is tiddler A. It is transcluded inside tiddler B.

)

Tiddler B source code:
(

This is Tiddler B.
includeSource [[Tiddler A]]This is tiddler A. It is transcluded inside 
tiddler B./includeSource [[Tiddler A]]

)

I want to find a macro that will perform this function. The transcluded 
text should be synchronized with the page it corresponds to.

-- 
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/-/Mh3FI0ia_IkJ.
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 it possible to use jQuery.getJSON() syntax in TW?

2012-01-05 Thread skye riquelme
Hi PMario

I use a VPS...so have a great deal of control over the server. In this
case I am storing arquives and course references in a MySQL database.
In general, students generate entries into the database when they
complete questions or fill in forms (often simple text fields...)
using simple php arquives on the server side. So now I am looking for
a more interactive way to get the information back into the TWs.
Simple GET calls responding back to iframes is working reasonably well
(I can search and sort) for the arquives. But just dumping text into
an iframe is not that useful. I´d like to be able to receive the
information in formats where I can do some simple javascript or TW
manipulations with the information.

In general the data coming back is fairly simple arrays or could be
simple paired values.

Hope that is enough to give an idea what I need.

Thanks
Skye

On 5 jan, 20:45, PMario pmari...@gmail.com wrote:
 On Jan 5, 1:05 pm, skye riquelme riquelme.s...@gmail.com wrote: The 
 heading says it all. Anyone played with jQuery.getJSON()
  syntax.is it possible? Can you give me some leads???

 If you give us some info about, what you want to achieve?
 Which server is on the other end
 -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: HELP: Import still not working

2012-01-05 Thread HansBKK
On Friday, January 6, 2012 5:28:53 AM UTC+7, twgrp wrote:

 Does portable FF not conflict with simultaneous instances of FF for 
 regular surfing? Does Prism change anything? 

 I use an old FF3.6 that is portable but I cannot run this at the same 
 time as FF9 standard version. 


Create a general conflict, no. However I do recall running into into FF 
messages along the lines of another instance is running.

I'll have a look at my batch files when I get a chance, but from memory, 
key issues are to not try to share the same profile across separate 
versions (wait while I google) 

-P or -ProfileManager will let you set up different profiles if you haven't 
already

the

-no-remote


launch parameter is for instances you don't want activated from outside.

Using the official PortableApps package, there's also a FirefoxPortable.ini 
file - change the AllowMultipleInstances=false preference to true. 

I no longer keep my TW's open unless I'm working on specific projects, and 
I actually use Chrome now for my day-to-day browsing, (and also have IE9 
available to use if I want, found it surprisingly good) so I have to admit 
I'm not the expert on this specific aspect, Googling will find more details 
- be sure to post back here with a canonical solution if/when you find 
one.

-- 
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/-/Dc_0Q1yfWRsJ.
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: HELP: Import still not working

2012-01-05 Thread HansBKK
Sorry forgot to address

Does Prism change anything? 


Prism is running the same underlying FF3 binaries just in a special mode. 
Not sure if that mode does anything to shield FF3 from launching another 
instance, most likely not.

Super easy to try though, give it a go!

-- 
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/-/rPGfBhKlQyAJ.
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: Stylesheet question

2012-01-05 Thread Eric Shulman
 I have this in my StyleSheet:
 div[tags~=120].tiddler .viewer { font-size:120%; color:black; }
 In a tiddler, if I want the text to appear larger, I just add the 120
 tag. Works great.

 Is there a way use a custom field value instead?
 What I mean is that lets say I have a field called Fontsize, if I enter
 the value 120 then the font size would be 120%,
 but if I change the value to 90 then the font size would be 90%.

When a tiddler is rendered, a DIV is created and the tiddler's tags
are set as an attribute of that div.  Here's the line in the TWCore
story.prototype.refreshTiddler() code:
tiddlerElem.setAttribute(tags,tiddler.tags.join( ));

This then allows use of a CSS selector, div[tags~=...], that can
match a tag value to apply specific
style rules to tht tiddler.

However, creating DIV attributes corresponding to a tiddler's custom
fields is *not* being done by the TWCore, so there's (currently) no
way to specify a CSS rule based on matching a custom field value.

I should be possible to re-write (hijack) the TWCore refreshTiddler()
function to also create DIV attributes for the custom fields.  One
possible caveat: a field name might collide with some standard DIV
attribute name (e.g., style, id, etc.), so special checks would be
needed to prevent specific custom fields names from being assigned as
DIV attributes.

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