[tw] Re: Playing with custom fields

2010-02-05 Thread Jakob Graulund Jørgensen
My working answer if anyone is interested:

__
%
!out
$1
!end
%/tiddler ShowNewerList##out with: {{
var out=[];
var target=$1;
var searchtiddler = $2;
var tids = store.getTiddler();
for (var i=0;itids.length;i++) {

   var a=tids[i].fields.somefield1;
   var b=tids[i].fields.somefield2;
   var c=tids[i].fields.somefield3;

   var magic=tids[i].title;

   if (a  a.contains(target)  magic 
magic.contains(searchtiddler) )
 out.push( tiddler somefield1Link with: [[+tids
[i].title+]]\));

  if (b  b.contains(target)  magic 
magic.contains(searchtiddler))
  out.push( tiddler somefield2Link with: [[+tids
[i].title+]]\));

  if (c  c.contains(target)  magic 
magic.contains(searchtiddler))
  out.push( tiddler somefield3Link with: [[+tids
[i].title+]]\));

 }

out.join(\n);}}



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] Playing with custom fields

2010-02-04 Thread Jakob Graulund Jørgensen
I want to search through a specific tiddler's custom fields and if I
match a specific value, have a specific custom field's value output.

My thinking is along the lines of (two easy steps):

1. Creating a tiddler named MyList with the following content:
___

%
!out
$1
!end
%/tiddler ShowNewerList##out with: {{
var out=[];
var target=$1;
var tids= store.getTiddler('title') == $2;
for (var i=0;itids.length;i++) {

   var a=tids[i].fields.somefield1;
   var b=tids[i].fields.somefield2;
   var c=tids[i].fields.somefield3;


   if (a  a.contains(target))
 out.push( tiddler somefield1Link with: [[+tids
[i].title+]]\));

  if (b  b.contains(target))
  out.push( tiddler somefield2Link with: [[+tids
[i].title+]]\));

  if (c  c.contains(target))
  out.push( tiddler somefield3Link with: [[+tids
[i].title+]]\));

 }

out.join(\n);}}
___

somefield1Link contains (and the other somefieldLinks contains
something similar)r:
___

/%
!out
[[$1|$2]]
!end
%/tiddler somefield1Link ##out with:
   {{store.getValue('$1','fieldvalueiwant')}} [[$1]]

___

2. Inputting the following into the tiddler:

___

tiddler MyList out with: OneTiddler AnotherTiddler

 ___

I am hoping for 'fieldvalueiwant' s value in AnotherTiddler if and
only if, AnotherTiddler contains OneTiddler in somefield1,
somefield2 or somefield3.

---

But the whole thing doesn't work and I cant figure quite figure it out

Testing I created a tiddler; TestList containing:
 ___

Target: $1 Tiddler: $2

 ___

