This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script | |
src="https://unpkg.com/webln@0.3.2/dist/webln.min.js" | |
integrity="sha384-MpjpvOQqXz9nCoLUS/sR0bhLwGYuNPMOBN50jsqhnqAzDq0GiOI0u6oC5fHitzI2" | |
crossorigin="anonymous" | |
></script> | |
<style> | |
#boost, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" version="2.0"> | |
<channel> | |
<title>Podcasting 2.0</title> | |
<description>The Podcast Index presents Podcasting 2.0 - Upgrading Podcasting</description> | |
<link>http://podcastindex.org</link> | |
<docs>http://blogs.law.harvard.edu/tech/rss</docs> | |
<language>en</language> | |
<generator>Freedom Controller</generator> | |
<pubDate>Thu, 28 Oct 2021 20:46:11 +0000</pubDate> | |
<lastBuildDate>Thu, 28 Oct 2021 20:46:11 +0000</lastBuildDate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let record = { | |
7629169: { | |
podcast: | |
$playingPodcast.title.length < 101 | |
? $playingPodcast.title | |
: $playingPodcast.title.substring(0, 100) + '...', | |
feedID: $playingPodcast.id, | |
episode: | |
$playingEpisode.title.length < 101 | |
? $playingEpisode.title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parser = require('fast-xml-parser'); | |
var he = require('he'); | |
const fetch = require('node-fetch'); | |
const getEpisodesFromURL = (exports.getEpisodesFromURL = async function ( | |
feedUrl | |
) { | |
try { | |
const res = await fetch(feedUrl); | |
const feed = await res.text(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<link href="https://vjs.zencdn.net/7.11.4/video-js.css" rel="stylesheet" /> | |
<script | |
src="https://cdn.jsdelivr.net/npm/p2p-media-loader-core@latest/build/p2p-media-loader-core.min.js"></script> | |
<script | |
src="https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@latest/build/p2p-media-loader-hlsjs.min.js"></script> | |
<script src="https://vjs.zencdn.net/7.11.4/video.min.js"></script> | |
<script | |
src=" https://cdn.streamroot.io/videojs-hlsjs-plugin/1/stable/videojs-hlsjs-plugin.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exportOPML() { | |
let newOpml = jsonToXML(podcastList); | |
let file = new Blob([newOpml], { type: 'text/xml' }); | |
let a = document.createElement('a'); | |
a.href = URL.createObjectURL(file); | |
a.download = 'podcast.opml'; | |
a.click(); | |
a.remove(); | |
$showOPML = false; |