23 Nov
2022
23 Nov
'22
11:17 a.m.
review of job title: There is a perl script, and the goal is to edit it to add internationalization. Notes on draft perl script > copyright line. the author is an FSF member, celebrations > GNU GPL license block > # 1. read in a list of rss feeds and usernames > # 2. It has an incomplete functionality list containing 1 item. The item is to read in a list of rss feeds and usernames. > use strict; > ... It imports a handful of perl packages, including: - mediawiki API - www client - perl value dumper "wabget" is commented out. > my $mw = MediaWiki::API->new(); > my $wikiURL = 'https://en.wikinews.org'; # /w/api.php'; > $mw->{config}->{api_url} = "$wikiURL/w/api.php"; It's talking with wikinews via the mediawiki perl api. wikinews is a mediawiki site. > while(1){ The rest of the script is inside an infinite loop. It runs like a daemon.