And this works like I want it to work (using tiddler TestList out
with: OneTiddler AnotherTiddler the result is Target: OneTiddler
Tiddler:AnotherTiddler, so I am guessing that the line: var tids=
store.getTiddler('title') == $2; is the problem but the only way i
can make it work is by searching through every tiddler
( store.getTiddlers(); ) which returns results I am not interested in.

(the whole thing is an attempt to link certain tiddlers with other
tiddlers displaying different precentals of ownership - cf.
http://tinyurl.com/yctnr49)


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] Messing around with sitemap solutions.

2010-01-29 Thread Jakob Graulund Jørgensen
Hi

I am messsing around in TW trying different ways to link tiddlers
together.

I have createde a lot of tidders based on an old fortune 500 list, and
tried creating different ways of showing each company's relation to
other companies (not their real relations, but some made up ones).

And I think i have created a few good ways of showing these relations
(not least thanks to help from this forum). Right now I am working on
a sitemap solution of showing the Mother Company's relation to its
subsidiaries. I have a partial solution which shows the correct
hiearachy of subsidiaries but not the corresponding percental of
ownership.

I hope someone can help me.

http://tinyurl.com/y8s8rho

Be warned: the file is extremely messy and not enterily translated
into english ++ the TW its not very self-explanatory (I dont really
know where to begin and where to end).

If someone wants to use on of the solutions I have used, have a
question and/or wants to laugh at me for making the stupidest and
ugliest TW ever made, I would be very happy to hear it.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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: A list of tiddlers based on custom fields

2010-01-07 Thread Jakob Graulund Jørgensen
Hi Tobias

I know the way I have done it may seem a little counter-intuitiv. The
reason I cant do it the other way around is that in the larger TW
where I am trying to implement the solution I only know each
tiddler's parent tiddler(s) and I can't think of an easy way to
reverse this (ei I don't what to sort through all tiddlers to make
sure I've caught all of a tiddler's childeren)

Allthough you could probably do what you are suggesting using the code
below. The lack of numbering is however kind of a dealbreaker because
I need the trees created to be very precise as to what tiddler is own
by what.


/%
!out
$1
!end
%/tiddler ShowList##out with: {{
var out=[];
var target=$1;
var tids=store.getTiddlers();
for (var i=0;itids.length;i++) {
   var a=tids[i].fields.field;
   var b=tids[i].fields.field2;

   if (a a.contains(target))
 out.push(#[[+tids[i].title+]]);
   if (b  b.contains(target))
 out.push(#[[+tids[i].title+]]);
}

out.join(\n);}}
---

I hope this made sense. As I am writing this it is kind of late in
Denmark.

regards
-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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: A list of tiddlers based on custom fields

2010-01-03 Thread Jakob Graulund Jørgensen
I have tried implementing both the AdvancedFilterTiddlersPlugin
solution and the RelatedTiddlersPlugin solution in my tiddlywiki.

cf. http://dl.dropbox.com/u/615478/empty2.html

thx to Måns I got the AdvancedFilterTiddlersPlugin to work but I don't
really understand how it can be used to save time creating a tree-
structur, you have to input almost just as much code as when you just
type in the tree manually.

I got Eric's RelatedTiddlersPlugin to almost create the tree that I
want, but there are a few important problems with this solution that I
cant quite work out cf http://dl.dropbox.com/u/615478/empty2.html#[[Test%202]]

regards
jgj

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] A list of tiddlers based on custom fields

2010-01-02 Thread Jakob Graulund Jørgensen
Hi

