<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;?php
 
-// Version 0.9.3.2
+// Version 1.0.0
 
 // Include ScreenSteps Live class file
 require_once(dirname(__FILE__) . '/sslive_class.php');
@@ -278,7 +278,7 @@ class SSLiveWordPress extends SSLiveAPI {
 						{
 							$text .= ('&lt;li class=&quot;screenstepslive_divider&quot;&gt;' . $asset['title'] . &quot;&lt;/li&gt;\n&quot;);
 						}
-						else if (strtolower($asset['type']) == 'lesson')
+						else if (strtolower($asset['type']) == 'bucket')
 						{
 							$link_to_page = $this-&gt;GetLinkToBucket($post_id, $space_id, $asset['id']);
 							$text .= ('&lt;li class=&quot;screenstepslive_lesson&quot;&gt;&lt;a href=&quot;' . $link_to_page . '&quot;&gt;' . $asset['title'] . &quot;&lt;/a&gt;&lt;/li&gt;\n&quot;);
@@ -392,10 +392,22 @@ class SSLiveWordPress extends SSLiveAPI {
 				} else {
 					if ($array['steps']['step']) {
 						foreach ($array['steps']['step'] as $key =&gt; $step) {
+							// $step['media'][0]['type'] = image | text
+							// text: has a node &quot;text&quot;
 							$text .= ('&lt;h3&gt;' . $step['title'] . &quot;&lt;/h3&gt;\n&quot;);
 							$text .= ('&lt;p&gt;' . $step['instructions'] . &quot;&lt;/p&gt;\n&quot;);
-							$text .= ('&lt;div class=&quot;screenstepslive_image&quot;&gt;&lt;img src=&quot;' . $step['media'][0]['url'] . 
-								'&quot; width=&quot;' . $step['media'][0]['width'] . '&quot; height=&quot;' . $step['media'][0]['height'] . '&quot; /&gt;&lt;/div&gt;' . &quot;\n&quot;);
+							
+							switch (strtolower($step['media'][0]['type'])) {
+								case 'text':
+									$text .= '&lt;div class=&quot;screenstepslive_mediatext&quot;&gt;' . $step['media'][0]['text'] .
+										'&lt;/div&gt;';
+									break;
+								case 'image':
+								default:
+									$text .= ('&lt;div class=&quot;screenstepslive_image&quot;&gt;&lt;img src=&quot;' . $step['media'][0]['url'] . 
+										'&quot; width=&quot;' . $step['media'][0]['width'] . '&quot; height=&quot;' . $step['media'][0]['height'] . '&quot; /&gt;&lt;/div&gt;' . &quot;\n&quot;);
+									break;
+							}
 							$text .= ('&lt;p&gt;&lt;/p&gt;' . &quot;\n&quot;);
 						}
 					}</diff>
      <filename>sslivewordpress_class.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>70401ac5f928a31fa204a592f385fef118976ce1</id>
    </parent>
  </parents>
  <author>
    <name>Trevor K DeVore</name>
    <email>trevordevore@Trevors-iMac-2.home</email>
  </author>
  <url>http://github.com/bluemango/screensteps-live-wordpress-plugin/commit/30b5bed9ad8833a81009b1bbabf0957796eab74a</url>
  <id>30b5bed9ad8833a81009b1bbabf0957796eab74a</id>
  <committed-date>2009-06-16T06:49:53-07:00</committed-date>
  <authored-date>2009-06-16T06:49:53-07:00</authored-date>
  <message>Added support for media type of text (embed code)</message>
  <tree>fce5db3ff04f89a3eb4e7f0a0f5b8675c50f14c0</tree>
  <committer>
    <name>Trevor K DeVore</name>
    <email>trevordevore@Trevors-iMac-2.home</email>
  </committer>
</commit>
