<?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>Code Cupboard</title>
	<atom:link href="http://colinmorris.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://colinmorris.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 01 Feb 2010 03:46:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='colinmorris.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Code Cupboard</title>
		<link>http://colinmorris.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://colinmorris.wordpress.com/osd.xml" title="Code Cupboard" />
	<atom:link rel='hub' href='http://colinmorris.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Oracle PLSQL Procedures And Cursors, SQLDeveloper edition</title>
		<link>http://colinmorris.wordpress.com/2010/01/29/oracle-plsql-procedures-and-cursors-sqldeveloper-edition/</link>
		<comments>http://colinmorris.wordpress.com/2010/01/29/oracle-plsql-procedures-and-cursors-sqldeveloper-edition/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 05:49:56 +0000</pubDate>
		<dc:creator>colinmorris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://colinmorris.wordpress.com/?p=8</guid>
		<description><![CDATA[I have a number of PL/SQL procedures that return cursors as out parameters, these are difficult to test outside of PL/SQL Developer and its wonderful Test window.  I&#8217;ve found a series of commands that can be run as commands in SQLDeveloper (and I hope Sql*plus) to allow cursor parameters to be manipulated. variable v_your_cursor refcursor; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=8&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a number of PL/SQL procedures that return cursors as out parameters, these are difficult to test outside of PL/SQL Developer and its wonderful Test window.  I&#8217;ve found a series of commands that can be run as commands in SQLDeveloper (and I hope Sql*plus) to allow cursor parameters to be manipulated.</p>
<p><tt>variable v_your_cursor refcursor;<br />
begin<br />
your_function(p_your_cursor =&gt; :v_your_cursor);<br />
end;<br />
/<br />
print :v_your_cursor;<br />
</tt></p>
<p>You can add other parameters too.  For example a varchar is<br />
<tt>variable v_your_character varchar2(255);<br />
execute :v_your_character := 'initial-value';</tt></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinmorris.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinmorris.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinmorris.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=8&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://colinmorris.wordpress.com/2010/01/29/oracle-plsql-procedures-and-cursors-sqldeveloper-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e6a3c81bb53e6da5c17018934b4155f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">colinmorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Comments adjustment?</title>
		<link>http://colinmorris.wordpress.com/2006/11/24/comments-adjustment/</link>
		<comments>http://colinmorris.wordpress.com/2006/11/24/comments-adjustment/#comments</comments>
		<pubDate>Fri, 24 Nov 2006 03:01:25 +0000</pubDate>
		<dc:creator>colinmorris</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://colinmorris.wordpress.com/2006/11/24/comments-adjustment/</guid>
		<description><![CDATA[((Crossposted to my personal Journal)) I was reading through Roger Johansson&#8216;s latest journal post on Comments. It got me thinking back to the comments post written by an artist whose blog I read. It was along the lines of AOL-isms, hearing &#8220;You&#8217;re Great&#8221; is good, hearing Why is better and hearing &#8220;How You Can Improve&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=4&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>((Crossposted to my personal Journal))</p>
<p>I was reading through <a href="http://www.456bereastreet.com/">Roger Johansson</a>&#8216;s latest journal post on Comments.  It got me thinking back to the comments post written by an artist whose blog I read.  It was along the lines of AOL-isms, hearing &#8220;You&#8217;re Great&#8221; is good, hearing Why is better and hearing &#8220;How You Can Improve&#8221; is gold.  For given values naturally.</p>
<p>In Roger&#8217;s article he mentions that once a comment gets on Digg, civility goes out of the window.  Made me think about AOL&#8217;s &#8220;Me Too&#8221; and Digg&#8217;s site addition/ ranking system.</p>
<p>Perhaps alongside Comments there should be a Kudos/Dekudos option?  So that instead of a bunch of &#8220;Me Too&#8221;s and &#8220;You Suck&#8221;s taking up comments space, there could be a # of Kudos and a # of Dekudos attached to the post, and you can click them to see who Kudoed or Dekudoed?  That way people can &#8220;Me Too&#8221; without feeling stupid, adding their voice of support/ derision to the whole thing, but without having to struggle with English to get their idea ahead.  I know that a lot of the time I&#8217;ve wanted to comment, but after reading all the other comments I haven&#8217;t had anything fresh to over rather than wanting to add my voice to the approving masses.</p>
<p>Thoughts?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinmorris.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinmorris.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinmorris.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinmorris.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinmorris.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=4&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://colinmorris.wordpress.com/2006/11/24/comments-adjustment/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e6a3c81bb53e6da5c17018934b4155f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">colinmorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Working Program Driven Enclosures in Podcast Feeds that iTunes will Read.</title>
		<link>http://colinmorris.wordpress.com/2006/09/22/working-program-driven-enclosures-in-podcast-feeds-that-itunes-will-read/</link>
		<comments>http://colinmorris.wordpress.com/2006/09/22/working-program-driven-enclosures-in-podcast-feeds-that-itunes-will-read/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 01:35:53 +0000</pubDate>
		<dc:creator>colinmorris</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[itunes podcast error]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[podcasts]]></category>

		<guid isPermaLink="false">http://colinmorris.wordpress.com/2006/09/22/working-program-driven-enclosures-in-podcast-feeds-that-itunes-will-read/</guid>
		<description><![CDATA[Problem iTunes&#8217; podcasting application refuses enclosures that do not end in an extension that it can recognise as an understandable file format. Example: http://myhost/site/myfile.mp3 GOOD http://myhost/site/myfile.php?file=141 BAD So if you&#8217;re serving files from a database via an application, you&#8217;re out of luck no matter what headers you send. Solution Add a filename and additional question [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=3&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>iTunes&#8217; podcasting application refuses enclosures that do not end in an extension that it can recognise as an understandable file format.  Example:</p>
<ul>
<li>http://myhost/site/myfile.mp3  <strong>GOOD</strong></li>
<li>http://myhost/site/myfile.php?file=141 <strong>BAD</strong></li>
</ul>
<p>So if you&#8217;re serving files from a database via an application, you&#8217;re out of luck no matter what headers you send.</p>
<p><strong>Solution </strong></p>
<p>Add a filename and additional question mark to the end of the URI:</p>
<ul>
<li>http://myhost/site/myfile.php?file=141&amp;filename.mp3?</li>
</ul>
<p>(This is made easier if your php file has the filename.mp3 as it&#8217;s get parameter, as you just tack a ? on the end)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/colinmorris.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/colinmorris.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colinmorris.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colinmorris.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colinmorris.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=colinmorris.wordpress.com&amp;blog=429634&amp;post=3&amp;subd=colinmorris&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://colinmorris.wordpress.com/2006/09/22/working-program-driven-enclosures-in-podcast-feeds-that-itunes-will-read/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7e6a3c81bb53e6da5c17018934b4155f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">colinmorris</media:title>
		</media:content>
	</item>
	</channel>
</rss>