I would like to be able create a sort of treeview diagram like the
RelatedTiddlersPlugin does it
(http://www.tiddlytools.com/#RelatedTiddlersPlugin), but based on
costum fields instead of internal links.

I cannot, however, get RelatedTiddlersPlugin to do it or find a plugin
that does it for me.

I have therefore tried to create my own solution

cf. http://dl.dropbox.com/u/615478/empty.html

But it is not going very well.

I would therefore very much appreciate a little help or directions to
a plugin that can create a treeview diagram based on costum fields (I
search much of this forum for one cf.
 http://tinyurl.com/qahkgm)

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] A tree view diagram

2009-11-26 Thread Jakob Graulund Jørgensen
Hi

I am trying to create a sort of treeview diagram of tiddlers linked
through costum fields.
Lets say I have 6 tiddlers,

TiddlerHead with no input in field myfield

TiddlerNeck with the input TiddlerHead in field myfield

TiddlerRightArm with the input TiddlerNeck in field myfield

TiddlerLeftArm with the input TiddlerNeck in field myfield

TiddlerRightHand with the input TiddlerRightArm in field
myfield

TiddlerLeftHand with the input TiddlerLeftArm in field myfield

TiddlerFingers with the input TiddlerRightHand in field myfield
and TiddlerLeftHand in field myfield2

Now my goal is an output like:

TiddlerHead
1. TiddlerNeck
1:a TiddlerRightArm
   1:a;i TiddlerRightHand
 
1:a;i-1TiddlerFingers
1:b TiddlerLeftArm
   1:b;i TiddlerLeftHand
 
1:b;i-1TiddlerFingers

I cant find a plugin that quite does this (cf http://tinyurl.com/qahkgm)
- non sorts through costum fields, and that is what i want.

So instead I am trying something like (be warned this may hurt real
programmers eyes)
(http://groups.google.com/group/tiddlywiki/browse_thread/thread/
5faa95cbd66cf884?tvc=2)

---
/%
!out
$1
!end
%/tiddler ShowList##out with: {{
var out=[];
var target=$1;
var tids=store.getTiddlers();
for (var i=0;itids.length;i++) {
   var alpha=tids[i].fields.field
if (alpha  alpha.contains(target))
  out.push(# [[+tids[i].title+]]);

var target2= result2??;

   if (alpha  alpha.contains(target2))
 out.push(## [[+tids[i].title+]]);

var target3=result??;

   if (alpha  alpha.contains(target3))
  out.push(### [[+tids[i].title+]]);
}


out.join(\n);}}

--
And then I would be able to put
-
[[TiddlerHead]]
tiddler ShowList with: {{tiddler.title}}
-
Into TiddlerHead¨

But the code above clearly doesnt work, and I cant figure out how to
go beyond the first target.

The following code inserted into Tiddlerhead almost does what i want,
but it is obviously not a usefull code.
---
/%
!out
$1
!end
%/tiddler ShowList##out with: {{
var out=[];
var target=TiddlerHead;
var tids=store.getTiddlers();
for (var i=0;itids.length;i++) {
   var alpha=tids[i].fields.field
if (alpha  alpha.contains(target))
  out.push(#[[+tids[i].title+]]);

var target2= TiddlerNeck;

   if (alpha  alpha.contains(target2))
 out.push(##[[+tids[i].title+]]);

var target3=TiddlerRightArm;

   if (alpha  alpha.contains(target3))
  out.push(###[[+tids[i].title+]]);
}


out.join(\n);}}
--

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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: A tree view diagram

2009-11-26 Thread Jakob Graulund Jørgensen
To parts, sry.

I hope the above question makes sense. Im not set on the proposed
solutions so if anybody can come up with something smarter I am all
ears.

regards

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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: Generating a list based on custom fields.

2009-11-23 Thread Jakob Graulund Jørgensen
startsWith is a string function added by FET to the string prototype.
You can't perform on an array, which is what readBracketedList()
returns. So, do you have to do a readBracketedList to begin with?

Obviously the simpler thing always works perfectly:

forEachTiddler
  where
'store.getValue(tiddler,fieldone)   store.getValue
(tiddler,fieldone).startsWith([A])  '

write

 '   tiddler FakeLink with: [[+tiddler.title+]] \ \n ' 

Thx you for the help

--

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




[tw] Generating a list based on custom fields.

2009-11-19 Thread Jakob Graulund Jørgensen
Hi

I'm trying to create a couple of alphabetazied lists (ei. a-m, n-t, u-
z) . The lists have to be alpabetazied according to tiddlers' custom
fields, and I want the costum fields to be what is displayed in the
list (ie. not the title as usually).

I cant however quite make it work.

My guess is something like

forEachTiddler
  where
' store.getValue(tiddler,fieldone) 
  store.getValue(tiddler,fieldone).readBracketedList().startsWith
([A]) '

write
 '  tiddler FakeLink with: +tiddler.title+ \ \n '



And then creating a tiddler called [[FakeLink]], containing:
--
/%
!out
[[$1|$2]]
!end
%/tiddler FakeLink##out with:
   {{store.getValue('$1','fieldone')}} [[$1]]
--

This only works with

  where
' store.getValue(tiddler,fieldone) 
  store.getValue(tiddler,fieldone).readBracketedList().contains
([A]) '

which result in a less than alphabetized list.

hope the make sense and that somebody can help me

--

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




[tw] Re: Generating a list based on custom fields.

2009-11-19 Thread Jakob Graulund Jørgensen
 sortBy 'tiddler.fields[fieldone]' ??

it is
store.getValue(tiddler,fieldone).readBracketedList().contains
that is the problem. It doesnt distinguish between for example
aaaBccc and cccBaaa

Which is why i want to use .startsWith but i cant make that work


--

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




[tw] Re: Generating a list based on custom fields.

2009-11-19 Thread Jakob Graulund Jørgensen
  'tiddler.fields[fieldone].startsWith(A)'

it is a good idea but I simply cant get the .startswith to work. same
problem as my original.

--

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




[tw] WikifyPlugin

2009-11-01 Thread Jakob Graulund Jørgensen

Hi

I am using the http://www.TiddlyTools.com/#WikifyPlugin to display
formatted content from custom fields and it works pretty great. But
tiddlers without content in custom fields display the code I've put
into the viewtemplate inside the wikifymacro (ie. costumfi...@here
costumfie...@here). If I open these trouble tiddlers to edit them and
press done without doing anything, the code is no longer display and
everything is fine (ie. nothing is displayed). That, however, is less
than a perfect solution.

Is anybody else experiencing this problem? And can it be fixed?

(Im using IE7, windows and the lastest version of tiddlywiki)

Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Search Plugin

2009-10-30 Thread Jakob Graulund Jørgensen


Hi

The following is shown when the SearchOptionsPluginInfo is displayed:


===


+++*[search wood report=list See also:]...
Error in macro search
===


+++*[search wood report]...
Error in macro search
===


+++*[search wood report=]...
Error in macro search
===


+++*[search wood report=all]...
Error in macro search
===


+++*[search wood report=summary+buttons+again+list]...
Error in macro search
===

The error message reads:
Error in macro search: [object Error]

I am using IE7, windows XP and the latest version of tiddlywiki.

And it is completely blank say for the SearchOptionsPlugin which I got
from tiddlytools.com.



--~--~-~--~~~---~--~~
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: Search Plugin

2009-10-30 Thread Jakob Graulund Jørgensen

I'm sorry for being so consistently unhelpful.

The it is the tiddlywiki. I downloaded an empty tiddlywiki of the
lastest verion and importede the
SearchOptionsPlugin and the SearchOptionsPlugininfo tiddler. So it (ie
the tiddlywiki) is completely blank other than those two tiddlers and
the standard tiddlers.

On 30 Okt., 10:26, Eric Shulman elsdes...@gmail.com wrote:
  And it is completely blank say for the SearchOptionsPlugin which I got
  from tiddlytools.com.

 I don't understand what you mean... what it is completely blank?

 -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: List of tiddler conditioned by links in fields

2009-10-15 Thread Jakob Graulund Jørgensen


 /%
 !out
 $1
 !end
 %/tiddler ShowList##out with: {{
 var out=[];
 var target=$1;
 var tids=store.getTiddlers();
 for (var i=0;itids.length;i++) {
    var alpha=tids[i].fields.owneralpha;
    var beta=tids[i].fields.ownerbeta;
    if (alpha  alpha.contains(target)
       || beta  beta.contains(target))
          out.push(*[[+tids[i].title+]]);}

This works perfectly thank you very much.

A new problem, however, arises out of this solution.

Let's say I create an additional two custom fields owneralphapercent
and ownerbetapercent. And create two tiddlers, percentLinkAlpha and
percentLinkBeta in which I put

 /%
!out
[[$1|$2]]
!end
%/tiddler percentLinkAlpha##out with:
   {{store.getValue('$1','owneralphapercent')}} [[$1]]

Futhermore I change the above code to

/%
!out
$1
!end
%/tiddler ShowList##out with: {{
var out=[];
var target=$1;
var tids=store.getTiddlers();
for (var i=0;itids.length;i++) {
   var alpha=tids[i].fields.owner3;
   var beta=tids[i].fields.owner6;
   if (alpha  alpha.contains(target))
 out.push(This tiddler own: tiddler percentLinkAlpha with:
[[+tids[i].title+]]  of [[+tids[i].title+]]);
  if (beta  beta.contains(target))
  out.push(This tiddler own: tiddler percentLinkBeta with:
[[+tids[i].title+]]   of [[+tids[i].title+]]);
}

out.join(\n);}}

Can this be made to work? How do stop the right chevrons () I've
added from executing the code prematurely?

My goal is to have
tiddler ShowList with: tiddlerFive  write something like, 'This
tiddler own: 75% of tiddlerOne'
 
'This tiddler own: 66,66% of tiddlerTwo'

Regards

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] List of tiddler conditioned by links in fields

