|
Pages: [1]
|
 |
|
Author
|
Topic: load function error retrieving URL...... (Read 457 times)
|
|
jfdutcher
|
I have a script that contains the following line: NGWebsite: load/all http://lava.nationalgeographic.com/cgi-bin/pod/enlarge.cgiUpon execution using either 'load' or 'load/all' one gets this same error below. How does the 'content' of the web page (<title>South Africa, ...) come to interfere with the load execution ?? ** Syntax Error: Invalid word -- Africa, ** Near: (line 35) <title>South Africa, Lioness at Borehole, 1996, Photo of the Day,
|
|
|
|
|
Logged
|
|
|
|
|
henrikmk
|
Because "Africa," contains a comma and commas in words are not allowed.
|
|
|
|
|
Logged
|
|
|
|
|
Gabriele
|
I guess you want READ, not LOAD.
|
|
|
|
|
Logged
|
|
|
|
|
btiffin
|
Along with read, you maight also try load/markup. It quotes the information between tags, but requires different access tactics as the structure is a little deeper. Do a few google searches, I think there are REBOL scripts that purport easier tag splitting, but usually from the XML perspective. Then again Henrik is right, you'll never get Africa, ... as a pure REBOL data item. It's just not a loadable value. Usually fine as a string though.
Cheers, Brian
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |
News: 01-09-08 Alpha version of REBOL 3 has been released!
|