October 1st, 2004
This application makes a request to a POP mail folder and converts the found messages into an RSS feed, for easy reading in an RSS reader.
A copy has been made publically available for all to use on my web site, a link is located below. The options are as follows:
- n = Number of messages. Defaults to 20.
- u = POP Username.
- p = POP Password.
- h = POP Host.
Link
Download
Tags: perl, email, convertor, pop3, rss, popular
8 Comments on 'Pop2RSS'
October 1st, 2004
The script scrapes the Yahoo TV web site and converts the results into an RSS feed. You can set the station, channel, and duration in the future.
Additionally, I've set up the script, publically, so that anyone can use it. It can be found a the URL below. The configurable options are:
- s=STATION_ID - This is provided by Yahoo, it will look something like this: us_NY31666d.
- c=CHANNEL_ID - This is also provided by Yahoo, and will look something like this: us_COMEDY
- d=DURATION - This is how far in the future you would like the feed to grab, in hours. Defaults to 1.
Links
Downloads
Tags: convertor, perl, rss, scrape, tv
Comment on 'TV2RSS'
December 2nd, 2003
This was a little chunk of code that I pulled together so that I could quickly view the textual contents of a Word Document. This can be used as a command line tool and does the trick fairly well, in my opinion. Of course, you will lose a lot of contextual information, so take it with a grain of salt. The code is provided below:
#!/usr/bin/perl use Text::Wrap; $Text::Wrap::columns = 80; my $file = join( '', <> ); $file =~ s/<[^>]*>//g; $file =~ s/\r//g; $file =~ s/[\t ]+/ /g; $file =~ s/\ //g; print wrap( '', '', $file );
Tags: convertor, cli, snippet, perl
Comment on 'Word Document to Text'
January 9th, 2003
This is a simple Perl script which takes the URL of a given Javadoc file and returns what the basic Java code would look like. A great utility for first year Computer Science students to use.
You will most likely be asked to download a file, simply save it as the name of the java program that you are downloading. (e.g. If the page is ../Thread.html save it as Thread.java)
Bonus: Want a quick template for your next Java file? Enter the following in the above box: "/Filename.java" (without the quotes) and it'll create a pre-made Filename class with a constructor, along with the proper Javadoc + CVS comments.
Note: Should you encounter any problems while using this utility, please feel free to contact me.
Tags: convertor, java, perl, scrape
2 Comments on 'Javadoc to Java Convertor (jd2j)'