<commit_before>{% load static %}
<!DOCTYPE html>
<html>
<head>
	<title>Boiler Room unofficial podcast feed</title>

	<meta charset="utf-8">

	<link rel="alternate" type="application/rss+xml" href="{% url 'rss' %}" />

    <link rel="shortcut icon apple-touch-icon apple-touch-icon-precomposed" type="image/png" sizes="152x152" href="{% static 'icon.png' %}">
    <link rel="shortcut icon" type="image/x-icon" sizes="32x32" href="{% static 'favicon.ico' %}">

	<!-- https://github.com/KeenRivals/bestmotherfucking.website -->
	<style>
		body {
			margin: 1em auto;
			max-width: 40em;
			padding: 0 .62em;
			font: 1.2em/1.62 sans-serif;
		}

		h1, h2, h3 {
			line-height: 1.2;
		}

		@media print {
			body {
				max-width: none
			}
		}
	</style>
    <!-- icons -->
    <style>
        header img {
            height: 2.4em;
            display: block;
        }
        main img {
            height: 1.2em;
        }
    </style>
</head>
<body>
    <header>
        <h1><a href="https://boilerroom.tv/"><img src="{% static 'artwork.png' %}" alt="Boiler Room" /></a> unofficial podcast feed</h1>
    </header>


    <main>
        <p>Boiler Room has an app but doesn't provide good ol' RSS, so here's a few feeds for your favourite podcasts app:</p>

        <section>
            <h2>All Recordings</h2>
            <ul>
                <li><a rel="alternate" type="application/rss+xml" href="{% url 'rss' %}">RSS <img src="{% static 'rss.svg' %}" alt=""></a></li>
                <li><a href="itpc://{{ request.get_host }}{% url 'rss' %}">Apple Podcasts <img src="{% static 'podcast.svg' %}" alt=""></a></li>
            </ul>
        </section>

        <section>
            <h2>Channel Feeds</h2>
            <p>Recordings curated by style:</p>
            <ul>
            {% for channel in channels %}
                <li>
                    <a href="{{ channel.get_absolute_url }}">{{ channel.title }}</a>:
                    <q>{{ channel.description }}</q>
                    <a href="{{ channel.get_absolute_url }}"><img src="{% static 'rss.svg' %}" alt="RSS"></a>
                    <a href="itpc://{{ request.get_host }}{{ channel.get_absolute_url }}"><img src="{% static 'podcast.svg' %}" alt="Apple Podcasts"></a>
                </li>
            {% endfor %}
            </ul>
        </section>

        <section>
            <h2>Genre Feeds</h2>
            <p>Recordings filtered by genre:</p>
            <ul>
                {% for genre in genres %}
                    <li>
                        <a href="{{ genre.get_absolute_url }}">{{ genre.title }}</a>:
                        {% if genre.description %}
                            <q>{{ genre.description }}</q>
                        {% endif %}
                        <a href="{{ genre.get_absolute_url }}"><img src="{% static 'rss.svg' %}" alt="RSS"></a>
                        <a href="itpc://{{ request.get_host }}{{ genre.get_absolute_url }}"><img src="{% static 'podcast.svg' %}" alt="Apple Podcasts"></a>
                    </li>
                {% endfor %}
            </ul>
        </section>
    </main>

    <hr>

    <footer class="row">
        <p>🏴‍☠️ product 🛠 by <a href="http://jeffbr13.net"><NAME></a>.</p>
        <p><a href="https://github.com/jeffbr13/br-rss">Source code</a> available under the <a href="https://www.mozilla.org/MPL/2.0/">MPL 2.0</a>.</p>
    </footer>
</body>
<script type="text/javascript">
    let is_iOS = navigator.userAgent.match(/(iPad|iPhone|iPod)/i) !== null;
    if (is_iOS) {
        for (a of document.getElementsByTagName('a')) {
            a.setAttribute('href', a.getAttribute('href').replace('itpc://', 'feed://'));
        }
    }
