19
19
bool check_and_update_lastmodified();
21
21
void replace_newline_characters(std::string& str);
22
mrss_options_t * create_mrss_options();
23
22
std::string render_xhtml_title(const std::string& title, const std::string& link);
24
23
time_t parse_date(const std::string& datestr);
25
24
unsigned int monthname_to_number(const std::string& mon);
26
void set_rtl(std::tr1::shared_ptr<rss_feed>& feed, const char * lang);
25
void set_rtl(std::tr1::shared_ptr<rss_feed> feed, const char * lang);
27
26
int correct_year(int year);
29
28
void retrieve_uri(const std::string& uri);
30
29
void download_http(const std::string& uri);
31
30
void get_execplugin(const std::string& plugin);
32
31
void download_filterplugin(const std::string& filter, const std::string& uri);
34
void check_and_log_error();
36
void fill_feed_fields(std::tr1::shared_ptr<rss_feed>& feed, const char * encoding);
37
void fill_feed_items(std::tr1::shared_ptr<rss_feed>& feed, const char * encoding);
39
void set_item_title(std::tr1::shared_ptr<rss_feed>& feed, std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
40
void set_item_author(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
41
void set_item_content(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
42
void set_item_enclosure(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item);
43
std::string get_guid(mrss_item_t * item);
45
void add_item_to_feed(std::tr1::shared_ptr<rss_feed>& feed, std::tr1::shared_ptr<rss_item>& item);
47
void handle_content_encoded(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
48
void handle_atom_content(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
49
void handle_itunes_summary(std::tr1::shared_ptr<rss_item>& x, mrss_item_t * item, const char * encoding);
32
void parse_file(const std::string& file);
34
void fill_feed_fields(std::tr1::shared_ptr<rss_feed> feed);
35
void fill_feed_items(std::tr1::shared_ptr<rss_feed> feed);
37
void set_item_title(std::tr1::shared_ptr<rss_feed> feed, std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
38
void set_item_author(std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
39
void set_item_content(std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
40
void set_item_enclosure(std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
41
std::string get_guid(rsspp::item& item);
43
void add_item_to_feed(std::tr1::shared_ptr<rss_feed> feed, std::tr1::shared_ptr<rss_item> item);
45
void handle_content_encoded(std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
46
void handle_itunes_summary(std::tr1::shared_ptr<rss_item> x, rsspp::item& item);
47
bool is_html_type(const std::string& type);
51
49
std::string my_uri;
53
51
configcontainer *cfgcont;