<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/7.2.3-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>A City Goes to War</title>
		<link>https://hcmc.uvic.ca/blogs/index.php?blog=51</link>
		<atom:link rel="self" type="application/rss+xml" href="https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2" />
		<description></description>
		<language>en-CA</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=7.2.3-stable"/>
		<ttl>60</ttl>
				<item>
			<title>NextGen Gallery search - step 1</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/nextgen_gallery_search_step_1?blog=51</link>
			<pubDate>Wed, 18 Sep 2013 17:45:18 +0000</pubDate>			<dc:creator>Greg</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11316@https://hcmc.uvic.ca/blogs/</guid>
						<description>&lt;p&gt;The lack of a search feature in NextGen gallery creates a bit of a problem for us, now that there are over 4000 pictures in the galleries. After a considerable amount of banging my head against a wall I have a query that I can run against both the images table and the custom fields table and return sensible values. For posterity, this is the query (looking for &#039;currie&#039;):&lt;/p&gt;

&lt;pre&gt;SELECT pix.pid,pix.galleryid,pix.description,pix.alttext,ref
FROM wp_ngg_pictures pix
INNER JOIN (
   SELECT cf.pid,group_concat(cf.field_value)AS ref
   FROM wp_nggcf_field_values cf
   GROUP BY cf.pid
   ) cfv ON pix.pid = cfv.pid
WHERE (
   pix.description LIKE &#039;%currie%&#039; OR 
   pix.alttext LIKE &#039;%currie%&#039; OR 
   ref LIKE &#039;%currie%&#039;
)
ORDER BY pix.galleryid ASC&lt;/pre&gt;

&lt;p&gt;Next up is to figure out how to create an on-the-fly gallery out of the results that looks and feels like the other galleries.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/nextgen_gallery_search_step_1?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>The lack of a search feature in NextGen gallery creates a bit of a problem for us, now that there are over 4000 pictures in the galleries. After a considerable amount of banging my head against a wall I have a query that I can run against both the images table and the custom fields table and return sensible values. For posterity, this is the query (looking for 'currie'):</p>

<pre>SELECT pix.pid,pix.galleryid,pix.description,pix.alttext,ref
FROM wp_ngg_pictures pix
INNER JOIN (
   SELECT cf.pid,group_concat(cf.field_value)AS ref
   FROM wp_nggcf_field_values cf
   GROUP BY cf.pid
   ) cfv ON pix.pid = cfv.pid
WHERE (
   pix.description LIKE '%currie%' OR 
   pix.alttext LIKE '%currie%' OR 
   ref LIKE '%currie%'
)
ORDER BY pix.galleryid ASC</pre>

<p>Next up is to figure out how to create an on-the-fly gallery out of the results that looks and feels like the other galleries.</p><div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/nextgen_gallery_search_step_1?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/nextgen_gallery_search_step_1?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11316</wfw:commentRss>
		</item>
				<item>
			<title>Hour Update</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/hour_update?blog=51</link>
			<pubDate>Tue, 10 Sep 2013 17:39:30 +0000</pubDate>			<dc:creator>Ashley</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11281@https://hcmc.uvic.ca/blogs/</guid>
						<description>Just a post to bring my hours to 440 on the blog. &lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/hour_update?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[Just a post to bring my hours to 440 on the blog. <div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/hour_update?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/hour_update?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11281</wfw:commentRss>
		</item>
				<item>
			<title>The last of my hours</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/the_last_of_my_hours?blog=51</link>
			<pubDate>Thu, 05 Sep 2013 18:10:28 +0000</pubDate>			<dc:creator>Hannah</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11266@https://hcmc.uvic.ca/blogs/</guid>
						<description>The last of my hours spent uploading, and corresponding with a few archives simply to confirm that information was entered as they wished.&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/the_last_of_my_hours?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[The last of my hours spent uploading, and corresponding with a few archives simply to confirm that information was entered as they wished.<div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/the_last_of_my_hours?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/the_last_of_my_hours?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11266</wfw:commentRss>
		</item>
				<item>
			<title>Since Aug 12</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/since_aug_12?blog=51</link>
			<pubDate>Sun, 25 Aug 2013 17:41:18 +0000</pubDate>			<dc:creator>Jeremy</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11245@https://hcmc.uvic.ca/blogs/</guid>
						<description>Continued content. Redesign navigation and organisation as per last meeting. Added profile list, searched names online and Great War Project. General tidy up, remove old menus, collapse pages etc. Added Teaching Package to Resources tab.&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/since_aug_12?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[Continued content. Redesign navigation and organisation as per last meeting. Added profile list, searched names online and Great War Project. General tidy up, remove old menus, collapse pages etc. Added Teaching Package to Resources tab.<div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/since_aug_12?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/since_aug_12?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11245</wfw:commentRss>
		</item>
				<item>
			<title>Display custom fields automagically</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/display_custom_fields_automagically?blog=51</link>
			<pubDate>Fri, 16 Aug 2013 23:10:52 +0000</pubDate>			<dc:creator>Greg</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11223@https://hcmc.uvic.ca/blogs/</guid>
						<description>&lt;p&gt;I spent some time today figuring out how to display the custom fields with the images - you need to edit the template(s) being used. For example, in the &lt;/p&gt;&lt;pre&gt;wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php&lt;/pre&gt;&lt;p&gt; template, I changed the display of the thumbnail to include the source field by adding this:&lt;/p&gt;
&lt;pre&gt;&amp;lt;br/&amp;gt;Source: &amp;lt;?php echo nggcf_get_field($image-&amp;gt;pid, &quot;Source&quot;);&lt;/pre&gt;
&lt;p&gt;to the existing title attribute. I expect this will be transferable to other templates and fields.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/display_custom_fields_automagically?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>I spent some time today figuring out how to display the custom fields with the images - you need to edit the template(s) being used. For example, in the </p><pre>wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php</pre><p> template, I changed the display of the thumbnail to include the source field by adding this:</p>
<pre>&lt;br/&gt;Source: &lt;?php echo nggcf_get_field($image-&gt;pid, "Source");</pre>
<p>to the existing title attribute. I expect this will be transferable to other templates and fields.</p><div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/display_custom_fields_automagically?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/display_custom_fields_automagically?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11223</wfw:commentRss>
		</item>
				<item>
			<title>Getting remote info for soldiers</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/getting_remote_info_for_soldiers?blog=51</link>
			<pubDate>Fri, 16 Aug 2013 16:34:16 +0000</pubDate>			<dc:creator>Greg</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11218@https://hcmc.uvic.ca/blogs/</guid>
						<description>&lt;p&gt;In preparation for an elegant search tool for the site, I&#039;ve begun trying to find simple methods of including scrapers for the Library and Archives Canada site and the Commonwealth War Graves Commission site. This post is just some documentation for how to scrape these sites. The scraping was done in Linux.&lt;/p&gt;

&lt;p&gt;Straightforward retrieval of CWGC info: if you know the CWGC id (in this case 922332 - Eric Bowen-Smith) of the soldier use &lt;br /&gt;
&lt;a href=&quot;http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332&quot; class=&quot;linebreak&quot;&gt;http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Not-so-straightforward retrieval of CWGC info, scraping soldier info from page:&lt;/p&gt;
&lt;pre&gt;curl --silent &quot;http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332&quot; | tr &#039;\n\r&#039; &#039; &#039;|sed &#039;s/  //g&#039;| grep -o &#039;dottedBoxContent&quot;&amp;gt;&amp;lt;h2 class=&quot;redText&quot;&amp;gt;.*&amp;lt;div class=&quot;casualty_buttons&quot;&amp;gt;&#039; | sed &#039;s/dottedBoxContent&quot;&amp;gt;\(.*\)&amp;lt;div class=&quot;casualty_buttons&quot;&amp;gt;.*/\1/&#039;&lt;/pre&gt;

&lt;p&gt;Which returns some HTML like:&lt;br /&gt;
&amp;lt;h2 class=&quot;redText&quot;&amp;gt;BOWEN-SMITH, ERIC&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Rank:&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;Private&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Service No:&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;13152&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Date of Death:&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;02/06/1916&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Age:&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;23&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Regiment/Service:&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;Canadian Infantry&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;&amp;amp;nbsp;&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;&quot;D&quot; Coy. 5th Bn.&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Panel Reference&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;Panel 18 - 26 - 28.&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Memorial&amp;lt;/dt&amp;gt;&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;/find-a-cemetery/cemetery/91800/YPRES (MENIN GATE) MEMORIAL&quot;&amp;gt;YPRES (MENIN GATE) MEMORIAL&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Additional Information:&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Son of Sidney C. and Jessie M. Bowen-Smith, of 2247, Albert St., Regina, Saskatchewan.&amp;lt;/p&amp;gt;&lt;/p&gt;

&lt;p&gt;which is totally digestible for inclusion in a report. It might be useful to use as a simple method for checking on a suspect record. &lt;/p&gt;

&lt;p&gt;~~~~~~~~&lt;br /&gt;
Straightforward retrieval of LAC info: if you know the LAC id (in this case 236439) of the soldier use &lt;br /&gt;
&lt;a href=&quot;http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;amp;id_nbr=236439&quot; class=&quot;linebreak&quot;&gt;http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;amp;id_nbr=236439&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Not-so-straightforward retrieval of attestation record images, creating two links (note that I&#039;m using an actual LAC ID here - in this case 105755):&lt;/p&gt;
&lt;pre&gt;curl --silent &quot;http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;amp;id_nbr=236439&quot; | grep -o &#039;image_url=.*\.gif&#039; | sed &#039;s/image_url=\(.*\)&amp;amp;.*&quot;&amp;gt;.*=\(.*\)/&amp;lt;a href=&quot;\1&quot;&amp;gt;First page&amp;lt;\/a&amp;gt; - &amp;lt;a href=&quot;\2&quot;&amp;gt;Second page&amp;lt;\/a&amp;gt;/&#039;&lt;/pre&gt;

&lt;p&gt;Which returns something like:&lt;br /&gt;
&lt;a href=&quot;http://data2.archives.ca/cef/gpc015/621132a.gif&quot;&gt;First page&lt;/a&gt; - &lt;a href=&quot;http://data2.archives.ca/cef/gpc015/621132b.gif&quot;&gt;Second page&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some files have been digitized, and a PDF can retrieved by running this:&lt;/p&gt;
&lt;pre&gt;curl --silent &quot;http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;amp;id_nbr=236439&quot; | grep -o &#039;href=.*\.pdf&#039; | sed &#039;s/href=&quot;\(.*\)&quot;&amp;gt;.*/\1/&#039;&lt;/pre&gt;
&lt;p&gt;Which returns something like:&lt;br /&gt;
&lt;a href=&quot;http://data2.collectionscanada.gc.ca/cef/9001-10000/9032-35.pdf&quot; class=&quot;linebreak&quot;&gt;http://data2.collectionscanada.gc.ca/cef/9001-10000/9032-35.pdf&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/getting_remote_info_for_soldiers?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>In preparation for an elegant search tool for the site, I've begun trying to find simple methods of including scrapers for the Library and Archives Canada site and the Commonwealth War Graves Commission site. This post is just some documentation for how to scrape these sites. The scraping was done in Linux.</p>

<p>Straightforward retrieval of CWGC info: if you know the CWGC id (in this case 922332 - Eric Bowen-Smith) of the soldier use <br />
<a href="http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332" class="linebreak">http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332</a></p>

<p>Not-so-straightforward retrieval of CWGC info, scraping soldier info from page:</p>
<pre>curl --silent "http://www.cwgc.org/find-war-dead/casualty-details.aspx?cid=922332" | tr '\n\r' ' '|sed 's/  //g'| grep -o 'dottedBoxContent"&gt;&lt;h2 class="redText"&gt;.*&lt;div class="casualty_buttons"&gt;' | sed 's/dottedBoxContent"&gt;\(.*\)&lt;div class="casualty_buttons"&gt;.*/\1/'</pre>

<p>Which returns some HTML like:<br />
&lt;h2 class="redText"&gt;BOWEN-SMITH, ERIC&lt;/h2&gt;<br />
&lt;dl&gt;<br />
&lt;dt&gt;Rank:&lt;/dt&gt;&lt;dd&gt;Private&lt;/dd&gt;<br />
&lt;dt&gt;Service No:&lt;/dt&gt;&lt;dd&gt;13152&lt;/dd&gt;<br />
&lt;dt&gt;Date of Death:&lt;/dt&gt;&lt;dd&gt;02/06/1916&lt;/dd&gt;<br />
&lt;dt&gt;Age:&lt;/dt&gt;&lt;dd&gt;23&lt;/dd&gt;<br />
&lt;dt&gt;Regiment/Service:&lt;/dt&gt;&lt;dd&gt;Canadian Infantry&lt;/dd&gt;<br />
&lt;dt&gt;&amp;nbsp;&lt;/dt&gt;&lt;dd&gt;"D" Coy. 5th Bn.&lt;/dd&gt;<br />
&lt;dt&gt;Panel Reference&lt;/dt&gt;&lt;dd&gt;Panel 18 - 26 - 28.&lt;/dd&gt;<br />
&lt;dt&gt;Memorial&lt;/dt&gt;&lt;dd&gt;&lt;a href="/find-a-cemetery/cemetery/91800/YPRES (MENIN GATE) MEMORIAL"&gt;YPRES (MENIN GATE) MEMORIAL&lt;/a&gt;&lt;/dd&gt;<br />
&lt;/dl&gt;<br />
&lt;h3&gt;Additional Information:&lt;/h3&gt;<br />
&lt;p&gt;Son of Sidney C. and Jessie M. Bowen-Smith, of 2247, Albert St., Regina, Saskatchewan.&lt;/p&gt;</p>

<p>which is totally digestible for inclusion in a report. It might be useful to use as a simple method for checking on a suspect record. </p>

<p>~~~~~~~~<br />
Straightforward retrieval of LAC info: if you know the LAC id (in this case 236439) of the soldier use <br />
<a href="http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;id_nbr=236439" class="linebreak">http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;id_nbr=236439</a></p>

<p>Not-so-straightforward retrieval of attestation record images, creating two links (note that I'm using an actual LAC ID here - in this case 105755):</p>
<pre>curl --silent "http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;id_nbr=236439" | grep -o 'image_url=.*\.gif' | sed 's/image_url=\(.*\)&amp;.*"&gt;.*=\(.*\)/&lt;a href="\1"&gt;First page&lt;\/a&gt; - &lt;a href="\2"&gt;Second page&lt;\/a&gt;/'</pre>

<p>Which returns something like:<br />
<a href="http://data2.archives.ca/cef/gpc015/621132a.gif">First page</a> - <a href="http://data2.archives.ca/cef/gpc015/621132b.gif">Second page</a></p>

<p>Some files have been digitized, and a PDF can retrieved by running this:</p>
<pre>curl --silent "http://www.collectionscanada.gc.ca/databases/cef/001042-119.01-e.php?&amp;id_nbr=236439" | grep -o 'href=.*\.pdf' | sed 's/href="\(.*\)"&gt;.*/\1/'</pre>
<p>Which returns something like:<br />
<a href="http://data2.collectionscanada.gc.ca/cef/9001-10000/9032-35.pdf" class="linebreak">http://data2.collectionscanada.gc.ca/cef/9001-10000/9032-35.pdf</a></p><div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/getting_remote_info_for_soldiers?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/getting_remote_info_for_soldiers?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11218</wfw:commentRss>
		</item>
				<item>
			<title>A little late</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/a_little_late?blog=51</link>
			<pubDate>Mon, 12 Aug 2013 15:15:12 +0000</pubDate>			<dc:creator>Ben</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11201@https://hcmc.uvic.ca/blogs/</guid>
						<description>&lt;p&gt;Hi folks, sorry about being late to get this update up, I have stopped checking emails on the weekends.  Here are my hours updated for the past four weeks.&lt;/p&gt;

&lt;p&gt;July 15-19: 30 hours (Short week because I had the Paint-In that weekend and required time off to do volunteer training).&lt;br /&gt;
July 22-26: 40 hours (with the city council meeting being a long day).&lt;br /&gt;
July 29-Aug 2: 37 hours (this is when I finished the microfilms).&lt;br /&gt;
Aug 5-9: 34 hours&lt;/p&gt;

&lt;p&gt;Total: 141 hours or 8,460 minutes&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/a_little_late?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Hi folks, sorry about being late to get this update up, I have stopped checking emails on the weekends.  Here are my hours updated for the past four weeks.</p>

<p>July 15-19: 30 hours (Short week because I had the Paint-In that weekend and required time off to do volunteer training).<br />
July 22-26: 40 hours (with the city council meeting being a long day).<br />
July 29-Aug 2: 37 hours (this is when I finished the microfilms).<br />
Aug 5-9: 34 hours</p>

<p>Total: 141 hours or 8,460 minutes</p><div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/a_little_late?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/a_little_late?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11201</wfw:commentRss>
		</item>
				<item>
			<title>Since 26 July</title>
			<link>https://hcmc.uvic.ca/blogs/index.php/since_26_july?blog=51</link>
			<pubDate>Sun, 11 Aug 2013 23:42:58 +0000</pubDate>			<dc:creator>Jeremy</dc:creator>
			<category domain="main">Activity Log</category>			<guid isPermaLink="false">11200@https://hcmc.uvic.ca/blogs/</guid>
						<description>I have been mostly focused on content. I have also done some small bits of coding and talking with Jim and Ashley about ways to tweak NextGen. Built horizontal menu and vertical and styled in css. Tried to make Adobe form. &lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;https://hcmc.uvic.ca/blogs/index.php/since_26_july?blog=51&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[I have been mostly focused on content. I have also done some small bits of coding and talking with Jim and Ashley about ways to tweak NextGen. Built horizontal menu and vertical and styled in css. Tried to make Adobe form. <div class="item_footer"><p><small><a href="https://hcmc.uvic.ca/blogs/index.php/since_26_july?blog=51">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>https://hcmc.uvic.ca/blogs/index.php/since_26_july?blog=51#comments</comments>
			<wfw:commentRss>https://hcmc.uvic.ca/blogs/index.php?blog=51&#38;tempskin=_rss2&#38;disp=comments&#38;p=11200</wfw:commentRss>
		</item>
			</channel>
</rss>
