Skip to content

Commit

Permalink
added changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
danwdart committed Sep 10, 2010
1 parent 1a7ea14 commit 06e7079
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions changelog.php
@@ -0,0 +1,13 @@
<?php include"header.php"?>
<p><b>Last 10 changes:</b></p>
<?
$con = file_get_contents("http://github.com/dandart/Bibud/commits/master.atom");
$arr = new SimpleXMLElement($con);
$count=0;
foreach ($arr->entry as $entry) {
$count++;
echo "<a href='".$entry->link['href']."'>".$entry->title."</a><br />";
if ($count >=10) { break; }
}
?>
<?php include"footer.php"?>
2 changes: 1 addition & 1 deletion footer.php
@@ -1,6 +1,6 @@
<div id="links">
<br/>
<a href="contact.php">Contact us</a> - <a href="http://github.com/dandart/Bibud">Git</a> - <a href="http://github.com/dandart/Bibud/issues">Bugs</a>
<a href="contact.php">Contact us</a> - <a href="http://github.com/dandart/Bibud">Git</a> - <a href="changelog.php">Changelog</a> - <a href="http://github.com/dandart/Bibud/issues">Bugs</a>
<br/>
<span>&copy; bibud 2010</span>
</div>
Expand Down

0 comments on commit 06e7079

Please sign in to comment.