Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BAM: Horizontal Marquis app: using it as a "service" with custom messages
#5
Here's an example of a dynamically generated URL for the "service".

In https://tiddlywiki.com/, create a new tiddler (press that "+" button in the sidebar on the right.)

In the body of the "New Tiddler" (where it says "Type the text for this tiddler"), paste the following and then click on the save button (the checkmark at the top-right position of the tiddler):


Code: (Select All)
<iframe src={{{ [[https://basicanywheremachine.neocities.org/Test/Horizontal%20Marquis.prod.run.html?text=]addsuffix{$:/SiteTitle}addsuffix[  ]addsuffix<now>] }}} style="width:100%;height:250px">
</iframe>

The stuff in between the triple-curly-brackets is TiddlyWiki scripting.
It takes the URL, which already has the "?text=" part of the query string, and appends the title of the TiddlyWiki instance and the current time and date to the URL.

{$:/SiteTitle} gets the site title.

<now> gets the current date and time in the default format.
Reply


Messages In This Thread
RE: BAM: Horizontal Marquis app: using it as a "service" with custom messages - by CharlieJV - 06-17-2023, 07:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  BAM Draw CharlieJV 9 1,978 11-07-2023, 10:27 PM
Last Post: James D Jarvis
  BAM programs as "web services": The Pie Chart Service CharlieJV 0 429 09-08-2023, 04:06 AM
Last Post: CharlieJV
  BAM: New version CharlieJV 0 487 06-29-2023, 02:22 AM
Last Post: CharlieJV
  BAM App Personalizer (a GUI to personalize BAM programs) CharlieJV 0 476 01-06-2023, 03:48 AM
Last Post: CharlieJV
  BAM FIX: disappearing BAM menu bar on mobile web browsers CharlieJV 0 473 12-11-2022, 07:00 PM
Last Post: CharlieJV

Forum Jump:


Users browsing this thread: 1 Guest(s)