<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Radio Capture and Self Podcasting</title>
	<atom:link href="http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 06:27:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason Horne</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-1680</link>
		<dc:creator>Jason Horne</dc:creator>
		<pubDate>Fri, 23 Jun 2006 22:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-1680</guid>
		<description>Thanks for the great write-up!  My situation was slightly different, in that I had to use FTP to transfer my files up to the server, and I used a different library for encoding the audio.  

I wrote up my own process (with a link back here) in this (gratuitous blog) article: http://drjason.com/?q=node/85

Jason</description>
		<content:encoded><![CDATA[<p>Thanks for the great write-up!  My situation was slightly different, in that I had to use FTP to transfer my files up to the server, and I used a different library for encoding the audio.  </p>
<p>I wrote up my own process (with a link back here) in this (gratuitous blog) article: <a href="http://drjason.com/?q=node/85" rel="nofollow">http://drjason.com/?q=node/85</a></p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-1674</link>
		<dc:creator>Dino</dc:creator>
		<pubDate>Thu, 22 Jun 2006 19:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-1674</guid>
		<description>Declan,
    My version of the RadioShark installed on Windows XP does record in the WMA compressed format. Actually, the software lets me choose between 48kbps, 96kbps or 128kbps.
    I do not have your problem because my mp3 player is not an iPod, so  it will play WMA formatted files. I would like if the RadioShark did give you the mp3 option because one day I might want to make the plung to the world of iPod mania, but until then, the recorded radio programs  
in the 96 or 128 speed format works just fine.
    I do have a problem with my RadioShark that I have not resolved yet. I usually check my RadioShark files about once a week, and once in a while many of the files are only about 28 kb in size. Sometimes it is every recording since that first one that malfunctioned, but sometimes the computer issue that caused it resolved itself and some of the recorded programs after the malfunctioned recordings are of normal size. ( 26kb, 36kb, etc...)
    I usually just restart my P4/2000mhz WinXP computer and it doesn't happen for weeks.

Good luck, Dino.</description>
		<content:encoded><![CDATA[<p>Declan,<br />
    My version of the RadioShark installed on Windows XP does record in the WMA compressed format. Actually, the software lets me choose between 48kbps, 96kbps or 128kbps.<br />
    I do not have your problem because my mp3 player is not an iPod, so  it will play WMA formatted files. I would like if the RadioShark did give you the mp3 option because one day I might want to make the plung to the world of iPod mania, but until then, the recorded radio programs<br />
in the 96 or 128 speed format works just fine.<br />
    I do have a problem with my RadioShark that I have not resolved yet. I usually check my RadioShark files about once a week, and once in a while many of the files are only about 28 kb in size. Sometimes it is every recording since that first one that malfunctioned, but sometimes the computer issue that caused it resolved itself and some of the recorded programs after the malfunctioned recordings are of normal size. ( 26kb, 36kb, etc&#8230;)<br />
    I usually just restart my P4/2000mhz WinXP computer and it doesn&#8217;t happen for weeks.</p>
<p>Good luck, Dino.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAFB &#187; Way more intense than my RadioShark setup</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-1673</link>
		<dc:creator>JAFB &#187; Way more intense than my RadioShark setup</dc:creator>
		<pubDate>Thu, 22 Jun 2006 19:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-1673</guid>
		<description>[...] Declan’s Blog »Blog Archive » Radio Capture and Self Podcasting [...]</description>
		<content:encoded><![CDATA[<p>[...] Declan’s Blog »Blog Archive » Radio Capture and Self Podcasting [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Administrator</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-217</link>
		<dc:creator>Administrator</dc:creator>
		<pubDate>Sat, 21 Jan 2006 15:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-217</guid>
		<description>Thanks Jason!</description>
		<content:encoded><![CDATA[<p>Thanks Jason!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Luther</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-213</link>
		<dc:creator>Jason Luther</dc:creator>
		<pubDate>Sat, 21 Jan 2006 00:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-213</guid>
		<description>Here's another version of the script that is written in Perl. It tries to pull out the ID3 Title and Artist. 

---
#!/usr/bin/perl -w
use strict;
use Image::ExifTool qw(ImageInfo);
use HTML::Entities qw(:DEFAULT encode_entities_numeric);
use URI::Escape;
use File::stat;
use POSIX qw(strftime);

# Make an iTunes/RSS(?) feed for a directory of MP3 files.
# Perl version by Jason Luther 
# Rewrite of Declan Fleming's shell script at http://www.declan.net/?p=160;

my $feed_title = 'Feed Title';
my $url = 'http://www.example.com/directory';
my $dir = '/var/www/html/directory';

print "Content-type: application/rss+xml\n\n";

print '';
print "\n\n";
print "\n";
print "$feed_title\n";
print "$url\n";

opendir(DIR, "$dir") or die "opendir: $!";
my @files = grep { /\.mp3$/ } readdir(DIR);
closedir(DIR);

my %mtime_by_file;
foreach my $file (@files) {
  my $sb = stat("$dir/$file");
  my $mtime = $sb-&#62;mtime;
  $mtime_by_file{$file} = $mtime;
}

my @sorted_files = sort { $mtime_by_file{$b}  $mtime_by_file{$a} } @files;

foreach my $file (@sorted_files) {
  my $file_url = "$url/" . uri_escape($file);
  my $date = strftime "%a, %e %b %Y %H:%M:%S %Z", localtime $mtime_by_file{$file};

  my $title = $file;
  my $artist;
  my $info = ImageInfo("$dir/$file");
  if ($info) {
    $title = encode_entities_numeric($info-&#62;{Title}) if exists $info-&#62;{Title};
    $artist = encode_entities_numeric($info-&#62;{Artist}) if exists $info-&#62;{Artist};
  }

  print "\n";
  print " $title\n";
  print " \n";
  print " $file_url\n";
  print " $date\n";
  print " $artist\n" if defined $artist;
  print "\n";
}

print "\n";
print "\n";</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another version of the script that is written in Perl. It tries to pull out the ID3 Title and Artist. </p>
<p>&#8212;<br />
#!/usr/bin/perl -w<br />
use strict;<br />
use Image::ExifTool qw(ImageInfo);<br />
use HTML::Entities qw(:DEFAULT encode_entities_numeric);<br />
use URI::Escape;<br />
use File::stat;<br />
use POSIX qw(strftime);</p>
<p># Make an iTunes/RSS(?) feed for a directory of MP3 files.<br />
# Perl version by Jason Luther<br />
# Rewrite of Declan Fleming&#8217;s shell script at <a href="http://www.declan.net/?p=160" rel="nofollow">http://www.declan.net/?p=160</a>;</p>
<p>my $feed_title = &#8216;Feed Title&#8217;;<br />
my $url = &#8216;http://www.example.com/directory&#8217;;<br />
my $dir = &#8216;/var/www/html/directory&#8217;;</p>
<p>print &#8220;Content-type: application/rss+xml\n\n&#8221;;</p>
<p>print &#8221;;<br />
print &#8220;\n\n&#8221;;<br />
print &#8220;\n&#8221;;<br />
print &#8220;$feed_title\n&#8221;;<br />
print &#8220;$url\n&#8221;;</p>
<p>opendir(DIR, &#8220;$dir&#8221;) or die &#8220;opendir: $!&#8221;;<br />
my @files = grep { /\.mp3$/ } readdir(DIR);<br />
closedir(DIR);</p>
<p>my %mtime_by_file;<br />
foreach my $file (@files) {<br />
  my $sb = stat(&#8221;$dir/$file&#8221;);<br />
  my $mtime = $sb-&gt;mtime;<br />
  $mtime_by_file{$file} = $mtime;<br />
}</p>
<p>my @sorted_files = sort { $mtime_by_file{$b}  $mtime_by_file{$a} } @files;</p>
<p>foreach my $file (@sorted_files) {<br />
  my $file_url = &#8220;$url/&#8221; . uri_escape($file);<br />
  my $date = strftime &#8220;%a, %e %b %Y %H:%M:%S %Z&#8221;, localtime $mtime_by_file{$file};</p>
<p>  my $title = $file;<br />
  my $artist;<br />
  my $info = ImageInfo(&#8221;$dir/$file&#8221;);<br />
  if ($info) {<br />
    $title = encode_entities_numeric($info-&gt;{Title}) if exists $info-&gt;{Title};<br />
    $artist = encode_entities_numeric($info-&gt;{Artist}) if exists $info-&gt;{Artist};<br />
  }</p>
<p>  print &#8220;\n&#8221;;<br />
  print &#8221; $title\n&#8221;;<br />
  print &#8221; \n&#8221;;<br />
  print &#8221; $file_url\n&#8221;;<br />
  print &#8221; $date\n&#8221;;<br />
  print &#8221; $artist\n&#8221; if defined $artist;<br />
  print &#8220;\n&#8221;;<br />
}</p>
<p>print &#8220;\n&#8221;;<br />
print &#8220;\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Rolig</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-116</link>
		<dc:creator>Michael Rolig</dc:creator>
		<pubDate>Sat, 29 Oct 2005 02:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-116</guid>
		<description>I got the radioSHARK working under linux.

http://wiki.linuxquestions.org/wiki/Audio</description>
		<content:encoded><![CDATA[<p>I got the radioSHARK working under linux.</p>
<p><a href="http://wiki.linuxquestions.org/wiki/Audio" rel="nofollow">http://wiki.linuxquestions.org/wiki/Audio</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Declan&#8217;s Blog &#187;Blog Archive &#187; Radio Capture and Self Podcasting</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-108</link>
		<dc:creator>Declan&#8217;s Blog &#187;Blog Archive &#187; Radio Capture and Self Podcasting</dc:creator>
		<pubDate>Tue, 25 Oct 2005 15:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-108</guid>
		<description>[...] Radio Capture and Self Podcasting   Filed under: Declan, Fun, Tech &#8212; Administrator @ 10:07 am [...]</description>
		<content:encoded><![CDATA[<p>[...] Radio Capture and Self Podcasting   Filed under: Declan, Fun, Tech &#8212; Administrator @ 10:07 am [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logan Browne</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-107</link>
		<dc:creator>Logan Browne</dc:creator>
		<pubDate>Tue, 25 Oct 2005 08:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-107</guid>
		<description>I added a few additional variables to your podcast-rss-maker.sh script to make it easier to move around on my servers. I've also added accurate file date stamping and am looking into better handling of RFC 1738 URL encoding.

I'll send you the script if you'd like.</description>
		<content:encoded><![CDATA[<p>I added a few additional variables to your podcast-rss-maker.sh script to make it easier to move around on my servers. I&#8217;ve also added accurate file date stamping and am looking into better handling of RFC 1738 URL encoding.</p>
<p>I&#8217;ll send you the script if you&#8217;d like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: El Payo</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-104</link>
		<dc:creator>El Payo</dc:creator>
		<pubDate>Mon, 24 Oct 2005 09:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-104</guid>
		<description>Brilliant! This is a teriffic 'fair use' hack you've come up with - I'm on a Mac, but with my RadioShark and your instructions, including the podcast RSS maker shell script.

It's only a matter of time before someone mods this technique to grab shows off the TiVo, convert them and dump them onto an iPod via iTunes.</description>
		<content:encoded><![CDATA[<p>Brilliant! This is a teriffic &#8216;fair use&#8217; hack you&#8217;ve come up with - I&#8217;m on a Mac, but with my RadioShark and your instructions, including the podcast RSS maker shell script.</p>
<p>It&#8217;s only a matter of time before someone mods this technique to grab shows off the TiVo, convert them and dump them onto an iPod via iTunes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Luther</title>
		<link>http://www.declan.net/2005/10/22/radio-capture-and-self-podcasting/comment-page-1/#comment-103</link>
		<dc:creator>Jason Luther</dc:creator>
		<pubDate>Sun, 23 Oct 2005 18:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.declan.net/?p=160#comment-103</guid>
		<description>find /var/www/html/radiofiles -mtime +7 -exec rm -f '{}' \;

Add this to your crontab or the RSS script to delete any files older than 7 days in the /var/www/html/radiofiles directory. You will want to add something like '-name \*.m4b' if you have other files in the directory.</description>
		<content:encoded><![CDATA[<p>find /var/www/html/radiofiles -mtime +7 -exec rm -f &#8216;{}&#8217; \;</p>
<p>Add this to your crontab or the RSS script to delete any files older than 7 days in the /var/www/html/radiofiles directory. You will want to add something like &#8216;-name \*.m4b&#8217; if you have other files in the directory.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
