Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Jan 14, 2024
1 parent 678fa82 commit 23f9f9e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
4 changes: 3 additions & 1 deletion routes.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
routes:
/:
controller: channel
/techlore-talks/rss/:
template: techlore-talks-rss
content_type: text/xml
Expand All @@ -7,7 +9,7 @@ routes:
content_type: text/xml

collections:
/:
/post/:
permalink: /post/{slug}/
template: blog
filter: tag:-[techlore-talks,surveillance-report]
Expand Down
26 changes: 16 additions & 10 deletions techlore-talks-rss.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,28 @@
xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0">

<channel>
<title>{{@site.title}}</title>
<link>{{@site.url}}</link>
<description>{{@site.description}}</description>
<title>Techlore Talks</title>
<link>{{@site.url}}/techlore-talks</link>
<description><![CDATA[ Welcome to Techlore Talks - where we dive into technology, privacy, & security. Hosted by Henry & Jonah from Techlore. ]]></description>
<language>{{@site.locale}}</language>
<copyright>{{@site.title}} Copyright {{date format="YYYY"}}</copyright>
<atom:link href="{{@site.url}}/rss/" rel="self" type="application/rss+xml" />
<copyright><![CDATA[ Copyright © 2022 - {{date format="YYYY"}} Techlore, Inc. ]]></copyright>
<atom:link href="{{@site.url}}/techlore-talks/rss/" rel="self" type="application/rss+xml" />
<itunes:new-feed-url>
{{@site.url}}/techlore-talks/rss/
</itunes:new-feed-url>
<lastBuildDate>{{date format="ddd, DD MMM YYYY HH:mm:ss ZZ"}}
</lastBuildDate>
<itunes:author>{{@site.title}}</itunes:author>
<itunes:summary>{{@site.description}}</itunes:summary>
<itunes:author><![CDATA[ Henry Fisher & Jonah Aragon ]]></itunes:author>
<itunes:subtitle><![CDATA[ Welcome to Techlore Talks - where we unpack privacy/security/technology concepts in free-form discussions. ]]></itunes:subtitle>
<itunes:type>episodic</itunes:type>
<itunes:owner>
<itunes:name>Your Name</itunes:name>
<itunes:email>[email protected]</itunes:email>
<itunes:name>Techlore</itunes:name>
<itunes:email>[email protected]</itunes:email>
</itunes:owner>
<itunes:explicit>clean</itunes:explicit>
<itunes:explicit>no</itunes:explicit>
<itunes:image href="{{img_url @site.icon absolute="true"}}" />
<itunes:category text="Technology"></itunes:category>
<itunes:category text="Education"></itunes:category>

{{#get "posts" filter="tag:techlore-talks" include="tags,authors" as |episode|}}
{{#foreach episode}}
Expand All @@ -45,6 +50,7 @@
</content:encoded>
<enclosure url="{{og_description}}" length="0"
type="audio/mpeg" />
<itunes:author>{{authors}}</itunes:author>
<itunes:subtitle>{{custom_excerpt}}</itunes:subtitle>
<itunes:summary>
<![CDATA[ {{content}} ]]>
Expand Down

0 comments on commit 23f9f9e

Please sign in to comment.