2009-10-14 Thread Jakob Graulund Jørgensen

Hi

This is probably impossible and/or stupid but here goes anyway.

Let's say I've created some tiddlers (tiddlerOne, tiddlerTwo...) and
two customfields (owneralpha and ownerbeta)

In tiddlerOne I've given the fields owneralpha and ownerbeta the
values, 75% tiddlerFive, and 25% tiddlerSeven respectively

In tiddlerTwo I've given the fields owneralpha and ownerbeta the
values, 66,66% tiddlerFive, and 33,33% tiddlerEleven respectively

In tiddlerThree

(im using the WikifyPlugin to create working links to the 'owner'
tiddlers).

Now my problem is that I want to write a list of all the tiddlers
tiddlerFive own a part of (ei tiddlers that link to tidderFive FROM
either field owneralpha or ownerbeta (=tiddlerOne and tiddlerTwo)).

Is this in any way possible? Or can the same general effect be
attained using a different approach?






--~--~-~--~~~---~--~~
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: Linking tiddlers

2009-10-12 Thread Jakob Graulund Jørgensen

Hi

I have put the command snap in my toolbar, but i am missing a way to
get multiple tiddlers output as multiple files. Right now I can only
get the snap command to give me one file with multiple tiddlers.
Obviously i can just cut that file into multiple files but that sort
of feels like busy work. Hope this makes sense and that im not missing
something entirely.

