Net::Hulu Perl module now available on CPAN.

63

What’s up community?  It’s been a busy year in the world of Linux administration.  I’m officially on holiday break and finally have some time to knock the dust off of my little blog.

I’m now an offical CPAN developer and maintainer of the namspace Net::Hulu on CPAN.  I just finished uploading my Perl module Net::Hulu to CPAN early this morning, and have successfully installed it using the following commands:

perl -MCPAN -e shell

install Net::Hulu

Net::Hulu provides methods to download all XML-formatted RSS feeds provided by hulu.com and return a data structure to the user containing the Data from the RSS feeds.

The following methods will download RSS feeds from hulu.com to directory where Hulu.pm is installed.

Method download_recent_videos_xml will download RSS feed for recent videos.

Method download_recent_shows_xml will download RSS feed for recent shows.

Method download_recent_movies_xml will download RSS feed for recent movies.

Method download_highest_rated_videos_xml will download RSS feed for highest rated videos.

Method download_popular_videos_today_xml will download RSS feed for today’s popular videos.

Method download_popular_videos_this_week_xml will download RSS feed for this week’s popular videos.

Method download_popular_videos_all_time_xml will download RSS feed for most popular videos of all time.

Method download_soon_to_expire_videos_xml will download RSS feed for soon to expire videos.

Method download_recent_blog_postings_xml will download RSS feed for recent blog postings to hulu.com.

The following methods will process all RSS feeds provided by hulu.com.

Method get_recent_videos returns a list of recently added videos to the user.

Method get_recent_shows returns a list of recently added shows to the user.

Method get_recent_movies returns a list of recently added movies to the user.

Method get_highest_rated_videos returns a list of highest rated videos to the user.

Method get_popular_videos_today returns a list of most popular videos today to the user.

Method get_popular_videos_this_week returns a list of most popular videos this week to the user.

Nethod get_popular_videos_all_time returns a list of most popular videos of all time to the user.

Method get_soon_to_expire_videos returns a list of soon to expire videos to the user.

Method get_recent_blog_postings returns recent blog postings for hulu.com to the user.

For detailed information on the Perl Module Net::Hulu, please visit the project’s home page on CPAN at http://search.cpan.org/~jlophty/Net-Hulu-0.02/lib/Net/Hulu.pm.

BLOG UPDATE!!!  BLOG UPDATE!!! BLOG UPDATE!!!

I just looked at the cpantesters results for Net::Hulu version 0.01 and discovered it’s only compatible with Perl version 5.10.1!  I have (hopefully) fixed this in version Net::Hulu-0.02.tar.gz.  This is accomplished by executing the following command:

h2xs -b 5.6.0 -XA -n Net::Hulu

This will remove all autoload and XS portions of the module, adding backwards compatibility with Perl versions >= 5.6.0, and making it a ‘Pure Perl’ implementation.

ANOTHER BLOG UPDATE!!! ANOTHER BLOG UPDATE!!!

The latest version of my Perl module Net::Hulu, version 0.02, just passed all tests from cpantesters.org.  You can view the results at http://www.cpantesters.org/distro/N/Net-Hulu.html#Net-Hulu-0.02.  You can view the project’s homepage at  http://search.cpan.org/~jlophty/Net-Hulu-0.02/lib/Net/Hulu.pm.

Disclaimer:  This blog entry comes with NO expressed warranty, guarantee, support, or maintenance of any kind!  Use at your own risk!