You are here: Documentation
Search
You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.
Results
Sorting by custom criteria instead of date: 22 Hits
de php>
<?php
// Include the necessary libraries. Digg Add-on found at http://simplepie.org/wiki/addons/digg
require_once('simplepie.inc');
require_once('simplepie_digg.inc');
// Extend the SimplePie cla... plePie_Custom_Sort();
$feed->set_feed_url('http://digg.com/rss/index.xml');
$feed->set_item_class('SimplePie_Item_Digg'); // Make sure we use the Digg Add-on
$feed->set_cache_duration(300); // 5 minutes
$