Project

tabcast

0.0
No commit activity in last 3 years
No release in over 3 years
tabcast is a command that will take a podcast feed and format it's data in a more shell-friendly format, by default into a tab-delimited list. It's powered by the Liquid templating enging to make it very flexible.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

tabcast

a tool to turn, ugly messy podcast XML into lines of tab-seperated values that are easy to work with on the command line.

Installation:

gem install tabcast

Usage:

tabcast <feed url>

Advanced Usage:

The default output format is probably fine for most purposes, but you can specify your own output format with the -f flag. This uses Liquid templating and renders the specified markup for each item in the feed. For example, to get a list of the titles and Unix timestamps of a feed's items, seperated by a pipe character:

tabcast -f "{{title}}|{{time}}\n" <feed url>

Note that the default output is equivalent to using:

-f "{{utime}}\t{{title | spaces_to_underscores}}\t{{enclosure_url}}\n"

--prefix and --suffix allow you to specify strings to be printed before and after the list of templated feed items. This is useful for, as an example, building up an HTML list of the feed:

tabcast -f "<li><a href='{{ enclosure_url }}'>{{ title }}</a></li>\n" --prefix "<ul>" --suffix "</ul>" <feed url>