summaryrefslogtreecommitdiff
path: root/source/app.d
diff options
context:
space:
mode:
authorGeorge Abbott <george@gabbott.dev>2023-10-12 23:45:24 +0100
committerGeorge Abbott <george@gabbott.dev>2023-10-12 23:45:24 +0100
commit9f74c84c22e75103c5661b4876fde2ce45f9c712 (patch)
tree4dd002ad8262c5aa4ffa0fe26b5cb36b595e7762 /source/app.d
parentc91061498ca9137c0bb2e65765ab15c1439941fd (diff)
Replace RssInfo with RssMetaHEADmaster
Diffstat (limited to 'source/app.d')
-rw-r--r--source/app.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/app.d b/source/app.d
index cb57d19..15ebee2 100644
--- a/source/app.d
+++ b/source/app.d
@@ -89,16 +89,16 @@ void usage()
// TODO: RssInfo. We need the struct, with the relevant information, and where
// do we get it from?
-void create_rss(Entry[] entries, RssInfo info)
+void create_rss(Entry[] entries, RssMeta info)
{
string ret;
ret =
"<rss version="2.0">\n" ~
"\t\t<channel>\n" ~
- "\t\t<title>" ~ info.title ~ "</title>\n" ~
- "\t\t<description>" ~ info.description ~ "</description>\n" ~
- "\t\t<language>" ~ info.language ~ "</language>\n" ~
- "\t\t<link href=\"" ~ info.link ~ "\" rel=\"self\" type=\"application/rss+xml\"/>";
+ "\t\t<title>" ~ info.title_of_feed ~ "</title>\n" ~
+ "\t\t<description>" ~ info.desc_of_feed ~ "</description>\n" ~
+ "\t\t<language>" ~ info.language_of_feed ~ "</language>\n" ~
+ "\t\t<link href=\"" ~ info.link_of_feed ~ "\" rel=\"self\" type=\"application/rss+xml\"/>";
for (int i = 0; i < entries.length; ++i)
{