GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FRESHMEAT (3)

.ds Aq ’

NAME

Mail::Freshmeat - parses daily newsletters from http://freshmeat.net/

CONTENTS

SYNOPSIS



 use Mail::Freshmeat;

 my $newsletter = Mail::Freshmeat->new(\*STDIN);

 print "Date: ", $newsletter->date(), "\n";
 print "Total entries: ", $newsletter->entries_total(), "\n";

 for my $entry ($newsletter->entries())
 {
   print "Position: ", $entry->position(), "\n";
   print "Name and version: ", $entry->name_and_version(), "\n";
 }



DESCRIPTION

IMPORTANT: DUE TO FRESHMEAT.NET CHANGING THE STRUCTURE OF THEIR NEWSLETTERS, THE INTERFACE FOR THIS PACKAGE HAS CHANGED SINCE Mail::Freshmeat 0.94.

Mail::Freshmeat is a subclass of <B>Mail::InternetB>.

This package provides parsing of the daily e-mail newsletters which are sent out from http://freshmeat.net/ to any individual who requests them.

NEWSLETTER METHODS

o <B>newB>

This is the constructor. Pass it something that Mail::Internet will like such as a file descriptor (reference to a GLOB) or a reference to an array and you will get back a newsletter object.

o <B>entriesB>

This object method will return an array or an array reference (depending on context) of entry objects for all of the entries in the newsletter.

o <B>articlesB>

This object method will return an array or an array reference (depending on context) of article objects for all of the articles in the newsletter.

ENTRY METHODS

o <B>entry_keysB>

This object method will return an array or an array reference (depending on context) of all the attribute names of an entry (e.g.: position, name, license, url) in the order that they appeared.

o <B>short_entryB>

This object method will return the short description of the entry as it appeared in the newsletter headlines section (eg: Linux 2.4.9-ac15 (2.4-ac))

ARTICLE METHODS

o <B>article_keysB>

This object method will return an array or an array reference (depending on context) of all the attribute names of an article (e.g.: title, description, url) in the order that they appeared.

NEWSLETTER ACCESSORS

o <B>adB>
o <B>ad_headerB>
o <B>articles_headerB>
o <B>articles_payloadB>
o <B>articles_totalB>
o <B>dateB>
o <B>entries_headerB>
o <B>entries_payloadB>
o <B>entries_totalB>
o <B>footerB>
o <B>fullB>
o <B>headlinesB>
o <B>headlines_headerB>
o <B>linksB>
o <B>links_headerB>

ENTRY ACCESSORS

o <B>aboutB>
o <B>changesB>
o <B>fullB>
o <B>licenseB>
o <B>nameB>
o <B>name_and_versionB>
o <B>positionB>
o <B>posted_by_nameB>
o <B>posted_by_urlB>
o <B>posted_onB>
o <B>troveB>
o <B>urlB>
o <B>versionB>

ARTICLE ACCESSORS

o <B>descriptionB>
o <B>fullB>
o <B>posted_by_nameB>
o <B>posted_by_urlB>
o <B>posted_onB>
o <B>sectionB>
o <B>titleB>
o <B>urlB>

AUTHORS

Adam J. Foxson afoxson@pobox.com, 2002-
Adam Spiers adam@spiers.net, 1999-2000

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

VERSION

This is release 1.20.

SEE ALSO

perl(1).

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 461: ’=item’ outside of any ’=over’
Around line 465: You forgot a ’=back’ before ’=head1’
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FRESHMEAT (3) 2002-07-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.