Akregator and Podcasting

My RSS feed agregator of choice is a lovely program called Akregator. Unfortunately, it's support for enclosure tags in RSS has not been implemented yet. And from what I understand today, will not be in the next version. But that is because of a feature-freeze, since Akregator will be a part of the KDE PIM project.

In light of that, I wanted to share the hack I've been using to download the podcasts that I enjoy listening to. It's a nice easy solution.

HowTo

  1. Copy the download locations for the files to be downloaded. Paste them into a text file.
  2. Save the file as podcasts.txt.
  3. Copy the Bash script below or download it, and save it in the same directory as the above text file.
  4. Open a shell, and run the code. Wget takes care of downloading all the files for you, and does it unattended so you can start it and walk away!

Source Code

              #! /bin/bash
              
              FILENAME='podcasts.txt'
              
              for FILE in $FILENAME; do
                  wget -q -i $FILE
              done
              
              exit 0
          

Command Line Arguments Used (wget):

  • -q: Quiet, no output.
  • -i $FILE: Get list of files to download from $FILE.

Huzzah

There you have it! A simple little hack that gets around an RSS aggregator's lack of support for enclosure tags. You can download the Bash script.



Tags

  • Internet
  • Linux

Revisions

  • 1/2/2006 - Added enumeration of command line arguments.
  • 9/8/2005 - Article published.