Hello,

I am attempting to create a contacts database that automatically creates a 
"google maps search" to an address. (This is so that when on my mobile 
device, I can look up a name and simply click an address to get directions 
to that persons house.

To do this I use the following example:

http://maps.google.com/?q=the white house

I have 2 fields within my Tiddlers contact form:

Field 1: Google Maps Link: 

http://maps.google.com/?q=

Field 2: address (in my contacts db):

the white house

I think what I am trying to do has already been solved here 
<https://groups.google.com/forum/#!topic/tiddlywiki/s39BsTKvazk>, but I 
don't understand it fully.

In my simple TW5 knowledge I am trying to accomplish this:

[ext[{{!!googlemapslink}}+{{!!address}}]]

but I know this doesn't work due to how the transclusion works. I have also 
tried to \define my field as a variable and insert it like this:

Where field: {{!!addgmap}} = {{!!googlemapslink}}{{!!address}}
\define mymacro()
<$set name="result" value={{!!addgmap}}>
<<result>>
</$set>
\end

<a href=<<mymacro>>>Test </a>

<<mymacro>>


And it successfully creates a link, but the link points something like 
this: 
MYSERVERIP/<$set%20name="result"%20value=%7B%7B!!addgmap%7D%7D><<result>></$set>

I am quite new to this language, and generally just manipulate others code 
to work for my purposes, but this is the first time I've attempted to build 
something myself and I am failing lol.

Thanks in advance for your help,

Anthony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6537ced-392b-4ca8-b9b7-0a8b22421d87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to