<?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: Parsing XML CJ Product Feeds</title>
	<atom:link href="http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/</link>
	<description>Coding For Online Success</description>
	<lastBuildDate>Wed, 15 Jun 2011 08:44:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: onlineshop</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-1039</link>
		<dc:creator>onlineshop</dc:creator>
		<pubDate>Wed, 15 Jun 2011 08:44:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-1039</guid>
		<description>can you suggest store script that can handle the cj datafeed?
thanks</description>
		<content:encoded><![CDATA[<p>can you suggest store script that can handle the cj datafeed?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NexWeb</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-1011</link>
		<dc:creator>NexWeb</dc:creator>
		<pubDate>Sun, 20 Mar 2011 14:29:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-1011</guid>
		<description>Acually, oops, we have just implemented the MySQL version at the same URL , which is much faster.</description>
		<content:encoded><![CDATA[<p>Acually, oops, we have just implemented the MySQL version at the same URL , which is much faster.<br />
<span class="cluv">NexWeb´s last [type] ..<a class="0ad1a0a9fb 1011" rel="nofollow" href="http://feedproxy.google.com/~r/CustomSoftwareDevelopers/~3/Yni1Ifx6LaY/post.aspx">Ecommerce Website  ASPNET Shopping Cart System</a></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NexWeb</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-1010</link>
		<dc:creator>NexWeb</dc:creator>
		<pubDate>Sun, 20 Mar 2011 09:41:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-1010</guid>
		<description>We have implemented a cj XML feed parser in ASP.NET. An example of which is at: http://eastgrandlake.com/fishing-shop/
Depending on the merchant, the XML files tend to be large &gt; 30 megs. We are about to release a MYSQL version to better work with the data and increase the performance.</description>
		<content:encoded><![CDATA[<p>We have implemented a cj XML feed parser in ASP.NET. An example of which is at: <a href="http://eastgrandlake.com/fishing-shop/" rel="nofollow">http://eastgrandlake.com/fishing-shop/</a><br />
Depending on the merchant, the XML files tend to be large &gt; 30 megs. We are about to release a MYSQL version to better work with the data and increase the performance.<br />
<span class="cluv">NexWeb´s last [type] ..<a class="12f140e88e 1010" rel="nofollow" href="http://feedproxy.google.com/~r/CustomSoftwareDevelopers/~3/Yni1Ifx6LaY/post.aspx">Ecommerce Website  ASPNET Shopping Cart System</a></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-902</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Mon, 30 Aug 2010 00:05:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-902</guid>
		<description>HI 

still confuse about 1111111_11111_20090528.xml . on the cj ftp I have product catalogs with 5 digit numbers and within each catalog there are dozens of advertisers of course for the life of me I cannot locate the above numbers anywhere. Whee do you get the above numbers relating to an advertisers xml feed on cj&#039;s ftp?</description>
		<content:encoded><![CDATA[<p>HI </p>
<p>still confuse about 1111111_11111_20090528.xml . on the cj ftp I have product catalogs with 5 digit numbers and within each catalog there are dozens of advertisers of course for the life of me I cannot locate the above numbers anywhere. Whee do you get the above numbers relating to an advertisers xml feed on cj&#8217;s ftp?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick Sarouk</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-901</link>
		<dc:creator>rick Sarouk</dc:creator>
		<pubDate>Sun, 29 Aug 2010 23:50:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-901</guid>
		<description>Currently I am running localhost server on my computer experimenting with my worpress blog and other site. I have downloaded all feeds to my c drive folder. When you say transfer it to a working directory? what does that mean? Are you saying creating a database on the server?

This is the part of your comment I am trying to understand.
&quot;This is assuming that you’ve already FTP’d the XML to your working directory. Again, let me know if you need this process as well, and I can provide some examples.&quot;

By the way incredible post and thanks for the help.</description>
		<content:encoded><![CDATA[<p>Currently I am running localhost server on my computer experimenting with my worpress blog and other site. I have downloaded all feeds to my c drive folder. When you say transfer it to a working directory? what does that mean? Are you saying creating a database on the server?</p>
<p>This is the part of your comment I am trying to understand.<br />
&#8220;This is assuming that you’ve already FTP’d the XML to your working directory. Again, let me know if you need this process as well, and I can provide some examples.&#8221;</p>
<p>By the way incredible post and thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kadimi</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-898</link>
		<dc:creator>Kadimi</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:42:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-898</guid>
		<description>When dealing with large files it&#039;s better to use XMLreader.

SimpleXML is not practical for big file since it loads files to memory before processing them (It&#039;s a tree-based parser).

XMLreader uses another approach (It&#039;s a stream-based parser), so you should get the job done easily with XMLreader

Read http://www.ibm.com/developerworks/xml/library/x-xmlphp2.html</description>
		<content:encoded><![CDATA[<p>When dealing with large files it&#8217;s better to use XMLreader.</p>
<p>SimpleXML is not practical for big file since it loads files to memory before processing them (It&#8217;s a tree-based parser).</p>
<p>XMLreader uses another approach (It&#8217;s a stream-based parser), so you should get the job done easily with XMLreader</p>
<p>Read <a href="http://www.ibm.com/developerworks/xml/library/x-xmlphp2.html" rel="nofollow">http://www.ibm.com/developerworks/xml/library/x-xmlphp2.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-832</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 16 Mar 2010 17:48:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-832</guid>
		<description>Would it be better to use xmlreader for a task like this? I&#039;ve steered clear of using simplexml with cj feeds because these feeds can be very big and simplexml loads everything to memory -- but maybe my understanding isn&#039;t clear?</description>
		<content:encoded><![CDATA[<p>Would it be better to use xmlreader for a task like this? I&#8217;ve steered clear of using simplexml with cj feeds because these feeds can be very big and simplexml loads everything to memory &#8212; but maybe my understanding isn&#8217;t clear?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markowe</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-698</link>
		<dc:creator>markowe</dc:creator>
		<pubDate>Fri, 25 Sep 2009 17:45:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-698</guid>
		<description>P.S. Oops, the tag I put after &quot;I would have expected ROWS IDENTIFIED BY ...&quot; got stripped out - I meant to write a &quot;product&quot; closing tag.
.-= markowe´s last blog ..&lt;a href=&quot;http://www.storeminator.com/news/The-Zune-goes-HD--preorder-now_17&quot; rel=&quot;nofollow&quot;&gt;The Zune goes HD - preorder now!&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>P.S. Oops, the tag I put after &#8220;I would have expected ROWS IDENTIFIED BY &#8230;&#8221; got stripped out &#8211; I meant to write a &#8220;product&#8221; closing tag.<br />
.-= markowe´s last blog ..<a href="http://www.storeminator.com/news/The-Zune-goes-HD--preorder-now_17" rel="nofollow">The Zune goes HD &#8211; preorder now!</a> =-.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markowe</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-696</link>
		<dc:creator>markowe</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:35:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-696</guid>
		<description>Cool stuff, thanks for this. When we chatted on DP you mentioned that you didn&#039;t think even large files would be a problem with this method - so you think doing a simplexml_load_file on an XML of, say 200Mb, with maybe 150,000 distinct items, wouldn&#039;t place that much of a load on the server, or on memory?

Mind you, the second method, with LOAD XML LOCAL INFILE, seems a lot neater, and I guess that would be very fast. I am not clear exactly how it works though - I guess it is creating a unique table entry for each ITEM, but what have you specified as ROWS IDENTIFIED BY? It just looks like some whitespace. I would have expected ROWS IDENTIFIED BY &quot;&quot;?

Also, I am not clear what happens when you have nested XML - there is none in CJ XML, but what about Amazon, say? How does LOAD XML handle a hierarchy of data? It would be nice if it created related tables on its own initiative, obviously :)
.-= markowe´s last blog ..&lt;a href=&quot;http://www.storeminator.com/news/The-Zune-goes-HD--preorder-now_17&quot; rel=&quot;nofollow&quot;&gt;The Zune goes HD - preorder now!&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>Cool stuff, thanks for this. When we chatted on DP you mentioned that you didn&#8217;t think even large files would be a problem with this method &#8211; so you think doing a simplexml_load_file on an XML of, say 200Mb, with maybe 150,000 distinct items, wouldn&#8217;t place that much of a load on the server, or on memory?</p>
<p>Mind you, the second method, with LOAD XML LOCAL INFILE, seems a lot neater, and I guess that would be very fast. I am not clear exactly how it works though &#8211; I guess it is creating a unique table entry for each ITEM, but what have you specified as ROWS IDENTIFIED BY? It just looks like some whitespace. I would have expected ROWS IDENTIFIED BY &#8220;&#8221;?</p>
<p>Also, I am not clear what happens when you have nested XML &#8211; there is none in CJ XML, but what about Amazon, say? How does LOAD XML handle a hierarchy of data? It would be nice if it created related tables on its own initiative, obviously <img src='http://www.money-code.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
.-= markowe´s last blog ..<a href="http://www.storeminator.com/news/The-Zune-goes-HD--preorder-now_17" rel="nofollow">The Zune goes HD &#8211; preorder now!</a> =-.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.money-code.com/2009/06/parsing-xml-cj-product-feeds/comment-page-1/#comment-605</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 26 Aug 2009 20:31:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-605</guid>
		<description>I personally like to store results in a database. I do this for a few reasons. In case there is a something wrong with a particular API call (ie: CJ is done, etc) it doesn&#039;t break my site. Also, it&#039;s much faster accessing a local DB vs making a API call every time. What I do is populate the local database on a set time.. ie: every hour, or once a day, etc.

Hope this helps.
hanji

BTW.. thanks for commenting!</description>
		<content:encoded><![CDATA[<p>I personally like to store results in a database. I do this for a few reasons. In case there is a something wrong with a particular API call (ie: CJ is done, etc) it doesn&#8217;t break my site. Also, it&#8217;s much faster accessing a local DB vs making a API call every time. What I do is populate the local database on a set time.. ie: every hour, or once a day, etc.</p>
<p>Hope this helps.<br />
hanji</p>
<p>BTW.. thanks for commenting!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
