good writing + superfluous commentary
atom feed
entry as $entry) {
$nyr = substr($entry->published, 0, 4);
if($nyr != $year) {
$year = $nyr;
echo "$year ";
}
}
?>
Rather than my own writing, this feed is articles that other people wrote that I shared here with commentary.
I'm not sure how I feel about the name, but given I'm pretty much stealing Jim Nielsen's idea wholesale, I figured I may as well yoink his name for it too. It'll do, I suppose.
All notes ";
}
echo "";
$year = "-69420";
$yc = 0;
foreach($content->entry as $entry) {
$pfilt = false;
if(!$nostag) {
foreach($entry->category as $cat) {
$term = $cat["term"];
if($stag == $term) {
$pfilt = true;
}
}
}
if($pfilt or $nostag) {
$nyr = substr($entry->published, 0, 4);
if($nyr != $year) {
$year = $nyr;
echo "$year ";
}
$dt = substr($entry->published, 0, 10);
$ti = $entry->title;
$cats = "";
foreach($entry->category as $cat) {
$term = $cat["term"];
$cats = $cats."".$term." ";
}
$entryurl = $entry->link["href"];
$entryprotocol = preg_replace("/:\/\/(.*)/", "://", $entryurl);
$entrysite = preg_replace(array("/(.*):\/\//", "/\/(.*)/"), "", $entryurl);
echo("$dt • $entrysite
$entry->summary
$cats
");
}
}
echo " ";
?>