load URL in LCB

Moderators: LCMark, LCfraser

load URL in LCB

Postby [-hh] » Wed Sep 13, 2017 9:16 pm

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.
shiftLock happens
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Livecode Membership
 
Posts: 1488
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: load URL in LCB

Postby livecodeali » Thu Sep 14, 2017 10:57 am

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.
livecodeali
Livecode Staff Member
Livecode Staff Member
 
Posts: 117
Joined: Thu Apr 18, 2013 2:48 pm


Return to LiveCode Builder

Who is online

Users browsing this forum: No registered users and 2 guests