AmphetaDesk::MyChannels - Parses and handles Syndic8's RSS channel export
# load a letter at a time, in memory. load_channels_by_letter( $letter ); # returns our channel list data, sorted by title. my @array = get_sorted_channels_list("title", "data"); my @array = get_sorted_channels_list("title", "reversed_data");
This package controls the listing in the "Add a Channel" portion, from parsing through the OPML file (gleaned from syndic8.com) to actually turning it into something suitable for HTML display. The Syndic8.com is saved into CVS manually, and is usually generated from the following URL: http://syndic8.com/genfeed.php?Format=opml&Where=changed:15;language:en
get_sorted_channels_list("sort_by", "type_of_data_returned")
# returns our channel list data, sorted by title. my @array = get_sorted_channels_list("title", "data"); # the same thing, only in reverse order. my @array = get_sorted_channels_list("title", "reversed_data");
load_channels_by_letter($letter)
get_sorted_channels_list
. Always returns 1.Morbus Iff, <morbus@disobey.com>
Copyright 2000-2004 Morbus Iff <morbus@disobey.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.