Languages ASP / VbScript Data Structures  

Simple XML Stock Scraper Class

download download  
important code information
author:
Pete Clark
minimum requirements:
Simple XML Stock Scraper Class description

The code provided is an example of a VBScript class that submits stocks symbols to Yahoo's finance site, parses the returning CSV file, and converts the information into an XML document object. The main difference between this code and other stock scrapers is that this code does not pull information from the HTML presented by Yahoo, but instead uses a service available which returns the stock information as a comma seperated value (CSV) file. The advantage of this is that the code won't break when Yahoo changes thier HTML. The code assumes you are familiar with the XML DOM and XSL stylesheets. The example provided uses an XSL stylesheet for presentation, but other methods could be used. The XML objects used in the code assume that MSXML 3.0 or greater is installed on the machine. However, the code could be modified simply to account for older/other parsers. The only other requirement of the code is that Yahoo's financial site is responding correctly, which is almost always the case.


File List:
@PSC_ReadMe_6958_4.txt1Kb
SimpleXMLStockScraper.asp1Kb
SimpleXMLStockScraper.xsl1Kb
SimpleXMLStockScraperClass.asp3Kb

Similar code
Phone Number Conversion (Popularity: ) : This class is used to interpret phone numbers to and from a database in a specific format. The format is ...
Winamp Song in ASP (Popularity: ) : This utility will save the current song, total tracks in winamp & total tracks recorded in the database to include ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 77
version
size in Kb 3
popularity   587/5827733
user rating 0/10
ad


New Code
Popular Code