ICONICO

Discussion Thread

Data Extractor

Message Thread

For WindowsData Extractor

Extract any data, including email addresses and URLs from your files and webpages.

Posted in the Data Extractor Forum.




URL Output Does Not Display with URL Input

When I try to extract URLs from websites with Data Extractor 3.1, the Results list the URLs found for the websites, but do not list the URL inputs. For example: The Results should show the URL input in column "A" and the URLs found in column "B". Without the input information displayed, you just have a list of URLs found which is of little value. Does anyone have any suggestions how I can get the URL output to relate to the URL input?
by Phil on Feb 17 2007 3:36pm Reply

URL Output Does Not Display with URL Input

You can add in additional columns into the results for WebPage based scripts. Choose 'Edit Script Details' from the second tab and add in the following lines at the top:

DataExtractor.SetColumns(2);
DataExtractor.AddHeader(2, 'Page URL');

This will add in an additional column in the results view.

Then within the loop, for each rule there will be a line that includes a "DataExtractor.AddResult" command. After that line add in the following line:

DataExtractor.AddResult(2, document.location.href);

This will instruct Data Extractor to place the current page URL into the second column.

This method should work on a wide variety of rules.
by Nico Westerdale on Feb 19 2007 6:55am Reply

URL Output Does Not Display with URL Input

This solution worked perfectly. Awesome!!! Thanks!
by Phil on Feb 21 2007 6:38am Reply

Our Software Stores

IconicoAccurate Design and Development Software

BitsDuJourDiscount Deal Coupons for Windows and Mac Software Apps

Our Software Services

SoftwareMarketingResourceYou Wrote the Code, Now How do you Sell it?

IcoBlogOur Official Blog

© copyright 2004-2019 Iconico, Inc. Code & Design. All Rights Reserved. Terms & Conditions Privacy Policy Terms of Use