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

<channel>
	<title>Project Nimbus</title>
	<atom:link href="http://projectnimbus.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://projectnimbus.org</link>
	<description>Data and Services Marketplace for Innovators</description>
	<lastBuildDate>Fri, 23 Jul 2010 13:19:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='projectnimbus.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/db21be1acb25fb03610dbce77ea5258b?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Project Nimbus</title>
		<link>http://projectnimbus.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://projectnimbus.org/osd.xml" title="Project Nimbus" />
	<atom:link rel='hub' href='http://projectnimbus.org/?pushpress=hub'/>
		<item>
		<title>Using LINQ in Nimbus</title>
		<link>http://projectnimbus.org/2010/07/23/using-linq-in-nimbus/</link>
		<comments>http://projectnimbus.org/2010/07/23/using-linq-in-nimbus/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 13:19:21 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=555</guid>
		<description><![CDATA[For those who are using LINQ to call the data services from Project Nimbus, for your information, there is an issue with the .Net Framework client as well as the ADO.NET Data Services. In the previous post, we showed you &#8230; <a href="http://projectnimbus.org/2010/07/23/using-linq-in-nimbus/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=555&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For those who are using LINQ to call the data services from Project Nimbus, for your information, there is an issue with the .Net Framework client as well as the ADO.NET Data Services.</p>
<p>In the <a href="http://projectnimbus.org/2010/04/15/what-are-proxy-classes-how-can-i-use-proxy-classes/" target="_blank">previous post</a>, we showed you how you can use ADO.NET Data Services using LINQ which can fasten your coding process. This scenario will work if <strong>ONLY </strong>you are using Visual Studio 2008 and have downloaded the <a title="ADO.NET Data Services v1.5 CTP 2" href="http://www.microsoft.com/downloads/details.aspx?familyid=A71060EB-454E-4475-81A6-E9552B1034FC&amp;displaylang=en" target="_blank">ADO.NET Data Services v1.5 CTP 2</a>.</p>
<p>However, if you are using Visual Studio 2010, ADO.NET Data Services is already in built in Visual Studio 2010. Hence, you will not need to download the installer in this case. If you are using Visual Studio 2010 with LINQ, you got to use .NET Framework 4.0 instead. Using a .NET Framework 3.5 will result in a &#8220;NotSupportedException&#8221; error. This is likely due to the different ADO.NET Data Services version used in Visual Studio 2008, .Net Framework 3.5 and Visual Studio 2010, .Net Framework 4.0.</p>
<p><a title="Kenneth Ham" href="http://www.kennetham.com/" target="_self">Kenneth Ham</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/555/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=555&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/07/23/using-linq-in-nimbus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets – Chlkboard (CHKB)</title>
		<link>http://projectnimbus.org/2010/07/19/datasets-%e2%80%93-chlkboard-chkb/</link>
		<comments>http://projectnimbus.org/2010/07/19/datasets-%e2%80%93-chlkboard-chkb/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:54:23 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=526</guid>
		<description><![CDATA[ChlkBoard Chlkboard is Singapore Company which offers to information and promotion of local businesses, ranging from F&#38;B to retail shops. Datasets Available Dataset Description URL Metadata BusinessInfoSet Information of Businesses in Singapore http://api.projectnimbus.org/chlkboardodataservice.svc/BusinessInfoSet Click Here Code Snippet .NET – How &#8230; <a href="http://projectnimbus.org/2010/07/19/datasets-%e2%80%93-chlkboard-chkb/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=526&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>ChlkBoard</strong><br />
<a title="Chlkboard" href="http://www.chlkboard/" target="_blank">Chlkboard</a> is Singapore Company which offers to information and promotion of local businesses, ranging from F&amp;B to retail shops.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">BusinessInfoSet</td>
<td width="150" valign="top">Information of Businesses in Singapore</td>
<td width="200" valign="top"><a title="BusinessInfoSet" href="http://api.projectnimbus.org/chlkboardodataservice.svc/BusinessInfoSet">http://api.projectnimbus.org/chlkboardodataservice.svc/BusinessInfoSet<br />
</a></td>
<td width="75" valign="top"><a href="//api.projectnimbus.org/chlkboardodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of Businesses</p>
<blockquote>
<pre>public List&lt;BusinessInfoEntry&gt; GetBusinessFromNimbusCHKB(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "http://api.projectnimbus.org/chlkboardodataservice.svc/BusinessInfoSet?");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;BusinessInfoEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let business = item.Element(atomNS + "content").Element(mNS +"properties")
                select new BusinessInfoEntry() {
                BusinessInfoID = business.Element(dNS +"BusinessInfoID").Value,
                Name = business.Element(dNS +"Name").Value,
                Address = business.Element(dNS + "Address").Value,
                Operating_Hours = business.Element(dNS + "Operating_Hours").Value

            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of Businesses</p>
<blockquote>
<pre>public ArrayList&lt;Business&gt; getBusinesses(String accountKey, String uniqueId) {
  businessList = new ArrayList&lt;Business&gt;();
  try {
    URL _url = new URL("http://api.projectnimbus.org/chlkboardodataservice.svc/BusinessInfoSet?");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      Business business = new Business();
      business.setBusinessID(Utils.getStringBetween(str, "&lt;d:BusinessID m:type=\"Edm.Int32\"&gt;", "&lt;/d:BusinessID&gt;"));
      business.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      business.setAddress(Utils.getStringBetween(str, "&lt;d:Address&gt;", "&lt;/d:Address&gt;"));
      business.setOperating_Hours(Utils.getStringBetween(str, "&lt;d:Operating_Hours&gt;", "&lt;/d:Operating_Hours&gt;"));
      businessList.add(business);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return movieList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/CHKBProxy.cs" target="_self">here</a>| Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/526/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/526/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=526&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/07/19/datasets-%e2%80%93-chlkboard-chkb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Sample codes for training workshop of Code::XtremeApps::</title>
		<link>http://projectnimbus.org/2010/06/24/sample-codes-for-training-workshop-of-codextremeapps/</link>
		<comments>http://projectnimbus.org/2010/06/24/sample-codes-for-training-workshop-of-codextremeapps/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 05:52:41 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=487</guid>
		<description><![CDATA[Accessing data sets from Project Nimbus via .NET by Yap Neng Giin: Sample Codes Demo 01 -  Accessing data services with a web client connection and ‘manual’ deserialization with LINQ-to-XML features. Demo 02 – Accessing data services with proxy class(es) and &#8230; <a href="http://projectnimbus.org/2010/06/24/sample-codes-for-training-workshop-of-codextremeapps/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=487&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Accessing data sets from Project Nimbus via .NET by Yap Neng Giin:<br />
</strong>Sample Codes<br />
<a href="http://cid-e2cae86747f019ec.office.live.com/self.aspx/.Public/dotNET%20CXA%20Demo%2001.zip" target="_blank">Demo 01</a> -  Accessing data services with a web client connection and ‘manual’ deserialization with LINQ-to-XML features.<br />
<a href="http://cid-e2cae86747f019ec.office.live.com/self.aspx/.Public/dotNET%20CXA%20Demo%2002.zip" target="_blank">Demo 02</a> – Accessing data services with proxy class(es) and easy deserialization.</p>
<p><strong>Accessing data sets from Project Nimbus via PHP by Michael Cheng:<br />
</strong><a href="http://cid-e2cae86747f019ec.office.live.com/self.aspx/.Public/PHP%20CXA%20Demo.zip" target="_blank">Sample Codes</a><br />
<a href="http://cid-e2cae86747f019ec.office.live.com/self.aspx/.Public/PHP%20on%20Nimbus.pdf" target="_blank">Slides</a></p>
<p><strong>Accessing data sets from Project Nimbus via Java by Tan Chun Siong:<br />
</strong><a href="http://cid-e2cae86747f019ec.office.live.com/self.aspx/.Public/Java%20CXA%20Demo.zip" target="_blank">Sample Codes</a> &#8211; Accessing data services using restlet framework.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=487&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/06/24/sample-codes-for-training-workshop-of-codextremeapps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Training Workshop for Code::XtremeApps::</title>
		<link>http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/</link>
		<comments>http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 05:50:39 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=391</guid>
		<description><![CDATA[On the 19th of June 2010, a training workshop was held at Microsoft Singapore for the participants of Code::XtremeApps::, a 24hr competition happening on 23-24 July 2010. Organised by the Information Technology Standards Committee (ITSC), the competition creates awareness on &#8230; <a href="http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=391&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On the 19<sup>th</sup> of June 2010, a training workshop was held at Microsoft Singapore for the participants of Code::XtremeApps::, a 24hr competition happening on 23-24 July 2010. Organised by the Information Technology Standards Committee (ITSC), the competition creates awareness on the use and value of standards in programming, and cultivates programming talents and interest in Singapore.</p>
<p>The event was attended by over 90 academics and professionals, as they learnt how to consume available data sets from Project Nimbus. An opening address by John Fernandes spurred the innovators to make full use of the resources that we are providing and not hold back on any interesting ideas which they may have. In addition, they were given a channel to provide constant feedbacks to help us improve.</p>
<p>After a great introduction of Project Nimbus by Yap Neng Giin, who also demonstrated to those present how to access Project Nimbus datasets via .NET, Michael Cheng &amp; Tan Chun Siong showed attendees of the workshop how similar datasets can be consume via PHP &amp; Java through their enriching presentations. The event soon came to an end but only after an interactive Q&amp;A.</p>
<p>Big thanks to those who came &amp; we hope you brought back with you knowledge of how to make use of the data sets we have to create innovative &amp; useful applications.</p>
<p>Here are some pictures of the event:<span id="_marker"> </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="line-height:115%;font-family:&amp;"><span style="color:#000000;"> </span></span></p>

<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/001/' title='001'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/001.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="001" title="001" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/002/' title='002'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/002.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="002" title="002" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/003/' title='003'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/003.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="003" title="003" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/004/' title='004'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/004.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="004" title="004" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/005/' title='005'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/005.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="005" title="005" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/006/' title='006'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/006.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="006" title="006" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/007/' title='007'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/007.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="007" title="007" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/008/' title='008'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/008.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="008" title="008" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/009/' title='009'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/009.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="009" title="009" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/010/' title='010'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/010.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="010" title="010" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/011/' title='011'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/011.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="011" title="011" /></a>
<a href='http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/attachment/012/' title='012'><img width="150" height="100" src="http://projectnimbus.files.wordpress.com/2010/06/012.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="012" title="012" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=391&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/06/24/training-workshop-for-codextremeapps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>What are Proxy Classes? How can I use Proxy classes?</title>
		<link>http://projectnimbus.org/2010/04/15/what-are-proxy-classes-how-can-i-use-proxy-classes/</link>
		<comments>http://projectnimbus.org/2010/04/15/what-are-proxy-classes-how-can-i-use-proxy-classes/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 05:48:58 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=313</guid>
		<description><![CDATA[What is it? Proxy classes are individual class files for each datasets of the data services. This allow developers to easily call the datas in the datasets available without much effort. However, the proxy classes are only available for C# &#8230; <a href="http://projectnimbus.org/2010/04/15/what-are-proxy-classes-how-can-i-use-proxy-classes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=313&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;">What is it?</span></p>
<p>Proxy classes are individual class files for each datasets of the data services. This allow developers to easily call the datas in the datasets available without much effort. However, the proxy classes are only available for C# development. Imagine, having to call or to instantiate individual datas in the datasets, it would be much faster using our pre-generated proxy class.</p>
<p><span style="text-decoration:underline;">Why should I use proxy classes?</span></p>
<p>The next question developers have in mind would be &#8220;<em>Why use proxy classes?</em>&#8220;. With proxy classes, it simplifies your developement by allowing .NET to process all the consumation of data back end. Hence, lesser to code compared to the previous example. One of the amazing things proxy classes allow developers to leverage on is the ability to select certain datas from the dataset and display it any way you want it to with just 5 lines of codes using LINQ.</p>
<p><span style="text-decoration:underline;">How can I use it? (Using LINQ)</span></p>
<p>With the proxy classes provided, we can use LINQ to make data calls much easier and faster. In our previous tutorials and examples, we showed you how to call the data service using <strong><em>List&lt;DataEntry&gt;</em></strong>. But now, with just 5 lines of codes you can get the same results.</p>
<p>To get you started, let&#8217;s start with the prerequisites to get things running if you are intending to use LINQ to make data calls to the datasets of the proxy classes.</p>
<p>1) Download and install this framework: <a title="ADO.NET Data Services v1.5 CTP2" href="http://www.microsoft.com/downloads/details.aspx?familyid=A71060EB-454E-4475-81A6-E9552B1034FC&amp;displaylang=en" target="_blank">ADO.NET Data Services v1.5 CTP2</a><br />
2) In Visual Studio 2008/2010, start a new ASP.NET Web application project<br />
3) [Go to] Add Reference &gt; Browse Tab &gt; <em>C:\Program Files\ADO.NET Data Services V1.5 CTP2\bin\Microsoft.Data.Services.Client.dll</em><br />
4) Import in the relevant *<em>Proxy.cs</em> class file into your project (For example, <em>STBProxy.cs</em>)<br />
5) Import the necessary references and libraries that you need<br />
6) You are ready to go!</p>
<p>Let&#8217;s start with a simple example to pull all the datas from Singapore Tourism Board (STB) Dataset using GridView.</p>
<p>Add a GridView to your aspx page and by default the name should be <em>GridView1</em>. The code below shows the *.aspx.cs back end C# code snippet.</p>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<blockquote>
<pre>protected void Page_Load(object sender, EventArgs e)
{
  STBModel.STBEntities stbEntities = new STBModel.STBEntities(new Uri("http://api.projectnimbus.org/stbodataservice.svc/"));
  stbEntities.SendingRequest += ModifyRequest;

  GridView1.AutoGenerateColumns = true;
  GridView1.DataSource = stbEntities.PlaceSet.ToArray();
  GridView1.DataBind();
}
private static void ModifyRequest(object sender, SendingRequestEventArgs e)
{
  e.Request.Headers.Add("AccountKey", "<span style="color:#ff0000;">YourAccountKeyHere</span>");
  e.Request.Headers.Add("UniqueUserID", <span style="color:#ff0000;">Guid.NewGuid().ToString()</span>);
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">What&#8217;s after this?</span></p>
<p>With these few lines of codes, you are now able to retrieve all the datas in the respective datasets. Now, the question is, &#8221;<em>How are we to retrieve only the information that we want from the datasets?&#8221;.</em> It&#8217;s very simple! Still using LINQ, we will now select only the datas that we want to display from the dataset.</p>
<p>We shall take for example &#8220;PlaceID, Name and URL&#8221; from the dataset. All we need to do is to modify a single line of code from the above example.</p>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<blockquote>
<pre>protected void Page_Load(object sender, EventArgs e)
{
  STBModel.STBEntities stbEntities = new STBModel.STBEntities(new Uri("http://api.projectnimbus.org/stbodataservice.svc/"));
  stbEntities.SendingRequest += ModifyRequest;

  GridView1.AutoGenerateColumns = true;
  <span style="color:#ff0000;"><span style="text-decoration:line-through;"><span style="color:#999999;">GridView1.DataSource = stbEntities.PlaceSet.ToArray();</span></span><span style="color:#999999;"> &lt; Remove this line</span></span>
  GridView1.DataSource = (from c in stbEntities.PlaceSet select new { c.PlaceID, c.Name, c.URL }).ToArray();
  GridView1.DataBind();
}
private static void ModifyRequest(object sender, SendingRequestEventArgs e)
{
  e.Request.Headers.Add("AccountKey", "<span style="color:#ff0000;">YourAccountKeyHere</span>");
  e.Request.Headers.Add("UniqueUserID", <span style="color:#ff0000;">Guid.NewGuid().ToString()</span>);
}</pre>
</blockquote>
<p>And Voila! It&#8217;s that simple to retrieve the selected datas from any datasets. With LINQ, your development on ASP.NET Web Application is made easy with just a few lines of codes.</p>
<p>Signed off: <a title="Kenneth Ham Gao Jie" href="mailto:kennetham@student-partners.com?Subject=Project Nimbus" target="_blank">Kenneth Ham</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=313&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/15/what-are-proxy-classes-how-can-i-use-proxy-classes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets &#8211; Singapore Tourism Board (STB)</title>
		<link>http://projectnimbus.org/2010/04/12/datasets-singapore-tourism-board-stb/</link>
		<comments>http://projectnimbus.org/2010/04/12/datasets-singapore-tourism-board-stb/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 07:49:35 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=239</guid>
		<description><![CDATA[Singapore Tourism Board The Singapore Tourism Board (STB) is the leading economic development agency in tourism, one of Singapore’s key service sectors. Known for partnership, innovation and excellence, the Board champions tourism and builds it into a key economic driver for Singapore. &#8230; <a href="http://projectnimbus.org/2010/04/12/datasets-singapore-tourism-board-stb/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=239&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Singapore Tourism Board</strong><br />
The <a title="Singapore Tourism Board" href="https://app.stb.gov.sg/asp/index.asp" target="_blank">Singapore Tourism Board (STB)</a> is the leading economic development agency in tourism, one of Singapore’s key service sectors. Known for partnership, innovation and excellence, the Board champions tourism and builds it into a key economic driver for Singapore. While STB continues to perform its tourism promotion functions, it will also fulfil a much broader economic development role for the tourism sector.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">Event</td>
<td width="150" valign="top">Updates of events in Singapore</td>
<td width="200" valign="top"><a title="EventSet" href="http://api.projectnimbus.org/stbodataservice.svc/EventSet">http://api.projectnimbus.org/stbodataservice.svc/EventSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/stbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">MICE Organizers</td>
<td width="150" valign="top">MICE organizers in Singapore</td>
<td width="200" valign="top"><a title="MICE_Organizer" href="http://api.projectnimbus.org/stbodataservice.svc/MICE_OrganizerSet">http://api.projectnimbus.org/stbodataservice.svc/MICE_OrganizerSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/stbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Places</td>
<td width="150" valign="top">Places of Interests in Singapore</td>
<td width="200" valign="top"><a title="PlaceSet" href="http://api.projectnimbus.org/stbodataservice.svc/PlaceSet">http://api.projectnimbus.org/stbodataservice.svc/PlaceSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/stbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Hotels</td>
<td width="150" valign="top">Hotels in Singapore</td>
<td width="200" valign="top"><a title="PlaceSet" href="http://api.projectnimbus.org/stbodataservice.svc/HotelSet">http://api.projectnimbus.org/stbodataservice.svc/HotelSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/stbodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of events based on industry</p>
<blockquote>
<pre>public List&lt;EventsEntry&gt; GetEventFromNimbusSTB(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "http://api.projectnimbus.org/stbodataservice.svc/EventSet?Industry=INFORMATION COMMUNICATION TECHNOLOGY (ICT)");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;EventsEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let events = item.Element(atomNS + "content").Element(mNS +"properties")
                select new EventEntry() {
                EventID events.Element(dNS +"EventID").Value,
                Organizer = events.Element(dNS +"Organizer").Value,
                Industry = events.Element(dNS + "Industry").Value,
                Name = events.Element(dNS + "Name").Value
            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of events based on industry</p>
<blockquote>
<pre>public ArrayList&lt;Events&gt; getEventsByIndustry(String accountKey, String uniqueId) {
  eventList = new ArrayList&lt;Events&gt;();
  try {
    URL _url = new URL("http://api.projectnimbus.org/stbodataservice.svc/EventSet?Industry=INFORMATION COMMUNICATION TECHNOLOGY (ICT)");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      Events evts = new Events();
      evts.setEventID(Utils.getStringBetween(str, "&lt;d:EventID m:type=\"Edm.Int32\"&gt;", "&lt;/d:EventID&gt;"));
      evts.setOrganizer(Utils.getStringBetween(str, "&lt;d:Organizer&gt;", "&lt;/d:Organizer&gt;"));
      evts.setIndustry(Utils.getStringBetween(str, "&lt;d:Industry&gt;", "&lt;/d:Industry&gt;"));
      evts.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      eventList.add(evts);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return eventList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: click <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/STBProxy.cs">here</a> | Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=239&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/12/datasets-singapore-tourism-board-stb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets &#8211; Cinema Online (CO)</title>
		<link>http://projectnimbus.org/2010/04/12/datasets-cinema-online-co/</link>
		<comments>http://projectnimbus.org/2010/04/12/datasets-cinema-online-co/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 07:42:46 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=235</guid>
		<description><![CDATA[Cinema Online Cinema Online is the brainchild of two enterprising individuals who have a dream of revolutionizing the Malaysian movie scene. The website www.cinema.com.my first saw the light of a screen in October 1998, and since then, has grown to &#8230; <a href="http://projectnimbus.org/2010/04/12/datasets-cinema-online-co/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=235&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Cinema Online</strong><br />
<a title="Cinema Online" href="http://www.cinema.com.my/" target="_blank">Cinema Online</a> is the brainchild of two enterprising individuals who have a dream of revolutionizing the Malaysian movie scene. The website www.cinema.com.my first saw the light of a screen in October 1998, and since then, has grown to include thousands of pages worth of content. In this website you will find all the latest happenings of movies, be they local or international. News, reviews, previews, and contests are amongst its highlights. All this from the humble beginnings of Cinema Showtimes, now encompassing around 95% of ALL Malaysian cinemas, and as always, updated daily for your convenience. Cinema Online also introduced online ticket reservation and to date, is still the only operating nationwide cinema reservation network. In collaboration with Project Nimbus, Cinema Online have graciously shared some of their available data for Singapore.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">Movie</td>
<td width="150" valign="top">Updates of movies available in Singapore</td>
<td width="200" valign="top"><a title="MovieSet" href="http://api.projectnimbus.org/coodataservice.svc/MovieSet">http://api.projectnimbus.org/coodataservice.svc/MovieSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/coodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Cinema</td>
<td width="150" valign="top">Cinema locations in Singapore</td>
<td width="200" valign="top"><a title="CinemaSet" href="http://api.projectnimbus.org/coodataservice.svc/CinemaSet">http://api.projectnimbus.org/coodataservice.svc/CinemaSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/coodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">MovieSchedule</td>
<td width="150" valign="top">Updates of Movie Schedules of movies in Singapore</td>
<td width="200" valign="top"><a title="MovieScheduleSet" href="http://api.projectnimbus.org/coodataservice.svc/MovieScheduleSet">http://api.projectnimbus.org/coodataservice.svc/MovieScheduleSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/coodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of movies</p>
<blockquote>
<pre>public List&lt;MovieEntry&gt; GetMovieFromNimbusCO(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "http://api.projectnimbus.org/coodataservice.svc/MovieSet?");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;MovieEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let movie = item.Element(atomNS + "content").Element(mNS +"properties")
                select new MovieEntry() {
                MovieID movie.Element(dNS +"MovieID").Value,
                Name = movie.Element(dNS +"Name").Value,
                ReleaseDate = movie.Element(dNS + "ReleaseDate").Value,
                Classification = movie.Element(dNS + "Classification").Value
            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of movies</p>
<blockquote>
<pre>public ArrayList&lt;Movie&gt; getMovies(String accountKey, String uniqueId) {
  movieList = new ArrayList&lt;Movies&gt;();
  try {
    URL _url = new URL("http://api.projectnimbus.org/coodataservice.svc/MovieSet?");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      Movies movie = new Movies();
      movie.setMovieID(Utils.getStringBetween(str, "&lt;d:MovieID m:type=\"Edm.Int32\"&gt;", "&lt;/d:MovieID&gt;"));
      movie.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      movie.setReleasedDate(Utils.getStringBetween(str, "&lt;d:ReleasedDate m:type=\"Edm.DateTime\"&gt;", "&lt;/d:ReleasedDate&gt;"));
      movie.setClassification(Utils.getStringBetween(str, "&lt;d:Cassification&gt;", "&lt;/d:Classification&gt;"));
      movieList.add(movie);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return movieList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: click <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/COProxy.cs">here</a> | Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=235&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/12/datasets-cinema-online-co/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets &#8211; ShowNearBy (SNB)</title>
		<link>http://projectnimbus.org/2010/04/12/datasets-shownearby-snb/</link>
		<comments>http://projectnimbus.org/2010/04/12/datasets-shownearby-snb/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 07:39:16 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=241</guid>
		<description><![CDATA[ShowNearBy ShowNearby, founded by a group of location fanatics, is positioned as the global organization to define prevalent, location-based services and information for consumers and businesses. Through the group&#8217;s capabilities to develop location-specific applications for mobile and web platforms, ShowNearby &#8230; <a href="http://projectnimbus.org/2010/04/12/datasets-shownearby-snb/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=241&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>ShowNearBy</strong><br />
<a title="ShowNearBy" href="http://www.shownearby.com/" target="_blank">ShowNearby</a>, founded by a group of location fanatics, is positioned as the global organization to define prevalent, location-based services and information for consumers and businesses. Through the group&#8217;s capabilities to develop location-specific applications for mobile and web platforms, ShowNearby provides users the avenue to identify locations of persons, points-of-interest, and activities. Thereafter, translate those details into usable data.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">ATM</td>
<td width="150" valign="top">ATMs available in Singapore</td>
<td width="200" valign="top"><a title="ATMSet" href="http://api.projectnimbus.org/snbodataservice.svc/ATMSet">http://api.projectnimbus.org/snbodataservice.svc/ATMSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Bus Stop</td>
<td width="150" valign="top">Bus Stops available in Singapore</td>
<td width="200" valign="top"><a title="BusStopSet" href="http://api.projectnimbus.org/snbodataservice.svc/BusStopSet">http://api.projectnimbus.org/snbodataservice.svc/BusStopSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Clinic</td>
<td width="150" valign="top">Clinic available in Singapore</td>
<td width="200" valign="top"><a title="ClinicSet" href="http://api.projectnimbus.org/snbodataservice.svc/ClinicSet">http://api.projectnimbus.org/snbodataservice.svc/ClinicSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Convenience Store</td>
<td width="150" valign="top">Convenience Stores available in Singapore</td>
<td width="200" valign="top"><a title="ConvenienceStoreSet" href="http://api.projectnimbus.org/snbodataservice.svc/ConvenienceStoreSet">http://api.projectnimbus.org/snbodataservice.svc/ConvenienceStoreSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Supermarket</td>
<td width="150" valign="top">Supermarkets available in Singapore</td>
<td width="200" valign="top"><a title="SupermarketSet" href="http://api.projectnimbus.org/snbodataservice.svc/SupermarketSet">http://api.projectnimbus.org/snbodataservice.svc/SupermarketSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">AED</td>
<td width="150" valign="top">AED available in Singapore</td>
<td width="200" valign="top"><a title="AEDSet" href="http://api.projectnimbus.org/snbodataservice.svc/AEDSet">http://api.projectnimbus.org/snbodataservice.svc/AEDSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/snbodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of ATMs near me</p>
<blockquote>
<pre>public List&lt;ATMEntry&gt; GetATMFromNimbusSNB(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "http://api.projectnimbus.org/snbodataservice.svc/ATMSet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;ATMEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let atms = item.Element(atomNS + "content").Element(mNS +"properties")
                select new ATMEntry() {
                ATMID = atms.Element(dNS +"ATMID").Value,
                Name = atms.Element(dNS +"Name").Value,
                Lat = atms.Element(dNS + "Latitude").Value,
                Lon = atms.Element(dNS + "Longitude").Value
            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of ATMs near me</p>
<blockquote>
<pre>public ArrayList&lt;ATM&gt; getATMSNearMe(String accountKey, String uniqueId) {
  atmList = new ArrayList&lt;ATM&gt;();
  try {
    URL _url = new URL("http://api.projectnimbus.org/snbodataservice.svc/ATMSet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      ATM atm = new ATM();
      atm.setATMID(Utils.getStringBetween(str, "&lt;d:ATMID m:type=\"Edm.Int32\"&gt;", "&lt;/d:ATMID&gt;"));
      atm.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      atm.setLatitude(Utils.getStringBetween(str, "&lt;d:Latitude m:type=\"Edm.Double\"&gt;", "&lt;/d:Latitude&gt;"));
      atm.setLongitude(Utils.getStringBetween(str, "&lt;d:Longitude m:type=\"Edm.Double\"&gt;", "&lt;/d:Longitude&gt;"));
      atmList.add(atm);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return atmList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: click <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/SNBProxy.cs">here</a> | Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=241&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/12/datasets-shownearby-snb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets &#8211; Singapore Post (SP)</title>
		<link>http://projectnimbus.org/2010/04/12/datasets-singapore-post-sp/</link>
		<comments>http://projectnimbus.org/2010/04/12/datasets-singapore-post-sp/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 07:34:37 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=237</guid>
		<description><![CDATA[Singapore Post SingPost is Singapore’s designated Public Postal Licensee (PPL), providing efficient and high quality domestic and international postal services. They are also the leading logistics provider in the domestic market and own one of the largest retail distribution networks. &#8230; <a href="http://projectnimbus.org/2010/04/12/datasets-singapore-post-sp/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=237&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Singapore Post</strong><br />
<a title="SingPost" href="http://www.singpost.com.sg/" target="_blank">SingPost</a> is Singapore’s designated Public Postal Licensee (PPL), providing efficient and high quality domestic and international postal services. They are also the leading logistics provider in the domestic market and own one of the largest retail distribution networks.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">PostOffice</td>
<td width="150" valign="top">Post Offices available locations in Singapore</td>
<td width="200" valign="top"><a title="PostOfficeSet" href="http://api.projectnimbus.org/spodataservice.svc/PostOfficeSet">http://api.projectnimbus.org/spodataservice.svc/PostOfficeSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/spodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">SAM</td>
<td width="150" valign="top">SAM machines locations in Singapore</td>
<td width="200" valign="top"><a title="SAMSet" href="http://api.projectnimbus.org/spodataservice.svc/SAMSet">http://api.projectnimbus.org/spodataservice.svc/SAMSet</a></td>
<td width="75" valign="top"><a href="http://api.projectnimbus.org/spodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of Post offices near me</p>
<blockquote>
<pre>public List&lt;POEntry&gt; GetPOFromNimbusSP(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "http://api.projectnimbus.org/spodataservice.svc/PostOfficeSet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;POEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let post = item.Element(atomNS + "content").Element(mNS +"properties")
                select new POEntry() {
                PostOfficeID post.Element(dNS +"PostOfficeID").Value,
                Name = post.Element(dNS +"Name").Value,
                Lat = post.Element(dNS + "Latitude").Value,
                Lon = post.Element(dNS + "Longitude").Value
            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of Post Offices near me</p>
<blockquote>
<pre>public ArrayList&lt;PostOffice&gt; getPostOfficeNearMe(String accountKey, String uniqueId) {
  poList = new ArrayList&lt;PostOffice&gt;();
  try {
    URL _url = new URL("http://api.projectnimbus.org/spodataservice.svc/PostOfficeSet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      PostOffice postOff = new PostOffice();
      postOff.setPostOfficeID(Utils.getStringBetween(str, "&lt;d:PostOfficeID m:type=\"Edm.Int32\"&gt;", "&lt;/d:PostOfficeID&gt;"));
      postOff.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      postOff.setLatitude(Utils.getStringBetween(str, "&lt;d:Latitude m:type=\"Edm.Int32\"&gt;", "&lt;/d:Latitude&gt;"));
      postOff.setLongitude(Utils.getStringBetween(str, "&lt;d:Longitude m:type=\"Edm.Int32\"&gt;", "&lt;/d:Longitude&gt;"));
      poList.add(postOff);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return poList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: click <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/SPProxy.cs">here</a> | Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=237&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/12/datasets-singapore-post-sp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
		<item>
		<title>Datasets &#8211; National Library Board (NLB)</title>
		<link>http://projectnimbus.org/2010/04/11/datasets-national-library-board-nlb/</link>
		<comments>http://projectnimbus.org/2010/04/11/datasets-national-library-board-nlb/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 17:10:13 +0000</pubDate>
		<dc:creator>projectnimbus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://projectnimbus.org/?p=233</guid>
		<description><![CDATA[National Library Board Singapore (NLB) NLB oversees both the National Library as well as the Public Libraries. By international convention, the functions of these two kinds of libraries are distinct and well-differentiated. The NLB&#8217;s mission is to provide a trusted, &#8230; <a href="http://projectnimbus.org/2010/04/11/datasets-national-library-board-nlb/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=233&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>National Library Board Singapore (NLB)</strong><br />
<a href="http://www.nlb.gov.sg">NLB</a> oversees both the National Library as well as the Public Libraries. By international convention, the functions of these two kinds of libraries are distinct and well-differentiated. The NLB&#8217;s mission is to provide a trusted, accessible and globally-connected library and information service through the National Library and a comprehensive network of Public Libraries. Also under its management are 1 community children&#8217;s library, and 17 libraries belonging to government agencies, schools and institutions. Through its innovative use of technology and collaboration with strategic partners, NLB ensures that library users have access to a rich array of information services and resources that are convenient, accessible and relevant.</p>
<p><span style="text-decoration:underline;">Datasets Available</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="403">
<tbody>
<tr>
<td width="120" valign="top"><strong>Dataset</strong></td>
<td width="150" valign="top"><strong>Description</strong></td>
<td width="200" valign="top"><strong>URL</strong></td>
<td width="75" valign="top"><strong>Metadata</strong></td>
</tr>
<tr>
<td width="120" valign="top">Catalogue</td>
<td width="150" valign="top">Information of  articles and media materials within the NLB collection</td>
<td width="200" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/CatalogSet">https://nlb.projectnimbus.org/nlbodataservice.svc/CatalogSet</a></td>
<td width="75" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Lastest Infopedia Article</td>
<td width="150" valign="top">Lastest collection of Infopedia article by NLB</td>
<td width="200" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/LatestArticleSet">https://nlb.projectnimbus.org/nlbodataservice.svc/LatestArticleSet</a></td>
<td width="75" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Libraries</td>
<td width="150" valign="top">List and location of  Public Libraries in Singapore</td>
<td width="200" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/LibrarySet">https://nlb.projectnimbus.org/nlbodataservice.svc/LibrarySet</a></td>
<td width="75" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/$metadata">Click Here</a></td>
</tr>
<tr>
<td width="120" valign="top">Events</td>
<td width="150" valign="top">Upcoming events happening at the libraries</td>
<td width="200" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/EventSet">https://nlb.projectnimbus.org/nlbodataservice.svc/EventSet</a></td>
<td width="75" valign="top"><a href="https://nlb.projectnimbus.org/nlbodataservice.svc/$metadata">Click Here</a></td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;">Code Snippet</span></p>
<p>.NET – How do I access a complete list of libraries near me</p>
<blockquote>
<pre>public List&lt;LibraryEntry&gt; GetLibrariesFromNimbusNLB(string AccountKey, string UniqueUserID)
    {

        System.Net.WebRequest wr=
          HttpWebRequest.Create(
            "https://nlb.projectnimbus.org/nlbodataservice.svc/LibrarySet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
        wr.Headers.Add("AccountKey",AccountKey);
        wr.Headers.Add("UniqueUserID",UniqueUserID);
        wr.Method = "GET";
        WebResponse res = wr.GetResponse();
        string resStr
         = new System.IO.StreamReader(res.GetResponseStream()).ReadToEnd();

        XNamespace atomNS
          = "http://www.w3.org/2005/Atom";
        XNamespace dNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices";
        XNamespace mNS
          = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";

        List&lt;LibraryEntry&gt; results
          = (from item in XElement.Parse(resStr).Descendants(atomNS + "entry")
            let library = item.Element(atomNS + "content").Element(mNS +"properties")
                select new LibraryEntry() {
                LibraryID library.Element(dNS +"LibraryID").Value,
                Address = library.Element(dNS +"Address").Value,
                Name = library.Element(dNS + "Name").Value,
                Lat = library.Element(dNS + "Latitude").Value,
                Lon = library.Element(dNS + "Longitude").Value
            }).ToList();

        return results;
    }</pre>
</blockquote>
<p>Java – How do I access a complete list of libraries near me</p>
<blockquote>
<pre>public ArrayList&lt;NLBLibrary&gt; getLibraries(String accountKey, String uniqueId) {
  libraryList = new ArrayList&lt;NLBLibrary&gt;();
  try {
    URL _url = new URL("https://nlb.projectnimbus.org/nlbodataservice.svc/LibrarySet?Latitude=1.3&amp;Longitude=103.85&amp;Distance=2000");
    URLConnection _urlConn = _url.openConnection();
    _urlConn.setRequestProperty("accept", "*/*");
    _urlConn.addRequestProperty("AccountKey", accountKey);
    _urlConn.addRequestProperty("UniqueUserID", uniqueId);
    BufferedReader br = new BufferedReader(new InputStreamReader(_urlConn.getInputStream()));
    String line = null;
    StringBuilder strBuilder = new StringBuilder();
    while ((line = br.readLine()) != null) {
      strBuilder.append(line);
      System.out.println(line);
    }
}

String[] IProperties = strBuilder.toString().split("&lt;m:properties&gt;");
    for (String str : IProperties) {
      NLBLibrary nlbLib = new NLBLibrary();
      nlbLib.setLibraryID(Utils.getStringBetween(str, "&lt;d:LibraryID m:type=\"Edm.Int32\"&gt;", "&lt;/d:LibraryID&gt;"));
      nlbLib.setAddress(Utils.getStringBetween(str, "&lt;d:Address&gt;", "&lt;/d:Address&gt;"));
      nlbLib.setName(Utils.getStringBetween(str, "&lt;d:Name&gt;", "&lt;/d:Name&gt;"));
      nlbLib.setLatitudee(Utils.getStringBetween(str, "&lt;d:Latitude m:type=\"Edm.Double\"&gt;", "&lt;/d:Latitude&gt;"));
      nlbLib.setLongitude(Utils.getStringBetween(str, "&lt;d:Longitude m:type=\"Edm.Double\"&gt;", "&lt;/d:Longitude&gt;"));
      libraryList.add(nlbLib);
      }
    } catch (MalformedURLException ex) {
        ex.printStackTrace();
    } catch (IOException ex) {
        ex.printStackTrace();
    } catch (Exception ex) {
        ex.printStackTrace();
    }
    return libraryList;
}</pre>
</blockquote>
<p><span style="text-decoration:underline;">Helpers Available</span></p>
<p>.NET &#8211; C# Proxy Classes: click <a href="http://cid-437e399091a5bdab.skydrive.live.com/self.aspx/.Public/NLBProxy.cs">here</a> | Read <a href="http://projectnimbus.org/2010/03/01/csharp-proxy-classes/">this blog post</a> for more information to use these proxy classes.</p>
<p>JAVA &#8211; Read <a href="http://projectnimbus.org/2010/02/24/consuming-data-services-via-javaandroid/">this blog post</a> for more information to use JAVA to connect to the data service.</p>
<p>PHP &amp; AJAX &#8211; Read <a href="http://projectnimbus.org/2010/02/23/php-toolkit-for-ado-net-data-services/">this blog post</a> for more information to use PHP/AJAX to connect to the data service.</p>
<p>obj C / xcode &#8211; coming soon</p>
<p><span style="text-decoration:underline;">Terms of Use </span></p>
<p>The datasets:</p>
<ul>
<li>Are here as a community technology preview for a period of time (TBD).</li>
<li>Cannot be used in any public offering.</li>
<li>Are offered as-is with no official support.</li>
</ul>
<p><span style="text-decoration:underline;">Support</span></p>
<p>None at this time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/projectnimbus.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/projectnimbus.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/projectnimbus.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=projectnimbus.org&blog=9395594&post=233&subd=projectnimbus&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://projectnimbus.org/2010/04/11/datasets-national-library-board-nlb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/934850e6d31afbb3922398e47cdcf3c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">projectnimbus</media:title>
		</media:content>
	</item>
	</channel>
</rss>