On 12 Okt., 02:00, wolfgang wolfgangl...@gmail.com wrote:
 See:http://www.tiddlytools.com/#SnapshotPluginInfo

 If you click the toolbar command 'more' you'll see the further toolbar
 command 'snap' with every option greed can come up with..

 Regards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Linking tiddlers

2009-10-11 Thread Jakob Graulund Jørgensen

hi måns

that works pretty perfect as to what I am trying to do

but - and I know I am getting greedy now - is there a way to get the
plugin to spit out multiple files?

eg snapshot of tiddler: numberOne (content only) AND snapshot of
tiddler: numberTwo (content only) AND snapshot of tiddler: numberThree
(content only) AND

On 10 Okt., 00:55, Måns humam...@gmail.com wrote:
 Hi Jakob

 As I understand your post - what you want is to render an independent
 and csstrue wikification of tiddlercontent?!

 To me that's the same as printing a htmlsnapshot...

 Try Eric's SnapshotPluginhttp://www.tiddlytools.com/#SnapshotPlugin

 It's great.

 YS Måns Mårtensson

 On 9 Okt., 21:45, Jakob Graulund Jørgensen jakobgraul...@gmail.com
 wrote:

  Hi

  Im creating a few meta-tiddlers that ara supposed tomeshthe data
  from several other tiddler's custom fields.

  Right now im using this method:

   Create a tiddler called [[SerialLink]], containing:
   --
   /%
   !out
   [[$1|$2]]
   !end
   %/tiddler SerialLink##out with:
     {{store.getValue('$1','serialnumber')}} [[$1]]
   --
   Then, use it like this:

     tiddler SerialLink with: TiddlerTitleA

  (not my own idea but Eric Shulman's suggestion to a slightly different
  problemhttp://groups.google.com/group/tiddlywiki/browse_thread/thread/bdc217...)

  I've create a few other costumFieldLink tiddlers and it all works
  perfectly.

  But now I want to export the meta-tiddlers and my problem is that
  their content outside of tiddlywiki is, obviously, just nonsense
  (eg   tiddler SerialLink with: TiddlerTitleA    tiddler
  SerialLink with: TiddlerTitleB    tiddler SerialLink with:
  TiddlerTitleC ).

  Is there any smart way to circumvent this (without resorting to copy/
  pase)

  Ive tried exporting the tiddlers as xml using the exportiddlerplugin
  and then running them through excel but I find that to be a rather
  messy solution.

  Should Imeshthe data from the different tiddlers using another
  technique or am i missing something export-wise?

  My end goal is individual text-documents containing the same info (and
  formatting) as the meta-tiddler display in view-mode inside
  tiddlywiki.

  Hopes this makes sense.
--~--~-~--~~~---~--~~
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] Links in custom fields

2009-10-10 Thread Jakob Graulund Jørgensen

Hi

Is there a way to format (some of the text) ive put in my custom
fields and/or create links to other tiddlers in my custom fields?

eg customField1: lorem ''//ipso//'' [[differentTiddler]]
--~--~-~--~~~---~--~~
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: Special characters

2009-10-09 Thread Jakob Graulund Jørgensen


 Your problem arises due to some very subtle Unicode vs. UTF-8
 character encoding issues related to the TW core file I/O functions
 that ImportTiddlersPlugin uses to open and read local files (using OS-
 based filesystem access) or remote files (using XMLHttpRequest).

Is there any way to bypass the problem?

I know I can load the tiddlers using CreateTidllersFromCSV but I have
748, so each time I do that it takes forever. (is there any way to
speed that up?)

Could I change me raw data-file (my csv-document) in any way so that
the importplugin dosent misinterper the characters (ive already tried
saving the csv-document as UTF-8 encoded without any succes).

