Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

ParserYahoo Class Reference

#include <ParserYahoo.H>

Inheritance diagram for ParserYahoo:

Parser List of all members.

Public Member Functions

 ParserYahoo ()
 Constructor; initializes next URL char* to starting URL char*.
 ~ParserYahoo ()
 Destructor; no effects.
list< EventparseEvents ()
 Parses Events with default parameters.
list< EventparseEvents_t (int depthToParse, int pageDelay)
 Parses Events with given parameters.
Event parseEvent (char *url, int pageDelay)
 Parses a particular Event from a given URL.

Detailed Description

Parser for Yahoo. Parses events returned by queries to Yahoo Local. extends Parser


Member Function Documentation

Event ParserYahoo::parseEvent char *  url,
int  pageDelay
 

Parses a particular Event from a given URL.

This will fill the Event's Title, Location, Street, State, City, Zip, Url, Categories, and sometimes Description.

Parameters:
url The string representation of the URL containing an Event from Yahoo Local.
pageDelay The number of seconds to wait before opening (or reopening, in the case of failure) this page.
Returns:
The Event given by the url string provided.

list< Event > ParserYahoo::parseEvents  )  [virtual]
 

Parses Events with default parameters.

Overrides parseEvents in Parser

Returns:
A list of Events found from Yahoo Local.

Implements Parser.

list< Event > ParserYahoo::parseEvents_t int  depthToParse,
int  pageDelay
[virtual]
 

Parses Events with given parameters.

Overrides parseEvents in Parser

Parameters:
depthToParse The number of Main-Results pages to parse. Each main-result page contains 10 Events.
pageDelay The number of seconds to pause between wget executions.
Returns:
A list of Events found from Yahoo Local.

Implements Parser.


The documentation for this class was generated from the following files:
Generated on Wed May 17 22:28:21 2006 for GeoEvents by  doxygen 1.4.2