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: 34 Hits
l assumes that you're already familiar with using SimplePie, including looping through items. It also assumes that you know how to use [[addon... ab extra Digg-specific data, and we'll extend the SimplePie class and override the [[reference:SimplePie:sort_items]] method to sort by number o... 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 class and override the existing sort_items() func
set_item_class(): 32 Hits
the Google-namespaced <gd:when> tag.
// http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes
$when =...
</body>
</html></code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
embed(): 31 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:native_embed
native_embed(): 30 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:embed]]
Translate timestamps into another language: 24 Hits
fault, PHP displays timestamps in English. Since SimplePie's [[reference:SimplePie_Item:get_date]] method relies on PHP's ... unction, get_date() is English-only. However, in SimplePie 1.0 we introduced [[reference:SimplePie_Item:get_local_date]] which leverages P... to translate timestamps into other languages.
[[reference:SimplePie_Item:get_local_date]] accepts values th... guage-subtag-registry
* http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
* http://www.google.com
How do I get a thumbnail from a YouTube feed?: 18 Hits
t's simplify this with the shorter syntax. http://simplepie.org/wiki/reference/simplepie/start
$feed = new SimplePie('http://youtube.com/rss/global/top_favorites.rss');
// Make sure the content is being serve