fix rss
This commit is contained in:
parent
b69433e4ac
commit
6bda74c278
31
ifttt.rss
Normal file
31
ifttt.rss
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
layout: nil
|
||||
title : Basspistol Feed
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<link rel="hub" href="https://pubsubhubbub.appspot.com" />
|
||||
|
||||
<title type="text" xml:lang="en">{{ site.name }}</title>
|
||||
<link type="application/atom+xml" href="{{ site.url }}/atom.xml" rel="self"/>
|
||||
<link href="{{ site.url }}/"/>
|
||||
<updated>{{ site.time | date: "%Y-%m-%dT%H:%M:%SZ" }}</updated>
|
||||
<id>{{ site.url }}/</id>
|
||||
<author>
|
||||
<name>{{ site.publisher.name }}</name>
|
||||
<email>{{ site.publisher.email }}</email>
|
||||
</author>
|
||||
<rights type="text">CC-BY-NC-SA {{ site.time | date: "%Y" }} - {{ site.publisher.name }}. Some rights reserved.</rights>
|
||||
{% for post in site.posts limit:10 %}
|
||||
<entry>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}/?utm_source=RSS&utm_medium=RSS&utm_campaign={{ post.title | replace: ',','' | replace: ' ', '' | xml_escape }}" />
|
||||
<published>{{ post.date | date: "%Y-%m-%dT%H:%M:%SZ" }}</published>
|
||||
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
|
||||
<id>{{ site.url }}{{ post.id }}</id>
|
||||
<content type="html"><![CDATA[ {{ post.content | markdownify }} ]]></content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
|
||||
</feed>
|
21
rss.xml
21
rss.xml
|
@ -2,8 +2,8 @@
|
|||
layout: nil
|
||||
title : The Basspistol RSS Feed
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" >
|
||||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" >
|
||||
|
||||
<channel>
|
||||
<title>{{ site.title | xml_escape }}</title>
|
||||
|
@ -20,24 +20,21 @@ title : The Basspistol RSS Feed
|
|||
<url>{{ site.url }}{{ site.banner }}</url>
|
||||
<title>{{ site.title | xml_escape }}</title>
|
||||
<link>{{ site.url }}</link>
|
||||
<width>1024</width>
|
||||
<height>1024</height>
|
||||
</image>
|
||||
<itunes:summary><![CDATA[Rare contemporary music, Founded in 2010, Basspistol is the Outernational Music Syndicate]]></itunes:summary>
|
||||
<itunes:author>{{ site.title }}</itunes:author>
|
||||
<itunes:author>{{ site.publisher.mail }}</itunes:author>
|
||||
<itunes:explicit>yes</itunes:explicit>
|
||||
<itunes:image href="{{ site.url }}{{ site.banner }}" />
|
||||
<itunes:owner>
|
||||
<itunes:name>{{ site.title | xml_escape }}</itunes:name>
|
||||
<itunes:email>info@basspitol.com</itunes:email>
|
||||
</itunes:owner>
|
||||
<managingEditor>set@basspistol.com (Basspistol)</managingEditor>
|
||||
<managingEditor>{{ site.publisher.mail }}</managingEditor>
|
||||
<copyright>Anti-Copyright 2018 {{ site.title }}</copyright>
|
||||
<itunes:subtitle>{{ site.title }}</itunes:subtitle>
|
||||
<itunes:category text="Music">
|
||||
</itunes:category>
|
||||
<rawvoice:rating>TV-14</rawvoice:rating>
|
||||
<rawvoice:frequency>Daily</rawvoice:frequency>
|
||||
|
||||
{% for post in site.posts %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
|
@ -45,13 +42,13 @@ title : The Basspistol RSS Feed
|
|||
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
|
||||
<description> <img src="{{ site.url }}{{ post.image }}" /> <br />{{ post.description | truncate: 150 | xml_escape }} {% if post.link %}<br />Full article on: <a href="{{ site.url }}{{ post.url }}">{{ site.url }}{{ post.url }}</a>{% endif %}</description>
|
||||
<category>Hi-Lights</category>
|
||||
<author>{{ post.author | xml_escape }}</author>
|
||||
<author>{{ site.publisher.mail }}</author>
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<itunes:author>{{ post.artist | xml_escape }}</itunes:author>
|
||||
<itunes:author>{{ site.publisher.mail | xml_escape }}</itunes:author>
|
||||
<itunes:explicit>No</itunes:explicit>
|
||||
<itunes:subtitle>{{ post.description | strip_html | truncate: 252 | xml_escape }}</itunes:subtitle>
|
||||
<itunes:subtitle>{{ post.description | truncate: 252 | xml_escape }}</itunes:subtitle>
|
||||
<itunes:summary>{{ post.description | xml_escape }}</itunes:summary>
|
||||
<itunes:keywords>{% for tags in post.tags %}{{ tags | strip_html | xml_escape }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords>
|
||||
<itunes:keywords>{% for tags in post.tags %}{{ tags | xml_escape | strip_html }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords>
|
||||
<itunes:image href="{{ site.url }}{{ post.image }}"/>
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue