Using LCS from LCB is fine but not really when fetching data from a server.
Is there a way to use foreign handlers in LC Builder for fetching textURLS and binaryURLs?
I have seen there is already a module com.livecode.url on github but I can't get it working here.
load URL in LCB
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
load URL in LCB
shiftLock happens
-
- Livecode Staff Member
- Posts: 192
- Joined: Thu Apr 18, 2013 2:48 pm
Re: load URL in LCB
That module was only for local file and binfile urls, but we never ended up hooking it up and including it - mainly because all the file handling was tied to the engine at that point and LCB (in general) needs to be able to run without the core engine. It would probably be possible now that we have a low-level system file API in libfoundation.
The situation would be even worse for fetching data from a server, unfortunately - as ultimately get url and friends are implemented in the libUrl script library and there is no actual engine implementation on non-server desktop platforms.
Once we have code blob support it might be possible to move something like tsNet to an lcb module but that's probably a little way off.
In short, no I'm afraid it is not possible yet.
The situation would be even worse for fetching data from a server, unfortunately - as ultimately get url and friends are implemented in the libUrl script library and there is no actual engine implementation on non-server desktop platforms.
Once we have code blob support it might be possible to move something like tsNet to an lcb module but that's probably a little way off.
In short, no I'm afraid it is not possible yet.