If one wants to save on screen real estate, that one tiddler could include all sorts of links to external content.
For example: <option value="https://calendar.google.com/calendar/embed?height=600&wkst=1&bgcolor=%23ffffff&ctz=America%2FHalifax&showNav=1&showPrint=1&showTabs=1&showCalendars=1&mode=MONTH">Calendar</option> On Saturday, April 24, 2021 at 11:05:10 AM UTC-3 Charlie Veniot wrote: > Screenshot for the $hit$ and the giggle$: > > [image: Screenshot 2021-04-24 11.02.24 AM - Display 1.png] > > On Saturday, April 24, 2021 at 11:00:26 AM UTC-3 Charlie Veniot wrote: > >> My revised version uses Wikipedia's "mobile" view , which looks really >> nice in a narrow sidebar: >> >> \define AddTiddlyWikiTopic( topic ) >> <option value={{{ [[$topic$]split[ ]join[%2520]addprefix[ >> https://tiddlywiki.com/static/]addsuffix[.html]] }}}>$topic$</option> >> \end >> >> \define AddWikipediaTopic( topic ) >> <option value={{{ [[$topic$]encodeuri[]addprefix[ >> https://en.m.wikipedia.org/w/index.php?title=]addsuffix[&mobileaction=toggle_view_mobile]] >> >> }}}>$topic$</option> >> \end >> >> <$select tiddler={{Docs!!title}} field="curr-topic"> >> <optgroup label="TiddlyWiki"> >> <<AddTiddlyWikiTopic "Custom styles by data-tiddler-title">> >> <<AddTiddlyWikiTopic "Widgets">> >> <<AddTiddlyWikiTopic "Filter Operators">> >> </optgroup> >> <optgroup label="Wikipedia"> >> <<AddWikipediaTopic "TiddlyWiki">> >> <<AddWikipediaTopic "WikiWikiWeb">> >> <<AddWikipediaTopic "Project Xanadu">> >> </optgroup> >> </$select> <a href={{Docs!!curr-topic}} title="Open web page >> in a separate window/tab" target="_blank">link</a> >> <iframe src={{Docs!!curr-topic}} height="500" width="100%"></iframe> >> >> >> On Saturday, April 24, 2021 at 10:49:48 AM UTC-3 ludwa6 wrote: >> >>> Thanks @Eric : it does indeed work nicely -only not in the sidebar; >>> after the streamlining you've done on Charlie's script, that functionality >>> seems to have been compromised. >>> @Hans: Have you implemented Eric's script without modification, and does >>> it display & function correctly in your sidebar? >>> >>> Anyway: Without really understanding the code, i'm now using Eric's >>> macro definition line at the top, followed by Charlie's UI-related code, >>> and that seems to work pretty well, tho the sidebar view doesn't flow so >>> well if it's set too narrow; i can certainly live w/ this -happy! /w >>> >>> 8<------(snip)----->8 >>> >>> \define AddTopic(topic) <option value={{{ [[$topic$]encodeuri[]addprefix[ >>> https://en.wikipedia.org/wiki/]] }}}>$topic$</option> >>> >>> <$select tiddler={{Wikipedia!!title}} field="curr-topic"> >>> <!--🔴 AddTopic takes as input tiddler titles from wikipedia.org and >>> creates a link to same tiddler at the static site. >>> Add/modify/remove items as per the following three examples >>> Order the topics as per your preferences >>> Add "optgroup elements to group entries" --> >>> <<AddTopic "TiddlyWiki">> >>> <<AddTopic "WikiWikiWeb">> >>> <<AddTopic "Project_Xanadu">> >>> </$select> <a href={{Wikipedia!!curr-topic}} title="Open web >>> page in a separate window/tab" target="_blank">link</a> >>> <iframe src={{Wikipedia!!curr-topic}} height="500" >>> width="100%"></iframe> >>> >>> 8<------(snip)----->8 >>> On Saturday, April 24, 2021 at 2:07:33 PM UTC+1 hww...@gmail.com wrote: >>> >>>> @Eric: Thanbk you. >>>> This works nicely and is, of course, quite extensible to sites like >>>> TiddlyWikiLinks. >>>> >>>> Cheers, >>>> Hans >>>> >>>> On Saturday, April 24, 2021 at 8:30:04 AM UTC-4 Eric Shulman wrote: >>>> >>>>> On Saturday, April 24, 2021 at 3:16:22 AM UTC-7 ludwa6 wrote: >>>>> >>>>>> PS to my last: have fixed part of the problem: by adding the suffix >>>>>> clause back into macro (as below), it now pulls not a system-level error >>>>>> msg, but the error msg from wikipedia.org site itself, which seems >>>>>> to be objecting to the .html extension only... yet i can't find a way to >>>>>> remove that w/o reverting to the lower-level error msg. Any insight >>>>>> about >>>>>> this problem would be appreciated! >>>>> >>>>> >>>>> Try this in a tiddler named "ShowWikipediaFrame": >>>>> \define AddTopic(topic) <option value={{{ >>>>> [[$topic$]encodeuri[]addprefix[https://en.wikipedia.org/wiki/]] >>>>> }}}>$topic$</option> >>>>> >>>>> <$select field="curr-topic"> >>>>> <<AddTopic "TiddlyWiki">> >>>>> <<AddTopic "WikiWikiWeb">> >>>>> <<AddTopic "Project Xanadu">> >>>>> </$select> <a href={{!!curr-topic}} title="Open web page in >>>>> a separate window/tab" target="_blank">link</a> >>>>> <iframe src={{!!curr-topic}} height="500" width="100%"></iframe> >>>>> >>>>> Notes: >>>>> * The filter in AddTopic needed a closing "]]". Also, the filter >>>>> uses "encodeuri[]" rather than "split[ ]join[%2520]". This handles all >>>>> special URI characters, not just space. >>>>> * The target tiddler for storing the $select widget value is the *current >>>>> tiddler*, rather than "Wikipedia" (or {{Wikipedia!!title}}) and the >>>>> corresponding <a href=...> and <iframe src=...> params simply fetch >>>>> {{!!curr-topic}} (i.e., from the current tiddler). This allows you >>>>> transclude the above content as a template (e.g., >>>>> {{||ShowWikipediaFrame}}) and each transcluded instance can be used >>>>> to show a different selected topic. >>>>> >>>>> enjoy, >>>>> -e >>>>> >>>> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/74056925-92b5-436e-a45f-01a03e45d1ean%40googlegroups.com.