2007/4/3, Shaun Kester <[EMAIL PROTECTED]>:

Thank you Robert and Richard for your responses. So far I don't know
enough about Ruby or PHP to even begin to understand how I could get
this to work on my Windows 2003 server.

I got a glimmer of something interesting there though, maybe even a
business plan.

Has anybody or is anybody interested in creating a server that takes
two parameters through some process like XMLRPC, SOAP etc...,
parameter one would be a public url, parameter two would be a jQuery
selector and returns just the HTML from your selector? I'd pay for
something like that, for a bucket of 1000 requests or something. If
webmasters didn't want you crawling their site for that, I'm sure a
meta tag or robots.txt could stop it. Hmm...any thoughts or takers on
that? It sounds like these two things are almost there.


o yeah. the reallyreally special proxy server... nice idea....
 -robert

-Shaun

On Apr 2, 2:41 pm, "Robert Wagner" <[EMAIL PROTECTED]> wrote:
> 2007/4/2, Shaun Kester <[EMAIL PROTECTED]>:
>
>
>
> > Hi everyone,
>
> > I was wondering if anyone had made progress on using jQuery on the
> > server side. I'm a Visual Foxpro programmer (yeah, I know MS
> > discontinued it) and regularly pull the HTML of a page down to a file
> > or variable to process. What I'd like to to is be able to select the
> > HTML using jQuery to insert into a table.
>
> if you want to scrape data out of html files you need a good html
> parser. i doubt you find a better one then the above-quoted hpricot
> (http://code.whytheluckystiff.net/hpricot/)
>
> it supports jquery like selectors ex. p:not(.blue)
>
> on top of it there is a wow tool called scrubythttp://scrubyt.org/
> that builds xpath selections *by examples* and processes the html to
> xml output.
>
> good cause to install ruby :)
>
> -robert
>
> >I'll ask this also on the
> > VFP forums, but since it involved jQuery, thought I'd duplicate the
> > question. I've read the wikipedia link and spent hours on Google
> > searching for "server side javascript" but haven't been able find a
> > solution.
>
> > One idea I had was to download the remote HTML to a file, embed jQuery
> > in it, then have it post information about the file back to the
> > server. I'm afraid though that I don't know jQuery well enough to even
> > attempt this with a bunch of FOR loops and Ajax POSTs.
>
> > Thoughts anyone?
>
> > Thanks for your time!
> > -Shaun
>
> > On Feb 24, 3:51 am, [EMAIL PROTECTED] (howard chen) wrote:
> > > Anyone think that it would be great to usejQueryinserverside?
>
> > > such as grab html from remoteserver, and process the html elements
> > > usingjQuery,
>
> > > any idea?


Reply via email to