Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GNU nano 2.2.4 File: ../index.php
<?
include ('include/header.php');
include ('php/simplepie.inc');
function github_feed () {
$feed = new SimplePie;
$feed->set_feed_url('http://github.com/miyoko.atom');
$feed->enable_cache(true);
$feed->init();
$feed->handle_content_type();
foreach($feed->get_items() as $item) {
echo '<strong><a href="' . $item->ge$
echo '<div class="medium awesome gre$
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.