aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/subscriptions.xml
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates/subscriptions.xml')
-rw-r--r--youtube/templates/subscriptions.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube/templates/subscriptions.xml b/youtube/templates/subscriptions.xml
new file mode 100644
index 0000000..5365da1
--- /dev/null
+++ b/youtube/templates/subscriptions.xml
@@ -0,0 +1,9 @@
+<opml version="1.1">
+ <body>
+ <outline text="YouTube Subscriptions" title="YouTube Subscriptions">
+ {% for sub in sub_list %}
+ <outline text="{{sub['channel_name']}}" title="{{sub['channel_name']}}" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id={{sub['channel_id']}}" />
+ {%- endfor %}
+ </outline>
+ </body>
+</opml>