From e667ddc7ee47d0897ffc5b569aadeafaa829d6a4 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 25 May 2021 00:33:12 -0600 Subject: add content:encoded tag in rss and update readme --- src/pyssg/rss.py | 3 ++- src/pyssg/template.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pyssg/rss.py b/src/pyssg/rss.py index 9cfe629..4cd4695 100644 --- a/src/pyssg/rss.py +++ b/src/pyssg/rss.py @@ -44,9 +44,10 @@ class RSSBuilder: i_f = f'{i_f} \n' i_f = f'{i_f} {p.title}\n' i_f = f'{i_f} {url}\n' - i_f = f'{i_f} {p.summary}\n' i_f = f'{i_f} {url}\n' i_f = f'{i_f} {date}\n' + i_f = f'{i_f} {p.summary}\n' + i_f = f'{i_f} \n' i_f = f'{i_f} \n' return i_f diff --git a/src/pyssg/template.py b/src/pyssg/template.py index d62c40f..0c43f22 100644 --- a/src/pyssg/template.py +++ b/src/pyssg/template.py @@ -115,7 +115,9 @@ class Template(HF): os.chdir('rss') self.__write_template('rss.xml', ['\n', - '\n', + '\n', ' \n', ' $$TITLE\n', ' $$LINK\n', -- cgit v1.2.3-70-g09d2