22 bool essentials_only{
false};
24 std::string description;
28 std::vector<std::string> categories{};
29 std::vector<std::string> additional_categories{};
51 xml_node item_node,
bool essentials_only=
false,
52 std::vector<std::string> additional_categories={}
53 ) : item_node{item_node}, essentials_only{essentials_only},
54 additional_categories{additional_categories} {
Represents a single feed extracted from an OPML file.
Definition opml_item.hpp:19
std::string get_title()
Definition opml_item.hpp:64
std::string get_feed_url()
Definition opml_item.hpp:67
std::string to_json()
Definition opml_item.cpp:37
std::string get_description()
Definition opml_item.hpp:65
std::vector< std::string > get_categories()
Definition opml_item.hpp:68
std::string get_url()
Definition opml_item.hpp:66
std::string get_text()
Not applicable for a valid OpmlItem, gets the value of the text attribute in case the current outline...
Definition opml_item.cpp:57
std::string get_language()
Definition opml_item.hpp:70
std::string get_type()
Definition opml_item.hpp:69
OpmlItem(xml_node item_node, bool essentials_only=false, std::vector< std::string > additional_categories={})
Constructs the OpmlItem object from a pugi::xml_node representing an item in an OPML file.
Definition opml_item.hpp:50