WWW::Freshmeat::Project(3pm) User Contributed Perl Documentation WWW::Freshmeat::Project(3pm)NAME
WWW::Freshmeat::Project - retrieve project information
WWW::Freshmeat::Project methods
The "WWW::Freshmeat::Project" object provides some of the fields from the freshmeat.net entry through the following methods
url_project_page
URL of project page on Freshmeat
url_homepage
deprecated
projectname_full
desc_short
desc_full
license
trove_id
Removed.
projectname_short
www_freshmeat
Additionally, it provides the following "higher-level" methods:
name
description
Return either "projectname_full" (respectively "desc_full") or "projectname_short" (respectively "desc_short") if the former is empty.
version
Returns the version of the latest release.
url Removed.
"url_homepage" returns a freshmeat.net URL that redirects to the actual project's home page. This url() method tries to follow the
redirection and returns the actual homepage URL if it can be found, or the URL to the freshmeat.net entry for the project.
branches
Removed.
List of branches for project. Returns hash in form of (branch id => branch name).
popularity
Removed.
Freshmeat popularity data for project. Returns hash with keys record_hits, url_hits, subscribers
url_list
Removed.
url_list1
Returns list of URLs for project. Each URL is a WWW::Freshmeat::Project::URL object.
real_author
Removed.
Returns name of author (not maintainer).
release_date
Removed.
Returns date of latest release.
maintainers
Removed.
Returns list of names of maintainers.
1;
perl v5.14.2 2012-03-05 WWW::Freshmeat::Project(3pm)
Check Out this Related Man Page
WWW::Freshmeat(3pm) User Contributed Perl Documentation WWW::Freshmeat(3pm)NAME
WWW::Freshmeat - automates usage of Freshmeat.net
VERSION
Version 0.22
SYNOPSIS
use WWW::Freshmeat;
my $fm = WWW::Freshmeat->new(token=>'freshmeat_token');
my $project = $fm->retrieve_project('project_id');
foreach my $p ( @projects, $project ) {
print $p->name(), "
";
print $p->version(), "
";
print $p->description(), "
";
}
DESCRIPTION
"WWW::Freshmeat" derives from "LWP::UserAgent", so it accepts all the methods that "LWP::UserAgent" does, notably "timeout", "useragent",
"env_proxy"...
Methods
retrieve_project STRING
Query the freshmeat.net site for the project STRING (should be the Freshmeat ID of the requested project) and returns a
"WWW::Freshmeat::Project" object or undef if the project entry cannot be found.
project_from_xml STRING
Receives Freshmeat project XML record and returns a "WWW::Freshmeat::Project" object or undef if the project entry cannot be found.
redir_url STRING
Receives URL and returns URL which it redirects to.
SEE ALSO
LWP::UserAgent.
AUTHOR
Cedric Bouvier, "<cbouvi at cpan.org>". Alexandr Ciornii.
BUGS
Please report any bugs or feature requests to "bug-www-freshmeat at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Freshmeat
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Freshmeat <http://annocpan.org/dist/WWW-Freshmeat>
o CPAN Ratings
http://cpanratings.perl.org/d/WWW-Freshmeat <http://cpanratings.perl.org/d/WWW-Freshmeat>
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat <http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat>
o Search CPAN
http://search.cpan.org/dist/WWW-Freshmeat <http://search.cpan.org/dist/WWW-Freshmeat>
ACKNOWLEDGEMENTS COPYRIGHT & LICENSE
Copyright 2006 Cedric Bouvier (version 0.01). Copyright 2009-2012 Alexandr Ciornii.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-05 WWW::Freshmeat(3pm)