Archivi mailing-list
array( ‘timeout’ => 60 )));
$body = file_get_contents($filepath,0,$ctx);
//print “
“.$filepath.”
“; # DEBUG
# PARSING dei parametri
# converte \n in
solo per il testo tra i tags
$body = preg_replace_callback (‘#(.*?)#sm’,create_function(‘$matches’, ‘return nl2br($matches[0]);’),$body);# PATTERN
(.*?)#’ => ”, ‘##’ => ”, ‘##’ => ”,
$pattern = array (
‘#\n#’ => ”,
‘##’ => ”,
‘#
‘##’ => ”, ‘##’ => ”,’#(.*?)
#i’ => ‘${1}
‘,
//’##’ => ‘‘,
‘##’ => ‘#’ => ‘
‘,
‘#‘,
‘##s’ => ‘‘,
‘#href=”(\d+)-(\w+)/(\w+)#’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=${1}-${2}&st=${3}’,
‘#href=”(\d+)-(\w+).txt#’ => ‘href=”‘.$filepath.’/${1}-${2}.txt’,
‘#href=”thread.html\#(.*)#U’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=’.$periodo.’&st=thread.html#${1}’,
‘#href=”date.html\#(.*)#U’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=’.$periodo.’&st=date.html#${1}’,
‘#href=”author.html\#(.*)#U’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=’.$periodo.’&st=author.html#${1}’,
‘#href=”subject.html\#(.*)#U’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=’.$periodo.’&st=subject.html#${1}’,
‘#HREF=”(\d+).html#’ => ‘href=”/www/?page_id=4650&ml=’.$ml.’&pp=’.$periodo.’&st=${1}.html’,
‘#href=”http://perseo.lettere.unipd.it/mailman/listinfo/(.*)”#U’ => ‘href=”/www/servizi/mailing-list/”‘,
‘#dbc-news a perseo.lettere.unipd.it#U’ => ‘Scrivi a: ‘,
);$body = preg_replace(array_keys($pattern), array_values($pattern), $body);
$status = “Problemi nel fornire questa pagina. Provare più tardi.
“;
//# echo $body;
if (!$body ) { echo $status;} else { echo $body; }} // fine function legge_mlist
?>E’ possibile consultare l’archivio di tutte le Mailing List del Dipartimento: accedi agli archivi della ML dBC-news, accedi agli archivi della ML bc-news, accedi agli archivi della ML dams-news.