Or could perhaps change all my custom fields post-import ie using the
tweakplugin or something similiar.

It is only aesthetics that I use the right characters (æ, ø and å) and
not the anglo-saxon rewrite (ae, oe and aa) but it just looks so
wrong.



--~--~-~--~~~---~--~~
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] Linking tiddlers

2009-10-09 Thread Jakob Graulund Jørgensen

Hi

Im creating a few meta-tiddlers that ara supposed to mesh the data
from several other tiddler's custom fields.

Right now im using this method:

 Create a tiddler called [[SerialLink]], containing:
 --
 /%
 !out
 [[$1|$2]]
 !end
 %/tiddler SerialLink##out with:
   {{store.getValue('$1','serialnumber')}} [[$1]]
 --
 Then, use it like this:

   tiddler SerialLink with: TiddlerTitleA

(not my own idea but Eric Shulman's suggestion to a slightly different
problem 
http://groups.google.com/group/tiddlywiki/browse_thread/thread/bdc217a8f33bb9e3/d3e269456ca93d3b#d3e269456ca93d3b)

I've create a few other costumFieldLink tiddlers and it all works
perfectly.

But now I want to export the meta-tiddlers and my problem is that
their content outside of tiddlywiki is, obviously, just nonsense
(eg   tiddler SerialLink with: TiddlerTitleAtiddler
SerialLink with: TiddlerTitleBtiddler SerialLink with:
TiddlerTitleC ).

Is there any smart way to circumvent this (without resorting to copy/
pase)

Ive tried exporting the tiddlers as xml using the exportiddlerplugin
and then running them through excel but I find that to be a rather
messy solution.

Should I mesh the data from the different tiddlers using another
technique or am i missing something export-wise?

My end goal is individual text-documents containing the same info (and
formatting) as the meta-tiddler display in view-mode inside
tiddlywiki.

Hopes this makes sense.

--~--~-~--~~~---~--~~
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] Special characters

2009-10-06 Thread Jakob Graulund Jørgensen

Hi

I am having some trouble loading tiddlers with special characters (the
Danish letters æ, ø and å).

I’m using the ImportTiddlersPlugin and the Danish letters appear as
Chinese characters after importing them.

Using the CreateTiddlersFromCSV there is no such error.

The problem is, however, that I want to use the ImportTiddlersPlugin.

So I think I need to correct the problem post-import (because I simply
don’t understand what the ImportTiddlersPlugin does to the Danish
letters).

The Danish letters appear in a custom field I’ve created called
‘names’.

So I would like an easy way to replace all of the content of the
custom field ‘names’ with the proper Danish names (using æ, ø and å)
without messing with the rest of the tiddler’s content and without
having to manually open and edit each tiddler.

--~--~-~--~~~---~--~~
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] Linking throuh custom fields

2009-10-01 Thread Jakob Graulund Jørgensen

Hi

Trying something new and cant make it work.

Lets say ive create 3 tiddlers with the tittles tiddlerTitleA
tiddlerTitleB tiddlerTitleC, if i now create a fourth tiddler overView
i can link to my 3 tiddlers by writing their names in overView. But
what if i what to link to my 3 tiddlers through a custom field ive
created e.g. the field 'serial number' ?

in overView i want to be able to click on a link called 001 ei the
serial number for tiddlerTitleA and then have the corresponding
tiddler open. Is this in any way possible?

im sorry if this dosent make any sense, but it is late and this just
popped into my mind while i was trying to sleep.
--~--~-~--~~~---~--~~
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] Trouble loading a csv-file

2009-09-27 Thread Jakob Graulund Jørgensen

Hi

I'm trying to create/load some tiddlers from a csv-file but it is not
going very smooth. It works without a hitch using the plugin
http://www.TiddlyTools.com/#CreateTiddlersFromCSV but when I try using
http://www.TiddlyTools.com/#ImportTiddlersPlugin which I reckon would
be a lot faster and easier it simply will not work.

I've tried saving my csv-file in different formats but no matter what
I do the importTiddlersPlugin can't locate a single tiddler in the
file - the only way I can get importTiddlersPlugin to import a csv-
file is to export my existing tiddlers into a csv-file using
http://www.TiddlyTools.com/#ExportTiddlersPlugin and then import it
back with importTiddlersPlugin.

