Hi Tony Sadly browser security restrictions mess everything up. Pages hosting an iframe, img, object or embed that references a remote resource cannot access the resource itself in any way, they can only manipulate the container that is used to display them.
The exception that we take advantage of for the plugin library is that pages hosting iframes can exchange pre-arranged messages via the window.postMessage API. It’s that mechanism that allows a TW hosted on your desktop to directly access resources hosted on a remote resource. The root cause here is the “same origin policy” restrictions. You can read more here: https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy Best wishes Jeremy. > On 8 Mar 2019, at 01:02, TonyM <[email protected]> wrote: > > Folks, > > Accessing result of html embed in TiddlyWiki > With the advent of HTML5 there is the embed tag > https://www.w3schools.com/tags/tag_embed.asp > I can use this and reference a file in the local directory to my single File > Tiddlywiki. CSS Text and JSON can be included and can be subsequently > transcluded. > I can see the content of the file rendered in front of my eyes > However I have not yet being able to find a way to wikify the content, or > query a json tiddler so referenced contents. > Eg > <embed src="Home.txt" style="Width: 100%;"> > > <embed src="testjson.json" style="Width: 100%;"> > > > Can anyone give me some tips on how to make use of such data? > > This is in an attempt to interrogate the contents of a file in the wikis > current folder to see if that file is "Checked out" > > SImilarly > I want to find a method to write to such a file, > to checkout or check in. The assumption is the user must have read/write > access but also check it out to themself before being permitted to save. > > Regards > Tony > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/7801451f-c965-4436-a624-f9be79fc9061%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/7801451f-c965-4436-a624-f9be79fc9061%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/94569866-E27C-411A-8DEC-C3B06EC1AF32%40gmail.com. For more options, visit https://groups.google.com/d/optout.

