A method for parsing purchase information from code in a Web page. The
method includes detecting at least one known product keyword and at least
one product data string following that product keyword and being
associated with that product keyword. The product data string can be a
descriptor for the product keyword for one product in the purchase. The
method also includes detecting at least one known transaction keyword and
at least one transaction data string following that transaction keyword
and being associated with that transaction keyword, the transaction data
string being a descriptor for the transaction keyword. The data type of
the descriptors can be checked to determine if they are of the same type
as the corresponding product or transaction keyword. These processes can
be repeated for all of the data strings in the HTML page, and this
detected purchase information can be placed into an organized form.