If I try to copy-paste the exported csv from the file the exportplugin
creates into the csv-file excel creates, the importTiddlersPlugin
still can't locate a single tiddler in the csv-file. I'm obviously
missing something but I simply cannot figure out what.







--~--~-~--~~~---~--~~
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] Mindmaps out of individual tiddlers

2009-09-15 Thread Jakob Graulund Jørgensen

Hi

I'm trying to create mindmaps out of individual tiddlers.

I've looked at several solutions (http://www.mail-archive.com/
tiddlywiki@googlegroups.com/msg04625.html) but I dont really like the
graphics of most of these solutions.

So now i'm trying to export my tiddlers into freemind that, however,
is not going very well.

Do anybody know how to export individual tiddlers to freemind (ei
create individual mindmaps)? Or another way of creating individual
tiddlers.

jgj
--~--~-~--~~~---~--~~
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: Mindmaps out of individual tiddlers

2009-09-15 Thread Jakob Graulund Jørgensen

Mindmaps out of individual tiddlers = themselves as the the center of
the tiddlers they link to.


On Sep 15, 2:19 pm, Jakob Graulund Jørgensen jakobgraul...@gmail.com
wrote:
 Hi

 I'm trying to create mindmaps out of individual tiddlers.

 I've looked at several solutions (http://www.mail-archive.com/
 tiddlywiki@googlegroups.com/msg04625.html) but I dont really like the
 graphics of most of these solutions.

 So now i'm trying to export my tiddlers into freemind that, however,
 is not going very well.

 Do anybody know how to export individual tiddlers to freemind (ei
 create individual mindmaps)? Or another way of creating individual
 tiddlers.

 jgj
--~--~-~--~~~---~--~~
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: Opening multiple tiddlers in the edit window

2009-09-09 Thread Jakob Graulund Jørgensen

Im possibly misunderstanding what i am doing. But I basically I pasted
an endless row of
newTiddler label:1 text:ABCDEFG tag:2   tag:1 
newTiddler label:2 text:ABCDEFG tag:4   tag:3 
newTiddler label:3 text:HIJKLMNO tag:2  tag:1 
newTiddler label:4 text:HIJKLMNO tag:3  tag:2 
etc
into my master tiddler's edit window and the output was all the
tiddlers I wanted but the tags didnt seem to have registred/be active
until i had opened and closed each tiddler I had just made.

However if I understand you correctly all I had was 100+ clickable
command links, which will answer why no tags were active - they
simply hadnt been created yet.

So if your http://www.TiddlyTools.com/#ImportTiddlersPlugin actually
creates tiddlers (and not just command links) I except the problem
has been solved, which would be great.


On Sep 9, 1:06 am, Eric Shulman elsdes...@gmail.com wrote:
  I created 100+ tiddlers with the newTiddler macro and each of those
  tiddlers had 2 tags, so I was expecting about 30 tags (the tags
  overlapped) to appear in the tag section, but none did.

 Normally, the newTiddler macro creates a clickable command link
 that open a tiddler in 'edit mode'.  How is it that you created 100+
 tiddlers without editing each one and pressing 'done'?  What syntax
 are you using and how are you triggering it?

 -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] Opening multiple tiddlers in the edit window

2009-09-08 Thread Jakob Graulund Jørgensen

Hey

Is there a smart way to open multiple tidderls in their eidt windows?
And close them all again (ei press done)


--~--~-~--~~~---~--~~
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: Opening multiple tiddlers in the edit window

2009-09-08 Thread Jakob Graulund Jørgensen

Hey

It was in a bit of rush when I wrote my original questions hence the
rather summarized message. Here goes the extended version.

My problem is that im loading a lot of data from a spreadsheet in
Excel, I have coded the data using the newTiddler macro so I get a lot
of new tiddlers and a lot of new tags. The tags doesnt however seem to
be active before I have opened (meaning the edit window) and closed
each tiddler (and there is a lot of them) which is a bit problematic
since im trying to crossreference my data using the tags (and the
forEachTiddler plugin).

any ideas?

--~--~-~--~~~---~--~~
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: Opening multiple tiddlers in the edit window

2009-09-08 Thread Jakob Graulund Jørgensen

Thx for the solution

