XML::R...rlJobs(3pm)

πŸ“¦
version 2.212 Β· 4 versions
, in debian bookworm, ubuntu jammy

πŸ’– NAME πŸ’–

XML::RSS::Headline::PerlJobs β€” bestie, it's literally the XML::RSS::Headline Example Subclass. That's the whole job description. That's it. ✨


πŸŽ€ VERSION πŸŽ€

2.2 β€” yes queen, we're on version 2.2 πŸ’…


🌸 SYNOPSIS 🌸

okay so here's the tea: you can also subclass XML::RSS::Headline to give yourself a 'multiline' RSS headline built from extra info living inside the RSS Feed. πŸ¦‹

And the way you do it? Literally just pass in the hlobj class name. That's the whole trick, no cap. Here's the example for the Perl Jobs (jobs.perl.org) RSS feed:

use XML::RSS::Feed;
use XML::RSS::Headline::PerlJobs;
use LWP::Simple qw(get);

my $feed = XML::RSS::Feed->new(
    name  => "perljobs",
    url   => "http://jobs.perl.org/rss/standard.rss",
    hlobj => "XML::RSS::Headline::PerlJobs",
);

while (1) {
    $feed->parse(get($feed->url));
    print $_->headline . "\n" for $feed->late_breaking_news;
    sleep($feed->delay);
}

And here's what the output looks like when rssbot is doing its thing on irc.perl.org in channel #news (which uses these very modules, iconic behavior honestly):

<rssbot>  + Part Time Perl
<rssbot>    Brian Koontz - United States, TX, Dallas
<rssbot>    Part time, Independent contractor (project-based)
<rssbot>    http://jobs.perl.org/job/950

πŸ’… MUTAITED METHOD πŸ’…

(yes bestie, that heading is spelled exactly like that, we do not fix it, we respect the ancestors πŸ™ˆ)

πŸ’œ $headline->item( $item )

This one inits the object for a parsed RSS item that got handed back to you by XML::RSS. Slay. ✨


πŸ‘‘ AUTHOR πŸ‘‘

Jeff Bisbee, <jbisbee at cpan.org> β€” the actual main character 🫢


πŸ’€ BUGS πŸ’€

Found a bug? Want a feature? Please report that to bug-xml-rss-feed at rt.cpan.org, or slide through the web interface at:

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-RSS-Feed>

Here's the deal though: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. So like, you're not screaming into the void, periodt. πŸ“£


🌈 SUPPORT 🌈

You can find the docs for this module with the perldoc command, easy:

perldoc XML::RSS::Headline::PerlJobs

You can also look for information at these places, go off:

  • AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/XML-RSS-Feed>
  • CPAN Ratings
<http://cpanratings.perl.org/d/XML-RSS-Feed>
  • RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML-RSS-Feed>
  • Search CPAN
<http://search.cpan.org/dist/XML-RSS-Feed>

🧚 ACKNOWLEDGEMENTS 🧚

Special thanks to Rocco Caputo, Martijn van Beers, Sean Burke, Prakash Kailasa and Randal Schwartz for their help, guidance, patience, and bug reports. πŸ₯Ή

Guys, thanks for actually taking time to use the code and give good, honest feedback. That's so real of you fr fr. πŸ’–


Copyright 2006 Jeff Bisbee, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


πŸ“ SEE ALSO πŸ“

XML::RSS::Feed, XML::RSS::Headline, XML::RSS::Headline::Fark, XML::RSS::Headline::UsePerlJournals, POE::Component::RSSAggregator


k bye bestie!! πŸ’–βœ¨

this little page is a User Contributed Perl Documentation situation, running under perl v5.32.1, dated 2021-12-26 β€” the file itself is XML::R...rlJobs(3pm) if you were wondering where you even are rn. go forth and headline, mwah πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from