<?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/"
	>

<channel>
	<title>Gavin Wray</title>
	<atom:link href="http://www.gavinwray.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.gavinwray.com</link>
	<description>Technical Author · Web Content Designer</description>
	<lastBuildDate>Sat, 30 Sep 2017 15:45:51 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.1</generator>
	<item>
		<title>Technical writing with Scrivener</title>
		<link>https://www.gavinwray.com/2017/09/technical-writing-with-scrivener/</link>
		<comments>https://www.gavinwray.com/2017/09/technical-writing-with-scrivener/#respond</comments>
		<pubDate>Sat, 02 Sep 2017 11:47:13 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Process]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[Content design]]></category>
		<category><![CDATA[Information architecture]]></category>
		<category><![CDATA[Scrivener]]></category>
		<category><![CDATA[Technical writing]]></category>
		<category><![CDATA[University of Warwick]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2580</guid>
		<description><![CDATA[How I used Scrivener to plan and write support documentation for a university's web application.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2017/09/technical-writing-with-scrivener/">Read the post<span class="screen-reader-text">Technical writing with Scrivener</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>Earlier this summer, I completed a documentation project at the University of Warwick (my employer) for a web application called Tabula. The design and development teams rewrote the coursework management component, roughly a quarter of the app, from scratch. I was responsible for writing the support pages on the IT Services&#8217; website for use by staff and students, and contributing to <a href="https://en.wikipedia.org/wiki/Software_testing#Alpha_testing">alpha testing</a>.</p>
<p>The development team releases new versions of Tabula iteratively, typically once a week. I manage the documentation work for these releases using <a href="https://www.atlassian.com/software/jira">Atlassian JIRA</a>, adding documentation sub-tasks beneath the developers&#8217; parent JIRAs, which cover new features, bug fixes and improvements. The coursework management redesign, however, followed the <a href="https://en.wikipedia.org/wiki/Waterfall_model">waterfall methodology</a>.</p>
<p>As a writer, this was a good opportunity to plan and write the documentation with free reign. None of the following usual constraints applied:</p>
<ul>
<li>Merging new material with existing pages</li>
<li>Fitting new pages into an established information architecture</li>
<li>Locating and updating legacy screenshots</li>
</ul>
<p>I was free to create the new support pages for coursework management in any structure and, on launch day, replace the live support pages in their entirety.</p>
<h2>Planning the structure</h2>
<p>Usually, at the start of a doc writing job, I practise using the app to learn the main processes, thinking as the user ‘how do I do x?’ If the feature in the app isn’t ready to try, then I follow the same thinking process using wireframes and mockups as the reference. I chunk these processes to arrive at a rough tree structure for the support pages and jot the structure in a spreadsheet. (Hat tip to the Project Managers at <a href="https://openlibrary.org/publishers/friends_of_ED">friends of ED</a>; this simple method worked well on a whiteboard in the early 2000s for outlining text books and it works great today for web pages.)</p>
<table>
<thead>
<tr>
<td>Page title</td>
<td>Slug</td>
<td>Notes</td>
<td>1st draft ready</td>
<td>2nd draft ready</td>
<td>Approved</td>
<td>Live</td>
</tr>
</thead>
<tbody>
<tr>
<td>Main process 1</td>
<td>/process1</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>– Step 1</td>
<td>/process1/step1</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>– Step 2</td>
<td>/process1/step2</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Main process 2</td>
<td>/process2</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>– Step 1</td>
<td>/process2/step1</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>For the Tabula project, I needed to start writing the support pages before much of the app was built and while UI (user interface) conversations were still in flux. While that’s normal, I wanted to try a new approach to writing the pages, specifically:</p>
<blockquote><p>How can I write the first draft &#8211; and track progress &#8211; without being locked into an information architecture that is likely to change?</p></blockquote>
<p>The main choice for the structure of the support pages was between the:</p>
<ul>
<li>user’s role (student, administrator, marker, moderator, etc.)</li>
<li>task the user performs (submit an assignment, request an extension, and so on)</li>
</ul>
<p>I wasn&#8217;t sure which approach was most appropriate but didn’t want the decision to hold up writing. I could have followed the draft structure in the spreadsheet and restructured it later.</p>
<ul>
<li><strong>Pros</strong>: can maintain oversight of progress and remaining pages to write</li>
<li><strong>Cons</strong>: more time spent tweaking spreadsheets; less time writing</li>
</ul>
<p>Another option was to create the draft structure in the University&#8217;s CMS (content management system) and write the first draft in the CMS.</p>
<ul>
<li><strong>Pros</strong>: easy to share work in progress with others for review</li>
<li><strong>Cons</strong>: early investment in making a structure for approximately 50 pages, which may need to be reworked; when you need to quickly refer to other unpublished material, a CMS is an inefficient place to write in; difficult to track progress</li>
</ul>
<h2>Outlining with Scrivener</h2>
<p>The <a href="https://www.literatureandlatte.com/scrivener.php">Scrivener writing software</a> is aimed at authors who write long-form content and books, with emphasis on publishing to e-book formats. According to their blurb, Scrivener “allows you to concentrate on composing and structuring long and difficult documents [and] its focus is on helping you get to the end of that awkward first draft.”</p>
<p>In <strong>Group Mode &gt; Outliner</strong>, you can quickly create a draft tree structure. When UI conversations concluded with a decision on a particular feature or a new process was ready to test, I could drag and drop pages to new locations in the structure:</p>
<figure id="attachment_2581" style="max-width: 1099px" class="wp-caption alignnone"><a href="/wp-content/uploads/2017/09/scrivener-outline-mode-1x-min.png" rel="lightbox[2580]"><img class="wp-image-2581 size-full gw-media-wide" src="/wp-content/uploads/2017/09/scrivener-outline-mode-1x-min.png" srcset="/wp-content/uploads/2017/09/scrivener-outline-mode-1x-min.png 1x, /wp-content/uploads/2017/09/scrivener-outline-mode-2x-min.png 2x" alt="Outliner mode" width="1099" height="699" /></a><figcaption class="wp-caption-text">Outliner mode in Scrivener. Click image to view larger size.</figcaption></figure>
<p>Outlining in this way particularly helped me to apply <a href="https://www.interaction-design.org/literature/book/the-glossary-of-human-computer-interaction/progressive-disclosure">progressive disclosure</a> techniques to the structure during the life of the project. The bulk of the support material (approximately 80%) is for an audience of administrators in the University&#8217;s teaching departments. Timeliness of support information is relevant, as is keeping unnecessary pages out of the way. For example, administrators set up assignments before term starts while marking assignments typically occurs towards the end of a term.</p>
<p>In Outliner mode, I added the following fields to help me keep track of pages I’d written and remaining work:</p>
<ul>
<li><strong>Labels</strong>: I used custom values to categorise each page by audience (student, marker, administrator, and so on).</li>
<li><strong>Status</strong>: using custom values, I added progress terms similar to those in the spreadsheet column headings (to do, first draft ready, second draft ready).</li>
<li><strong>Words</strong>: the word count of an individual page. My target was <em>as few words as possible</em> so this field helped to identify potentially bloated pages that could benefit from editing or splitting into several pages.</li>
<li><strong>Total words</strong>: a useful cumulative word count of each section of the tree structure.</li>
</ul>
<p>So, with the structure in place and a means to track progress, it was time to write.</p>
<h2>Writing with Scrivener</h2>
<p>Publishing and export options in Scrivener are mainly for word processor software or compiling to e-book formats. For web pages, however, I needed HTML to copy and paste into the University&#8217;s CMS. To add the capability to export HTML, I followed Thaddeus Hunt&#8217;s method to <a href="http://thaddeushunt.com/tips-setting-up-scrivener-to-compile-multimarkdown/">write in MultiMarkdown and compile to HTML</a>.</p>
<p>With the tree structure and active page visible in the left-hand Binder, I wrote the individual pages in Markdown, jotting reference wireframe and JIRA URLs at the top of each page:</p>
<figure id="attachment_2583" style="max-width: 1337px" class="wp-caption alignnone"><a href="/wp-content/uploads/2017/09/scrivener-write-page-1x-min.png" rel="lightbox[2580]"><img class="wp-image-2583 size-full gw-media-wide" src="/wp-content/uploads/2017/09/scrivener-write-page-1x-min.png" srcset="/wp-content/uploads/2017/09/scrivener-write-page-1x-min.png 1x, /wp-content/uploads/2017/09/scrivener-write-page-2x-min.png 2x" alt="Writing in Scrivener in Markdown syntax" width="1337" height="487" /></a><figcaption class="wp-caption-text">Writing in Scrivener in Markdown syntax. Click image to view larger size.</figcaption></figure>
<p>Being able to quickly refer to other pages and return to the page I was writing via the Binder was a huge time-saver.</p>
<h2>Final steps</h2>
<p>Once I&#8217;d written the second draft – final text without screenshots – I set up the tree structure in the CMS, pasted the HTML snippets into each page and then added:</p>
<ul>
<li>Screenshots</li>
<li>Page metadata for search engines</li>
<li>Tag metadata for a ‘browse by role or task’ filter</li>
<li>View permissions for the appropriate audience</li>
</ul>
<p>This is the point where the benefits of working in the CMS outweighed those of continuing in Scrivener to get the drafts ready for publishing. Also, by this stage, other web editors were helping to prepare the web pages, while stakeholders wanted an early sight of particular pages before publication. A CMS is ideal for this work.</p>
<h2>Last thoughts</h2>
<p>For large technical documentation jobs or long-form content where I’m the sole writer, I&#8217;ll definitely use Scrivener again. It helps me organise my thoughts, write swiftly and, most importantly, reduce overwhelm.</p>
<p>The visual design of progress indicators and customisable fields in Outliner mode are ideal for breaking a huge task into manageable chunks:</p>
<ul>
<li>‘Write 50 pages documenting all features of a new app that’s in development’ – crikey, where do I start?</li>
<li>‘Write a page that explains how a marker can download the assignments they need to mark’ &#8211; yes, I can do that today</li>
</ul>
<p>Also, for documenting web applications specifically, a writer needs to be adaptable. Features change. User-centred design is iterative. You may not be certain of how a process works or when an interface will be ready to test. That’s just how it is and you need to flow with it.</p>
<p>Having a flexible structure for the support pages that you can dip in and out of, and the ability to refine that structure when decisions are made and new features are available, is a great framework to give yourself the means to keep writing the first draft and avoid procrastination.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2017/09/technical-writing-with-scrivener/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audio and 2D image to 3D animation</title>
		<link>https://www.gavinwray.com/2017/07/audio-and-2d-image-to-3d-animation/</link>
		<comments>https://www.gavinwray.com/2017/07/audio-and-2d-image-to-3d-animation/#respond</comments>
		<pubDate>Sat, 15 Jul 2017 14:28:45 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Generative art]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Motion graphics]]></category>
		<category><![CDATA[TouchDesigner]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2574</guid>
		<description><![CDATA[My first test export from TouchDesigner.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2017/07/audio-and-2d-image-to-3d-animation/">Read the post<span class="screen-reader-text">Audio and 2D image to 3D animation</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve started learning how to make generative graphics using <a href="https://www.derivative.ca">TouchDesigner</a>. The scope of what people make with the software is vast and inspiring (check out the <a href="https://vimeo.com/groups/touchdesigner">Vimeo group</a>), while the learning curve is steep.</p>
<p>After reading the <a href="https://www.gitbook.com/book/nvoid/introduction-to-touchdesigner">introductory book</a> to get an understanding of the user interface and workflow, my aim is to make motion graphics react to a musical source. Building on that, maybe I can use MIDI data as another input.</p>
<p>Here&#8217;s my first test export using a <a href="http://www.indaehwang.com/touchdesigner/audio_visual_2dimageto3dshape/">TOE file by Indae Hwang</a> – the music is <em>Summons</em> from my <em><a href="http://finalpilots.com/music/">Brinkmann Flag</a></em> album:</p>
<p><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/5Ckhm37WPXU?version=3&#038;rel=1&#038;fs=1&#038;autohide=2&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2017/07/audio-and-2d-image-to-3d-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom stylesheet for George Orwell essay archive</title>
		<link>https://www.gavinwray.com/2017/04/custom-stylesheet-orwell-essay-archive/</link>
		<comments>https://www.gavinwray.com/2017/04/custom-stylesheet-orwell-essay-archive/#respond</comments>
		<pubDate>Mon, 10 Apr 2017 16:45:01 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[George Orwell]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Readability]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[User experience]]></category>
		<category><![CDATA[Userstyles.org]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2561</guid>
		<description><![CDATA[Typography CSS for use with the Stylish browser extension to improve the readability of an online essay archive.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2017/04/custom-stylesheet-orwell-essay-archive/">Read the post<span class="screen-reader-text">Custom stylesheet for George Orwell essay archive</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s an archive of George Orwell&#8217;s essays in English and Russian language at <a href="http://www.orwell.ru/library/essays">http://www.orwell.ru/library/essays</a>. I found the archive last week when searching for a full-text version of <em><a href="http://www.orwell.ru/library/essays/politics/english/">Politics and the English Language</a></em> (1946) to re-read, which contains Orwell&#8217;s famous six rules for clear writing. These rules are touchstones for writers or editors and feature in the introduction to <em>The Economist</em>’s <a href="http://www.economist.com/styleguide/introduction">style guide</a>.</p>
<p>I found the essays difficult to read on a desktop browser due to the site&#8217;s typography:</p>
<ul>
<li>Long line lengths spanning the full width of the browser</li>
<li>Justified paragraphs rather than left-aligned (ragged right)</li>
<li>Tight leading</li>
<li>A serif font</li>
</ul>
<p>When reading long-form articles online I prefer large sans-serif body text, constrained line lengths and leading between 1.3 and 1.5 <a href="https://en.wikipedia.org/wiki/Em_(typography)">ems</a>. To improve the reading experience of the essays I made a custom stylesheet with new typography intended for use with the Stylish browser extension. I&#8217;ve shared the stylesheet via <a href="https://userstyles.org/styles/141074/modern-typography-for-george-orwell-s-essays">userstyles.org</a> and <a href="https://github.com/gavinwray/stylish-orwell">GitHub</a>.</p>
<h2>Before</h2>
<p><a href="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png" rel="lightbox[2561]"><img class="alignnone size-full wp-image-2563 gw-media-wide" src="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png" alt="Politics and the English Language - before custom styles" srcset="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png?w=1440&amp;ssl=1 1440w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png?resize=659%2C355&amp;ssl=1 659w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png?resize=768%2C414&amp;ssl=1 768w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-before-min.png?resize=1024%2C552&amp;ssl=1 1024w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></a></p>
<p>Credit: <a href="http://www.orwell.ru/library/essays/politics/english/e_polit">http://www.orwell.ru/library/essays/politics/english/e_polit</a> – click image to view a larger version.</p>
<h2>After</h2>
<p><a href="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png" rel="lightbox[2561]"><img class="alignnone size-full wp-image-2564 gw-media-wide" src="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png" alt="Politics and the English Language - after custom styles" srcset="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png?w=1440&amp;ssl=1 1440w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png?resize=587%2C500&amp;ssl=1 587w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png?resize=768%2C654&amp;ssl=1 768w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2017/04/orwell-after-min-1.png?resize=1024%2C873&amp;ssl=1 1024w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></a></p>
<p>Credit: <a href="http://www.orwell.ru/library/essays/politics/english/e_polit">http://www.orwell.ru/library/essays/politics/english/e_polit</a> with custom stylesheet – click image to view a larger version.</p>
<h2>Install via userstyles.org directory</h2>
<ol>
<li>Add the Stylish extension to your browser. The extension is available for <a href="https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en">Chrome</a>, <a href="https://addons.mozilla.org/en-GB/firefox/addon/stylish/">Firefox</a>, <a href="https://safari-extensions.apple.com/details/?id=com.sobolev.stylish-5555L95H45">Safari</a> and <a href="https://addons.opera.com/en-gb/extensions/details/stylish/">Opera</a>.</li>
<li>Visit <a href="https://userstyles.org/styles/141074/">https://userstyles.org/styles/141074/</a>.</li>
<li>Select <strong>Install with Stylish</strong>.</li>
<li>View any essay under <a href="http://www.orwell.ru/library/essays/">http://www.orwell.ru/library/essays/</a>.</li>
<li>The Stylish extension should prompt you that styles are available for the current site. Accept the prompt and add the styles.</li>
</ol>
<h2>Install manually</h2>
<p>In Chrome the Stylish extension may not reliably prompt you that styles are available for the current site. Manually add the stylesheet as follows:</p>
<ol>
<li>Click the browser extension icon and select <strong>Create new style</strong>.</li>
<li>Give the style a name.</li>
<li>In <a href="https://github.com/gavinwray/stylish-orwell/blob/master/stylish.css">stylish.css</a> copy all of the styles that are inside the <code>@-moz-document</code> and <code>url-prefix</code> rules.</li>
<li>Paste the styles in the <strong>Code 1</strong> text field.</li>
<li>In the <strong>Applies to</strong> settings choose <strong>URLs starting with</strong> from the drop-down menu.</li>
<li>Enter <code>http://www.orwell.ru/library/essays/</code> in the text field.</li>
<li>Select the <strong>Save</strong> button.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2017/04/custom-stylesheet-orwell-essay-archive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I&#8217;ve been doing in 2015 and 2016</title>
		<link>https://www.gavinwray.com/2016/12/what-ive-been-doing-in-2015-and-2016/</link>
		<comments>https://www.gavinwray.com/2016/12/what-ive-been-doing-in-2015-and-2016/#respond</comments>
		<pubDate>Sat, 17 Dec 2016 13:03:47 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Kings Heath]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[University of Warwick]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2507</guid>
		<description><![CDATA[Work, music, home and volunteering.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/12/what-ive-been-doing-in-2015-and-2016/">Read the post<span class="screen-reader-text">What I&#8217;ve been doing in 2015 and 2016</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been lax in maintaining this blog during the last two years; an update is long overdue. So, what have I been up to?</p>
<h2>Work</h2>
<p>In May 2015, the University of Warwick (my employer) launched its new <a href="http://warwick.ac.uk/brand/">brand</a> designed by <a href="http://www.frankbrightabel.com/case_studies/warwick/">Frank, Bright &amp; Abel</a>. I&#8217;ve spent most of my time working with web editors, web developers, academics and marketing staff to update departmental websites to reflect the new brand.</p>
<p>My part involved:</p>
<ul>
<li>Guiding departments through site redesign projects</li>
<li>Implementing responsive page layouts, particularly with <a href="http://getbootstrap.com/">Bootstrap</a></li>
<li>Refactoring custom page layouts and functionality to take advantage of modern web standards</li>
<li>Content migrations</li>
<li>Information architecture planning and restructures</li>
<li>Testing, quality assurance&nbsp;and launches</li>
<li>Providing dedicated support for queries on the CMS, layouts, responsive design, SEO, navigation, graphic design, copy and launches</li>
<li>Summarising digital branding decisions into a practical description of the University&#8217;s&nbsp;<a href="http://warwick.ac.uk/id7/template-guidelines/">website template</a></li>
</ul>
<p>The last of Warwick&#8217;s many (1,000+) websites moved to the new brand in September 2016, bringing a busy summer to a close before the start of a new academic year. It&#8217;s been an enjoyable, interesting and demanding two years.</p>
<p>There were two particularly enjoyable parts for me personally.</p>
<p>With Bootstrap and <a href="http://fontawesome.io/">Font Awesome</a>&nbsp;now rolled into the University&#8217;s template, I&#8217;ve been hand-coding designs again, creating responsive layouts with HTML, CSS and <a href="http://lesscss.org/">LESS</a>. After several years in the WordPress domain, and shoehorning layouts into an inflexible CMS, it&#8217;s incredibly satisfying to make professional designs with clean, semantic markup. Doing so by hand, with a text editor and a browser, feels, um, ‘proper’&nbsp;– a welcome return to a valuable craft. (I&#8217;m also lucky to be able to ask for help from a phenomenally capable in-house web team.)</p>
<p>Secondly, I now feel as if I know the University, and those who work there, better. It&#8217;s huge – a large town in reality. While the nature of the work has been digital, I&#8217;ve welcomed stronger relationships with people. I have a better understanding of the pressures other people face.</p>
<h2>Home</h2>
<p>My partner and I have refurbished our house. For three months in 2015, we lived upstairs – with two cats and a dog – while builders extended the ground floor. Blimey, that tested us! The building work is complete and the remaining decoration is down to us to finish.</p>
<h2>Music</h2>
<p>After two and half years playing guitar with <a href="http://rhinoandtheranters.com">Rhino &amp; The Ranters</a>, I decided to bow out&nbsp;at the end of 2015. That year was a blast with a real swell of support for the band. Highlights were <a href="https://www.youtube.com/watch?v=IYEAL1bbtLI">performing</a>&nbsp;at <a href="http://lunarfestival.co.uk/">Lunar Festival</a> in Warwickshire, opening for The Twang and The Wonder Stuff at Wolverhampton&#8217;s Wulfrun Hall, and contributing guitar parts to&nbsp;the <a href="https://rhinoandtheranters2.bandcamp.com/album/half-quixote-ep"><em>Half Quixote</em> EP</a>.</p>
<p>Early in 2016, I challenged myself to learn digital recording and production. (My previous recording and live production experience is all analogue: tube amps, microphones and tape!) Since April, I&#8217;ve been learning <a href="http://www.apple.com/uk/logic-pro/">Logic Pro X</a>, sequencing, loops, software instruments and&nbsp;<a href="https://en.wikipedia.org/wiki/MIDI">MIDI</a>, amp simulators, compression and mixing. It&#8217;s fantastic to find software that I feel so at home in.</p>
<p>In parallel, I&#8217;m writing new music for an instrumental album tentatively titled <em>Brinkmann Flag</em>. It&#8217;s about a time- and space-jumping superhero with great hair, shoes and martial arts skills. When it&#8217;s time to release the album, the description will be much more serious and arty. Currently, I have eight tracks in the works. After sharing with close muso mates, I&#8217;m now focused on finessing the writing and arrangements. Here&#8217;s an early version of <em>Spaghetti Northern</em>:</p>
<p><iframe width="500" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&#038;url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F306072437&#038;show_artwork=true&#038;maxwidth=500&#038;maxheight=750"></iframe></p>
<h2>Volunteering</h2>
<p>Being honest, I&#8217;ve been lazy in sharing my time and skills with others. I will change this in 2017. The shock of the Brexit vote, and the non-shock of the subsequent government leadership vacuum filled by cruel Tory ideologues has given me a much-needed kick up the proverbial.</p>
<p>2016 has been a terrible year for many people and central government are making things worse through deliberate policy and ignorance. In my local neighbourhood and the wider city of Birmingham, the effects of the former coalition and current government&#8217;s austerity policies are in plain sight. Neighbourhood advice offices, <a href="https://birminghamagainstthecuts.wordpress.com/2016/09/20/act-now-to-keep-your-childrens-centre-open/">children&#8217;s&nbsp;centres</a>, social care provision, a <a href="http://b14kingsheath.net/profiles/blogs/kings-heath-police-station-to-close-to-public">police station open to the public</a>, parking enforcement… these are either gone entirely or scaled back drastically.</p>
<p><a href="https://www.birmingham.gov.uk/info/20155/council_budget/1082/budget_consultation_2017">Birmingham City Council</a>&nbsp;was&nbsp;&#8220;forced to remove about £590 million from [its] budget as a direct result of unprecedented cuts in the amount of grant the Government has awarded Birmingham City Council. This equates to a 34 per cent reduction in grant since 2010.&#8221; They have also had to &#8220;reduce the number of staff working for the council by about 40 per cent.&#8221;</p>
<p>The vitriol of popular online culture and surfeit of misery in the mainstream press has caused me to tune out, particularly from Twitter, in 2016. I&#8217;m genuinely fearful for democratic and liberal values at home and around the world.</p>
<p>But, enough ranting! Time to go outside and do something useful. There are things I can do, even if they are small, to help others – and I will do <a href="http://stuff4steph.com/">stuff for Steph</a>.</p>
<p>This year I&#8217;ve reconnected with&nbsp;the <a href="http://kingsheathforum.org.uk">Kings Heath Residents&#8217; Forum</a>, supporting them with web content editing, WordPress maintenance and occasional&nbsp;social media updates. I could, and would like to, do more though.</p>
<p>Writing this post reminded me of the three <a href="http://www.weirdbutinagoodway.co.uk/blog/2014/10/14/working-for-podnosh-but-what-is-it-you-do/">company values</a> of my former employer, <a href="http://podnosh.com/">Podnosh</a>: &#8220;think; make a difference; give a fuck.&#8221; I needed a reminder and I think all three values stand up as good reasons to get better – at work, at home, in songwriting, in learning new technology, in volunteering, in talking with others and in helping my neighbourhood. Watch out 2017.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/12/what-ive-been-doing-in-2015-and-2016/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluating Outlook, OneNote, Trello and Evernote for a GTD system</title>
		<link>https://www.gavinwray.com/2016/11/evaluating-outlook-onenote-trello-and-evernote-for-gtd/</link>
		<comments>https://www.gavinwray.com/2016/11/evaluating-outlook-onenote-trello-and-evernote-for-gtd/#respond</comments>
		<pubDate>Thu, 10 Nov 2016 17:41:46 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Process]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Evernote]]></category>
		<category><![CDATA[Getting Things Done]]></category>
		<category><![CDATA[GTD]]></category>
		<category><![CDATA[OneNote]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Trello]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2498</guid>
		<description><![CDATA[My experience of setting up a GTD system and comparing desktop, web and mobile apps to manage it.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/11/evaluating-outlook-onenote-trello-and-evernote-for-gtd/">Read the post<span class="screen-reader-text">Evaluating Outlook, OneNote, Trello and Evernote for a GTD system</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>I attended a training session recently on how to organise your work and life based on David Allen&#8217;s <a href="http://gettingthingsdone.com/">GTD (Getting Things Done)</a> methodology.</p>
<p>The trainer covered how to define your own ‘contexts’ or tags – common identifiers for tasks based on type, geographical location, relationships with other people, timeliness and energy level. He then described how to implement this system in Outlook and OneNote.</p>
<p>Thinking about how and where I work, and who with, I made the following tags:</p>
<dl>
<dt>@Agenda &#8211; manager</dt>
<dd>things I need to know about or ask for help with next time we meet</dd>
<dt>@Agenda &#8211; team</dt>
<dd>things to share or ask for help with</dd>
<dt>@Write/Make/Launch</dt>
<dd>deep concentration for hours without interruption</dd>
<dt>@Performance review</dt>
<dd>do these things before the next review</dd>
<dt>@Home</dt>
<dd>things I can do from home</dd>
<dt>@No brain required</dt>
<dd>easy jobs, like fixing broken links, when energy is low</dd>
<dt>@Projects</dt>
<dd>lengthy work I&#8217;m responsible for delivering</dd>
<dt>@Read/Review</dt>
<dd>University news, reports, blogs, RSS feeds</dd>
<dt>@Thinking</dt>
<dd>problem solving, analysing requirements, quoting</dd>
<dt>@Waiting for</dt>
<dd>need a response from someone else before I can go ahead</dd>
</dl>
<p>I then added four further tags for timing:</p>
<dl>
<dt>1-Now</dt>
<dd>Do this now</dd>
<dt>2-Next</dt>
<dd>Do these soon; likely to move to 1-Now within a few days</dd>
<dt>3-Later</dt>
<dd>Not urgent, just don&#8217;t forget them</dd>
<dt>4-Some day</dt>
<dd>Wish list</dd>
</dl>
<p>The at symbol and numbers prepended to contexts help to sort tasks in apps such as Outlook (via categories) and Evernote (via tags and shortcuts). Punctuation and numbers force tags to the top of lists sorted alphabetically.</p>
<p>Next, I made a list of essential features an app must have for me to use it in a GTD system:</p>
<ul>
<li>Create a task from an email easily</li>
<li>Define your own custom tags</li>
<li>Filter by custom tags</li>
<li>Collaborative &#8211; projects or tasks are shareable</li>
<li>Consistent experience across Windows 10, Mac OS, Android and iOS – I&#8217;m in the Apple world but work in an MS Exchange/Office 365 environment with many Windows/Android users</li>
</ul>
<p>I&#8217;ve shared my notes on how Outlook, OneNote, Trello and Evernote performed, judged against the above five criteria in a <a href="https://docs.google.com/spreadsheets/d/1Qeso47sheVZYFxQi5L3_5rgxJZJCc9Eukzr88ym0BBY/edit?usp=sharing">Google Spreadsheet</a>. All fared well except OneNote. Too much functionality for collaboration and tagging is missing in both web and Mac OS versions.</p>
<p>At work (the University of Warwick), I&#8217;m using:</p>
<ul>
<li>Outlook 2016 for Mac to manage email</li>
<li>Outlook 2016 for Mac to keep track of tasks, using my list of custom tags as categories</li>
<li>Trello for managing projects and collaboration</li>
</ul>
<p>For personal use, I&#8217;m sticking with Evernote to keep track of tasks. I&#8217;ve used Evernote since 2010 as a notepad and scrapbook for ideas, and love how easy it is to capture and retrieve information.</p>
<p>So far, I haven&#8217;t made good use of tags though. After defining my custom tags for GTD in Evernote, following instructions on <a href="http://www.thesecretweapon.org/the-secret-weapon-manifesto/setting-up-the-secret-weapon">The Secret Weapon</a>, I found the UI a little clunky. Nesting tags is pointless (they&#8217;re not exposed usefully in the UI) and I&#8217;m not a fan of the <a href="https://blog.evernote.com/blog/2015/08/13/introducing-the-new-evernote-web-client/">web version released in August 2015</a>. The eye-strain-inducing expanses of white space, truncated note titles even on large screens, hidden functionality and sidebar navigation are a case of minimalist form over function.</p>
<p>Fortunately, you can revert the Evernote web app to the old version which more closely resembles the desktop app. Also, by dragging tags to shortcuts menu – and using shortcuts as the primary navigation – I found a clear, usable and consistent UI across desktop, web and iOS apps to browse and filter tasks by context, timeliness or both.</p>
<p>An important part of the GTD system, is the weekly review – checking what you&#8217;ve done, what you&#8217;re waiting on and what to do next. At work, I&#8217;ve settled into a routine of reviewing the list on Friday mornings. This gives me enough time during the rest of the day to finish anything I&#8217;ve forgotten about or pushed back during the week. At home, it&#8217;s Sunday morning with cake as a reward. The cake is a vital part of the system; without it, all effort is in vain.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/11/evaluating-outlook-onenote-trello-and-evernote-for-gtd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantasy landscapes</title>
		<link>https://www.gavinwray.com/2016/10/fantasy-landscapes/</link>
		<comments>https://www.gavinwray.com/2016/10/fantasy-landscapes/#respond</comments>
		<pubDate>Wed, 19 Oct 2016 20:39:38 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Digital art]]></category>
		<category><![CDATA[Enlight app]]></category>
		<category><![CDATA[Fantasy]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Landscape]]></category>
		<category><![CDATA[Sci-fi]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2492</guid>
		<description><![CDATA[Playing with double exposures and blending.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/10/fantasy-landscapes/">Read the post<span class="screen-reader-text">Fantasy landscapes</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>You know those crisp, beautiful autumn mornings with azure skies and a low-angled sun jabbing fingers of light through the trees into a carpet of mist? It was one of those.</p>
<p>I took photos in my local park while walking the dog. Each scene, viewed by eye, was a perfect English autumn composition. The resulting photos? Rubbish! Each image was underexposed, the rays of sunlight looked weak and the sky was a flat pastel. Not what I was hoping for!</p>
<p>I attempted to rescue an image with heavy editing using the <a href="https://www.enlightapp.com/">Enlight</a> app for iOS, my favourite photo editor. Digging deeper into Enlight&#8217;s mixer tools, I used the blending functions to combine two photos into the following woodland scene:</p>
<p><a href="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161002-highbury-park-1000-min.jpg" rel="lightbox[2492]"><img class="alignnone wp-image-2493 size-full gw-media-wide" src="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161002-highbury-park-1000-min.jpg?resize=1000%2C625" alt="Highbury Park, Kings Heath" srcset="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161002-highbury-park-1000-min.jpg?w=1000&amp;ssl=1 1000w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161002-highbury-park-1000-min.jpg?resize=659%2C412&amp;ssl=1 659w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161002-highbury-park-1000-min.jpg?resize=768%2C480&amp;ssl=1 768w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></a></p>
<p>I&#8217;m chuffed with the result. It has a peaceful yet surreal feeling. While the trees, crocuses and earth are realistic, the rays of sunlight and purple accents at the right add a magical atmosphere.</p>
<p>Next, I played with a photo I took of Crosby beach (site of Sir Antony Gormley&#8217;s <em><a href="https://en.wikipedia.org/wiki/Another_Place">Another Place</a></em>) with space imagery to make this double exposure:</p>
<p><a href="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161009-crosby-beach-1000-min.jpg" rel="lightbox[2492]"><img class="alignnone wp-image-2494 size-full gw-media-wide" src="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161009-crosby-beach-1000-min.jpg?resize=1000%2C465" alt="Crosby beach sci-fi double exposure" srcset="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161009-crosby-beach-1000-min.jpg?w=1000&amp;ssl=1 1000w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161009-crosby-beach-1000-min.jpg?resize=659%2C306&amp;ssl=1 659w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161009-crosby-beach-1000-min.jpg?resize=768%2C357&amp;ssl=1 768w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></a></p>
<p>To make the following image, I started with a double exposure from two of my own photos, <em><a href="https://www.flickr.com/photos/gavinwray/24388347119/">Last of the light</a></em> and <a href="https://www.flickr.com/photos/gavinwray/14944380243">Formby beach</a>. Next, I wanted to place an aged structure that was unsettling and incongruous in a rural scene. The idea for this composition has been on my mind for a while; it&#8217;s inspired by <a href="http://www.simonstalenhag.se/">Simon Stålenhag</a>&#8216;s digital painting in <a href="http://frialigan.se/produkt/tales-from-the-loop/"><em>Tales from the Loop</em></a>. The iron structure is a close-up of <a href="https://www.flickr.com/photos/wwwuppertal/11651591514/">Zeche Zollern mine head tower</a> (<a href="https://creativecommons.org/licenses/by-nc/2.0/" rel="nofollow">CC BY-NC 2.0</a>) by <a href="https://www.flickr.com/photos/wwwuppertal/">Werner Wittersheim</a>.</p>
<p><a href="https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161015-structure-on-beach-1000-min.jpg" rel="lightbox[2492]"><img class="alignnone wp-image-2495 size-full gw-media-wide" src="https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161015-structure-on-beach-1000-min.jpg?resize=1000%2C617" alt="Structure on beach" srcset="https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161015-structure-on-beach-1000-min.jpg?w=1000&amp;ssl=1 1000w, https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161015-structure-on-beach-1000-min.jpg?resize=659%2C407&amp;ssl=1 659w, https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/10/20161015-structure-on-beach-1000-min.jpg?resize=768%2C474&amp;ssl=1 768w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/10/fantasy-landscapes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planet Loweswater</title>
		<link>https://www.gavinwray.com/2016/08/planet-loweswater/</link>
		<comments>https://www.gavinwray.com/2016/08/planet-loweswater/#respond</comments>
		<pubDate>Sun, 07 Aug 2016 19:33:16 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Cumbria]]></category>
		<category><![CDATA[Lake District]]></category>
		<category><![CDATA[Loweswater]]></category>
		<category><![CDATA[Polar panorama]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2486</guid>
		<description><![CDATA[A tiny world.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/08/planet-loweswater/">Read the post<span class="screen-reader-text">Planet Loweswater</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>Now I have a shiny new Mac, I&#8217;m able to dig through my photo archives. This weekend I found stitched panoramas, including several from photos taken at Loweswater in Cumbria. The lake and surrounding mountains cast in bright winter sun proved great source material for making a polar panorama:</p>
<p><a title="Planet Loweswater" href="/wp-content/uploads/2016/08/planet-loweswater-1000.jpg" rel="lightbox"><img class="alignnone size-full wp-image-2488 gw-media-wide" src="/wp-content/uploads/2016/08/planet-loweswater-1000.jpg" alt="Planet Loweswater" width="1000" height="1000" srcset="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/08/planet-loweswater-1000.jpg?w=1000&amp;ssl=1 1000w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/08/planet-loweswater-1000.jpg?resize=150%2C150&amp;ssl=1 150w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/08/planet-loweswater-1000.jpg?resize=500%2C500&amp;ssl=1 500w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/08/planet-loweswater-1000.jpg?resize=768%2C768&amp;ssl=1 768w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/08/planet-loweswater-1000.jpg?resize=350%2C350&amp;ssl=1 350w" sizes="(max-width: 1000px) 100vw, 1000px" /></a></p>
<p>This image is shared on <a href="https://www.flickr.com/photos/gavinwray/28721166692/">flickr</a> (<a href="https://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY-NC-SA 2.0</a>).</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/08/planet-loweswater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter card and Open Graph images in Icarus theme for Hugo</title>
		<link>https://www.gavinwray.com/2016/07/twitter-card-and-open-graph-images-in-icarus-theme-for-hugo/</link>
		<comments>https://www.gavinwray.com/2016/07/twitter-card-and-open-graph-images-in-icarus-theme-for-hugo/#respond</comments>
		<pubDate>Sat, 23 Jul 2016 15:05:01 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Content management]]></category>
		<category><![CDATA[Social media]]></category>
		<category><![CDATA[Facebook Open Graph]]></category>
		<category><![CDATA[Hugo]]></category>
		<category><![CDATA[Icarus theme]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Twitter card]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2481</guid>
		<description><![CDATA[How to define the image that is displayed when your post is shared on Facebook or Twitter.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/07/twitter-card-and-open-graph-images-in-icarus-theme-for-hugo/">Read the post<span class="screen-reader-text">Twitter card and Open Graph images in Icarus theme for Hugo</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>Earlier this week, when sharing a post from my music blog <a href="http://twang.city">The Perfect Twang</a> to Facebook, I noticed that none of the post images appeared in the link preview:</p>
<p><img class="alignnone size-full wp-image-2482" src="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/fb-link-preview-without-image.png?resize=508%2C143" alt="Facebook update shows text, link and no image" data-recalc-dims="1" /></p>
<p>The lack of images is due to a missing <code>og:image</code> property in my post metadata.</p>
<p>The only information I found on how to populate this property, specifically in the <a href="http://themes.gohugo.io/theme/hugo-icarus/">Icarus theme for Hugo</a> I use for my music blog, is by <a href="http://brendan-quinn.xyz/post/working-with-hugos-internal-partial-templates-facebook-and-open-graph/">Brendan Quinn</a>. He has shared his code used in Hugo&#8217;s internal partial templates to populate values for the <a href="https://developers.facebook.com/docs/sharing/opengraph">Facebook Open Graph</a>.</p>
<p>Most of Brendan&#8217;s code was over my head but I noticed the following line in his example post frontmatter:</p>
<pre class="brush: plain; title: ; notranslate">

+++
images = [&quot;http://brendan-quinn.xyz/css/images/banners/responsive-images-landscape-seo.jpg&quot;]
+++

</pre>
<p>I added the following line to my frontmatter:</p>
<pre class="brush: plain; title: ; notranslate">
---
images: [&quot;/media/2016/07/20160721-little-walter-820x350.jpg&quot;]
---
</pre>
<p>The republished post now contains two additional lines of metadata:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;meta property=&quot;og:image&quot; content=&quot;http://twang.city/media/2016/07/20160721-little-walter-820x350.jpg&quot; /&gt;
&lt;meta name=&quot;twitter:image:src&quot; content=&quot;http://twang.city/media/2016/07/20160721-little-walter-820x350.jpg&quot;/&gt;
</pre>
<p>The link preview now includes the defined image, which you can check with Facebook&#8217;s <a href="https://developers.facebook.com/tools/debug/sharing/">Sharing Debugger</a>:</p>
<p><img class="alignnone size-full wp-image-2483" src="https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/fb-link-preview-with-image.jpg?resize=526%2C358" alt="Link preview with image as seen in Facebook Sharing Debugger" srcset="https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/fb-link-preview-with-image.jpg?w=526&amp;ssl=1 526w, https://i1.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/fb-link-preview-with-image.jpg?resize=514%2C350&amp;ssl=1 514w" sizes="(max-width: 526px) 100vw, 526px" data-recalc-dims="1" /></p>
<p>Similarly, checking the same URL with Twitter&#8217;s <a href="https://cards-dev.twitter.com/validator">card validator</a> shows the image displayed in the card preview:</p>
<p><img class="alignnone size-full wp-image-2484" src="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/tweet-card-validation.jpg?resize=574%2C438" alt="Preview of Twitter card with image included" srcset="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/tweet-card-validation.jpg?w=574&amp;ssl=1 574w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/07/tweet-card-validation.jpg?resize=459%2C350&amp;ssl=1 459w" sizes="(max-width: 574px) 100vw, 574px" data-recalc-dims="1" /></p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/07/twitter-card-and-open-graph-images-in-icarus-theme-for-hugo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with Auto-Illustrator</title>
		<link>https://www.gavinwray.com/2016/05/playing-with-auto-illustrator/</link>
		<comments>https://www.gavinwray.com/2016/05/playing-with-auto-illustrator/#respond</comments>
		<pubDate>Sun, 08 May 2016 10:20:17 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Auto-Illustrator]]></category>
		<category><![CDATA[Generative art]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Vector art]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2178</guid>
		<description><![CDATA[Found images originally created in 2005 using Adrian Ward's generative vector art application.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/05/playing-with-auto-illustrator/">Read the post<span class="screen-reader-text">Playing with Auto-Illustrator</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>After buying a shiny new Mac in April, I&#8217;ve been able to access my&nbsp;old files and photo libraries. I stumbled on these experimental images created with&nbsp;Auto-Illustrator, a generative vector art application developed&nbsp;by software artist <a href="https://en.wikipedia.org/wiki/Adrian_Ward_(artist)">Adrian Ward</a>.</p>
<p>Auto-Illustrator (no longer online at its original home&nbsp;<a href="http://swai.signwave.co.uk/">swai.signwave.co.uk</a>) has a GUI (graphical user interface) that mimics popular vector drawing applications. The software adds its own interpretation to the user&#8217;s drawing input, which makes for a random and playful experience.</p>
<p><a href="/wp-content/uploads/2016/05/20051118-arrows-paths-01.png" rel="lightbox[2178]"><img class="alignnone size-full wp-image-2180 gw-media-wide" src="/wp-content/uploads/2016/05/20051118-arrows-paths-01.png" alt="Abstract image of boxes and arrows" width="981" height="859" srcset="https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-arrows-paths-01.png?w=981&amp;ssl=1 981w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-arrows-paths-01.png?resize=571%2C500&amp;ssl=1 571w, https://i2.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-arrows-paths-01.png?resize=768%2C672&amp;ssl=1 768w" sizes="(max-width: 981px) 100vw, 981px" /></a></p>
<p><a href="/wp-content/uploads/2016/05/20051118-boxes-arrows.png" rel="lightbox[2178]"><img class="alignnone size-full wp-image-2181 gw-media-wide" src="/wp-content/uploads/2016/05/20051118-boxes-arrows.png" alt="Abstract vector image of black boxes and arrows" width="737" height="573" srcset="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-boxes-arrows.png?w=737&amp;ssl=1 737w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-boxes-arrows.png?resize=643%2C500&amp;ssl=1 643w" sizes="(max-width: 737px) 100vw, 737px" /></a></p>
<p><a href="/wp-content/uploads/2016/05/20051118-abstract-plans-001.png" rel="lightbox[2178]"><img class="alignnone size-full wp-image-2179 gw-media-wide" src="/wp-content/uploads/2016/05/20051118-abstract-plans-001.png" alt="Abstract image of vector shapes" width="979" height="857" srcset="https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-abstract-plans-001.png?w=979&amp;ssl=1 979w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-abstract-plans-001.png?resize=571%2C500&amp;ssl=1 571w, https://i0.wp.com/www.gavinwray.com/wp-content/uploads/2016/05/20051118-abstract-plans-001.png?resize=768%2C672&amp;ssl=1 768w" sizes="(max-width: 979px) 100vw, 979px" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/05/playing-with-auto-illustrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating &#8216;The Perfect Twang&#8217; from WordPress to Hugo</title>
		<link>https://www.gavinwray.com/2016/04/migrating-the-perfect-twang-from-wordpress-to-hugo/</link>
		<comments>https://www.gavinwray.com/2016/04/migrating-the-perfect-twang-from-wordpress-to-hugo/#respond</comments>
		<pubDate>Sun, 10 Apr 2016 16:47:19 +0000</pubDate>
		<dc:creator><![CDATA[Gavin Wray]]></dc:creator>
				<category><![CDATA[Content management]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Hugo]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Static site generator]]></category>

		<guid isPermaLink="false">http://www.gavinwray.com/?p=2170</guid>
		<description><![CDATA[My notes on learning how to use the Hugo static site generator and migrate a personal blog.<div class="more-link-wrapper"><a class="more-link" href="https://www.gavinwray.com/2016/04/migrating-the-perfect-twang-from-wordpress-to-hugo/">Read the post<span class="screen-reader-text">Migrating &#8216;The Perfect Twang&#8217; from WordPress to Hugo</span></a></div>]]></description>
				<content:encoded><![CDATA[<p>Learning a blogging platform&nbsp;outside the WordPress domain has been on my mind&nbsp;for a while. I&#8217;ve been working with WordPress sites as an author, editor&nbsp;or general maintenance man, for ten years now and I felt it was time to expand my horizons.</p>
<p>So,&nbsp;I researched static site generators and settled on <a href="https://gohugo.io/">Hugo</a>&nbsp;as a new platform to learn.&nbsp;Aside from learning a new technology, another reason for moving the blog to a static site generator is that my WordPress sites just seem so slow these days, despite optimising and aggressively caching where I can. Part of the reason is cheap shared hosting but, for personal sites, cheap hosting is fine with me!</p>
<p>Following a steep learning curve, I&#8217;ve migrated my music blog <a href="http://twang.city">The Perfect Twang</a>&nbsp;from WordPress to Hugo. This post&nbsp;summarises my learning so far. If you&#8217;re looking for a guide on moving from WordPress to Hugo, I recommend reading posts by&nbsp;<a href="http://justinfx.com/2015/11/08/switching-from-wordpress-to-hugo/">Justin Israel</a>&nbsp;and <a href="http://justindunham.net/migrating-from-wordpress-to-hugo/">Justin Dunham</a>.</p>
<h2>Installation and set up</h2>
<p>Installing Hugo on my Mac was the most difficult part of the migration. This is mainly due to my lack of skills with a command line and understanding of Mac permissions! While the Hugo installation instructions are short and clear, I hit permissions problems in Terminal immediately, which took some research to figure out.</p>
<p>Once I resolved&nbsp;these niggles, it was&nbsp;surprisingly easy to get a vanilla site up and running. Win! Next…</p>
<h2>Content review</h2>
<p>I used Ben Balter&#8217;s <a href="https://wordpress.org/plugins/jekyll-exporter/">WordPress to Jekyll</a> plugin to export my blog posts as markdown files, which contained tags, categories and other metadata. The export included a copy of the <code>/wp-content</code> folder, which contains images or other uploads related to posts and pages.</p>
<p>Reviewing the content is where I spent the bulk of my time. This involved:</p>
<ul>
<li>Fixing&nbsp;instances in post markdown files where symbols had become&nbsp;html entities. These were often apostrophes or quotation marks.</li>
<li>Replacing absolute image paths, which contained WordPress&#8217;&nbsp;<code>/wp-content/uploads/etc</code>, to relative paths to Hugo&#8217;s&nbsp;<code>/static</code>&nbsp;directory.</li>
<li>Understanding&nbsp;where to store&nbsp;images and other content files referenced by&nbsp;posts. (There&#8217;s extensive discussion on <a href="https://github.com/spf13/hugo/issues/147">GitHub</a>.) I settled on recreating WordPress&#8217; uploads structure of&nbsp;<code>/year/month/myimage.jpg</code>&nbsp;under my Hugo site&#8217;s <code>/static/media</code>&nbsp;directory.</li>
<li>Understanding how to recreate WordPress&#8217; permalink structure via&nbsp;Hugo&#8217;s config file settings to avoid having to implement any URL redirection or risk losing PageRank.</li>
</ul>
<h2>Theme and design</h2>
<p>There&#8217;s&nbsp;plenty of&nbsp;<a href="http://themes.gohugo.io/">themes</a> available&nbsp;for Hugo sites.&nbsp;I chose the <a href="https://github.com/digitalcraftsman/hugo-icarus-theme">Icarus</a> theme by <a href="http://github.com/ppoffice">Zhang Ruipeng</a> and <a href="https://github.com/digitalcraftsman">Digitalcraftsman</a>&nbsp;for two reasons:</p>
<ul>
<li>You can include&nbsp;featured images with posts (known as &#8216;banners&#8217; in Icarus).</li>
<li>There&#8217;s a consistent-looking archives page that includes featured images.</li>
</ul>
<p>I customised the theme with an override stylesheet to improve the following aspects:</p>
<ul>
<li>Contrast in the typography to meet&nbsp;<a href="https://www.w3.org/TR/WCAG20/">WCAG</a> level AA.</li>
<li>Display of navigation on small screens, particularly at 400px wide.</li>
<li>Display of&nbsp;post titles in archive pages on small screens.</li>
</ul>
<p>There&#8217;s still work to do to make the site theme fully compliant with WCAG level AA but the major elements now pass.</p>
<h2>Deploying</h2>
<p>When the site is ready on your local computer, you type <code>hugo</code>&nbsp;in the command line to generate all the site files in the <code>/public</code> directory. This directory is then uploaded to the web server.</p>
<p>Whenever you write a new post, you need to regenerate the site and upload the entire directory of site files to your web server. My Perfect Twang blog of, to date, 20-something posts is 11mb when compiled in Hugo. Via&nbsp;my Virgin Media broadband connection to DreamHost,&nbsp;this takes about 20 mins to upload via FTP. Already, uploading by FTP has become a timesink, particularly when making small changes such as fixing a typo or publishing a new post.</p>
<p>So, next on my Hugo to-do list&nbsp;is to find a more efficient way&nbsp;to track and deploy changes to the live web server.</p>
<h2>Performance</h2>
<p>I&#8217;m very happy with Hugo in this area. With no queries or round trip to a database like WordPress requires (Hugo sites are simple, static html&nbsp;pages) there&#8217;s a significant improvement. The following table compares performance of the home page before and after the move to Hugo:</p>
<table id="" summary="Comparison of home page performance between WordPress and Hugo">
<thead>
<tr>
<th style="text-align: left;" scope="col">Performance measurement</th>
<th style="text-align: right;" scope="col">Before (WordPress)</th>
<th style="text-align: right;" scope="col">After (Hugo)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Load time</td>
<td style="text-align: right;">1.33s</td>
<td style="text-align: right;">703ms</td>
</tr>
<tr>
<td style="text-align: left;">Requests</td>
<td style="text-align: right;">65</td>
<td style="text-align: right;">28</td>
</tr>
<tr>
<td style="text-align: left;">Pingdom performance grade</td>
<td style="text-align: right;">69/100</td>
<td style="text-align: right;">86/100</td>
</tr>
<tr>
<td style="text-align: left;">Page size</td>
<td style="text-align: right;">1.2mb</td>
<td style="text-align: right;">727kb</td>
</tr>
<tr>
<td style="text-align: left;">YSlow grade</td>
<td style="text-align: right;">C</td>
<td style="text-align: right;">B</td>
</tr>
<tr>
<td style="text-align: left;">YSlow performance score</td>
<td style="text-align: right;">78</td>
<td style="text-align: right;">82</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>https://www.gavinwray.com/2016/04/migrating-the-perfect-twang-from-wordpress-to-hugo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
