Time Ago - Download
Converts past date to “1 minute ago”, “5 days ago” etc.
Usage:
{exp:channel:entries channel="news"}
{exp:time_ago}{entry_date}{/exp:time_ago}
{/exp:channel:entries}
Youku EE - Download
Fetches Youku (Chinese Youtube clone) video clip information.
Usage:
{exp:youku_ee:video_info video_id="{video_id}" partner_id="{partner_id}" refresh="60"}
{swf} /* swf file URL */
{image} /* thumbnail */
{title}
{description}
{duration}
{date format="%D, %F %d, %Y - %g:%i:%s"}
{/exp:youku_ee:video_info}
Video ID - e.g. XMjA0NDQ3MTQ4
Partner ID - e.g. XMzA0 (you need to register with Youku to get your own)
Updates:
v0.2
- Added caching: refresh=“60” will cache data for 60 minutes
- Added description: {description}