C# Class webParser, CSE110M240T10

Inheritance: MonoBehaviour
Mostra file Open project: ucsdCSE110wi16/CSE110M240T10 Class Usage Examples

Public Properties

Property Type Description
Instance webParser,
func recipeLoaded

Public Methods

Method Description
Awake ( ) : void
getURLBase ( string url ) : string
parse ( string url, recipeLoaded func ) : void

Private Methods

Method Description
callback ( string url, string html ) : void
getBody ( string html ) : string
getElementsByAttr ( string html, string divType, string attr, string val ) : List
getElementsByTag ( string html, string tag ) : List
parseAlbertsons ( string html ) : recipe,
parseAllRecipes ( string html ) : recipe,
parseChatelaine ( string html ) : recipe,
parseCookstr ( string html ) : recipe,
parseDelish ( string html ) : recipe,
parseEatingWell ( string html ) : recipe,
parseEpicurious ( string html ) : recipe,
parseFoodDotCom ( string html ) : recipe,
parseFoodNetwork ( string html ) : recipe,
parseMartha ( string html ) : recipe,
parseMyRecipes ( string html ) : recipe,
parseOprah ( string html ) : recipe,
parseRachaelRay ( string html ) : recipe,
parseTheKitchn ( string html ) : recipe,
parseWegmans ( string html ) : recipe,
removeBlock ( string html, string removeOpen, string removeClose ) : string
removeNewline ( string html ) : string
removeScript ( string html ) : string
removeTags ( string html ) : string

Method Details

Awake() public method

public Awake ( ) : void
return void

getURLBase() public static method

public static getURLBase ( string url ) : string
url string
return string

parse() public method

public parse ( string url, recipeLoaded func ) : void
url string
func recipeLoaded
return void

Property Details

Instance public_oe static_oe property

public static webParser, Instance
return webParser,

func public_oe property

public recipeLoaded func
return recipeLoaded