I am doing a NEWS site project in PHP and for this project I want to fetch content from other NEWS sites using jQuery/JavaScript. Is there any functions in jQuery which scrape content from other domain names?
And also I don’t want to use huge server CPU, since it is a college server. Does using jQuery for scrapping content use huge CPU?
In Stack Overflow I read about jQuery.get() function, is it ok to use this function to scrape content from other sites?
Using Cross-Domain-Ajax JQuery Plugin you can do it like this:
they’re hijacking the ajax method to use YQL to grab the html and return it as JSON, then use that as a string to scrape the data. check out the Jquery Cross-domain Ajax Guide for more info.