blob: 8b28e2c29e0b7452bffacc30cd91511b373aa188 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef NEWSBOAT_RSSPPFEED_H_
#define NEWSBOAT_RSSPPFEED_H_
#include <string>
#include <vector>
#include "item.h"
namespace rsspp {
class Feed {
public:
enum Version {
UNKNOWN = 0,
RSS_0_91,
RSS_0_92,
RSS_1_0,
RSS_2_0,
ATOM_0_3,
ATOM_1_0,
RSS_0_94,
ATOM_0_3_NONS,
TTRSS_JSON,
NEWSBLUR_JSON,
OCNEWS_JSON,
MINIFLUX_JSON,
FRESHRSS_JSON
};
Feed()
: rss_version(UNKNOWN)
{
}
std::string encoding;
Version rss_version;
std::string title;
std::string title_type;
std::string description;
std::string link;
std::string language;
std::string managingeditor;
std::string dc_creator;
std::string pubDate;
std::vector<Item> items;
};
} // namespace rsspp
#endif /* NEWSBOAT_RSSPPFEED_H_ */
|