</script>
</html><commit_msg>Use 'pcast://' schema for Apple Podcast links.<commit_after>{% load static %}
<!DOCTYPE html>
<html>
<head>
	<title>Boiler Room unofficial podcast feed</title>

	<meta charset="utf-8">

	<link rel="alternate" type="application/rss+xml" href="{% url 'rss' %}" />

    <link rel="shortcut icon apple-touch-icon apple-touch-icon-precomposed" type="image/png" sizes="152x152" href="{% static 'icon.png' %}">
    <link rel="shortcut icon" type="image/x-icon" sizes="32x32" href="{% static 'favicon.ico' %}">

	<!-- https://github.com/KeenRivals/bestmotherfucking.website -->
	<style>
		body {
			margin: 1em auto;
			max-width: 40em;
			padding: 0 .62em;
			font: 1.2em/1.62 sans-serif;
		}

		h1, h2, h3 {
			line-height: 1.2;
		}

		@media print {
			body {
				max-width: none
			}
		}
	</style>
    <!-- icons -->
    <style>
        header img {
            height: 2.4em;
            display: block;
        }
        main img {
            height: 1.2em;
        }
    </style>
</head>
<body>
    <header>
        <h1><a href="https://boilerroom.tv/"><img src="{% static 'artwork.png' %}" alt="Boiler Room" /></a> unofficial podcast feed</h1>
    </header>


    <main>
        <p>Boiler Room has an app but doesn't provide good ol' RSS, so here's a few feeds for your favourite podcasts app:</p>

        <section>
            <h2>All Recordings</h2>
            <ul>
                <li><a rel="alternate" type="application/rss+xml" href="{% url 'rss' %}">RSS <img src="{% static 'rss.svg' %}" alt=""></a></li>
                <li><a href="pcast://{{ request.get_host }}{% url 'rss' %}">Apple Podcasts <img src="{% static 'podcast.svg' %}" alt=""></a></li>
            </ul>
        </section>

        <section>
            <h2>Channel Feeds</h2>
            <p>Recordings curated by style:</p>
            <ul>
            {% for channel in channels %}
                <li>
                    <a href="{{ channel.get_absolute_url }}">{{ channel.title }}</a>:
                    <q>{{ channel.description }}</q>
                    <a href="{{ channel.get_absolute_url }}"><img src="{% static 'rss.svg' %}" alt="RSS"></a>
                    <a href="pcast://{{ request.get_host }}{{ channel.get_absolute_url }}"><img src="{% static 'podcast.svg' %}" alt="Apple Podcasts"></a>
                </li>
            {% endfor %}
            </ul>
        </section>

        <section>
            <h2>Genre Feeds</h2>
            <p>Recordings filtered by genre:</p>
            <ul>
                {% for genre in genres %}
                    <li>
                        <a href="{{ genre.get_absolute_url }}">{{ genre.title }}</a>:
                        {% if genre.description %}
                            <q>{{ genre.description }}</q>
                        {% endif %}
                        <a href="{{ genre.get_absolute_url }}"><img src="{% static 'rss.svg' %}" alt="RSS"></a>
                        <a href="pcast://{{ request.get_host }}{{ genre.get_absolute_url }}"><img src="{% static 'podcast.svg' %}" alt="Apple Podcasts"></a>
                    </li>
                {% endfor %}
            </ul>
        </section>
    </main>

    <hr>

    <footer class="row">
        <p>🏴‍☠️ product 🛠 by <a href="http://jeffbr13.net"><NAME></a>.</p>
        <p><a href="https://github.com/jeffbr13/br-rss">Source code</a> available under the <a href="https://www.mozilla.org/MPL/2.0/">MPL 2.0</a>.</p>
    </footer>
</body>
</html>
{'fraction_non_alphanumeric': 0.19673275621334824, 'fraction_numerical': 0.01312482546774644, 'mean_word_length': 1.874398073836276, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 205, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '918836', 'n_tokens_mistral': 2572, 'n_tokens_neox': 2308, 'n_words': 529}