.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Debian::L10n::Spider 3pm" .TH Debian::L10n::Spider 3pm "2021-01-05" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dl10n\-spider \-\- crawl translator mailing lists (and BTS) for status updates .SH "SYNOPSIS" .IX Header "SYNOPSIS" dl10n\-spider [options] lang+ .SH "DESCRIPTION" .IX Header "DESCRIPTION" This script parses the debian\-l10n\- mailing list archives. It looks for emails which title follow a specific format indicating what the author intend to translate, or the current status of his work on this translation. .PP Those informations are saved to a dl10n database which can then be used to build a l10n coordination page or any other useless statistics. .SS "get_header(\s-1HTML\s0)" .IX Subsection "get_header(HTML)" get_header extract the email header from the html page. This header starts at and stops at . As it contains html tags, they are also removed. .PP It gets a reference to an array of line (\s-1HTML\s0) containing the html code of the page. .PP It returns a reference to an array containing the email header lines. .SS "get_message(\s-1LANGUAGE, YEAR, MONTH, MESSAGE\s0)" .IX Subsection "get_message(LANGUAGE, YEAR, MONTH, MESSAGE)" get_message requests message to the archives of a l10n mailling. .PP It gets the language string (\s-1LANGUAGE\s0), year (\s-1YEAR\s0), month (\s-1MONTH\s0) and message number (\s-1MESSAGE\s0) integers. .PP It return a reference to an array containing the html lines or 'undef' if an error occured. .SS "get_indexpage" .IX Subsection "get_indexpage" retrieves all messages numbers and subjects from a page of messages sorted by date. It return a hash table with message number as keys and subject as values (this is really quicker than retrieving each message). .SH "LICENSE" .IX Header "LICENSE" This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE.\s0 See the \s-1GNU\s0 General Public License for more details. # You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place \- Suite 330, Boston, \s-1MA 02111\-1307, USA.\s0 .SH "COPYRIGHT (C)" .IX Header "COPYRIGHT (C)" .Vb 3 \& 2003,2004 Tim Dijkstra \& 2004 Nicolas Bertolissio \& 2004 Martin Quinson .Ve