What control do we have over a TW *via the browsers URL field?*

For example, you might know that it is possible to use a filter directly in 
the (browser) url to control which tiddlers show up, for instance;

http://tiddlywiki.com/#:[tag[About]]  or 
http://tiddlywiki.com/#:[has[plugin-type]]

Regarding that second example, filtering out plugins, it so happens that 
it's a very big first tiddler but there really is a listing of all plugins 
as separate tiddlres below it. For a more (humanly) informative 
presentation, we can expand the filter to be;

http://tiddlywiki.com/#:[has[plugin-type]get[description]]
 
...which shows several tiddlers titled as the description of the plugins 
they originate from. 

Now, as you note, those descriptions are really presented as "missing 
tiddlers".

*My question is *what can be done to control this - and/or other "aspects" 
such as accessing field values, set parameters and even create tiddlers... *via 
the URL*? 

In the above example, I might want to present the result in a single 
tiddler and with the plugin title followed by its description.

And, if you haven't seen it, you can do pretty darn amazing stuff by just 
using the URL field. For instance, merely copy-paste this into the URL 
field;

(A little plead though; these examples are really cool *per se* but please 
don't let comments regarding them hijack the thread.)


data:text/html, <div contenteditable style="width:500px; height:500px; 
border:1px dashed #CCC">


or how about an instant code editor?


a:text/html, <style>#editor { position: absolute; top: 0; right: 0; bottom: 0; 
left: 0; }</style><div id="editor"> function foo(items) { var x = "All this is 
syntax highlighted"; return x; } </div> <script 
src="http://ajaxorg.github.io/ace-builds/src-min/ace.js"; type="text/javascript" 
charset="utf-8"></script> <script> var editor = ace.edit("editor"); 
editor.getSession().setUseWorker(false); editor.setTheme("ace/theme/monokai"); 
editor.getSession().setMode("ace/mode/javascript"); </script>



Source <http://snippetrepo.com/snippets/one-line-browser-notepad>.


Is it possible to combine a regular TW permalink with a command like that, 
straight in the browser url?

Is it possible to "pull out" field values in the TW and present them in an 
temporarily created tiddler at the appearing site? And other types of 
queries?

Is it possilbe to overwrite data as it is being displayed? For instnace, 
can I set my own style for background color for when I load at 
tiddlywiki.com?

...

<:-)


*Possibly relevant links*

Maybe one can pass json values directly in the URL to create a tiddler?
http://stackoverflow.com/questions/8075849/is-it-possible-to-pass-json-format-in-browsers-url-address-bar-get-method

Dropbox describing how to include json in URLs
https://blogs.dropbox.com/developers/2015/03/json-in-urls/

Setting queries (yes?) via URL, but I think for a specific service (or?)
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/73/142b2a79fb4884a4b4e87fa88f4115/frameset.htm

maybe somehow relevant
https://www.npmjs.com/package/js2uri


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9612d050-220d-4590-a7c6-3f1d8b47e4dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to