[REBOL] Re: 'parse-url - where defined?
From: allenk:powerup:au at: 31-Jan-2001 6:57
Hi Anton, Elan, Nenad,
That particular parse-url is in the system/view/vid object. read-via is also
in the same object. (it is not the same as the one in net-utils, though it
does call that one)
>> f: get in system/view/vid 'parse-url
>> source f
f: func [url /local purl][
net-utils/url-parser/parse-url
purl: context [user: pass: host: port-id: path: target: none] url
if all [purl/target purl/host] [purl]
]
To explore Vid a bit more you can print it to a file.
echo %vid.txt
probe system/view/vid
echo none
;Happy reading!
Cheers,
Allen K