Skip to content

Instantly share code, notes, and snippets.

View shibatch's full-sized avatar
😊

Naoki Shibata shibatch

😊
  • Kyoto, Japan
View GitHub Profile
@shibatch
shibatch / index.php
Last active February 23, 2020 02:12 — forked from vsoch/index.php
Unlike the original script, the generated RSS feed can be used for podcasting. This script generates RSS feed for files in a directory folder. Put this file in a folder with files, modify the $allowed_ext variable to customize your extensions, and $feedName, $feedDesc, $feedURL, and $feedBaseURL. Then navigate to the folder on the web to see the…
<?php
header('Content-type: text/xml');
/*
Based on https://gist.github.com/vsoch/4898025919365bf23b6f
The generated feed can be used for podcasting.
Runs from a directory containing files to provide an
RSS feed that contains the list and modification times for all the
files.
*/