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
Translate timestamps into another language: 29 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?: 21 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... _content_type();
foreach ($feed->get_items() as $item)
{
// As long as an enclosure exists...
if ($enclosure = $item->get_enclosure())
{
// Display the thumbnail as an image and link it back to the