Author: ellen

Script Errors in MS Producer

We use MS producer quite a bit for synching video to powerpoint, although since it’s a free application, it isn’t terribly well supported by Microsoft. It’s only useful for an environment that is mostly Windows based, since presentations made with it won’t play on anything but IE for Windows.

There was a problem with a presentation that would play fine on some computers, but would start up normally then stop with a script error before playing any video. It turned out that I had associated some of the Table of Contents entries with points on the video, rather than just with slides, as I normally do. Apparently machines running older versions of Windows Media Player (6.0.4) don’t play those kind of script commands. The machines that did play it had been upgraded to WMP 9.

Continue reading

Use php to display a list of Moveable Type articles on any webpage.

I liked the page design of my php-based home page, and didn’t want to roll it into Moveable type. But I wanted a list of articles to appear, and update automatically as I add entries. Taking a cue from this tip on the Moveable Type support forum:
Show related content from a blog on another’s page“,
in my blog, I created a New Archive Template on the template screen named “Category Links” with this in it:


<link rel="stylesheet" href="MT2blog/styles.css" type="text/css" />
<div class="categoryLinks">
<MTArchiveList archive_type="Category">
<$MTArchiveTitle$><br />
<MTEntries>
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
</MTEntries>
</MTArchiveList>
</div>

In the Weblog Config under Archiving, I checked Category and selected Category Archive (this lists all the entries by category).
In the Archive Filename line next to this new line, I added:

 

 


allcategory_links.html

This will be the name of the file generated by this archiving method – “allcategory_links.html”.
On my home page, I added this “include” to pick up that generated page:


<?$filename="/home/server/path/to/my/MTarchives/folder/allcategory_links.html";
if (file_exists($filename)) { include($filename);}?>

Or download code here

Continue reading