Method | Description | |
---|---|---|
Article ( string url, bool useHtml = false ) : |
Parse out an article by URL and return a strongly typed object
|
|
ArticleGetPreview ( |
Gets a basic 300 word preview for this article, or if this is a video, returns the proper embed tag for the video contents
|
|
Frontpage ( string url, bool useHtml = false ) : |
Parses a Frontpage
|
|
GetEndpointUrl ( string type, string url, bool useHtml = false ) : string |
Constructs and returns the appropriate Url for this endpoint
|
Method | Description | |
---|---|---|
DownloadUrlAsString ( string url ) : string |
This grabs the raw URL and returns it in string form.
|
|
GetBodyFromHtmlString ( string html ) : string |
Not yet implemented
|
|
GetTitleFromHtmlString ( string html ) : string |
Returns a page's title element from a raw html string
|
Method | Description | |
---|---|---|
GetWebClient ( ) : WebClient | ||
IsValidUrl ( string url, System &uri ) : bool |
Determines if the provided url is actually a valid url to parse
|
public Article ( string url, bool useHtml = false ) : |
||
url | string | |
useHtml | bool | |
return |
public ArticleGetPreview ( |
||
article | ||
return | string |
protected DownloadUrlAsString ( string url ) : string | ||
url | string | |
return | string |
public Frontpage ( string url, bool useHtml = false ) : |
||
url | string | |
useHtml | bool | |
return |
protected GetBodyFromHtmlString ( string html ) : string | ||
html | string | |
return | string |
public GetEndpointUrl ( string type, string url, bool useHtml = false ) : string | ||
type | string | |
url | string | |
useHtml | bool | |
return | string |
protected GetTitleFromHtmlString ( string html ) : string | ||
html | string | |
return | string |