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 scrubyt http://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?