");
// Display the blogpost name
printf("%s
", $this->title);
// Display the blog metadata
printf("");
// Display tags
for($i = 0; $i < count($this->tags); $i++) {
$tag = $this->tags[$i];
printf("
%s
", $tag["color"], $tag["name"]);
}
// Display publish date and end metadata div
printf("Published on: %s
",
date("Y-m-d", strtotime($this->date_posted)));
// Display hrule, article content and end the article
printf("