Updated Joost Action Streams Plugin

The plugin for Joost Action Streams has been updated to include favourites. If you've previously installed this plugin I recommend deleting Joost from "Other Profiles" and all the Joost activity and re-adding it to your "Other Profiles".

Joost-just_watched.jpgIf you've turned in to a Joost junkie like I have, you may find this useful. I came across a handy script today on Libby's site for showing the latest watched videos on Joost and have included it in the sidebar on my Activity Stream. It didn't show the thumbnail for the video, however the possibility was included in the code, so after some editing, I was able to get it to show up.

Create a new template module and call it "Last Watched on Joost".

Paste the following code:

<div class="widget-archive widget">
      <h3 class="widget-header">Last Watched on Joost</h3>

    <div class="widget-content">



function updateJson() { 
  var url="http://www.joost.com/api/events/lastwatched/Toni_H?json_function=lastW"
  var script = document.createElement("script");
  script.defer = "true";
  script.type = "text/javascript";
  script.src = url;

setInterval ( "updateJson()", 60000 );

function lastW(obj){
 var el=document.getElementById("lastW");
 var id=obj.events[0].publicId;
 var title=obj.events[0].title;
 var thumb=obj.events[0].thumbnail;

   el.innerHTML="Toni just watched: <a href='http://www.joost.com/"+id+"'>"+title+"</a> on <a href='http://www.joost.com/'>Joost</a><br /><br /><img src='"+thumb+"' />";

<span id="lastW"></span>
You'll need to change Toni_H to your own user name and "Toni just watched" to yourself. Otherwise you'll be getting my feed. Save the template. You could add this code directly into the sidebar template where you want it to appear, or create a widget template instead of a template module (which is what I did). Add this line of code to your sidebar for the template module you created.

<mt:Include module="Last Watched on Joost">

Or in the case of a widget, change module= to widget=.

Publish your blog.

Leave a comment

Recent Entries

  • Send Entries Using HTML Formatted Email

    There used to be a plugin for earlier versions of Movable Type called "MT-Mail-Entry":http://www.nonplus.net/software/mt/MT-Mail-Entry.htm that allowed you to send friends a HTML-formatted email that included...

  • All Comments Not Getting Published

    I had a problem viewing some of the comments on one of my posts. I thought it must be a comment limit somewhere in the...

  • MT 4.23 Update Released

    Movable Type has released a security upgrade that fixes XSS vulnerabilities, and recommends updating to 4.23 as a mandatory. The vulnerability hasn't been exploited yet,...

  • Updated Joost Action Streams Plugin

    The plugin for [Joost Action Streams](http://mt4.juneeonline.com/babble-on/archives/2008/10/joost-action-streams-plugin.php) has been updated to include favourites. If you've previously installed this plugin I recommend deleting Joost from "Other Profiles"...

  • Adding the ShareThis Button to Mid-Century

    There's a tutorial on Rob Kenny's The Composing Stick with instructions for adding AddThis or ShareThis buttons to your posts. After receiving a request today,...

OpenID accepted here Learn more about OpenID