[racket-dev] DrRacket PF1 Search Bug?
On Fri, Nov 21, 2014 at 1:15 PM, Eli Barzilay <eli at barzilay.org> wrote:
> On Fri, Nov 21, 2014 at 10:08 AM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> No that doesn't work. You can see why if you follow the technical
>> details in the thread (and get a Mac maybe).
>
> Did you try it? -- I had read the thread, and I don't see that anyone
> did.
>
> In case you haven't, here it is in an single expression form:
>
> (let ([url "file:///Applications/Racket%20v6.1.1.5/doc/search/index.html?q=xyz"])
> (send-url/contents
> (string-append
> "<html><head><meta http-equiv=\"refresh\" content=\"0;URL="url"\"></head>"
> "<body>Please go <a href=\""url"\">here</a>.</body></html>")
> #:delete-at 15))
Oh, my apologies. I thought you meant something different.
Yes, this works.
I don't have a good idea which is the better approach now.
Robby