Jed Carty wrote:
>
> If I understand your original question this is very possible. But I am 
> getting a very different question from it than Eric, because everything he 
> said is correct about being able to determine the path to a file from the 
> browser.
>
> You can supply a file path to the browser and have it import a file, that 
> is no problem. The problem is getting the file path from a supplied file, 
> not getting a file from a supplied file path.
>
> *So if you are saying that there is some file 
> '/home/me/tiddlywiki/**something.json' 
> and it's location is both known and won't change and I want to import it, 
> there is nothing preventing the browser from doing that.*
>

That is exactly it. It won't change. The JSON files are in one directory 
with invariable addresses. 

FYI, the purpose is in Bob, to complement internalFetch, editions & plugins 
with highly-specific JSON imports. I prefer JSON as it will also work with 
singular wiki--so I don't need to maintain two systems. 

All I want to do is understand how to, on button click, invoke those JSON 
imports, if possible

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3d56d324-c4fd-40e7-9ef5-43be4af8d8df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to