ZConf::RSS::GUI - Provides various GUI methods for ZConf::RSS.
Version 0.0.2
use ZConf::RSS::GUI; my $zcrssGui = ZConf::RSS::GUI->new(); ...
This is object returned by ZConf::RSS.
my $zcrssGui=ZConf::RSS::GUI->new({obj=>$obj}); if($zcrssGui->{error}){ print "Error!\n"; }
This invokes a dialog to add a new feed.
There is one optional arguement taken and it is the URL for the feed. This will be used to automatically populate URL feild in the dialog.
$zcrssGui->addFeed('http://foo.bar/rss.xml'); if($zcrssGui->{error}){ print "Error!\n"; }
Invokes the view window.
$zcrssGui->manage; if($zcrssGui->{error}){ print "Error!\n"; }
$zcrssGui->view; if($zcrssGui->{error}){ print "Error!\n"; }
This returns a array of available dialogs.
my @dialogs=$zcrssGui->dialogs; if($zcrssGui->{error}){ print "Error!\n"; }
my @windows=$zcrssGui->windows; if($zcrssGui->{error}){ print "Error!\n"; }
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef; $self->{errorString}="";
Failed to initiate ZConf::RSS.
Failed to initiate ZConf::GUI.
Failed to get the preferred.
Failed to initiate the backend.
Backend errored.
No backend found via ZConf::GUI->which.
This adds a new feed.
Please not that unless working directly and specifically with a backend, windows and dialogs are effectively the same in that they don't return until the window exits, generally.
This allows the RSS feeds to be viewed.
This allows the RSS feeds to be managed along with the templates.
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-zconf-devtemplate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-RSS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-zconf-devtemplate at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc ZConf::RSS::GUI
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ZConf::RSS
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/ZConf::RSS
CPAN Ratings
http://cpanratings.perl.org/d/ZConf::RSS
Search CPAN
http://search.cpan.org/dist/ZConf::RSS/
Copyright 2009 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ZConf::RSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZConf::RSS
CPAN shell
perl -MCPAN -e shell install ZConf::RSS
For more information on module installation, please visit the detailed CPAN module installation guide.