jeffheaton's picture

    The following functions and methods were used as parts of recipes. These functions and methods would be useful in other classes and programs. Table C.1 summarizes them.

Table C.1: Reusable Functions and Methods

Method/Function Introduced in Recipe Purpose
DownloadPage Recipe 3.1 Download a URL into a string.
Extract Recipe 3.2 Extract a string from a page bounded by two substrings.
SaveBinaryPage Recipe 3.4 Save a downloaded page as binary.
DownloadText Recipe 3.5 Download a page as text.
ExtractNoCase Recipe 4.2 Extract a string from a page bounded by two case-insensitive substrings.
DownloadText Recipe 4.3 Download a text page and covert line endings to match the Operating System.
DownloadBinary Recipe 4.3 Download a binary page.
Advance Recipe 6.1 Advance the HTML parser to a specified tag.
GetXMLNode Recipe 10.2 Extract an XML node.
GetXMLAttribute Recipe 10.2 Extract an XML attribute.

Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.