You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
1.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{title}}</title>
<link>{{ url }}</link>
<description>{{ subtitle }}</description>
<lastBuildDate>{{ last_date.strftime('%a, %d %b %Y %H:%M:%S GMT') }}</lastBuildDate>
<language>en-IN</language>
<atom:link href="{{ url }}" rel="self" type="application/rss+xml" />
<image>
<url>{{ config.get('url') }}/{{ config.get('pht') }}</url>
<title>{{ title }}</title>
<link>{{ url }}</link>
<width>32</width>
<height>32</height>
</image>
{% for post in posts %}{% if (post.showInHome is undefined) or post.showInHome %}
<item>
<title>{{ post.title }}</title>
<link>{{ config.get('url') }}{{ post.url }}</link>
<pubDate>{{ post.date.strftime('%a, %d %b %Y %H:%M:%S GMT') }}</pubDate>
<guid isPermaLink="false">{{ config.get('url') }}{{ post.url }}</guid>
<description><![CDATA[{{ post.subtitle }} - {{ post.note }} ]]></description>
</item>
{% endif %}{% endfor %}
</channel>
</rss>