Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Pumpking email list?

by blue_cowdawg (Monsignor)
on Oct 19, 2016 at 15:10 UTC ( #1174305=note: print w/replies, xml ) Need Help??


in reply to Pumpking email list?

Looks like I need to use RSS. Didn't see any subscription info for a an email list for CPAN uploads. I finally found something Microsoft Outlook is good for. I've plugged the RSS feed into it and voila I got what I'm looking for. :-)

Next will be a Perl script to process the RSS feed and alert on modules I care about.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.

Replies are listed 'Best First'.
Re^2: Pumpking email list?
by hippo (Chancellor) on Oct 19, 2016 at 15:24 UTC

    If you only care about a subset of modules then maybe going directly to https://www.perlmodules.net/ might be simpler? Setting up an RSS feed and/or email alerts on a personally-selected subset of modules is its raison d'etre.

      I'm still exploring just how I do this. My ultimate goal would be for whatever script I end up writing to open a ticket in whatever ticketing system d'jour they have us work with next when a change to one of the modules in my list happens.


      Peter L. Berghold -- Unix Professional
      Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.

        XML::RSS:Tools might of use for you. It uses an XSLT style sheet to generate output from the data in the RSS.

        use XML::RSS::Tools; my $feed = 'http://rss.example.com/'; my $xslt = '/path/to/stylesheet'; my $rss = XML::RSS::Tools->new; if ($rss->rss_uri($feed) && $rss->xsl_file($xslt) && $rss->transform) { print $rss->as_string } else { print $rss->as_string('error') };

        Another possibility is XML::Feed which would give you a "programmatic" approach to generating your output.

        use XML::Feed; my $feed = XML::Feed->parse(URI->new($feed)) or die XML::Feed->errstr; for my $entry ($feed->entries) { # extract info from entry and generate output }

        There seems to be quite a few others on CPAN, but of the few I looked at, these seemed the simplest to use.

        Side comment: I would be dubious of automatically creating tickets from any RSS feed. Even with very good filtering, you can still end up with a lot of "noise tickets" to explain to your managers.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1174305]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2020-05-25 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (143 votes). Check out past polls.

    Notices?