From e695a65df9d5a8ee7d5af705c4789e44fbcc0b60 Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Sun, 10 May 2026 19:33:01 +0500 Subject: Config support --- src/RSS.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/RSS.cpp') diff --git a/src/RSS.cpp b/src/RSS.cpp index 275b96c..1282c83 100644 --- a/src/RSS.cpp +++ b/src/RSS.cpp @@ -76,6 +76,16 @@ void RSS::parse(std::string contents) { } } +void RSS::print() { + channelInfo.print(); + int i = 0; + for (auto entry : Entries) { + if (i > 3) break; + entry.print(); + ++i; + } +} + RSS_Entry::RSS_Entry(XML_leaf node) { Title = node.GetChild("title").GetValue(); URL = node.GetChild("link").GetValue(); -- cgit v1.3