<?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 for blog://dd32.id.au/</title>
	<atom:link href="http://dd32.id.au/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dd32.id.au</link>
	<description></description>
	<lastBuildDate>Thu, 11 Mar 2010 13:22:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<item>
		<title>Comment on Revision Control by Range of vision &#187; Useful Wordpress Plugins</title>
		<link>http://dd32.id.au/wordpress-plugins/revision-control/comment-page-1/#comment-13715</link>
		<dc:creator>Range of vision &#187; Useful Wordpress Plugins</dc:creator>
		<pubDate>Thu, 11 Mar 2010 13:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/?page_id=205#comment-13715</guid>
		<description>[...] revision-control - controls (limits)  the number f revisions you accumulate; [...]</description>
		<content:encoded><![CDATA[<p>[...] revision-control &#8211; controls (limits)  the number f revisions you accumulate; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remove Max Width by ทํานายฝัน</title>
		<link>http://dd32.id.au/wordpress-plugins/remove-max-width/comment-page-1/#comment-13607</link>
		<dc:creator>ทํานายฝัน</dc:creator>
		<pubDate>Sat, 06 Mar 2010 13:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/?page_id=70#comment-13607</guid>
		<description>Thank you very much ..................
.......................</description>
		<content:encoded><![CDATA[<p>Thank you very much &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: SimpleXML + SOAP by Chris Rymer</title>
		<link>http://dd32.id.au/2007/09/29/php-simplexml-soap/comment-page-1/#comment-13527</link>
		<dc:creator>Chris Rymer</dc:creator>
		<pubDate>Mon, 01 Mar 2010 12:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/2007/09/29/php-simplexml-soap/#comment-13527</guid>
		<description>Sorry preg_replace got banjaxed!
$xmlString = preg_replace(&quot;put the correct regex here&quot;, &quot;$1$2$3&quot;, $data);

/(&lt;\/?)(\w+):([^&gt;]*&gt;)/&quot;, &quot;$1$2$3&quot;, &quot;</description>
		<content:encoded><![CDATA[<p>Sorry preg_replace got banjaxed!<br />
$xmlString = preg_replace(&#8220;put the correct regex here&#8221;, &#8220;$1$2$3&#8243;, $data);</p>
<p>/(&lt;\/?)(\w+):([^&gt;]*&gt;)/&quot;, &quot;$1$2$3&quot;, &quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP: SimpleXML + SOAP by Chris Rymer</title>
		<link>http://dd32.id.au/2007/09/29/php-simplexml-soap/comment-page-1/#comment-13526</link>
		<dc:creator>Chris Rymer</dc:creator>
		<pubDate>Mon, 01 Mar 2010 12:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/2007/09/29/php-simplexml-soap/#comment-13526</guid>
		<description>I had some trouble with soap and being new blood to programming hoped I could find the answer out there. Through reading a few different blogs I have successfully parsed a soap header structured xml file. One big problem is definitely the colons, of which other people have given far more expanded opinions on - that are over my head to be honest as I say I am a noob!

The other factor maybe  - I am just spit balling - it the structure is not what simpleXML is expecting. Changing the pointer seems to work so instead of simplexml only seeing two nodes and passing this through foreach twice it see all the children.
For me the pointer was: $xml-&gt;soapBody-&gt;PostAdvert-&gt;Adverts

Anyone wants to expand on this and make sense feel free, code below:

$src = fopen(&quot;original_file.txt&quot;, &quot;r&quot;);
if (!$src) { 
	die(&quot;Failed to open the files&quot;);
}
$dest = fopen(&quot;write_to_file.xml&quot;, &quot;w&quot;);
if (!$dest) { 
	die(&quot;Failed to open the files&quot;);
}
while (!feof($src)) {
	echo &quot;Starting preg_replace&quot;;
	$data = fgets($src); 
	$xmlString = preg_replace(&quot;/(]*&gt;)/&quot;, &quot;$1$2$3&quot;, $data);
	
	fwrite($dest, $xmlString);
}
fclose($src);
fclose($dest);

// Load your preg_replaced to simplexml
$xml = load_xml_file(&quot;write_to_file.xml&quot;);

// Set the level at which the xml is read (I think)
$result = $xml-&gt;soapBody-&gt;Start_node-&gt;Whatever_it_may_be;

// Extract children
foreach($result-&gt;children() as $child) {
    $child-&gt;child_node;
}</description>
		<content:encoded><![CDATA[<p>I had some trouble with soap and being new blood to programming hoped I could find the answer out there. Through reading a few different blogs I have successfully parsed a soap header structured xml file. One big problem is definitely the colons, of which other people have given far more expanded opinions on &#8211; that are over my head to be honest as I say I am a noob!</p>
<p>The other factor maybe  &#8211; I am just spit balling &#8211; it the structure is not what simpleXML is expecting. Changing the pointer seems to work so instead of simplexml only seeing two nodes and passing this through foreach twice it see all the children.<br />
For me the pointer was: $xml-&gt;soapBody-&gt;PostAdvert-&gt;Adverts</p>
<p>Anyone wants to expand on this and make sense feel free, code below:</p>
<p>$src = fopen(&#8220;original_file.txt&#8221;, &#8220;r&#8221;);<br />
if (!$src) {<br />
	die(&#8220;Failed to open the files&#8221;);<br />
}<br />
$dest = fopen(&#8220;write_to_file.xml&#8221;, &#8220;w&#8221;);<br />
if (!$dest) {<br />
	die(&#8220;Failed to open the files&#8221;);<br />
}<br />
while (!feof($src)) {<br />
	echo &#8220;Starting preg_replace&#8221;;<br />
	$data = fgets($src);<br />
	$xmlString = preg_replace(&#8220;/(]*&gt;)/&#8221;, &#8220;$1$2$3&#8243;, $data);</p>
<p>	fwrite($dest, $xmlString);<br />
}<br />
fclose($src);<br />
fclose($dest);</p>
<p>// Load your preg_replaced to simplexml<br />
$xml = load_xml_file(&#8220;write_to_file.xml&#8221;);</p>
<p>// Set the level at which the xml is read (I think)<br />
$result = $xml-&gt;soapBody-&gt;Start_node-&gt;Whatever_it_may_be;</p>
<p>// Extract children<br />
foreach($result-&gt;children() as $child) {<br />
    $child-&gt;child_node;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remove Max Width by เกมส์ทําอาหาร</title>
		<link>http://dd32.id.au/wordpress-plugins/remove-max-width/comment-page-1/#comment-13476</link>
		<dc:creator>เกมส์ทําอาหาร</dc:creator>
		<pubDate>Sun, 28 Feb 2010 10:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/?page_id=70#comment-13476</guid>
		<description>Thank you very much 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</description>
		<content:encoded><![CDATA[<p>Thank you very much<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Revision Control by How did I build my Wordpress web site? (Part 1 of 2) &#124; Toronto Web Design, Web Development, SEO, Wordpress, 3D Modeling...</title>
		<link>http://dd32.id.au/wordpress-plugins/revision-control/comment-page-1/#comment-13398</link>
		<dc:creator>How did I build my Wordpress web site? (Part 1 of 2) &#124; Toronto Web Design, Web Development, SEO, Wordpress, 3D Modeling...</dc:creator>
		<pubDate>Sat, 27 Feb 2010 00:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/?page_id=205#comment-13398</guid>
		<description>[...] Revision Control &#8211; Without this plugin you will have endless amount of revisions on your posts and pages. It is great to have revision, but each time you update your posts and pages it generate additional line in your database. If you have hundreds of posts or pages and each time you update. It will add more lines to your database, which mean bigger file size. This can get very large, enough to slow down your server performance. With this plugin you can the ability to tell Wordpress you only want 1 or 10 reversions and not 100&#8217;s. [...]</description>
		<content:encoded><![CDATA[<p>[...] Revision Control &#8211; Without this plugin you will have endless amount of revisions on your posts and pages. It is great to have revision, but each time you update your posts and pages it generate additional line in your database. If you have hundreds of posts or pages and each time you update. It will add more lines to your database, which mean bigger file size. This can get very large, enough to slow down your server performance. With this plugin you can the ability to tell Wordpress you only want 1 or 10 reversions and not 100&#8217;s. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Revision Control by Toronto Web Designer</title>
		<link>http://dd32.id.au/wordpress-plugins/revision-control/comment-page-1/#comment-13394</link>
		<dc:creator>Toronto Web Designer</dc:creator>
		<pubDate>Fri, 26 Feb 2010 21:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://dd32.id.au/?page_id=205#comment-13394</guid>
		<description>Thanks for this plugin. I always had to fully disable my revision in the wp-config.php file. Now I can enable it again. :)</description>
		<content:encoded><![CDATA[<p>Thanks for this plugin. I always had to fully disable my revision in the wp-config.php file. Now I can enable it again. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
