<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Giving Umbraco custom tree&#8217;s children!</title>
	<atom:link href="http://codeblog.shawson.co.uk/giving-umbraco-trees-children/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeblog.shawson.co.uk/giving-umbraco-trees-children/</link>
	<description>development notes for my failing memory</description>
	<lastBuildDate>Wed, 16 May 2012 12:57:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: shawson</title>
		<link>http://codeblog.shawson.co.uk/giving-umbraco-trees-children/comment-page-1/#comment-132</link>
		<dc:creator>shawson</dc:creator>
		<pubDate>Wed, 27 Jan 2010 10:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=408#comment-132</guid>
		<description>Hey Jason,

Thanks for posting, Glad it helped!  To be honest, I&#039;m not sure- I got lucky finding that amongst the masses of disorganised forum posts and I pasted it straight in and it just worked.

I can&#039;t say for sure if your interpretation of the code is right without knowing what the GetTreeServiceUrl method does; that might all I can say is that I have that same code snippet up and powering a custom &quot;job application&quot; section on the backend of bookpoint.co.uk and all is live and working as expected.

Its a shame really- as much as I like what the Umbraco guys have done, I found the documentation to he a massive let down to the project.</description>
		<content:encoded><![CDATA[<p>Hey Jason,</p>
<p>Thanks for posting, Glad it helped!  To be honest, I&#8217;m not sure- I got lucky finding that amongst the masses of disorganised forum posts and I pasted it straight in and it just worked.</p>
<p>I can&#8217;t say for sure if your interpretation of the code is right without knowing what the GetTreeServiceUrl method does; that might all I can say is that I have that same code snippet up and powering a custom &#8220;job application&#8221; section on the backend of bookpoint.co.uk and all is live and working as expected.</p>
<p>Its a shame really- as much as I like what the Umbraco guys have done, I found the documentation to he a massive let down to the project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://codeblog.shawson.co.uk/giving-umbraco-trees-children/comment-page-1/#comment-130</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 25 Jan 2010 19:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=408#comment-130</guid>
		<description>Nonetheless, thanks for the code and the blog.  It got me going fast on this problem!</description>
		<content:encoded><![CDATA[<p>Nonetheless, thanks for the code and the blog.  It got me going fast on this problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://codeblog.shawson.co.uk/giving-umbraco-trees-children/comment-page-1/#comment-129</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 25 Jan 2010 19:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=408#comment-129</guid>
		<description>Hey, when I implemented this there was a logic error on the xNode.Source setting.

The child node needs to have its parent id set as the source.

Unless I&#039;m reading it wrong (I&#039;m not using dictionaries) I think this line may be wrong:

xNode.Source = di.hasChildren ? this.GetTreeServiceUrl(di.id) : &quot;&quot;;

It loos like its setting its parent to itself.  However, I don&#039;t have a way to test this specific case.</description>
		<content:encoded><![CDATA[<p>Hey, when I implemented this there was a logic error on the xNode.Source setting.</p>
<p>The child node needs to have its parent id set as the source.</p>
<p>Unless I&#8217;m reading it wrong (I&#8217;m not using dictionaries) I think this line may be wrong:</p>
<p>xNode.Source = di.hasChildren ? this.GetTreeServiceUrl(di.id) : &#8220;&#8221;;</p>
<p>It loos like its setting its parent to itself.  However, I don&#8217;t have a way to test this specific case.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

