<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forum — Programming and Web Development]]></title>
		<link>https://forums.nbn.org.uk/index.php</link>
		<atom:link href="https://forums.nbn.org.uk/extern.php?action=feed&amp;fid=21&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at Forum.]]></description>
		<lastBuildDate>Mon, 17 Aug 2015 09:49:31 +0000</lastBuildDate>
		<generator>PunBB 1.4.6</generator>
		<item>
			<title><![CDATA[Links to Gateway not functioning]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=6027&amp;action=new</link>
			<description><![CDATA[<p>I had a list of links to the Gateway on Dipterists Forum website in the following format:<br /></p><div class="quotebox"><blockquote><p>&quot;[&quot;url=http://www.dipteristsforum.org.uk/sgb_nbn_map.php?id=NBNSYS0000028909]Rainieria calceata (Fall?n, 1820)[/url&quot;]&quot;</p></blockquote></div><p>They don&#039;t appear to work any more.</p>]]></description>
			<author><![CDATA[null@example.com (Darwyn Sumner)]]></author>
			<pubDate>Mon, 17 Aug 2015 09:49:31 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=6027&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[NBN uploads: return date_type function]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=5609&amp;action=new</link>
			<description><![CDATA[<p>Hello,</p><p>Does anybody have the algorithm to generate NBN upload date_types? I imagine the Recorder6 database uses a function and takes the start date and end date as parameters to return D, DD, O, OO etc.</p><p>I want to embed it into a spreadsheet as a function in order to upload a large batch of records to the NBN. Ideally I don&#039;t want to have to import this data into our copy of Recorder6 just to obtain a date_type.</p><p>All of the other fields I can easily lookup i.e. NBN_taxon_key.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (bazmole)]]></author>
			<pubDate>Mon, 29 Sep 2014 16:22:06 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=5609&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Consuming REST response (VB.NET application)]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=5571&amp;action=new</link>
			<description><![CDATA[<p>I doubt anyone other than me is actually trying to do this but just in case!</p><p>I am converting the Gateway REST response to an XML then transforming the XML using an XSL (transformation stylesheet).<br />I&#039;ve just succeed in putting together a stylesheet that successfully converts the REST XML response into a csv, it should be usable by anyone and it&#039;s just so damn beautiful i had to share it!</p><p>You&#039;ll notice i am currently omitting the site key and taxon authority fields. This is because they are not always returned with a record and it was leading to file misalignment. Once i figure out how to include the node even when absent i&#039;ll post an update. </p><div class="codebox"><pre><code> &lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
&lt;xsl:output omit-xml-declaration=&quot;yes&quot; method=&quot;text&quot; encoding=&quot;UTF-8&quot; /&gt;

&lt;xsl:template match=&quot;@*|node()&quot;&gt;
    &lt;xsl:copy&gt;
        &lt;xsl:apply-templates select=&quot;@*|node()&quot;/&gt;
    &lt;/xsl:copy&gt;
&lt;/xsl:template&gt;

&lt;xsl:template match=&quot;/*&quot;&gt; &lt;!-- add headers to sheet --&gt;
&lt;xsl:for-each select=&quot;*[1]/*[not(self::siteKey)][not(self::pTaxonAuthority)]&quot;&gt;
&lt;xsl:text&gt;&quot;&lt;/xsl:text&gt;
&lt;xsl:value-of select=&quot;name()&quot;/&gt;
&lt;xsl:text&gt;&quot;&lt;/xsl:text&gt;
&lt;xsl:if test=&quot;position() != last()&quot;&gt;
    &lt;xsl:value-of select=&quot;&#039;,&#039;&quot;/&gt;
&lt;/xsl:if&gt;
&lt;/xsl:for-each&gt;
&lt;xsl:text&gt;&amp;#10;&lt;/xsl:text&gt;
&lt;xsl:apply-templates/&gt;
&lt;/xsl:template&gt;

&lt;xsl:template match=&quot;TaxonObservation&quot;&gt; &lt;!-- add values under headers --&gt;
  &lt;xsl:for-each select=&quot;*[not(self::siteKey)][not(self::pTaxonAuthority)]&quot;&gt;
  &lt;xsl:text&gt;&quot;&lt;/xsl:text&gt;
   &lt;xsl:value-of select=&quot;.&quot;/&gt;
   &lt;xsl:text&gt;&quot;&lt;/xsl:text&gt;
   &lt;xsl:if test=&quot;position() != last()&quot;&gt;
    &lt;xsl:value-of select=&quot;&#039;,&#039;&quot;/&gt;
   &lt;/xsl:if&gt;
  &lt;/xsl:for-each&gt;
  &lt;xsl:text&gt;&amp;#10;&lt;/xsl:text&gt;
&lt;/xsl:template&gt;

&lt;xsl:template match=&quot;@siteKey&quot; /&gt;
&lt;xsl:template match=&quot;@pTaxonAuthority&quot; /&gt;

&lt;/xsl:stylesheet&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (BDeed)]]></author>
			<pubDate>Tue, 02 Sep 2014 16:18:02 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=5571&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Authenticating with Indicia not using PHP]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=4774&amp;action=new</link>
			<description><![CDATA[<p>Hi all.</p><p>I thought I&#039;d like to document how I&#039;ve done my authentication in a non-PHP way. As it happens, I&#039;ve done it in Classic ASP (I know)! But the principles should apply to any language. I&#039;ll try and be as non-specific as possible.</p><p>You firstly need a way of posting to the Indicia warehouse. I&#039;m using a MS component to do this, but any would do...</p><p>&#039; Get a nonce from the warehouse<br />&#039; NB, you need to set the request header to the correct format</p><p>url = &quot;.../index.php/services/security/get_read_nonce&quot;</p><p>Set xmlHTTP = CreateObject(&quot;MSXML2.ServerXMLHTTP.6.0&quot;)<br />xmlHTTP.Open &quot;POST&quot;, url, False<br />xmlHTTP.SetRequestHeader &quot;content-type&quot;, &quot;application/x-www-form-urlencoded&quot; <br />xmlHTTP.Send &quot;website_id=&quot; &amp; WEBSITE_ID</p><p>nonce = xmlHTTP.ResponseText</p><p>&#039; Now we have the nonce we can combine that with our password to create our auth token...<br />&#039; You&#039;ll need to have a way of applying a sha1 algorithm to it. I haven&#039;t included how I&#039;ve done this.<br />&#039; It&#039;s important that you sha1 the nonce, a colon then the password (in that order).</p><p>authToken = Sha1(nonce &amp; &quot;:&quot; &amp; PASSWORD)</p><p>You can then use the authToken to access the Indicia warehouse.</p><p>Hope this helps anyone who&#039;s not using the PHP toolkit.</p><p>Regards,</p><p>Steve.</p>]]></description>
			<author><![CDATA[null@example.com (covbradley)]]></author>
			<pubDate>Tue, 13 Aug 2013 14:03:27 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=4774&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Programatically accessing the UK Species Inventory]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=4773&amp;action=new</link>
			<description><![CDATA[<p>Hi.</p><p>I have successfully authenticated with the test warehouse and now I&#039;d like to be able to get a list of UK species.</p><p>But I can&#039;t find out the correct URL / syntax to use.</p><p>I thought they’d be in a table I could access. For instance on a URL like this:</p><p><a href="http://testwarehouse.indicia.org.uk/index.php/services/data/species">http://testwarehouse.indicia.org.uk/ind … ta/species</a></p><p>I can’t seem to find any help on this anywhere.</p><p>Thanks in advance,</p><p>Steve.</p>]]></description>
			<author><![CDATA[null@example.com (covbradley)]]></author>
			<pubDate>Tue, 13 Aug 2013 13:49:53 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=4773&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[New website help]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=4708&amp;action=new</link>
			<description><![CDATA[<p>We&#039;re thinking of setting up a new website but then had the idea of somehow incorporating Indicia.<br />So far, having no knowledge of website design, we&#039;ve been looking at this kind of thing.. <a href="http://website.1and1.co.uk">http://website.1and1.co.uk</a> but would appreciate it if someone could give us some pointers.<br />Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (Charles80)]]></author>
			<pubDate>Wed, 10 Jul 2013 11:21:17 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=4708&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Standards for uniquely identifying biological records]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=4317&amp;action=new</link>
			<description><![CDATA[<p>As biological records start to move more and more freely around the biological recording network, the problem of duplicate records will only become worse. The&nbsp; root of the problem is that when a record moves from one database/software implementation to another, these implementations normally have different ways of uniquely identifying records and so instead of honouring the unique identifier that a record comes with, they assign a new one. This increases the chances that the two records will, in the future, be considered as different biological records rather than the same biological record with two different keys – especially if one, or both, of them is edited or otherwise modified in some way.</p><p>If different biological recording system providers and implementers could agree on a standard for referencing biological records, the worst of these problems could be avoided going forward. One way that suggests itself is by using the Open Software Foundation’s (OSF) standard for Universally Unique Identifiers (UUIDs) as implemented, for example, by Microsoft’s Globally Unique Identifiers (GUIDs).</p><p>As a community we need to start taking a proactive approach to developing technical solutions to the problem of duplicate records. The NBN (through involvement NBN Gateway, Indicia and iRecord), JNCC (through involvement in Recorder 6 development) and BRC (through involvement in iRecord) are key players in the development of UK biodiversity informatics systems and standards. Is there a debate within and/or between these organisations around the possibility of standardising references?<br />&nbsp; &nbsp; <br />Whether UUIDs or another standard for assigning unique identifiers were used, the crucial thing would be that all biological recording software providers should implement it. If the influential organisations in the UK biodiversity informatics development community effectively promoted a standard to developers and users of biological recording software, then conformance to the standard would come to be regarded as a ‘selling point’ and more likely to be implemented.</p><p>Technically, a standardised reference needn’t be difficult to implement. In the first instance, it could simply sit alongside the reference systems currently used by existing software. The key thing is that it would be honoured when records move between systems.</p>]]></description>
			<author><![CDATA[null@example.com (burkmarr)]]></author>
			<pubDate>Fri, 28 Dec 2012 20:52:29 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=4317&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Interactive map not working]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?id=4155&amp;action=new</link>
			<description><![CDATA[<p>The last few times I have tried to use the interactive map it has been overlain by pink tiles and the species records can&#039;t be seen. Is there a problem?</p><p>Janet</p>]]></description>
			<author><![CDATA[null@example.com (Janet Simkin)]]></author>
			<pubDate>Mon, 17 Sep 2012 09:26:53 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?id=4155&amp;action=new</guid>
		</item>
	</channel>
</rss>
