Posts
Included is a list of all blog posts I've written here, latest first. I try to post as frequently as I can make an excuse to.
It's also got a feed if you want it.
-
loadHTMLFile($postlocation)) {
$xpath_section = new DOMXpath($dom);
$list = $dom->getElementsByTagName("title");
if ($list->length > 0) {
$title = $list->item(0)->textContent;
}
$list = $xpath_section->query('//div[@class="section"]//p');
if ($list->length > 0) {
$summary = $list->item(0)->nodeValue;
}
}
// Produce a list item
$post = str_replace($extensions, "", $post);
$title = str_replace("9iron - ", "", $title);
echo "
$post: $title
$summary