
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";
}
Invokes the view window.
$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";
}
This returns a array of available dialogs.
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>

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.

You can find documentation for this module with the perldoc command.
perldoc ZConf::RSS::GUI
You can also look for information at:


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.