<td valign="top" class="column">
- <?php $feed = get_rss_feed('http://feeds.delicious.com/v2/rss/quilime?count=20'); ?>
- <h3><a class="mute" href="http://delicious.com/quilime/">bookmarks </a></h3>
+ <?php
+
+ $url = 'https://api.del.icio.us/v1/posts/recent?count=20';
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_POST, 1);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
+ curl_setopt($ch, CURLOPT_TIMEOUT, 5);
+ curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
+ curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
+ // add delicious.com username and password below
+ curl_setopt($ch, CURLOPT_USERPWD, 'quilime:redsink67');
+ $data = curl_exec($ch);
+ curl_close($ch);
+ $del = new SimpleXMLElement($data);
+
+ ?>
+ <h3><a class="mute" href="http://delicious.com/quilime/">bookmarks</a></h3>
<ul class="bookmarks">
- <?php foreach($feed->channel->item as $item) : ?>
+ <?php foreach($del->post as $d) : ?>
<li>
- <a href="<?=$item->link?>"><?=$item->title?></a>
+ <a href="<?=$d['href']?>"><?=$d['description'];?></a>
<br/>
- <span class="desc"><?=$item->description;?></span>
+ <span class="desc"><?=$d['extended'];?></span>
</li>
<? endforeach; ?>
</ul>
}
$people = array(
-// array('http://aaronkoblin.com', 'aaron koblin'),
-// array('http://universaloscillation.com', 'aaron meyers'),
- array('http://ripevessel.com', 'adam roth'),
-// array('http://reas.com/', 'casey reas'),
-// array('http://cenizal.com', 'cj cenizal'),
+
+ array('http://onecm.com', 'ryan alexander'),
+ array('http://ssherriff.com', 'stephanie sherriff'),
array('http://www.oddsympathy.com/', 'daniel massey'),
- array('http://davidrager.org', 'david rager'),
+ array('http://pohflepp.com', 'sascha pohflepp'),
+ array('http://dabkitsch.com/jml', 'jeff lubow'),
+ array('http://jtnimoy.net', 'joshua nimoy'),
+ array('http://keithpasko.com', 'keith pasko'),
array('http://fredericeyl.de', 'frédéric eyl'),
- array('http://dabkitsch.com/jml', 'jeff lubow'),
- array('http://jtnimoy.net', 'joshua nimoy'),
- array('http://keithpasko.com', 'keith pasko'),
+ array('http://ghost-hack.com', 'michael chang'),
+ array('http://aaronkoblin.com', 'aaron koblin'),
+ array('http://mylinhtrieu.com', 'mylinh trieu'),
+ array('http://renataraksha.com', 'renata raksha'),
+ array('http://universaloscillation.com', 'aaron meyers'),
+
+ array('http://tom-carden.co.uk', 'tom carden'),
+ array('http://mike.teczno.com', 'michal migurski'),
+
+
+ array('http://ripevessel.com', 'adam roth'),
+ array('http://cenizal.com', 'cj cenizal'),
+ array('http://davidrager.org', 'david rager'),
array('http://digitanalog.net', 'marc nimoy'),
-// array('http://makaga.com', 'matthew gale'),
- array('http://davidmichaeldunne.com', 'michael dunne'),
- array('http://mike.teczno.com', 'michal migurski'),
- array('http://mylinhtrieu.com', 'mylinh trieu'),
-// array('http://renataraksha.com', 'renata raksha'),
- array('http://onecm.com', 'ryan alexander'),
- array('http://pohflepp.com', 'sascha pohflepp'),
- array('http://ssherriff.com', 'stephanie sherriff'),
+ array('http://makaga.com', 'matthew gale'),
+
+ array(' ', ' '),
+
array('http://www.thegreeneyl.com/', 'the green eyl'),
- array('http://tom-carden.co.uk', 'tom carden')
+ array('http://gaffta.org/', 'gaffta')
);
?>