Description
(Based on jeff’s ‘anon_ml‘): Generates XML from the anon list
Run
| View code [+] |
Create a snippet based on this »
View in new window »
<xml version='1.0' encoding='UTF-8'>
<posts>
<?php
include_snippet(1,"curl_function");
include_snippet(1,"simple_html_dom");
$html = str_get_html(curl("https://anon.media.mit.edu/"));
foreach($html->find('div.msg') as $div) {
echo "<message>".$div."</message>";
}
?>
Comments (0) | View comments for all versions (0)
Log in if you have a Kogbox account.