It is possible to grab HTML information from other domains as well, but in this case you need a server-side application (written in php, asp...) which receives the AJAX request, sends it to another server, gets the response and sends it back to the AJAX object.
Is there any tutorial related to this ( Ajax and php )? I asked this question in the php section but I think my post got deleted without me getting any further.
I found myself a ready-made php application for that on doing a simply google (I wanted not to reinvent the wheel)... I can not give you the link towards right now, as I am home, not at the office, but gimme a PM to remind me, and I might point you to that. Fell free to google yourself for, but you must know the basis of php to work with...
I asked this question in the php section but I think my post got deleted without me getting any further.
Actually you posted it here in the same forum, and it got deleted as an obvious dupe, seeing two threads right next to each other with the same subject and similar contents tends to make me do that.
Actually you posted it here in the same forum, and it got deleted as an obvious dupe, seeing two threads right next to each other with the same subject and similar contents tends to make me do that.
It wasn't intentional. I posted in the php section. I read the answer in my email. But when I clicked the link it wasn't there. But fortunately I had a tab already open. So I copied from that content and pasted it the the AJAX section.
Screen scraping is not very nice thing to do....You should get permission before taking someone else's content and causing extra load on their servers....
Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
I want to use it from my own pages. I give myself the permission.
If it is from your own pages, than why don;t you build yourself a JSON servoce or a web service to get the info. There is no need to scrape a page when you own the code.
Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
If it is from your own pages, than why don;t you build yourself a JSON servoce or a web service to get the info. There is no need to scrape a page when you own the code.
Eric
JSON? Is that what it's called? Ok I'll look into it. Thanks.
Ok I looked into JSON. From what I've seen JSON isn't what I'm looking for. My intention of grabbing information from one source to the next is from my own domain is to populate them in a database. I have a 700 paged ebook converted to html. So I want to grab all the div tags automatically instead of me doing things manually. DO you understand what I'm saying?