Ralph wrote:
> Trying to do a simple search on eBAY where:
> a: read/lines
> http://search-desc.ebay.com/search/search.dll?MfcISAPICommand=GetResult&Sort
> Property=MetaEndSort&ht=1&query=%22Mike+Resnick%22&srchdesc=y
>
> then I can parse out the info I want, but I get ** User Error: URL error in
> REBOL.
If you do it this way, it will work:
a: read/lines to-url
"http://search-desc.ebay.com/search/search.dll?MfcISAPICommand=GetResult&SortProperty=MetaEndSort&ht=1&query=%22Mike+Resnick%22&srchdesc=y"
Specifying the URL with the %22 is causing REBOL to choke... it's
being un-escaped prior to calling the read (see your error message
output to verify this has occurred), but not being re-escaped during
the read. Putting it in quotes and doing a to-url circumvents the
problem.
This should probably be reported to [EMAIL PROTECTED] as a bug;
anyone know if it already has been?
Cheers,
Kev
------------------------------------------------------------------------
Kevin McKinnon, Network Engineer [EMAIL PROTECTED]
Sunshine Communications http://www.sunshinecable.com
PGP Public Key: http://www.dockmaster.net/pgp.html PGP 6.0 www.pgp.com