remwharead  0.6.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
remwharead::URI Class Reference

Public Member Functions

 URI (const string &uri)
 
const html_extract get ()
 Download URI and extract title, description and full text.
 
const string archive ()
 Save URI in archive and return URI.
 

Protected Member Functions

void set_curlpp_options (curlpp::Easy &request)
 
const string extract_title (const string &html)
 
const string extract_description (const string &html)
 
const string strip_html (const string &html)
 
const string remove_html_tags (const string &html, const string &tag="")
 Remove all HTML tags. If tag is not empty, remove only this tag.
 
const string unescape_html (const string &html)
 
const string remove_newlines (string text)
 Replace newlines with spaces.
 

Protected Attributes

string _uri
 

The documentation for this class was generated from the following files: