Technical Question: Copy result to clipboard or another tiddler

57 views
Skip to first unread message

TonyM

unread,
Jun 20, 2019, 11:51:08 PM6/20/19
to TiddlyWiki
Folks,

Can anyone tell me how to capture the result of a rendered tiddler into the clipboard or copy it to a new tiddler? Either as rendered text or HTML

In effect I want to take a snapshot of what results rather than the wikitext that generates the result.

It seems to me this should be a simple process but I am having trouble wrapping my head around it.

Why?
  • Take the result of a complex tiddler and capture it in a "static" html tiddler, as at capture
  • Use on of the core templates to create a HTML or JSON and capture the result in another tiddler as the result.
  • Store json or html output for subsequent export, drag and drop, for example a website htmls stored within tiddlers.
  • Use the bundler plugin to generate a json file that remains in the wiki someone can drag and drop to a wiki for import.
  • Generate a key/value list and save it as a json or data tiddler.
  • Capture "as at this time date" reports or dashboard views in one wiki.

Thanks in advance.
Tony

@TiddlyTweeter

unread,
Jun 21, 2019, 2:09:04 AM6/21/19
to TiddlyWiki
Ciao TonyM

Sometime ago Mark S. did some code to capture rendered HTML. It's useful tool. I see if I can find the post about it.

Best wishes
Josiah

@TiddlyTweeter

unread,
Jun 21, 2019, 2:54:36 AM6/21/19
to TiddlyWiki

TonyM

unread,
Jun 21, 2019, 8:52:31 PM6/21/19
to TiddlyWiki
Josiah,

Thanks, This lead should allow me to solve the issue. Basically we wikify the output=html and use this as the text of a shapshot tiddler.

I thought I tried this and did not seem to get the different output types I experimented with.

I plan and option store the shapshot, and display it rather than the actual tiddlers results unless requested. Thus allowing complex tiddlers to remain static at refresh (a common occurrence) thus reducing performance demands.

I will publish back when finished.


Regards
Tony
Reply all
Reply to author
Forward
0 new messages