Just some sample FYI TiddlyWiki code.
Working away at my BASIC Anywhere Machine: Programmer's Reference
<https://cjveniot.neocities.org/wwwBasic_reference.html>, I veered off for
a little bit to put together a standard method of linking quotes to the
bibliographic sources on the web.
Wherever I happen to quote this book, I add the following:
{{TI-99/4A BASIC Reference Manual||tBib}}
The tBib template tiddler has this:
<$vars thisSource={{{ [<currentTiddler>get[url]split[::]first[]] }}}
thisURL={{{ [<currentTiddler>get[url]split[::]last[]]
[<currentTiddler>get[url]] +[first[]] }}}>
{{!!title}}^^<a href={{{
[<thisSource>match[IA]then[https://archive.org/details/]] [<thisURL>]
+[join[]] }}} style="text-decoration:none;font-family:Times New Roman"
target="_blank"><<thisSource>></a>^^
</$vars>
The idea is to have a link right after the book title.
Since many of my references are hosted on the Internet Archive, I've
decided to avoid entering the common part of the URL's
("https://archive.org/details/"), replacing that part for each stored url
with "IA::", replacing that with the proper URL prefix when needed.
And the tiddler to display my bibliography :
<$list filter='[tag[BASIC]tag[Bib]]'>
* ''{{||tBib}}''
** Author(s): {{!!by}}
** Published: {{!!pub_date}}, {{!!publisher}}
</$list>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/94a4c056-733b-449b-a65a-48c14c4d68can%40googlegroups.com.