NavigationUser loginscreen-scraper.com welcomes...
Currently online
There are currently 0 users and 1 guest online.
|
Tutorial 5: Page 2: Tutorial Details
There are a number of ways to insert scraped data into a database, which we outline in this FAQ. Take a minute now to look through that. We'll be giving an example of the last option mentioned, which is one of the easier methods to implement. If you're using the Enterprise Edition of screen-scraper, you should be aware of screen-scraper's ability to handle scraped data in real time (available only in the Enterprise Edition). As of right now, this has been implemented in the Java and PHP drivers for screen-scraper. If you're running the Enterprise Edition, and want to interact with screen-scraper using either of those languages, read over the "Handling Scraped Data in Real Time" section of either our Invoking screen-scraper from Java or Invoking screen-scraper from PHP pages for details on this. The current tutorial doesn't cover this approach, but it's quite a bit easier and cleaner to implement than the method that will be described here. Later on we'll likely create a tutorial for Enterprise Edition users that makes use of this approach. The basic idea in this tutorial is that we'll have a special scrapeable file that will POST data to a PHP file, which will handle inserting the data into a database. The flow of events will look like this:
We'll start by modifying our existing "Shopping Site" scraping session a bit, adding to it the scrapeable file that will POST the data to our PHP file.
|
SearchNew Video!Tags Throughout this Site |
Recent comments
1 hour 39 min ago
1 hour 46 min ago
3 hours 52 min ago
23 hours 18 min ago
23 hours 34 min ago
1 day 23 min ago
1 day 31 min ago
1 day 41 min ago
1 day 51 min ago
2 days 21 hours ago