This version and invocation assumes you always want to use a tiddler to
define the base path:
\define fullpath() $(base)$$(timestamp)$/index.html
\define sbk(linktext,timestamp,path)
<$set name="base" value={{mypath}}>
<$set name=timestamp value="""$timestamp$""">
<$set name="path" value=<<fullpath>>>
<a href=<<path>> target="_blank">$linktext$</a>
</$set>
</$set>
</$set>
\end
<$macrocall $name="sbk" timestamp="20161006124512" linktext="test sbk
marcro"
/>
On Wednesday, November 16, 2016 at 9:20:11 AM UTC-8, stevesuny wrote:
>
> I'm back, same macro, different question.
>
> Here is my code, that works:
>
> \define sbk(linktext,timestamp)
> <$set name="path" value="
> https://designwritestudio.github.io/resources/sbk/data/$timestamp$/index.html
> ">
> <a href=<<path>> target="_blank">$linktext$</a>
> </$set>
> \end
>
> How do I replace the portion of <<path>> that contains "
> https://designwritestudio.github.io/resources/sbk/data/" with a
> transcluded tiddler whose text field contains that value?
>
> Thanks!
>
> //steve.
>
>
>
>>
--
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/1a65587e-570f-4101-886b-d03e949563d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.