<?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>rolley</title>
	<atom:link href="http://rolleys.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rolleys.wordpress.com</link>
	<description>at work</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:04:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rolleys.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>rolley</title>
		<link>http://rolleys.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rolleys.wordpress.com/osd.xml" title="rolley" />
	<atom:link rel='hub' href='http://rolleys.wordpress.com/?pushpress=hub'/>
		<item>
		<title>InDesign CS5.5, Export Tagging and ePub export frustrations</title>
		<link>http://rolleys.wordpress.com/2011/07/07/indesign-cs5-5-export-tagging-and-epub-export-frustrations/</link>
		<comments>http://rolleys.wordpress.com/2011/07/07/indesign-cs5-5-export-tagging-and-epub-export-frustrations/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:14:57 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[eBooks]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=183</guid>
		<description><![CDATA[I&#8217;ve got one massive gripe with InDesign CS5.5 and it&#8217;s ePub exporting. It&#8217;s not specifically the ePub export, but also the half-done Export Tags options as well. If you&#8217;re a CS5.5 user you would have probably noticed that you can specify tag export options for character and paragraph styles. It&#8217;s excellent, and is a massive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=183&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got one massive gripe with InDesign CS5.5 and it&#8217;s ePub exporting. It&#8217;s not specifically the ePub export, but also the half-done Export Tags options as well.</p>
<p>If you&#8217;re a CS5.5 user you would have probably noticed that you can specify tag export options for character and paragraph styles. It&#8217;s excellent, and is a massive help for producing ePub docs from InDesign.  Especially if you&#8217;re writting your own CSS for your ePubs, but once you bring tables and objects in to the document, InDesign drops the ball big time.</p>
<h2>The problem</h2>
<p>CS5.5&#8242;s massive failure is that you can&#8217;t seem to add export tagging to table, cell or object styles in InDesign; and what&#8217;s worse is that the ePub you export will use a new class name for every table or div (which was an object in your InDesign doc).  This defeats the purpose of adding a class altogether, it&#8217;s as if InDesign logic treats adding classes like it does adding IDs (in HTML/CSS, IDs have to be unique whereas classes don&#8217;t).</p>
<p>So; for example, in my case I have several docs to my Book; each document has different types and amounts of tables. These tables are for completely different things and I need them styled differently. Even though in InDesign I&#8217;ve used totally different table and cell styles, the ePub will append an incremental digit on the end of each class name for each table!!!!</p>
<p>This is <strong>what you would expect</strong> InDesign to do:</p>
<pre>&lt;table id="table-1" class="Basic-Table"&gt;
  etc
&lt;/table&gt;
&lt;table id="table-2" class="Basic-Table"&gt;
  etc
&lt;/table&gt;
&lt;table id="table-3" class="Fancy-Table"&gt;
  etc
&lt;/table&gt;</pre>
<p>But <strong>instead, it does this</strong>: (note the -1 and -2 after the class name&#8230; tisk tisk)</p>
<pre>&lt;table id="table-1" class="Basic-Table-1"&gt;
  etc
&lt;/table&gt;
&lt;table id="table-2" class="Basic-Table-2"&gt;
  etc
&lt;/table&gt;
&lt;table id="table-3" class="Fancy-Table-1"&gt;
  etc
&lt;/table&gt;</pre>
<p>And again, I need to re-iterate, this is only really a problem if you&#8217;re attaching your own CSS to the ePub; because when InDesign generates the CSS for you it actually creates ALL THOSE CLASSES, which is pretty stupid really but at least it works.  The shortcoming overall is that you also just can&#8217;t do as much unless you really DO write your own CSS for the ePubs, and also, who the hell really wants to have to unpack, edit, and repack their ePubs if they&#8217;ve got a workflow of hundreds of books to do? Not me, and not a lot of other people!</p>
<h2>A partial fix</h2>
<p>So, you can imagine where all this leaves me.  CSS3 can help!  But, again, this is really disappointing, only iBooks on Apple devices will render this properly, if you&#8217;re using Adobe Digital Editions or Aldiko eBook reader or anything else on the Android, it doesn&#8217;t work.  By using CSS3 you can capture the tables still and apply styles to them like this:</p>
<pre>table[class^="Basic-Table"] { styleshere }
table[class^="Fancy-Table"] { styleshere }</pre>
<h2>No real solution, yet</h2>
<p>So, the short of  it is, if you want to style up tables and objects, and have them display correctly on Adobe Digital Editions or Aldiko etc, then you either have to wait for:</p>
<ul>
<li>the eBook reader companies (except Apple who have owned everyone) to get their eBook apps to render CSS3 like the above; or</li>
<li>Adobe to release a patch or upgrade to add Export Tagging to tables and objects, which would then let you specify a static class name for tables and divs.</li>
</ul>
<div>I wonder if either will happen any time soon? I hope so&#8230;.</div>
<div>If anyone OUT THERE has a solid fix, or ideas to try please comment.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=183&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2011/07/07/indesign-cs5-5-export-tagging-and-epub-export-frustrations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>
	</item>
		<item>
		<title>Easily force left alignment in ePubs viewed in iBooks</title>
		<link>http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/</link>
		<comments>http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 01:35:44 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[eBooks]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[publishing]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=179</guid>
		<description><![CDATA[Finally! I figured out a much more seamless way to force the headings and any other content to be left aligned in our ePubs for iBooks.  The goal of my ePub creation is really to have a seamless process, we can&#8217;t afford the time to unpack, edit html/css, and repack files just for one document&#8230; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=179&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally! I figured out a much more seamless way to force the headings and any other content to be left aligned in our ePubs for iBooks.  The goal of my ePub creation is really to have a seamless process, we can&#8217;t afford the time to unpack, edit html/css, and repack files just for one document&#8230; so everything needs to be able to come straight from InDesign and be ready for viewing in iBooks.</p>
<p>I&#8217;m also assuming that a large proportion of users probably don&#8217;t even know how to turn off the full justification setting for iBooks.. I mean, I didn&#8217;t realise the options were in the settings on the iPad for a LONG time myself.. So, by forcing the left align on the headings at least the ePub will look and read nicer with the justification setting still turned on.</p>
<p>The only solution I saw on the net to solve the left-aligned problem was to edit the html of the unpacked ePub (which is a massive no for our workflow) and add a span element inside the heading tags. It got me thinking though, and the idea suddenly came to me.  Get InDesign to just do it for you.</p>
<p>First off, create a new character style in your master document (the one that synchronises styles between all the docs in your InDesign book). Call it something like <em>leftAligned</em>. Go to the bottom option, tag formatting, set it up so a is added with the class of <em>leftAligned</em>.  Now, in your css file (the one you use when you export your ePub files) you can have a class that looks something like:</p>
<pre>span[class*="leftAligned"]{ text-align: left; }</pre>
<p>* little note; just found out the span doesn&#8217;t even need to have any styles at all, oh well!</p>
<p>Now, to use the character style and get InDesign to do the work for you; do a find and replace for every document in your book; and what I did was search for any H1 paragraph styles, and have it apply the <em>leftAligned</em> character style to them. I then did it with every other heading type and the referencing paragraph styles.</p>
<p>When I exported to ePub and viewed in iBooks, FINALLY I saw left-aligned headings. MUCH nicer, and much easier than unpacking, editing, and repacking the ePub.</p>

<a href='http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/characterstyles/' title='characterstyles'><img data-attachment-id='185' data-orig-size='657,392' data-liked='0'width="150" height="89" src="http://rolleys.files.wordpress.com/2011/07/characterstyles.png?w=150&#038;h=89" class="attachment-thumbnail" alt="characterstyles" title="characterstyles" /></a>
<a href='http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/epub/' title='epub'><img data-attachment-id='186' data-orig-size='1024,768' data-liked='0'width="150" height="112" src="http://rolleys.files.wordpress.com/2011/07/epub.png?w=150&#038;h=112" class="attachment-thumbnail" alt="epub" title="epub" /></a>
<a href='http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/findandreplace/' title='findandreplace'><img data-attachment-id='187' data-orig-size='960,469' data-liked='0'width="150" height="73" src="http://rolleys.files.wordpress.com/2011/07/findandreplace.png?w=150&#038;h=73" class="attachment-thumbnail" alt="findandreplace" title="findandreplace" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=179&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2011/07/01/easily-force-left-alignment-in-epubs-viewed-in-ibooks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/07/characterstyles.png?w=150" medium="image">
			<media:title type="html">characterstyles</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/07/epub.png?w=150" medium="image">
			<media:title type="html">epub</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/07/findandreplace.png?w=150" medium="image">
			<media:title type="html">findandreplace</media:title>
		</media:content>
	</item>
		<item>
		<title>Making my moodle themes a little bit smarter</title>
		<link>http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/</link>
		<comments>http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 02:07:25 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Moodle Theme Design]]></category>
		<category><![CDATA[lms]]></category>
		<category><![CDATA[mobile learning]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[theme design]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=172</guid>
		<description><![CDATA[When I was little, I was an avid commodore 64 player.. eventually we got a 286, then 386, 486, pentium, etc and so on.. Now we&#8217;re walking around with awesome tablets like the iPad2 and so on, its staggering to think of the progress.  ..and after using computers for almost all of my life, I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=172&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I was little, I was an avid commodore 64 player.. eventually we got a 286, then 386, 486, pentium, etc and so on.. Now we&#8217;re walking around with awesome tablets like the iPad2 and so on, its staggering to think of the progress.  ..and after using computers for almost all of my life, I&#8217;ve really been noticing in the last 5 years that something new is actually starting to happen.</p>
<p>Simplicity. Intuitive design. Computers and all the user interfaces are finally starting to take away the dirty layers between our minds and what&#8217;s happening in the screen.  For instance, I&#8217;m finding more and more that before I even get to think &#8220;how do I do this?&#8221; (when using a tablet/website) I&#8217;ve actually already done it by accident (well, by intuition actually) &#8211; is it the computers, UI, and software changes, or is it actually ME that has changed, or both?  Probably both, but nonetheless its bloody amazing.</p>
<p>With my UI &amp; web design I&#8217;m trying to make the effort in the design/development phase to reflect all this. Mostly this has just involved basics like not having save buttons in web apps (auto saves with ajax etc); loading content in to pages without needing to refresh the whole site; and pseudo intelligent UIs that change the layout of the site for different devices. The stuff that removes some of the thinking or burdens from the user.  Anyway, I thought how I could apply this to Moodle.</p>
<h2>Making my themes play nice with mobile devices:</h2>
<p>Naturally I thought of updating my moodle theme designs to better cater for mobile viewing.  Now I say &#8220;better cater for&#8221;, because this is somewhat of a half way improvement, not the ultimate solution (which would probably be a native app).  I know people out there are doing big stuff for mobile moodle and mobile friendly moodle themes etc; but <em>rather</em> then going all out and desiging a completely new theme OR trying to change the way moodle works; I&#8217;ve simply written some YUI (the default Moodle scripting library) to <strong>change</strong> the interface on the fly if the user is on a mobile device/tablet (things like iPhones, iPads, Androids etc).  Yep, so the user experience is the same on a desktop, laptop and mobile, but the display format just changes to suite the smaller device better.</p>
<p>Basically I wanted to get RID of how tiny everything is when viewed on such small screens but still have be able to use the nice looking theme, and I&#8217;d hate to think that some Universities might even run two themes (one for desktop/laptop computers and another which looks different for mobiles).</p>
<p>What I hope to achieve here, is to have the nice looking theme like <a title="A moodle 2 theme, Université" href="http://rolleys.wordpress.com/2010/12/03/a-moodle-2-theme-universite/">Université</a>, but also give it some pseudo intelligence so that it completely changes the layout for small screen devices &#8211; to make the content more readable straight away, and eliminate the annoying need to constantly zoom in and out to do stuff when using Moodle on a mobile. It basically just re-collates the page structure and collects all the blocks and puts them in one column.</p>
<p>I haven&#8217;t finished testing this yet, or tweaking it either, but it looks like a fairly good idea; it only took an hour or so to add this to my moodle 1.9x theme, here&#8217;s some screenshots..  Once I get it working really nicely I&#8217;ll roll it out for <a title="A moodle 2 theme, Université" href="http://rolleys.wordpress.com/2010/12/03/a-moodle-2-theme-universite/">Université</a> and maybe <a title="créatif (ver 1) – a theme for Moodle 2" href="http://rolleys.wordpress.com/2010/07/06/creatif-ver-1-a-theme-for-moodle-2/">Créatif</a> too.  Its a small amount of effort which hopefully translates in to making the UI a little better for mobiles etc.</p>
<p>What do you think?</p>
<p>(had to take screenshots with a squashed up browser because the Android 2.1 samsung galaxy S is so crap it won&#8217;t take screenshots. hah.)</p>

<a href='http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/ipad1/' title='ipad1'><img data-attachment-id='173' data-orig-size='768,1024' data-liked='0'width="112" height="150" src="http://rolleys.files.wordpress.com/2011/06/ipad1.png?w=112&#038;h=150" class="attachment-thumbnail" alt="ipad1" title="ipad1" /></a>
<a href='http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/smallbrowser-course/' title='smallbrowser-course'><img data-attachment-id='174' data-orig-size='392,897' data-liked='0'width="65" height="150" src="http://rolleys.files.wordpress.com/2011/06/smallbrowser-course.png?w=65&#038;h=150" class="attachment-thumbnail" alt="smallbrowser-course" title="smallbrowser-course" /></a>
<a href='http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/smallbrowser-home/' title='smallbrowser-home'><img data-attachment-id='175' data-orig-size='392,897' data-liked='0'width="65" height="150" src="http://rolleys.files.wordpress.com/2011/06/smallbrowser-home.png?w=65&#038;h=150" class="attachment-thumbnail" alt="smallbrowser-home" title="smallbrowser-home" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=172&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2011/06/20/making-my-moodle-themes-a-little-bit-smarter/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/06/ipad1.png?w=112" medium="image">
			<media:title type="html">ipad1</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/06/smallbrowser-course.png?w=65" medium="image">
			<media:title type="html">smallbrowser-course</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2011/06/smallbrowser-home.png?w=65" medium="image">
			<media:title type="html">smallbrowser-home</media:title>
		</media:content>
	</item>
		<item>
		<title>ePubs from InDesign, workflow and problems</title>
		<link>http://rolleys.wordpress.com/2010/12/14/epubs-from-indesign-workflow-and-problems/</link>
		<comments>http://rolleys.wordpress.com/2010/12/14/epubs-from-indesign-workflow-and-problems/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 02:51:41 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[InDesign]]></category>
		<category><![CDATA[New Study Guides]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=159</guid>
		<description><![CDATA[This week I&#8217;m aiming to get an ePub format of the University study guides in working order. So far it&#8217;s been VERY surprising how difficult it is to take even a fairly simple previously-print-based document and export it to the ePub format whilst still making sure it looks nice and is bug-free. The study guides [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=159&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This week I&#8217;m aiming to get an ePub format of the University study guides in working order. So far it&#8217;s been VERY surprising how difficult it is to take even a fairly simple previously-print-based document and export it to the ePub format whilst still making sure it looks nice and is bug-free.</p>
<p>The study guides are <strong>InDesign documents</strong>, and I&#8217;ve heard/read good comments regarding ePub support and so on. But so far, I really have been un-impressed.. annoyed more often than not actually.</p>
<p>Naturally then, this post specifically relates to <span style="text-decoration:underline;">creating ePubs from InDesign</span> and the associated problems.</p>
<p><strong><span id="more-159"></span>Lack of documentation; </strong></p>
<p>I couldn&#8217;t find any documentation that explained the relationship between the InDesign document&#8217;s Styles, Tags, or XML structure, and the CSS that get&#8217;s packaged in the ePub export. So, I had no idea what classes to use when creating my own CSS without actually reverse engineering &#8211; creating an ePub, telling InDesign to automatically create the css, unpacking the ePub file, and looking at that to create my own version. An bunch of unnecessary steps really.</p>
<p><strong>Packaging of the ePub file?</strong></p>
<p>I thought ePubs were supposed to be a simple package, a normal old zip file? Strangely, I couldn&#8217;t unzip my ePub file at all (it just made a junk file appear), unless I used Terminal! Now that&#8217;s annoying.. At least Terminal worked with the simple old &#8216;unzip&#8217; command. Again, some small but annoying and seemingly unnecessary steps.</p>
<p><strong>Practical, or not? </strong></p>
<p>I also thought, that if I made this nice little ePub file, I could just pop that in to an email and open it up on one of our mobile devices (iPad for example).. It seemed not. I emailed my InDesign ePub to an iPad user; and the iPad did some very strange things:</p>
<ul>
<li>Didn&#8217;t offer iBooks as a program that could view the ePub.. (I thought that was the point of iBooks?). I must be mistaken&#8230; even so, it seems stupid that the iPad wouldn&#8217;t allow iBooks to open an ePub file.. never mind..</li>
<li>Instead, it offered two other programs; optional installs of course; GoodReader and another one called PDFsomethingorrather. Now, the latter of these two simply couldn&#8217;t open the file; no error, it just did nothing. GoodReader would only display a completely white screen. No joke. It was so bad, I couldn&#8217;t get back to the main GoodReader UI and had to reset the iPad.</li>
</ul>
<p>Pretty dodgy if you ask me. Aren&#8217;t ePubs supposed to be really standards-based? It should have just opened on any program correctly shouldn&#8217;t it have?</p>
<p><strong>Standards and file formats/export options?</strong></p>
<p>I noticed a few options in InDesign, one of which is to generate the format of the ePub content differently: XHTML or DTBook. Again I couldn&#8217;t find any documentation on the difference, but found the DTBook creates an XML file rather than an XHTML file for the content.. using this as my export option (the DTBook), I tried again on the iPad.</p>
<p>Nope, nothing can open it. Nothing. This is ridiculous. I&#8217;ll continue using Digital Editions for the meantime, which is displaying the ePubs on my laptop.</p>
<p><strong>Content display bugs..</strong></p>
<p>Simple things aren&#8217;t displaying properly in the ePub. Even with the automatic CSS export option in InDesign, I can&#8217;t get the ePub to display a simple table correctly.</p>
<p>As you can see from the screenshot the XML ePub content is very straight forward (far right); the InDesign doc is in the background showing the simple table; and to the left, you can see what the table looks like in the ePub (displayed in Adobe Digital Editions) &#8211; a mess.  I&#8217;ve been messing around with the CSS for a while, but so far haven&#8217;t fixed this. I&#8217;m surprised that the automatic css from the InDesign export is actually even worse than what I&#8217;ve got at this point.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-11-45-05-am.png"><img class="aligncenter size-full wp-image-168" title="Table problems in ePub" src="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-11-45-05-am.png?w=510&#038;h=286" alt="Table problems in ePub" width="510" height="286" /></a></p>
<p><strong>To TOC or not to TOC?</strong></p>
<p>I haven&#8217;t fixed the table CSS yet, but thought I&#8217;d side-step to look at the TOC stuff. InDesign has some options for including the TOC when you export the ePub. So I created a TOC in my InDesign doc and used this option to do a fresh export.</p>
<p>But, oh dear. InDesign simply says &#8220;Export Failed.&#8221; .. and I can&#8217;t export the ePub now.</p>
<p>After changing the content format option back to XHTML, I can now export the TOC okay. BUT, there&#8217;s always a but isn&#8217;t there?</p>
<p>It now IGNORES some of the CSS, heading colours are gone.. annoying, strange, but at least it has a TOC that works nicely.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-12-17-17-pm.png"><img class="aligncenter size-full wp-image-169" title="ePub with TOC" src="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-12-17-17-pm.png?w=510&#038;h=419" alt="ePub with TOC" width="510" height="419" /></a></p>
<p><strong>Master page junk.. </strong></p>
<p>See in the above screenshot, the little page numbers to the right? What&#8217;s the go with that. I can&#8217;t even find them in the ePub markup, and the InDesign ePub export has no options to have master-page content (such as page numbers or page footers etc) removed when exporting. No idea how to get rid of them at this point, they&#8217;re ugly though that&#8217;s for sure.</p>
<p><strong>Messing with the lists?</strong></p>
<p>Another strange one, is that the numberical and alpha lists are converted (sort of) to bullet lists. It seems that InDesign has worked properly, the lists are ordered lists in the ePub&#8217;s markup; but getting the ordered list to display with the decimal list-style-type isn&#8217;t working so far.. I&#8217;m using the normal CSS to do this but the ePub reader I&#8217;m using (Adobe Digital Editions) seems to be ignoring it.</p>
<p>Shouldn&#8217;t the ePub reader do the smart thing on this anyway? It&#8217;s a bloody &lt;ol&gt;, it&#8217;s ordered and should be numbered, not bulleted! Far out.</p>
<p><strong>Workflow?</strong></p>
<p>Now, here I am trying to get something working, and I&#8217;m a little concerned that a lot of people around the net are editing their ePub xml/xhtml/css to get things to display correctly (or better) in their ePub documents. It&#8217;s quite a bit of manual stuffing around.</p>
<p>For us that&#8217;s going to be a massive NO; this all needs to be a seamless workflow; where InDesign spits out a perfect working ePub for hundreds of study guides. I&#8217;m worried that this&#8217;ll be too much to ask, but I hope not.</p>
<p>Back to the desktop anyway; gotta keep trying to get this all happening.</p>
<p><strong>R</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=159&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/12/14/epubs-from-indesign-workflow-and-problems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-11-45-05-am.png" medium="image">
			<media:title type="html">Table problems in ePub</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/12/screen-shot-2010-12-14-at-12-17-17-pm.png" medium="image">
			<media:title type="html">ePub with TOC</media:title>
		</media:content>
	</item>
		<item>
		<title>A moodle 2 theme, Université</title>
		<link>http://rolleys.wordpress.com/2010/12/03/a-moodle-2-theme-universite/</link>
		<comments>http://rolleys.wordpress.com/2010/12/03/a-moodle-2-theme-universite/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 05:19:57 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Moodle Theme Design]]></category>
		<category><![CDATA[lms]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[moodle 2]]></category>
		<category><![CDATA[theme design]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=151</guid>
		<description><![CDATA[I&#8217;ve been looking at Moodle 2 again, at my day job, trying to make little enhancements and seeing what&#8217;s possible for our own Moodle installation. Part of my experimentation included making a theme design that the University might be able to use when they roll over to Moodle 2. As a spin off, I decided [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=151&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking at Moodle 2 again, at my day job, trying to make little enhancements and seeing what&#8217;s possible for our own Moodle installation. Part of my experimentation included making a theme design that the University might be able to use when they roll over to Moodle 2.</p>
<p>As a spin off, I decided to split the design in to two copies; one that I&#8217;ll continue to work on for my employer, and one available for community download right now, at the current state of the theme.</p>
<p>I hope you like it. It&#8217;s called Université.</p>
<p><span style="color:#993300;">** <strong>News</strong>: Just about to release an update on this theme for Moodle 2.1, see the Moodle Themes page for more details **</span></p>
<p><strong>The general aim of the theme</strong>, is to have a nice slightly corporate looking theme, which is fairly easy to completely change the colour scheme of, so that the administrator can more easily make it fit with their own institution&#8217;s corp id.</p>
<p style="text-align:center;"><a href="http://rolleys.files.wordpress.com/2010/12/screenshot.png"><img class="aligncenter size-full wp-image-154" title="Moodle 2 theme Université" src="http://rolleys.files.wordpress.com/2010/12/screenshot.png?w=510" alt="A screenshot of the new theme design"   /></a></p>
<p>So, how do you go about changing the colour scheme to match your own institution?  You&#8217;ll need to do two things, start by designing a new theme with JQuery&#8217;s Theme Roller application (mentioned below); then, use matching colours and the Université&#8217;s own settings area to customise the colours of the banner, headings, and hyperlinks (the stuff that the Theme Roller css and images won&#8217;t do).</p>
<h4>JQuery Theme Roller.</h4>
<p>Now, <a title="The actual theme-roller design used by my moodle 2 theme" href="http://jqueryui.com/themeroller/#ffDefault='Avant+Garde'%2C+Tahoma%2C+Arial%2C+Helvetica%2C+sans-serif&amp;fwDefault=normal&amp;fsDefault=1.1em&amp;cornerRadius=6px&amp;bgColorHeader=d9e8e8&amp;bgTextureHeader=21_glow_ball.png&amp;bgImgOpacityHeader=75&amp;borderColorHeader=b4caca&amp;fcHeader=222222&amp;iconColorHeader=346060&amp;bgColorContent=ffffff&amp;bgTextureContent=01_flat.png&amp;bgImgOpacityContent=100&amp;borderColorContent=dddddd&amp;fcContent=2b3636&amp;iconColorContent=346060&amp;bgColorDefault=fdf3b4&amp;bgTextureDefault=02_glass.png&amp;bgImgOpacityDefault=80&amp;borderColorDefault=f7d845&amp;fcDefault=222222&amp;iconColorDefault=346060&amp;bgColorHover=f7d845&amp;bgTextureHover=02_glass.png&amp;bgImgOpacityHover=100&amp;borderColorHover=f7d845&amp;fcHover=222222&amp;iconColorHover=346060&amp;bgColorActive=f8af2a&amp;bgTextureActive=02_glass.png&amp;bgImgOpacityActive=50&amp;borderColorActive=f7d845&amp;fcActive=222222&amp;iconColorActive=222222&amp;bgColorHighlight=fef8d2&amp;bgTextureHighlight=21_glow_ball.png&amp;bgImgOpacityHighlight=100&amp;borderColorHighlight=f7d845&amp;fcHighlight=346060&amp;iconColorHighlight=346060&amp;bgColorError=e2eeee&amp;bgTextureError=07_diagonals_small.png&amp;bgImgOpacityError=100&amp;borderColorError=137771&amp;fcError=e11b19&amp;iconColorError=e11b19&amp;bgColorOverlay=1f3838&amp;bgTextureOverlay=21_glow_ball.png&amp;bgImgOpacityOverlay=0&amp;opacityOverlay=80&amp;bgColorShadow=000000&amp;bgTextureShadow=01_flat.png&amp;bgImgOpacityShadow=70&amp;opacityShadow=33&amp;thicknessShadow=7px&amp;offsetTopShadow=-7px&amp;offsetLeftShadow=-7px&amp;cornerRadiusShadow=8px" target="_blank">this lovely online tool</a> will let you design awesome looking user interfaces, it&#8217;ll give you a stack of images and css all ready to go.  The cool thing is, the Université theme for Moodle 2 uses the theme-roller CSS and image directory in a way that lets the administrator:</p>
<ul>
<li>Roll out their own UI design and paste it over the Université theme jquery-ui.css file and jquery-ui images directory.</li>
</ul>
<p>Now, yes, it sounds easy. Well, it is easy, but there needs to be an extra step because of the way Moodle 2 handles images in CSS.  Basically here&#8217;s what to do once you replace the CSS.  Open your new one, and do a find and replace:</p>
<ol>
<li>search for &#8216;images/&#8217;</li>
<li>replace all with &#8216;[[pix:theme|jquery-ui/'</li>
<li>search for '.png'</li>
<li>replace all with ']]&#8217;</li>
</ol>
<p>Then, almost the entire interface will change appearance. Nice hey. But eh, there&#8217;s a couple of areas that the theme roller didn&#8217;t apply to, so, that leads me to the second enhancement in the theme;</p>
<p>Keep in mind though, that the colours should be as dark/light as they are in the default theme I&#8217;ve created, simply change the hue if you want to roll out a new theme-roller to avoid any issues with illegible text etc (dark text on a dark block header for example).</p>
<p style="text-align:center;"><a href="http://rolleys.files.wordpress.com/2010/12/uithemeroller.png"><img class="aligncenter size-full wp-image-153" title="The theme design in Theme-Roller" src="http://rolleys.files.wordpress.com/2010/12/uithemeroller.png?w=510" alt="The theme design in Theme-Roller"   /></a></p>
<h4>The Université theme&#8217;s settings page.</h4>
<p>On the settings page built in to the Moodle theme, you can change the colours of:</p>
<ul>
<li>The links</li>
<li>The link roll over colour</li>
<li>Link colour in the header</li>
<li>The two colours that actually make the gradient in the header</li>
<li>and the colour of the buttons in your dock (dock titles), which I couldn&#8217;t get the theme to handle automatically.</li>
</ul>
<p>So, there you have it.</p>
<p>If you&#8217;re wondering how the Moodle theme uses the JQuery theme roller files, then read on..</p>
<h4>Javascript.</h4>
<p>Basically, the theme javascript file does all the work. Yeah, I dunno if it&#8217;s the best approach, well okay it&#8217;s not, but it certainly works well enough. The javascript (YUI3) find all the elements that are relevant &#8211; such as block headers, forum headers, the calendars and so on), and simply ADD the JQuery UI theme classes to those elements once the DOM has loaded.</p>
<p>This is what allows the JQuery Theme Roller css to be almost drag and drop with the Moodle theme.</p>
<h4>A little more customisation?</h4>
<p>You can actually give some Blocks a slightly more important look.. for example, say you wanted your course list block, and some other block to have a slightly different coloured header, to make them stand out. You can do this by editing the javascript file in the theme&#8217;s javascript directory.</p>
<p>To do this, just go in to the JS file, and you&#8217;ll see I&#8217;ve got about 4 lines commented out as an example, lines 38 to 42, commented with &#8220;important blocks&#8221;.  Just uncomment a line, and use the html class name of the block you want to make different in appearance.  It simply applies a different class to those elements, and hence makes them look different.</p>
<h4>Oops, almost forgot.</h4>
<p>As with before, thanks to the JQuery theme roller, aaaaaand <a title="Mark James' icons, Silk" href="http://famfamfam.com/lab/icons/silk/" target="_blank">Mark Jame&#8217;s awesome icons called Silk</a>.</p>
<p>Thanks also to Reuben and Tobias for mega help with testing and finding bugs for me to fix with my last theme, I used all the same fixes so far on this theme too!</p>
<p>And, like my last theme, just update the logo with your own institution&#8217;s logo, by replacing the logo.png file in the pix directory. Note the size of that area though, there&#8217;s not much space there! (<strong>and did you like how it fades in?</strong>)</p>
<p>One other thing; I didn&#8217;t really spend any time on the main menu feature, so if you use a main menu with your site I&#8217;m sorry in advance, it looks pretty crappy in my theme.. I&#8217;ll get to fixing it up at some point : D</p>
<h4>Wanna download it?</h4>
<p>Suss out the <a title="Moodle Themes" href="http://rolleys.wordpress.com/moodle-themes/">Moodle Themes page</a> of this site to get the download link and any latest news on this theme.</p>
<h4>Feedback?</h4>
<p>Sure, leave a comment, I probably won&#8217;t have time to make any fixes until next year, but your comments are most welcome!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=151&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/12/03/a-moodle-2-theme-universite/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/12/screenshot.png" medium="image">
			<media:title type="html">Moodle 2 theme Université</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/12/uithemeroller.png" medium="image">
			<media:title type="html">The theme design in Theme-Roller</media:title>
		</media:content>
	</item>
		<item>
		<title>créatif (ver 1) &#8211; a theme for Moodle 2</title>
		<link>http://rolleys.wordpress.com/2010/07/06/creatif-ver-1-a-theme-for-moodle-2/</link>
		<comments>http://rolleys.wordpress.com/2010/07/06/creatif-ver-1-a-theme-for-moodle-2/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 04:30:06 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Moodle Theme Design]]></category>
		<category><![CDATA[lms]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[moodle 2]]></category>
		<category><![CDATA[theme design]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=126</guid>
		<description><![CDATA[PLEASE NOTE: I&#8217;ve just updated the download files again, Nov 30th. It should work with Moodle 2&#8242;s official stable release, which was downloadable from the 24th Nov from Moodle.org. There may be some further glitches that I haven&#8217;t seen, so please feel free to leave a comment if so. I&#8217;ve just designed a theme for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=126&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#993300;"><strong>PLEASE NOTE: </strong></span><span style="color:#800000;">I&#8217;ve just updated the download files again, Nov 30th. It should work with Moodle 2&#8242;s official stable release, which was downloadable from the 24th Nov from Moodle.org. There may be some further glitches that I haven&#8217;t seen, so please feel free to leave a comment if so.</span></p>
<p>I&#8217;ve just designed a theme for Moodle 2, and I&#8217;m entering it in to a theme comp ran by <a href="http://newschoollearning.com/theme/contest/">New School Learning</a>. Pretty exciting really, the process of making the theme was really fun, except the bugs in IE of course, haha!</p>
<p>My theme, called créatif, is a mood theme I reckon. The randomised back drops will feature faded photographs (mostly beautiful landscapes), and I&#8217;m trying to get a really nice pleasant visual experience happening.</p>
<p>Technically the first draft is fairly okay &#8211; I would have liked to have made use of renderers to completely overhaul a lot of the un-needed html and css classes that moodle is bogged down by, but time permitted me from doing it for this version of the theme.</p>
<p>I think the big thing to improve next version (ver 2) of this theme, along with renderers and more effective css will be:</p>
<ol>
<li>to allow teachers to add their own imagery for the backgrounds for &#8216;their courses&#8217; &#8211; pictures that are course specific for them for example. It would use these instead of the pre-packaged ones I&#8217;ve got in the pix directory;</li>
<li>I&#8217;d also like to make it work 100% drag-and-drop with jQuery&#8217;s theme roller.. So in other words, you simply design your jQuery theme roller and drop it in to the moodle theme directory &#8211; and the moodle ui takes on the jQuery css and pix. Why? Well let&#8217;s be honest, YUI looks like horrible in comparison and jQuery&#8217;s theme roller idea leaves YUI skinning for dead;</li>
<li>have a rather nice handy settings page which allows the admin to change the logo and/or background images, and theme roller css via the GUI rather than putting the files in manually etc;</li>
<li>I might also make it a stand-alone theme rather than use other themes as parents, I only did this to satisfy the requirements of the comp.</li>
</ol>
<p>Without further adieu, je vouz present &#8211; créatif; screenies and a theme download. IF YOU DO DOWNLOAD and install this theme, <strong>please read the comments in the config.php</strong> &#8211; I&#8217;ve described a few things that will help you update the institution logo and background images.</p>
<a href="http://rolleys.wordpress.com/2010/07/06/creatif-ver-1-a-theme-for-moodle-2/#gallery-1-slideshow">Click to view slideshow.</a>
<p><strong>The download: visit the <a title="Moodle Themes" href="http://rolleys.wordpress.com/moodle-themes/">Moodle Themes</a> page on this blog ; )</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=126&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/07/06/creatif-ver-1-a-theme-for-moodle-2/feed/</wfw:commentRss>
		<slash:comments>114</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>
	</item>
		<item>
		<title>Can&#8217;t get jQuery sortable to drop on to empty lists?</title>
		<link>http://rolleys.wordpress.com/2010/05/18/cant-get-jquery-sortable-to-drop-on-to-empty-lists/</link>
		<comments>http://rolleys.wordpress.com/2010/05/18/cant-get-jquery-sortable-to-drop-on-to-empty-lists/#comments</comments>
		<pubDate>Tue, 18 May 2010 04:50:47 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/2010/05/18/cant-get-jquery-sortable-to-drop-on-to-empty-lists/</guid>
		<description><![CDATA[Well, I had this little problem today, and I also noticed that there were a lot of other people out there that didn&#8217;t understand why it was happening. Which is why I decided I should post the solution. The jQuery demo on sortable connected lists The problem of not being able to drag elements in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=120&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, I had this little problem today, and I also noticed that there were a lot of other people out there that didn&#8217;t understand why it was happening. Which is why I decided I should post the solution.</p>
<p><a href="http://jqueryui.com/demos/sortable/#empty-lists">The jQuery demo on sortable connected lists</a></p>
<p>The problem of not being able to drag elements in to empty lists, only occurs when the empty list doesn&#8217;t have any dimensions&#8230; Okay, that sounds confusing. Take my example.</p>
<p>If I have a list, and the list element&#8217;s padding and margin have been set to 0px with css &#8211; try to view the list element&#8217;s area on the screen using a tool like firebug, you&#8217;ll notice that it basically isn&#8217;t there. </p>
<p>So, technically, the drag and drop between the lists doesn&#8217;t work because there&#8217;s no longer (or never was if the list is initially empty) any element to drop the new child element IN to.</p>
<p>The solution? Well of course, just add some padding in the css to your UL or OL, and you&#8217;ll see that it has some substance regardless of whether it has child list items or not. You&#8217;ll then be able to drag in to the empty list perfectly.</p>
<p>Another solution, which might not be as reliable but it&#8217;s still good, is to have a min-height css attribute for that list element, so regardless of your lists&#8217;s number of list items, it has a certain element height at all times.</p>
<p>Easy peasy. I&#8217;ll bet the same solution can be used for Scriptaculous and other scripting technologies.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=120&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/05/18/cant-get-jquery-sortable-to-drop-on-to-empty-lists/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>
	</item>
		<item>
		<title>Repurposing XML statistics for InDesign automation</title>
		<link>http://rolleys.wordpress.com/2010/03/22/repurposing-xml-statistics-for-indesign-automation/</link>
		<comments>http://rolleys.wordpress.com/2010/03/22/repurposing-xml-statistics-for-indesign-automation/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 05:44:02 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=106</guid>
		<description><![CDATA[Well! I&#8217;ve been working on a lovely statistics prototype. Using the latest jQuery, theme rolled to match my employer&#8217;s corp ID, and the awesome free trial of Fusion Charts (along with a bit of php and xsl mastery), I&#8217;ve made a pretty cool stats prototype website. All the graphs OR table views are rendered from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=106&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well! I&#8217;ve been working on a lovely statistics prototype. Using the latest jQuery, theme rolled to match my employer&#8217;s corp ID, and the awesome free trial of Fusion Charts (along with a bit of php and xsl mastery), I&#8217;ve made a pretty cool stats prototype website.</p>
<p>All the graphs OR table views are rendered from XML files containing the institution&#8217;s statistics, both views support clickable drill downs and the whole interface is slick as, but it stops at on-screen graph/table viewing.. Even though the UI is rich and fun to use (accordion, nice jQuery forms and tabs), I&#8217;d like to make it a little more fancy than that. In comes InDesign.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/03/online-stats.png"><img class="aligncenter size-full wp-image-107" title="Online Stats Prototype" src="http://rolleys.files.wordpress.com/2010/03/online-stats.png?w=510&#038;h=501" alt="Screenshot of the online statistics prototype I was working on" width="510" height="501" /></a></p>
<p>I don&#8217;t have a copy of InDesign server, and I&#8217;d love some training in scripting and InDesign server apps, but for the moment I&#8217;m working on a scenario with the InDesign CS4 client &#8211; here&#8217;s what I want to do.</p>
<p>I want a button on the prototype site that says &#8220;send me these stats&#8221;.. from the user&#8217;s perspective, they click it and next thing, an email shows up in their inbox with an attached PDF of beautifully formatted statistics, with the institution&#8217;s logo and so on. Sound nice?</p>
<p>From my perspective that means: I&#8217;d need the XSL for InDesign to transform the XML used by Fusion Charts and the prototypes XSL (in table view) &#8211; which would allow InDesign to import the data as an actual table, already mapped with table and cell styles. Obviously to automate all this and generate/email a final PDF I&#8217;d need the InDesign server, but hey, I&#8217;m just trying to prove a concept here that it&#8217;s doable.</p>
<p>It&#8217;s quite easy to import XML in to InDesign and have it all mapped with styles and automatic formatting. Take my XML for example:</p>
<pre>&lt;chart caption=&#39;Student Load (EFTSL) by Gender&#39; subcaption=&#39;2006 Full Year&#39; xaxisname=&#39;Student Modes&#39; yaxisname=&#39;Student Load&#39; palette=&#39;1&#39;&gt;
	&lt;categories&gt;
		&lt;category label=&#39;Commencing&#39; &#47;&gt;
		&lt;category label=&#39;Continuing&#39; &#47;&gt;
		&lt;category label=&#39;All&#39; &#47;&gt;
	&lt;&#47;categories&gt;
	&lt;dataset SeriesName=&#39;Male&#39;&gt;
		&lt;set value=&#39;4275&#39; &#47;&gt;
		&lt;set value=&#39;6245&#39; &#47;&gt;
		&lt;set value=&#39;10520&#39; &#47;&gt;
	&lt;&#47;dataset&gt;
	&lt;dataset SeriesName=&#39;Female&#39;&gt;
		&lt;set value=&#39;3401&#39; &#47;&gt;
		&lt;set value=&#39;4532&#39; &#47;&gt;
		&lt;set value=&#39;7933&#39; &#47;&gt;
	&lt;&#47;dataset&gt;
	&lt;dataset SeriesName=&#39;Both&#39;&gt;
		&lt;set value=&#39;7676&#39; &#47;&gt;
		&lt;set value=&#39;10777&#39; &#47;&gt;
		&lt;set value=&#39;18453&#39; &#47;&gt;
	&lt;&#47;dataset&gt;
&lt;&#47;chart&gt;</pre>
<p>And look at how I&#8217;ve done the XSL for InDesign, note the name space defs, in particular the aid5 one which is for the latest version of InDesign only ; )</p>
<pre>&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt;
&lt;xsl:stylesheet version=&#34;2.0&#34; xmlns:xsl=&#34;http:&#47;&#47;www.w3.org&#47;1999&#47;XSL&#47;Transform&#34; xmlns:aid=&#34;http:&#47;&#47;ns.adobe.com&#47;AdobeInDesign&#47;4.0&#47;&#34; xmlns:aid5=&#34;http:&#47;&#47;ns.adobe.com&#47;AdobeInDesign&#47;5.0&#47;&#34;&gt;
&lt;xsl:template match=&#34;&#47;&#34;&gt;
&lt;xsl:for-each select=&#34;chart&#34;&gt;
&lt;Root&gt;
&lt;Story&gt;
&lt;h3 aid:pstyle=&#34;h3&#34;&gt;&lt;xsl:value-of select=&#34;@caption&#34;&gt;&lt;&#47;xsl:value-of&gt;&lt;&#47;h3&gt;
&lt;h4 aid:pstyle=&#34;h4&#34;&gt;&lt;xsl:value-of select=&#34;@subcaption&#34;&gt;&lt;&#47;xsl:value-of&gt;&lt;&#47;h4&gt;

&lt;Table aid:table=&#34;table&#34; aid:trows=&#34;4&#34; aid:tcols=&#34;4&#34; aid5:tablestyle=&#34;DataTable&#34;&gt;

	&lt;ColHeader aid5:cellstyle=&#34;BlankCell&#34; aid:table=&#34;cell&#34; aid:theader=&#34;&#34; aid:crows=&#34;1&#34; aid:ccols=&#34;1&#34; &gt; &lt;&#47;ColHeader&gt;

	&lt;xsl:for-each select=&#34;categories&#47;category&#34;&gt;
		&lt;ColHeader aid5:cellstyle=&#34;ColHeader&#34; aid:table=&#34;cell&#34; aid:theader=&#34;&#34; aid:crows=&#34;1&#34; aid:ccols=&#34;1&#34; aid:pstyle=&#34;TableHeading&#34;&gt;&lt;xsl:value-of select=&#34;@label&#34;&gt;&lt;&#47;xsl:value-of&gt;&lt;&#47;ColHeader&gt;
	&lt;&#47;xsl:for-each&gt;

	&lt;xsl:for-each select=&#34;dataset&#34;&gt;

	&lt;RowHeader aid5:cellstyle=&#34;RowHeader&#34; aid:table=&#34;cell&#34; aid:crows=&#34;1&#34; aid:ccols=&#34;1&#34; aid:pstyle=&#34;RowHeading&#34;&gt;
		&lt;xsl:value-of select=&#34;@SeriesName&#34;&gt;&lt;&#47;xsl:value-of&gt;
	&lt;&#47;RowHeader&gt;

	&lt;xsl:for-each select=&#34;set&#34;&gt;
		&lt;Cell aid5:cellstyle=&#34;TableBody&#34; aid:table=&#34;cell&#34; aid:crows=&#34;1&#34; aid:ccols=&#34;1&#34; aid:pstyle=&#34;TableText&#34;&gt;
			&lt;xsl:value-of select=&#34;@value&#34;&gt;&lt;&#47;xsl:value-of&gt;
		&lt;&#47;Cell&gt;
	&lt;&#47;xsl:for-each&gt;

	&lt;&#47;xsl:for-each&gt;

&lt;&#47;Table&gt;
&lt;&#47;Story&gt;
&lt;&#47;Root&gt;
&lt;&#47;xsl:for-each&gt;
&lt;&#47;xsl:template&gt;
&lt;&#47;xsl:stylesheet&gt;
</pre>
<p>To get it in to InDesign, it&#8217;s quick as, you just import the XML using the above XSL file, easy peasy, and because the XSL transforms the XML in to a format InDesign &#8216;likes&#8217;, the table will be created properly.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/03/indesign-import.png"><img class="aligncenter size-medium wp-image-108" title="InDesign Import - XML Tables" src="http://rolleys.files.wordpress.com/2010/03/indesign-import.png?w=300&#038;h=165" alt="" width="300" height="165" /></a></p>
<p>Problems are always involved though. So far I haven&#8217;t solved these:</p>
<ul>
<li>I had to set the table&#8217;s cols and rows manually in the XSL &#8211; this is totally not good. You can do all sorts of tricky things with XSL 2.0, so, I&#8217;m sure I could put the count of the desired nodes in to a variable and base the column and row count on that.</li>
<li>Look at how it comes in to InDesign &#8211; the table width!!! Or should I say LACK of table width. I want it to full width the table but I can&#8217;t set any static dimensions because the number of columns in tables will always be variable&#8230; what to do I&#8217;m not quite sure. I could probably create an InDesign script which makes the table the width of the page (within the margins) then distributes the columns evenly? Then again, I could also do some trickery and math in the XSL &#8211; count the columns, divide the page width by the number of columns and use the standard cell width in XSL?</li>
</ul>
<p style="text-align:center;"><a href="http://rolleys.files.wordpress.com/2010/03/indesign.png"><img class="aligncenter size-full wp-image-109" title="InDesign XML Table Import" src="http://rolleys.files.wordpress.com/2010/03/indesign.png?w=510&#038;h=146" alt="" width="510" height="146" /></a></p>
<p>Still, it does look promising nonetheless. I&#8217;ve seen lots of posts on the net with people having problems getting table data in to InDesign at all, so hopefully the above code snippets and stuff will help some people.</p>
<p>I&#8217;ll keep working on this though, and at some point, I&#8217;d LOVE to get my mittens on a copy of InDesign server to see what it can do to help me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=106&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/03/22/repurposing-xml-statistics-for-indesign-automation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/03/online-stats.png" medium="image">
			<media:title type="html">Online Stats Prototype</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/03/indesign-import.png?w=300" medium="image">
			<media:title type="html">InDesign Import - XML Tables</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/03/indesign.png" medium="image">
			<media:title type="html">InDesign XML Table Import</media:title>
		</media:content>
	</item>
		<item>
		<title>The stats of success</title>
		<link>http://rolleys.wordpress.com/2010/02/23/the-stats-of-success/</link>
		<comments>http://rolleys.wordpress.com/2010/02/23/the-stats-of-success/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 23:34:50 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[New Study Guides]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[Study Guides]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=102</guid>
		<description><![CDATA[Some time ago I posted about the eStudyGuide website I set up to match our InDesign study guide process. To explain it again, briefly, the XML from our InDesign TOCs get&#8217;s uploaded to a webserver along with the PDFs &#8211; the webpage reads the XML files and renders a download page for the course you&#8217;re [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=102&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time ago I posted about the eStudyGuide website I set up to match our InDesign study guide process. To explain it again, briefly, the XML from our InDesign TOCs get&#8217;s uploaded to a webserver along with the PDFs &#8211; the webpage reads the XML files and renders a download page for the course you&#8217;re looking for.</p>
<p>Well!  Anyway!  Term has started finally and this is the first semester that I&#8217;ve had the pages also hooked in to Google Analytics. I had this weird moment of doubt at some point, that the eStudyGuides weren&#8217;t really being used, and that we&#8217;d not really contributed anything of use to the University.  Not sure why on earth I thought that.  The stats for the first couple of weeks of Term prove how useful it is.</p>
<ul>
<li>Over 4000 page views already</li>
<li>Over 1300 hits already</li>
<li>Over 5.5 minutes average on each page</li>
</ul>
<p style="text-align:center;"><a href="http://rolleys.files.wordpress.com/2010/02/picture-11.png"><br />
<img class="aligncenter size-medium wp-image-103" style="border:1px solid #cccccc;" title="eStudyGuide stats, Term 1 2010" src="http://rolleys.files.wordpress.com/2010/02/picture-11.png?w=300&#038;h=135" alt="eStudyGuide stats" width="300" height="135" /></a></p>
<p>I love Google Analytics, it&#8217;s damn awesome.  I&#8217;m looking forward to seeing the trends from now on, how each term differs from the next.</p>
<p>Overall, the InDesign XML features have really proved essential in all of this.  There are some glitches though that I believe I&#8217;ve never mentioned.  Some times carriage returns get tagged in the TOC when you map styles to tags &#8211; which means you get an empty XML tag in your XML document.</p>
<p>You&#8217;ll need error checking to make sure you&#8217;re not rendering that empty tag as anything on your website, especially if the count of XML tags matches a document count like the eStudyGuide set up.</p>
<p>I wonder though, would it be worth doing an XML Schema and having InDesign validate it&#8217;s output with the schema when we export our TOC XML?</p>
<p>The whole process, exporting the XML and PDFs, and then uploading the files is a bit labourious too, and mistakes happen.  With a bit of perl/php mastery, one of the more technical sauvy guys in our team has done some brilliant reporting around the setup, as well as a script that handles that uploading &#8211; a must have.  It checks document counts with the XML tags to make sure they match, checks for typos even, missing files, and more.  Many thanks to <a title="Damo's work blog" href="http://damosworld.wordpress.com/">Damo</a> for his help.</p>
<p>Onwards and upwards, I wonder what the next lot of improvements to the eSGs could be <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=102&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/02/23/the-stats-of-success/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-11.png?w=300" medium="image">
			<media:title type="html">eStudyGuide stats, Term 1 2010</media:title>
		</media:content>
	</item>
		<item>
		<title>Putting statistics online</title>
		<link>http://rolleys.wordpress.com/2010/02/04/putting-statistics-online/</link>
		<comments>http://rolleys.wordpress.com/2010/02/04/putting-statistics-online/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 22:43:27 +0000</pubDate>
		<dc:creator>Rolley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://rolleys.wordpress.com/?p=88</guid>
		<description><![CDATA[We have a statistics website at work with an enormous amount of statistics available for PDF download.  I like PDF downloads.  But.  Just to get a table of statistics, a user has to click through 5 layers of navigation!  The menu, sub menu, sub sub menu, sub sub sub menu&#8230;. you see?  It&#8217;s not really [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=88&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have a statistics website at work with an enormous amount of statistics available for PDF download.  I like PDF downloads.  But.  Just to get a table of statistics, a user has to click through 5 layers of navigation!  The menu, sub menu, sub sub menu, sub sub sub menu&#8230;. you see?  It&#8217;s not really ideal &#8211; all that just to get a downloadable PDF, which usually opens up in an annoying new window as well.</p>
<p>The sub menu navigation on the site is basically like choosing a statistics category, and graph metrics.  So, I figure it&#8217;s got to be cleaner if we move to some sort of online graphing tool, right?  We could have a single page even, where a form (or cascading forms) refresh the graph and it&#8217;s metrics as you click.  All in one spot, tidy and neat, and fun.  It&#8217;d also be easy to have a tab for table-view for people who don&#8217;t like graphs.</p>
<p>There&#8217;s a lot of problems to overcome before I can start though.  I wrote a report for my boss, just to itemise what we&#8217;d need to consider, to move to online graphing.  The stuff below is a <em>part</em> of the report.  If anyone out there has any wonderful ideas about the best way to go, please let me know.  I&#8217;m mostly interested in how to get the data in to XML (from excel) in an automated way; and how to conceptualise heavily layered statistics in to graphical break downs.  Is all this a good idea?</p>
<p>As a start I actually did a tiny prototype using the free tool <a href="http://www.maani.us/xml_charts/">SWF/XML Charts</a>.  It&#8217;s a good tool, easy to use, looks reasonable to the eyes &#8211; and most of all it was easy to flex in to something more powerful, with a bit of php, ajax and jquery.  I had it set up to work really well &#8211; the forms refreshed the graph on the fly; the table view read the same XML file as the Flash graphing tool, and transformed it in to a HTML table (in the table tab).  It was so dynamic and I loved it as a basic prototype &#8211; but I&#8217;m just not sure of the best next step yet.</p>
<div id="attachment_95" class="wp-caption aligncenter" style="width: 310px"><a href="http://rolleys.files.wordpress.com/2010/02/picture-5.png"><img class="size-medium wp-image-95" title="Example graphing prototype" src="http://rolleys.files.wordpress.com/2010/02/picture-5.png?w=300&#038;h=166" alt="Example graphing prototype" width="300" height="166" /></a><p class="wp-caption-text">It worked really well - there was one tricky part though, the tabs loaded content with jquery ajax and if you changed the forms whilst in table view (for example) the graph view didn&#39;t refresh because it didn&#39;t exist.  Luckily it was fairly straight forward to fix with some callback methods in the ajax call.</p></div>
<p>Oh, and another tip &#8211; the tool hated having symbols parsed in the URL for the xml data source. So my ajax table loading might be like this:  (all these variables are actually values from the form, and the events are triggered by changing the form)<br />
<code>$("#Table").load("tableContent.php?data=TrendData_MainIntake" + "&amp;graph=" + graph + "&amp;category=" + category);<br />
</code><br />
But the url variable in the script that loaded the flash graphing tool had to be like this, using hex values in the path:<br />
<code>url = "graphContent.php%3Fdata%3DTrendData_MainIntake" + "%26graph%3D" + graph + "%26category%3D" + category + "%26type%3D" + type;</code></p>
<p>It&#8217;s fun getting all this stuff to work.  I hope it turns in to an excellent project, a small part of my report is as follows if you&#8217;re interested.<br />
<em><span style="font-style:normal;font-weight:normal;"><span id="more-88"></span></span>A small part of my report:</em></p>
<p><strong>Presenting the data</strong></p>
<p>To arrive at the most suitable working solution, first the problems must be evaluated and overcome.  The first foreseeable problem is &#8211; how to present complicated data graphically.  Some of the statistics are quite simple, others are not, this will be discussed further.  The second problem is the actual format of the data itself, in Excel.  Because our statistics are static, and not from a dynamic database, the format will need to be in XML (eXtensible Markup Language), which is an industry standard markup used by a multitude of platforms, software and web applications &#8211; even applications such as iTunes run their entire music library from XML files.  The data format will be discussed further.</p>
<p>The data used by the Stats Team originates from a range of sources, Peoplesoft, spreadsheets, raw data files, and is finalised in an Excel spreadsheet by the Team.  Some of the spreadsheets are very simple and pose no problem at all, such as the Student Demographics -&gt; Students by Age by Gender.  An example snippet is as follows:</p>
<p><img class="aligncenter size-medium wp-image-89" title="Simple Table" src="http://rolleys.files.wordpress.com/2010/02/picture-1.png?w=300&#038;h=52" alt="" width="300" height="52" /></p>
<p>The example just shown is a simple table and can be fairly quickly and easily visualised as a bar/column/line graph for the web, and in terms of the data format, simple tables as such can be more easily converted to XML.</p>
<p>Some spreadsheets have layers within layers of datasets, and this will not translate well in to the online medium.  For statistics such as Student Load by Funding Group, Faculty and Campus to be online, they will need to be re-conceptualised and presented in a broken down, or stepped, manner.  Note in the (extremely simplified) example snippet below, the layers (indicated by bold, italics and indents*) &#8211; Funding group totals for Faculties, grand totals for Funding groups, Campus break downs and so on.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/02/picture-2.png"><img class="aligncenter size-medium wp-image-90" title="More Complex Table" src="http://rolleys.files.wordpress.com/2010/02/picture-2.png?w=300&#038;h=106" alt="" width="300" height="106" /></a></p>
<p>A solution to such a problem could be as follows.  By breaking down the layers, this data can be presented in a stepped, bit by bit approach.  Take for example some of the Fusion Charts Demos &#8211; <a href="http://www.fusioncharts.com/Demos/Blueprint/">http://www.fusioncharts.com/Demos/Blueprint/</a></p>
<p>In the Sales Per Employee for Year <em>x </em>graphs the data is broken in to layers.  First viewable is an interactive pie graph, where the user selects the employee (in our example, this could be the Funding Group); then the detailed graphs for that employee load below (in our example, this would a suitable breakdown of Faculty, or Campus, or Funding group &#8211; to further drill down in to the statistical levels).</p>
<p><a href="http://rolleys.files.wordpress.com/2010/02/picture-3.png"><img class="aligncenter size-medium wp-image-91" title="Example Graphing" src="http://rolleys.files.wordpress.com/2010/02/picture-3.png?w=300&#038;h=236" alt="" width="300" height="236" /></a></p>
<p>For large datasets, there can also be graphs with scroll bars as shown below.  The Demographics by Country statistics would be very suited to a scrollbar column graph as the list of countries is quite long.</p>
<p><a href="http://rolleys.files.wordpress.com/2010/02/picture-4.png"><img class="aligncenter size-medium wp-image-92" title="Graph Example - scrolling" src="http://rolleys.files.wordpress.com/2010/02/picture-4.png?w=300&#038;h=150" alt="" width="300" height="150" /></a></p>
<p>This re-conceptualising of datasets would need some dedicated involvement from the Statistics and Analysis Team, to decide how best to present the layers of data in a visual and interactive format.  The datasets for the layers would then need to be converted to XML files.</p>
<p><strong>The format of the data &#8211; getting it to XML</strong></p>
<p>This will require some workload particularly for complicated datasets.  Excel is quite a locked up proprietary product, and does not like to share it’s formats very well.  There is no simple save as XML feature that would work, however, the Developer Toolbar provides some features for working with XML.</p>
<p>With the Developer Toolbar one can import an XML schema, which sets up the rules and conditions for the document’s structure.  It also allows the user to then map XML tags to areas in the spreadsheet, so that XML can be exported in the desired format.  After testing this it was found to be quite laborious and temperamental &#8211; at this point it seems like an unfeasible option.</p>
<p>Fusion Charts comes packaged with a tool to create XML files.  It allows the user to copy and paste from Excel, and then generates the XML.  It does a fairly effective job of it, with some extra typing to name the dataset labels it can be fairly quick to create the needed XML this way &#8211; but far from perfect.</p>
<p>The road of automation is the ultimate solution &#8211; but without having more technical/specialist skills in the Team this option does not seem likely at this point.</p>
<p><strong>Managing updates</strong></p>
<p>The Stats Team are concerned that by implementing this it will take too much workload to maintain.  It is essential that an easy set up and maintenance procedure be created but at the end of the day, it is unavoidable that some additional work will be required.</p>
<p>Adding simple datasets to the Stats website would be fairly straight forward and quick, taking roughly 30 minutes of someone’s time at the most.  It would involve:</p>
<ol>
<li>creating the XML file with the Fusion Charts XML Generator</li>
<li>typing in a few extra settings and saving the XML file</li>
<li>copying that file to the server</li>
<li>editing the website’s html files to include a link to the new graph</li>
</ol>
<p>Depending on the approach taken there may also be a HTML file that needs uploading.  For the complicated datasets, it is unclear how much time it would take to maintain and upload the statistics to the website.  It could take a day, possibly more.  Initial set up of all of the current statistics will be moderately time consuming, then once everything to date is online only yearly / semester updates would be needed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rolleys.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rolleys.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rolleys.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rolleys.wordpress.com&amp;blog=2612743&amp;post=88&amp;subd=rolleys&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rolleys.wordpress.com/2010/02/04/putting-statistics-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7b3cf6bf1eadd50d9c46ceca0f6018de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rolley</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-5.png?w=300" medium="image">
			<media:title type="html">Example graphing prototype</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-1.png?w=300" medium="image">
			<media:title type="html">Simple Table</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-2.png?w=300" medium="image">
			<media:title type="html">More Complex Table</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-3.png?w=300" medium="image">
			<media:title type="html">Example Graphing</media:title>
		</media:content>

		<media:content url="http://rolleys.files.wordpress.com/2010/02/picture-4.png?w=300" medium="image">
			<media:title type="html">Graph Example - scrolling</media:title>
		</media:content>
	</item>
	</channel>
</rss>
