From e86ec22e0a1b7a4f6b48dc0b858773c70bcd19b4 Mon Sep 17 00:00:00 2001 From: Tezza Date: Thu, 12 Feb 2015 21:58:57 +0100 Subject: [PATCH] added original list gatherer --- src/mailinglists.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/mailinglists.php diff --git a/src/mailinglists.php b/src/mailinglists.php new file mode 100644 index 0000000..50220da --- /dev/null +++ b/src/mailinglists.php @@ -0,0 +1,13 @@ +'; + + $mailmanHTML = file_get_contents( 'https://lists.hackerspace.lu/mailman/listinfo' ); + + $listPattern = '//s'; + + preg_match_all( $listPattern, $mailmanHTML, $lists ); + + print_r( $lists[1] ); + + exit;