Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: kronoc/podcast-to-playlist
base: 758324a702
...
head fork: kronoc/podcast-to-playlist
compare: b0b26a4a99
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 68 additions and 29 deletions.
  1. +27 −0 LICENSE
  2. +0 −29 README
  3. +41 −0 README.md
View
27 LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2012, Conor Keegan
+
+All rights reserved.
+
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list
+of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this
+list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED.
+
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
29 README
@@ -1,29 +0,0 @@
-
-You will need the following modules from cpan to use podcast2playlist:
-
-LWP::UserAgent; XML::RSS::Parser; Date::Parse;
-
-
-Example uses
-
-Output an m3u from a podcast:
-
-podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml > playlist.m3u
-
-Output an m3u from a local podcast file:
-
-podcast2playlist.pl url localfile.xml > playlist.m3u
-
-Output a CSV from a podcast:
-
-podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml delim "," > playlist.csv
-
-Output a simple (most recent) item from a podcast:
-
-podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml limit 1 > single-item-playlist.m3u
-
-Output the 5 most recent items from a podcast as a playlist in JSON(!):
-
-podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml limit 5 delim '","url":"' output_start '[{"url":"' output_end '"}]' > playlist.json
-
-Playlists are sorted by date, newest item first. Other sorting methods will appear some time when I can be bothered.
View
41 README.md
@@ -0,0 +1,41 @@
+Podcast To Playlist
+===================
+
+This is a Perl programme which parses podcast rss feeds and prints out a list of the media files published in that feed, in order of publication date.
+Output is in m3u format by default, but you can set command line options to get CSV,JSON, pipe-delimited etc.
+
+Dependencies
+------------
+
+You will need the following modules from CPAN (pr elsewhere) to use podcast2playlist:
+
+ * LWP::UserAgent
+ * XML::RSS::Parser
+ * Date::Parse
+
+Usage
+-----
+
+
+
+### Output an m3u from a podcast
+
+ podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml > playlist.m3u
+
+### Output an m3u from a local podcast file
+ podcast2playlist.pl url localfile.xml > playlist.m3u
+
+### Output a CSV from a podcast
+ podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml delim "," > playlist.csv
+
+### Output a simple (most recent) item from a podcast
+ podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml limit 1 > single-item-playlist.m3u
+
+### Output the 5 most recent items from a podcast as a playlist in JSON(!)
+ podcast2playlist.pl user "you@email.example" url http://test.test/podcast.xml limit 5 delim '","url":"' output_start '[{"url":"' output_end '"}]' > playlist.json
+
+
+Note
+----
+
+Playlists are sorted by date, newest item first. Other sorting methods will appear some time when I can be bothered.

No commit comments for this range

Something went wrong with that request. Please try again.