<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Scottish Web Folk T4</title>
	<atom:link href="http://scottishwebfolkt4.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://scottishwebfolkt4.wordpress.com</link>
	<description>Scottish University TERMINALFOUR SiteManager users</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:07:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='scottishwebfolkt4.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Scottish Web Folk T4</title>
		<link>http://scottishwebfolkt4.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://scottishwebfolkt4.wordpress.com/osd.xml" title="Scottish Web Folk T4" />
	<atom:link rel='hub' href='http://scottishwebfolkt4.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Now with XHTML-compliant fragment identifiers</title>
		<link>http://scottishwebfolkt4.wordpress.com/2012/01/13/now-with-xhtml-compliant-fragment-identifiers/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2012/01/13/now-with-xhtml-compliant-fragment-identifiers/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 14:07:45 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[environment variable]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[t4 tag]]></category>

		<guid isPermaLink="false">https://scottishwebfolkt4.wordpress.com/?p=269</guid>
		<description><![CDATA[This is something that Laura from T4 mentioned in the T4SMACAD-L mailing list a couple of months ago that I’ve found useful and have enabled on our version of 6.2.0033 at the University of St Andrews. As of Site Manager &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2012/01/13/now-with-xhtml-compliant-fragment-identifiers/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=269&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://scottishwebfolkt4.files.wordpress.com/2012/01/istock_000002393284xsmall.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="iStock_000002393284XSmall" border="0" alt="iStock_000002393284XSmall" src="http://scottishwebfolkt4.files.wordpress.com/2012/01/istock_000002393284xsmall_thumb.jpg?w=404&#038;h=304" width="404" height="304"></a></p>
<p>This is something that Laura from T4 mentioned in the T4SMACAD-L mailing list a couple of months ago that I’ve found useful and have enabled on our version of 6.2.0033 at the University of St Andrews.</p>
<p>As of Site Manager 6.2.0033 and 7.0.0010 the T4 meta tags with a type of html_anchor now have an XHTML-compliant option so that you can use the <em>id</em> attribute rather than the <em>name</em> attribute.</p>
<h3>Environment variables</h3>
<p>To enable the XHTML-compliant option you need to add two new variables on the Environment Variables page and then set them both to true. The new variables are:</p>
<ul>
<li>xhtml-output</li>
<li>xhtml-strict-output</li>
</ul>
<h3>Example</h3>
<p>So, for example:</p>
<blockquote><p>&lt;t4 type=”meta” meta=”html_anchor” /&gt;</p>
</blockquote>
<p>might generate this fragment identifier:</p>
<blockquote><p>&lt;a name=”d.en.123”&gt;&lt;/a&gt;</p>
</blockquote>
<p>With the new XHTML-compliant options enabled it would now generate this:</p>
<blockquote><p>&lt;a id=”d.en.123”&gt;&lt;/a&gt;</p>
</blockquote>
<p>This is good news for those who don’t like to use the older ‘name’ attribute.</p>
<h3>Option to choose which element would be nice</h3>
<p>Prior to HTML 4 the only way to create a fragment identifier was to to use the name attribute on an anchor tag &lt;a&gt;.</p>
<p>As of HTML 4 practically any element can be used, with an <em>id</em> attribute. Being picky now, it’s just a shame there isn’t a further option to allow you to specify the element that you would like the fragment identifier to be an attribute of, e.g. an empty &lt;div&gt; for example.</p>
<p>That said, this is a welcome addition.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=269&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2012/01/13/now-with-xhtml-compliant-fragment-identifiers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2012/01/istock_000002393284xsmall_thumb.jpg" medium="image">
			<media:title type="html">iStock_000002393284XSmall</media:title>
		</media:content>
	</item>
		<item>
		<title>v7 Upgrade Top Tip</title>
		<link>http://scottishwebfolkt4.wordpress.com/2011/11/30/v7-upgrade-top-tip/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2011/11/30/v7-upgrade-top-tip/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 09:26:26 +0000</pubDate>
		<dc:creator>webdunk</dc:creator>
				<category><![CDATA[SiteManager]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=264</guid>
		<description><![CDATA[We upgraded to 7.0.0010 in mid-2011 from 6.2.0030. Generally speaking everything has been behaving as it should but in November, the publish started to hiccup for no apparent reason. This was very quickly traced to our not having enough database &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2011/11/30/v7-upgrade-top-tip/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=264&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We upgraded to 7.0.0010 in mid-2011 from 6.2.0030. Generally speaking everything has been behaving as it should but in November, the publish started to hiccup for no apparent reason.</p>
<p>This was very quickly traced to our not having enough database connections configured &#8211; we were told that we&#8217;ve had the same number configured almost since we installed T4 back in 2004 but that v7 needs significantly more.</p>
<p>We increased from 20 to 200 and all is well once again.</p>
<p>The top tip? Make sure T4 / your infrastructure support people check the number of database connections allocated is appropriate for your install.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=264&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2011/11/30/v7-upgrade-top-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac54898114215df5684f9529f7d129f1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webdunk</media:title>
		</media:content>
	</item>
		<item>
		<title>Output the current page&#8217;s URL</title>
		<link>http://scottishwebfolkt4.wordpress.com/2011/09/16/output-the-current-pages-url/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2011/09/16/output-the-current-pages-url/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 10:23:11 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[section]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[URI]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">https://scottishwebfolkt4.wordpress.com/2011/09/16/output-the-current-pages-url/</guid>
		<description><![CDATA[Here’s a feature of Site Manager that we’d not come across until now, and which isn’t particularly intuitive which is why I’m blogging about it. The problem We simply needed a way for Site Manager to output the URL of &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2011/09/16/output-the-current-pages-url/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=260&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here’s a feature of Site Manager that we’d not come across until now, and which isn’t particularly intuitive which is why I’m blogging about it.</p>
<h3>The problem</h3>
<p>We simply needed a way for Site Manager to output the URL of the current section. We knew about the <em>section details</em> navigation object but couldn’t work out how to tell it to use the current section rather than specifying a specific section.</p>
<p><a href="http://scottishwebfolkt4.files.wordpress.com/2011/09/t4-nav-sectionpath.gif"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="t4-nav-sectionpath" border="0" alt="t4-nav-sectionpath" src="http://scottishwebfolkt4.files.wordpress.com/2011/09/t4-nav-sectionpath_thumb.gif?w=617&#038;h=619" width="617" height="619"></a></p>
<p>The tooltip for the Section option says:</p>
<blockquote><p>If the section method is chosen above, then the item will display the details of the section specified by ID here. If the ID is set to ZERO, the current section will be used for generating output.</p>
</blockquote>
<p>Which is fine but we couldn’t work out how to set the ID to ‘ZERO’. We emailed T4 client support who, as usual, were very helpful and pointed us to this announcement on the T4 Extranet: <a href="https://extranet.terminalfour.com/keepuptodate/announcements/announcement-14165-en.html">Output the URI of the current page</a>.</p>
<h3>The solution</h3>
<p>It turns out what this means is simply <strong>don’t select a section</strong>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=260&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2011/09/16/output-the-current-pages-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2011/09/t4-nav-sectionpath_thumb.gif" medium="image">
			<media:title type="html">t4-nav-sectionpath</media:title>
		</media:content>
	</item>
		<item>
		<title>Database index on SM 7.0</title>
		<link>http://scottishwebfolkt4.wordpress.com/2011/05/30/database-index-on-sm-7-0/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2011/05/30/database-index-on-sm-7-0/#comments</comments>
		<pubDate>Mon, 30 May 2011 09:51:52 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[v7]]></category>
		<category><![CDATA[version 7.0]]></category>

		<guid isPermaLink="false">https://scottishwebfolkt4.wordpress.com/2011/05/30/database-index-on-sm-7-0/</guid>
		<description><![CDATA[This message just appeared on the Administrators of TerminalFour&#8217;s SiteManager CMS in academic institutions mailing list from Piero Tintori. I thought it might be useful for a wider audience: Just in case any of you running [Site Manager] 7.0 haven&#8217;t &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2011/05/30/database-index-on-sm-7-0/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=255&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This message just appeared on the <a href="http://www.lsoft.com/scripts/wl.exe?SL1=T4SMACAD-L&amp;H=LISTS.UCC.IE">Administrators of TerminalFour&#8217;s SiteManager CMS in academic institutions mailing list</a> from Piero Tintori. I thought it might be useful for a wider audience:</p>
<blockquote><p>Just in case any of you running [Site Manager] 7.0 haven&#8217;t spotted the posting on the <a href="http://extranet.terminalfour.com/keepuptodate/announcements/2011-05-17-index-for-sm-70.html">Extranet</a>, <a href="http://www.facebook.com/TERMINALFOUR">Facebook</a> &amp; <a href="http://twitter.com/#!/terminalfour">Twitter</a>, we have a database index that you should apply if possible, that may have a very positive impact on publish performance depending on your configuration.</p>
</blockquote>
<p>It would be great to hear if folks have followed the advice and what impact it has made on publishing times.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=255&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2011/05/30/database-index-on-sm-7-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>
	</item>
		<item>
		<title>How to embed an MP3 file</title>
		<link>http://scottishwebfolkt4.wordpress.com/2011/01/12/how-to-embed-an-mp3-file/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2011/01/12/how-to-embed-an-mp3-file/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 13:46:34 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[Site Manager]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=230</guid>
		<description><![CDATA[Last week I was working on embedding an MP3 file onto the University website so I thought I&#8217;d write about it here in case it helps someone else.  We&#8217;re using Site Manager 6.2.0032. WordPress Audio Player As the embedded player &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2011/01/12/how-to-embed-an-mp3-file/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=230&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_238" class="wp-caption alignnone" style="width: 510px"><a href="http://scottishwebfolkt4.files.wordpress.com/2011/01/20110112-embeddedmp3.gif"><img class="size-full wp-image-238" title="20110112-embeddedmp3" src="http://scottishwebfolkt4.files.wordpress.com/2011/01/20110112-embeddedmp3.gif?w=640" alt="MP3 players embedded on the page"   /></a><p class="wp-caption-text">The Organ Music for Weddings page has 12 embedded MP3s</p></div>
<p>Last week I was working on embedding an MP3 file onto the University website so I thought I&#8217;d write about it here in case it helps someone else.  We&#8217;re using Site Manager 6.2.0032.</p>
<h3>WordPress Audio Player</h3>
<p>As the embedded player we&#8217;re using the <strong>standalone version</strong> of the excellent <a title="WordPress Audio Player" href="http://wpaudioplayer.com/standalone">WordPress Audio Player</a> which uses a combination of JavaScript and &lt;whisper&gt;Flash&lt;/whisper&gt;&#8230; which means no iPhone/iPad support and a flood of hatemail from HTML5 aficionados.</p>
<p>Audio Player is released under the Open Source <a title="MIT license" href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>, which gives you the opportunity to use it and modify it for your own use.</p>
<h3>Media template formatting</h3>
<p>We created <a title="How To Add a Media Type" href="https://extranet.terminalfour.com/documentation/sitemanager/tools/medialibrary/addamediatype/">a new media type</a> called &#8216;mp3&#8242; and gave it the following format:</p>
<blockquote><p><em><code>&lt;p id="mp3"&gt;</code></em><em><code>&lt;a href="http://www.adobe.com/products/flashplayer/" title="Download Flash Player"&gt;Flash Player&lt;/a&gt; is required for the embedded audio player.&lt;/p&gt;</code></em></p>
<p><em><code>&lt;p&gt;&lt;script type="text/javascript"&gt;AudioPlayer.embed("mp3", { soundFile: "&lt;t4 type="content" output="file" modifiers="nav_sections" name="Media" /&gt;", artists: "&lt;t4 type="content" output="normal" modifiers="js-var, nav_sections" name="Description" /&gt;", titles: "&lt;t4 type="content" output="normal" modifiers="js-var, nav_sections" name="Name" /&gt;"    });&lt;/script&gt;&lt;/p&gt;</code></em></p>
<p><em><code>&lt;p&gt;Download: &lt;a href="&lt;t4 type="content" output="file" modifiers="nav_sections" name="Media" /&gt;"&gt;&lt;t4 type="content" output="normal" modifiers="js-var, nav_sections" name="Description" /&gt; - &lt;t4 type="content" output="normal" modifiers="js-var, nav_sections" name="Name" /&gt;&lt;/a&gt; (MP3, &lt;t4 type="meta" name="Media" meta="filesize" /&gt; KB)&lt;/p&gt;</code></em></p></blockquote>
<p>which drops into the WordPress Audio Player code the appropriate file path, name, description and file size.</p>
<p>Obviously the <strong>download paragraph is optional</strong> if you don&#8217;t want end-users to be able to download the MP3 file directly.</p>
<p>Also, if you want to include <strong>more than one player on the same page</strong> you will need to change the first paragraph ID (<code>&lt;p id="mp3"&gt;</code>) so that each player has a unique ID, e.g.</p>
<blockquote><p><code><em>&lt;p id="audioPlayer_1"&gt;...&lt;/p&gt;</em></code><br />
<code><em>&lt;p id="audioPlayer_2"&gt;...&lt;/p&gt;</em></code></p></blockquote>
<p>We use PHP code to generate a random alphanumeric ID but you could create a template for using with the MP3 files if you wanted to go down that route.</p>
<h3>JavaScript</h3>
<p>The final step is to ensure that the supporting JavaScript file is linked to on the page, and that the <tt>audio-player.js</tt> and <tt>player.swf</tt> files are in the Site Manager media library (and linked to from an &#8216;includes&#8217; file to ensure that it publishes out&#8230; if you&#8217;re not using a version of Site Manager that will manage that within the Media Library itself).</p>
<p>We use a related content navigation object to look for a sub-section called <tt>rel_jquery</tt> which then drops whatever it finds in that section just above the closing <code>&lt;/body&gt;</code> tag.  So that&#8217;s where the <tt>audio-player.js</tt> file goes, linked to from the Media Library using a template we have for&#8230; well, linking to media library items.</p>
<h3>Why we did it this way</h3>
<p>The only minor faff about doing it this way is remembering to include the <tt>rel_jquery</tt> section and accompanying JavaScript file otherwise it&#8217;s been a really useful way of including links to MP3 files with an accompanying embedded media player.</p>
<p>That way the users just needs to upload an MP3 file into the Media Library and link to it within a piece of content without needing to use a particular template.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=230&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2011/01/12/how-to-embed-an-mp3-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2011/01/20110112-embeddedmp3.gif" medium="image">
			<media:title type="html">20110112-embeddedmp3</media:title>
		</media:content>
	</item>
		<item>
		<title>Scheduling an rsync twice to avoid a publishing problem</title>
		<link>http://scottishwebfolkt4.wordpress.com/2010/08/25/scheduling-an-rsync-twice-to-avoid-a-publishing-problem/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2010/08/25/scheduling-an-rsync-twice-to-avoid-a-publishing-problem/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:06:24 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[TransferManager]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[Site Manager]]></category>
		<category><![CDATA[St Andrews]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[top tip]]></category>
		<category><![CDATA[Transfer Manager]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=215</guid>
		<description><![CDATA[A couple of weeks ago someone pointed out that we had a very subtle problem with publishing updated content to the live Web server which has led to us reorganising how we manage publishing, and has actually duplicated work in &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2010/08/25/scheduling-an-rsync-twice-to-avoid-a-publishing-problem/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=215&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago someone pointed out that we had a very subtle problem with publishing updated content to the live Web server which has led to us reorganising how we manage publishing, and has actually duplicated work in some cases.</p>
<h3>Publishing workflow</h3>
<p>Our publishing workflow is as follows:</p>
<div id="attachment_216" class="wp-caption alignnone" style="width: 445px"><a href="http://scottishwebfolkt4.files.wordpress.com/2010/08/20100825-rsync.png"><img class="size-full wp-image-216" title="20100825-rsync" src="http://scottishwebfolkt4.files.wordpress.com/2010/08/20100825-rsync.png?w=640" alt="Diagram of Site Manager publishing to a local folder then being copied over to live server"   /></a><p class="wp-caption-text">Publishing workflow</p></div>
<ol>
<li><strong>Publish locally</strong><br />
At 30 minutes past each hour Site Manager publishes the university Web site to a local directory, let&#8217;s call it the staging server.</li>
<li><strong>Transfer changed files</strong><br />
On the hour rsync (we were using Transfer Manager until a problem prevented us from using it) copies over the changed files from the staging server to the live server.</li>
</ol>
<h3>The problem</h3>
<p>The problem is, however, that we have no control over which files are copied first.  So we would repeatedly receive helpdesk calls from users complaining that images on the homepage were missing, downloadable documents were not present, or RSS feed links led to a 404 page instead of the full news story.</p>
<p>It turned out that the issue was to do with the order that files were copied over from the staging server to live: some web pages were being copied over—sometimes minutes—before any related or supporting files.</p>
<h3>The solution</h3>
<p>Our solution was therefore to schedule two rsync synchronisations.  About 10 minutes before the whole site synchronisation takes place we run a <strong>first sync on just the content of the media library</strong> (images, documents, videos, etc.).</p>
<p>Then <strong>10 minutes later we run the full sync</strong> on the whole site which means that it doesn&#8217;t matter so much on the order of the files being copied over: the supporting media library items are already on the server.</p>
<h3>Conclusion</h3>
<p>I don&#8217;t like that workaround terribly much, to be honest, as it means that the contents of the media library is being copied over twice but it&#8217;s worked so far and the number of calls that we&#8217;ve received about missing content has dropped completely (so far).</p>
<p>Gareth @ St Andrews</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=215&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2010/08/25/scheduling-an-rsync-twice-to-avoid-a-publishing-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2010/08/20100825-rsync.png" medium="image">
			<media:title type="html">20100825-rsync</media:title>
		</media:content>
	</item>
		<item>
		<title>How do you publish your website(s)?</title>
		<link>http://scottishwebfolkt4.wordpress.com/2010/04/28/how-do-you-publish-your-websites/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2010/04/28/how-do-you-publish-your-websites/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:28:34 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[TransferManager]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[Site Manager]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[TerminalFOUR]]></category>
		<category><![CDATA[Transfer Manager]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=187</guid>
		<description><![CDATA[We&#8217;ve recently been reviewing how we publish our website channels with Site Manager.  Until now we&#8217;ve been employing a mixture of publishing some channels directly to the web server, while publishing others to a staging server first and then synchronizing &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2010/04/28/how-do-you-publish-your-websites/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=187&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently been reviewing how we publish our website channels with Site Manager.  Until now we&#8217;ve been employing a mixture of publishing some channels directly to the web server, while publishing others to a staging server first and then synchronizing on the hour with Transfer Manager.</p>
<p>We then hit a problem about two weeks ago which has now encouraged us to publish everything to a staging server and synchronize with the public web server using <a title="About rsync on Wikipedia" href="http://en.wikipedia.org/wiki/Rsync">rsync</a>.</p>
<p>I thought it would be interesting to see what setup other people were using, how well used is Transfer Manager against rsync, what other options are there?</p>
<a href="http://polldaddy.com/poll/3121055">Take Our Poll</a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=187&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2010/04/28/how-do-you-publish-your-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding new fields to the Set Media Attributes dialog</title>
		<link>http://scottishwebfolkt4.wordpress.com/2010/04/21/adding-new-fields-to-the-set-media-attributes-dialog/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2010/04/21/adding-new-fields-to-the-set-media-attributes-dialog/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 13:52:26 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[TerminalFOUR]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[updated]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=174</guid>
		<description><![CDATA[I recently emailed TERMINALFOUR with a feature request asking for the ability to add extra fields to the Set Media Attributes dialog box of images. (By the way, the Set Media Attributes dialog box in TinyMCE, we recently discovered, appears &#8230; <a href="http://scottishwebfolkt4.wordpress.com/2010/04/21/adding-new-fields-to-the-set-media-attributes-dialog/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=174&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently emailed TERMINALFOUR with a feature request <strong>asking for the ability to add extra fields to the Set Media Attributes dialog box</strong> of images.</p>
<p>(By the way, the Set Media Attributes dialog box in TinyMCE, we recently discovered, appears only to be available when you double-click an image in the TinyMCE editor.)</p>
<p>Imagine my delight when they emailed back saying that I could do this now.</p>
<h3>Existing</h3>
<p>Here&#8217;s the Set/Edit Media Attributes dialog box that we have:</p>
<div id="attachment_175" class="wp-caption alignnone" style="width: 424px"><a href="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-old.png"><img class="size-full wp-image-175" title="20100421-t4-mediaattrib-old" src="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-old.png?w=640" alt=""   /></a><p class="wp-caption-text">Set Media Attributes dialog box</p></div>
<p>This has editable options for:</p>
<ul>
<li>Width</li>
<li>Height</li>
<li>Border</li>
<li>Padding</li>
<li>Margin</li>
<li>Float</li>
</ul>
<p>But we wanted to add:</p>
<ul>
<li>class</li>
<li>id</li>
</ul>
<p>and if we were feeling <em>really thorough</em> the HTML specification also allows for:</p>
<ul>
<li>hspace=&#8221;<em>number</em>&#8220;</li>
<li>ismap=&#8221;ismap&#8221;</li>
<li>longdesc=&#8221;<em>URL</em>&#8220;</li>
<li>lowsrc=&#8221;<em>URL</em>&#8220;</li>
<li>name=&#8221;<em>text</em>&#8220;</li>
<li>usemap=&#8221;<em>URL</em>&#8220;</li>
<li>vspace=&#8221;<em>number</em>&#8220;</li>
</ul>
<h3>What to do</h3>
<p>It turns out that this can be updated by editing the media template formatter for Images (i.e. via TOOLS &gt; TEMPLATES &gt; Media : Click on the <em>Edit Formatters</em> button).</p>
<p>You then add your new attributes in this format:</p>
<p style="padding-left:30px;"><code style="font-size:1.2em;">id="&lt;t4 type="media" editable="true" attribute="id" /&gt;"</code></p>
<p>Where <code style="font-size:1.2em;">attribute</code> controls the label for the field.</p>
<h3>Original</h3>
<p style="padding-left:30px;"><code style="font-size:1.2em;">&lt;img src="&lt;t4 type="content" output="file" modifiers="nav_sections" name="Media" /&gt;" alt="&lt;t4 type="content" output="normal" modifiers="striptags, htmlentities, nav_sections" name="Description" /&gt;" style="width : &lt;t4 type="media" editable="true" attribute="width" /&gt;px; height : &lt;t4 type="media" editable="true" attribute="height" /&gt;px; border : &lt;t4 type="media" attribute="border" /&gt;; padding : &lt;t4 type="media" attribute="padding" /&gt;; margin : &lt;t4 type="media" attribute="margin" /&gt;; float : &lt;t4 type="media" attribute="float" /&gt;;" /&gt;</code></p>
<h3>Now</h3>
<p style="padding-left:30px;"><code style="font-size:1.2em;">&lt;img src="&lt;t4 type="content" output="file" modifiers="nav_sections" name="Media" /&gt;" alt="&lt;t4 type="content" output="normal" modifiers="striptags, htmlentities, nav_sections" name="Description" /&gt;" style="width : &lt;t4 type="media" editable="true" attribute="width" /&gt;px; height : &lt;t4 type="media" editable="true" attribute="height" /&gt;px; border : &lt;t4 type="media" attribute="border" /&gt;; padding : &lt;t4 type="media" attribute="padding" /&gt;; margin : &lt;t4 type="media" attribute="margin" /&gt;; float : &lt;t4 type="media" attribute="float" /&gt;;"<span style="color:#800000;"><strong> id="&lt;t4 type="media" editable="true" attribute="ID" /&gt;"media" editable="true" attribute="Class" /&gt;"</strong></span> /&gt;</code></p>
<h3>What it looks like</h3>
<div id="attachment_181" class="wp-caption alignnone" style="width: 424px"><a href="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-new.png"><img class="size-full wp-image-181" title="20100421-t4-mediaattrib-new" src="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-new.png?w=640" alt="Amended Set Media Attributes dialog with new fields: ID and Class"   /></a><p class="wp-caption-text">Amended Set Media Attributes dialog with new fields: ID and Class</p></div>
<p>You can see from the screenshot above that the new fields have now been included in the Set Media Attributes dialog box.</p>
<h3>Observations</h3>
<ul>
<li>It would appear that the field labels have to be in lowercase.  If you enter &#8220;attribute=&#8221;ID&#8221; then Site Manager converts it to all-lowercase.</li>
<li>You have a certain degree of control over the placement of the new fields in the dialog box.  Enter them at the start of the output code and they&#8217;ll appear at the top of the dialog box, enter them at the end of the code and they appear at the bottom of the form.</li>
</ul>
<h3>Conclusion</h3>
<p>I&#8217;m not sure whether this functionality has been in Site Manager for long but I really wish we&#8217;d known about it sooner, which is why I&#8217;m blogging it for you lovely folks.</p>
<h3>Update</h3>
<p>Further information, I&#8217;ve just discovered, can be found on the <a title="T4 Extranet" href="https://extranet.terminalfour.com/documentation/sitemanager/tools/templates/mediatemplate/mediaattributes/">T4  Extranet: Media Attributes</a>.  It looks like this functionality has only been available since Site Manager 6.2.  Very useful.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=174&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2010/04/21/adding-new-fields-to-the-set-media-attributes-dialog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-old.png" medium="image">
			<media:title type="html">20100421-t4-mediaattrib-old</media:title>
		</media:content>

		<media:content url="http://scottishwebfolkt4.files.wordpress.com/2010/04/20100421-t4-mediaattrib-new.png" medium="image">
			<media:title type="html">20100421-t4-mediaattrib-new</media:title>
		</media:content>
	</item>
		<item>
		<title>Site Manager rocks!</title>
		<link>http://scottishwebfolkt4.wordpress.com/2010/02/04/site-manager-rocks/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2010/02/04/site-manager-rocks/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 11:14:50 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Site Manager]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[t44u]]></category>
		<category><![CDATA[TerminalFOUR]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=170</guid>
		<description><![CDATA[The slides from my presentation at the T44U conference in Dublin, 12-13 November 2009. License Site Manager rocks! by The Revd Gareth J M Saunders is licensed under a Creative Commons Attribution 2.5 UK: Scotland License.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=170&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The slides from my presentation at the T44U conference in Dublin, 12-13 November 2009.</p>
<iframe src='http://www.slideshare.net/slideshow/embed_code/3068745' width='640' height='525'></iframe>
<h3>License</h3>
<p><a rel="license" href="http://creativecommons.org/licenses/by/2.5/scotland/"><img style="border-width:0;" src="http://i.creativecommons.org/l/by/2.5/scotland/88x31.png" alt="Creative Commons License" /></a><br />
Site Manager rocks! by <a rel="cc:attributionURL" href="http://www.st-andrews.ac.uk/webteam/">The Revd Gareth J M Saunders</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.5/scotland/">Creative Commons Attribution 2.5 UK: Scotland License</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=170&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2010/02/04/site-manager-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>

		<media:content url="http://i.creativecommons.org/l/by/2.5/scotland/88x31.png" medium="image">
			<media:title type="html">Creative Commons License</media:title>
		</media:content>
	</item>
		<item>
		<title>Power Users v Power Rangers</title>
		<link>http://scottishwebfolkt4.wordpress.com/2010/01/27/power-users-v-power-rangers/</link>
		<comments>http://scottishwebfolkt4.wordpress.com/2010/01/27/power-users-v-power-rangers/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:11:17 +0000</pubDate>
		<dc:creator>Gareth J M Saunders</dc:creator>
				<category><![CDATA[SiteManager]]></category>
		<category><![CDATA[poll]]></category>
		<category><![CDATA[Site Manager]]></category>
		<category><![CDATA[t4]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://scottishwebfolkt4.wordpress.com/?p=166</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=166&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<a href="http://polldaddy.com/poll/2601621">Take Our Poll</a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scottishwebfolkt4.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scottishwebfolkt4.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scottishwebfolkt4.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=scottishwebfolkt4.wordpress.com&amp;blog=2002768&amp;post=166&amp;subd=scottishwebfolkt4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://scottishwebfolkt4.wordpress.com/2010/01/27/power-users-v-power-rangers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e074286a9982cad93b72d5f8f901ddb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pottingshed</media:title>
		</media:content>
	</item>
	</channel>
</rss>
