How do you add the url into the dataset?
I'd like to add the url of the page that I'm scraping into the datarecord of my detail page. This way when the scrape is complete I can easily process each data record within a data set and place details into an ADO Recordset in an external ASP script. Alternatively - perhaps you can show us how to do it with Tutorial 3 or at least combine PRODUCTID scraped on "Search results" page with TITLE ... on Details page
Thanks,
RF
How do you add the url into the dataset?
RF,
To add the URL of a details page into a dataRecord object is a simple matter, but it necessitates the use of a script. A simple example which would be associated with an extractor pattern "After each pattern application" would look something like this in Interpreted Java.
dataRecord.put("URL", scrapeableFile.getCurrentURL());
The method calle getCurrentURL is a method in the scrapeableFile object which will get you the current URL that you are at. I hope this is what you were asking for, if not be sure to reply.
Brent
[email protected]