Well, I've been programming ever since receiving a Commodore Vic-20 almost
40 years ago at the age of 13, and I am at my best (I think; definitely
having the most fun) dealing with complex and highly intertwingled
information/problems and architecting solutions with the tools at hand.

So the answer to "how do you come up with such a thing" would be, in short:
I bring 40 years of experience/skill/practices to the thing.

The long answer should probably involve a bunch of short and digestible
videos on specific little things that subconsciously (i.e. without
necessarily spelling it out) demonstrate things that are instinctive to me
which might lead to questions requiring other topical video demonstrations.

How about a quick and dirty demo of macro basics ?



On Sat, Apr 24, 2021 at 2:43 PM Ray Vermey <[email protected]> wrote:

> @charlie Veniot:
>
> Well the screenshot shows an oversight of TW documentation i guess?
> My 1st question would be: How do you make such a thing?
> And more importantly: where do i learn the basic commands for this?
> Yes i can look into the code of the wiki but that code only says about say
> 50% something to me.
> So i miss the information on how to program....
>
> Thanks for your friendly answer.
>
> Ray
>
> Op za 24 apr. 2021 om 17:32 schreef Charlie Veniot <[email protected]>:
>
>> Hey, my "gigle" stuff would be impossible to share.  It might leave most
>> folk quite scared.
>>
>> The Google stuff:  Add a Google calendar to your website
>> <https://support.google.com/calendar/answer/41207?hl=en>
>>
>>    - in my example, I excluded all of my calendars (private, shared, and
>>    public)
>>    - you can pick and choose which of your calendars to include
>>       - if your website is public, nobody but you will see your private
>>       stuff, and shared stuff will only be visible to you and the specific 
>> gmail
>>       users you've selected; the rest of the world will only see the public 
>> stuff
>>
>> As for the TiddlyWiki code, that I learned by digging into
>> TiddlyWiki.com, and hacking away at things to understand them.
>>
>> Maybe we can peck away at the code chunk by chunk to explain what is
>> going on.
>>
>> What is the first thing you would like to know about ?
>>
>>
>> On Saturday, April 24, 2021 at 12:00:30 PM UTC-3 [email protected] wrote:
>>
>>> Charlie where can i find the gigle stuff you just showed?
>>> Looks awesome.
>>>
>>> Are there tutorials somewhere to learn to understand the code uses?
>>> I copy and paste the code in a tiddler, i see the result, but understand
>>> half of the code used.
>>> Do you know where i can learn to understand this stuff?
>>>
>>> This stuff i mean:
>>>
>>> \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.wikipedia.org/wiki/]] }}}>$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>&nbsp;&nbsp;<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>
>>>
>>> Thanks
>>>
>>> Ray
>>>
>>> Op za 24 apr. 2021 om 16:05 schreef Charlie Veniot <[email protected]>:
>>>
>>>> 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>&nbsp;&nbsp;<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>&nbsp;&nbsp;<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 [email protected]
>>>>>> 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>&nbsp;&nbsp;<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 [email protected].
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/tiddlywiki/88893ef2-687f-4ace-96cd-ab70d4a68e64n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/tiddlywiki/88893ef2-687f-4ace-96cd-ab70d4a68e64n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> 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/629a5d38-2b6e-4074-8756-84af746aae86n%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/629a5d38-2b6e-4074-8756-84af746aae86n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/opZn6isIZQ8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9B2UaF8bO8z0T_e9rtwzLyZLAe37-CyoA4jWWHXcpK4dQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9B2UaF8bO8z0T_e9rtwzLyZLAe37-CyoA4jWWHXcpK4dQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMu8EfPr74g3QLn2O0K5zxSWHr5eDsUzAXuUJK5x3do%3DUiUt-g%40mail.gmail.com.

Reply via email to