Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Command-line podcatcher

  • 24-05-2007 10:12am
    #1
    Registered Users, Registered Users 2 Posts: 1,226 ✭✭✭


    I'm a fairly new Linux user and I'm want to write a shell script to look for the most recent video in a RSS feed, then download it using wget. How do I get the script to look for the most recent episode of a vidcast?


Comments

  • Registered Users, Registered Users 2 Posts: 304 ✭✭PhantomBeaker


    While you could probably do this in a shell script, employing lots of awk/sed/grep commands and the like, you're probably better off with a script for a scripting language like perl or python.

    Given that RSS is in xml, you're going to need some languages that have libraries to parse xml - so that makes for perl, python and ruby. I know for a fact that it's included in a default python installation, and I think it might be in ruby by default as well. And perl, I really don't know, but chances are most likely.

    I don't know if you've programmed before, but if you have, a good intro to python (and touches on xml parsing) for programmers is: www.diveintopython.org - I'm not sure about the others (I learnt perl from an O'Reilly book, and still haven't learnt Ruby).

    For non-programmer's intros, just go with the standard beginning docs on each site.

    Doing it in these languages will save you a lot of headachesk, and is still pretty much considered scripting in the unix world (perl scripts definitely are, while python and ruby are still gaining acceptance).

    Hope that helps.
    Aoife


Advertisement