3
1
Back

{ Added BCN, Something Positive } if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $article['id']; } return $article; } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tag) // Achewood (alt.

New Pull Request