With my clumsy english I was trying to convey that I had solved the
problem of getting the spreadsheet data to become new tiddlers, with
text, titles, tags, labels, etc though your suggestion obviously has a
bit more elegance to it.
My main problem was instead that the tags of my many new tiddlers
didnt seem to be active untill each and every one of them had been
opened (e.i. the edit-window) and closed - which is why I wanted a way
of opening all tiddlers and closing them again.

Not actually having tried your solutions yet, I fear the same problem
will occur = lots of new tiddlers with tons of tags but no way of
crossreferencing the tags untill i have opened and closed all
individual tiddlers (somehow activing the tags).

I hope I am making sense this time.


On Sep 8, 9:31 pm, Eric Shulman elsdes...@gmail.com wrote:
  My problem is that im loading a lot of data from a spreadsheet in
  Excel, I have coded the data using the newTiddler macro so I get a lot

 I'm not sure what you mean by 'coded the data use the newTiddler
 macro'...

 However, you might want to try using
    http://www.TiddlyTools.com/#ImportTiddlersPlugin

 which has the capability to read CSV (comma-separated value) data
 files output by Excel (and other spreadsheet apps).  Basically, just
 create column headings in the first row of your spreadsheet, where the
 headings are the tiddler field names.  You need to have a heading
 named title, and should also have ones named text and tags.  You
 can also use 'created' and 'modified' headings to enter tiddler dates,
 and 'modifier' to enter an author name.  Any other headings will be
 used to create custom fields.  The tags field value is entered as a
 space-separated, bracketed list (i.e., same syntax as in the tiddler
 editor).

 Once you've saved the file in CSV format from Excel, you can then use
 the interactive 'control panel' provided by ImportTiddlerPlugin to
 open that file, read the CSV-formatted tiddler data, and show the list
 of tiddlers in a multi-select listbox.  Then, simply select all (or
 some) of the items in the list, and press import to create the
 tiddlers in your document with just one click!

 The following other TiddlyTools plugins also work with CSV files:

    http://www.TiddlyTools.com/#ExportTiddlersPlugin
     - select tiddlers in your document and write them to a separate
 file

    http://www.TiddlyTools.com/#LoadTiddlersPlugin
     - non-interactive macro to import tiddlers into your document

    http://www.TiddlyTools.com/#SaveAsPlugin
     - non-interactive macro to export tiddlers to a separate file

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Opening multiple tiddlers in the edit window

2009-09-08 Thread Jakob Graulund Jørgensen

I created 100+ tiddlers with the newTiddler macro and each of those
tiddlers had 2 tags, so I was expecting about 30 tags (the tags
overlapped) to appear in the tag section, but none did.
And the forEachTiddler macro couldnt help me (i wanted to
crossreference tiddler.tags.contains (X)  tiddler.tags.contains
(Y))
So i scratched my head and started opening some of the new tiddlers I
had created and each time I opened one of the new tiddlers the tag
appeared in the tag section and the forEachTiddler macro could find
them.
But since there were so many new tiddlers I didnt feel like opening
all of them, just to close them again and thats when I turned to the
internet.

I hope that account of the events makes sense


--~--~-~--~~~---~--~~
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] Multiple Tags

2009-09-04 Thread Jakob Graulund Jørgensen

Hey

I'm trying to retag a lot (+200) of tiddlers for which im using
TiddlerTweakerPlugin. My problem is that I want to give some tiddlers
mulitple tags i.e give them an extra using the plugin without losing
the original.

eg

tiddlerA, tagged x and tagged y

tiddlerB, tagged z

should both be tagged C but without losing their original tags (x,y,z)

I know I can do individually, but i want to do them all at once (since
there is so many).

any thoughts??

alternatively it would be nice to be able to tag and create multiple
tiddlers via the link-function

eg

[[tiddlerA]] ?code? tag=xyc
[[tiddlerB]] ?code? tag=zc
ect

is that in any way possible

--~--~-~--~~~---~--~~
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: Multiple Tags

2009-09-04 Thread Jakob Graulund Jørgensen

Neat, many thx

fyi

the simple macro also dawned on me

newTiddler
label:TiddlerA
title:TiddlerA
tag:x
tag:y
tag:C


newTiddler
label:TiddlerB
title:TiddlerB
tag:z
tag:C



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