<?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: AAAP Updated!</title>
	<atom:link href="http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/</link>
	<description>for a connected world</description>
	<lastBuildDate>Thu, 21 Jan 2010 13:34:49 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marc</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1203</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 15 Jun 2009 12:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1203</guid>
		<description>Hi Chris,

Did you get a chance to look at this issue?

Best,
Marc</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Did you get a chance to look at this issue?</p>
<p>Best,<br />
Marc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1201</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 09 Jun 2009 11:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1201</guid>
		<description>First of all thanks for sharing this plugin with the world, and thanks for replying so quickly. I really appreciate that. Here&#039;s some more information:

I have code like this:

@book = Book.new(:isbn =&gt; &#039;1856695688&#039;)

Which only works with a handful of ISBN numbers. I tried a lot of different books, all of which are available on Amazon and can be found at their website using the exact same ISBN number I use in my code. But most of the time it can&#039;t find it.

When it can&#039;t find the book, this it what it returns when I access @book.amazon.author:

You have a nil object when you didn&#039;t expect it!
The error occurred while evaluating nil.inner_html

(acts_as_amazon_product.rb:63:in `amazon&#039;)

I&#039;m new to Ruby, but shouldn&#039;t it just return a nil object instead of throwing this error?
I&#039;m probably doing something wrong though :)

By the way, if it&#039;s easier feel free to email me instead of replying using comments</description>
		<content:encoded><![CDATA[<p>First of all thanks for sharing this plugin with the world, and thanks for replying so quickly. I really appreciate that. Here&#8217;s some more information:</p>
<p>I have code like this:</p>
<p>@book = Book.new(:isbn =&gt; &#8216;1856695688&#8242;)</p>
<p>Which only works with a handful of ISBN numbers. I tried a lot of different books, all of which are available on Amazon and can be found at their website using the exact same ISBN number I use in my code. But most of the time it can&#8217;t find it.</p>
<p>When it can&#8217;t find the book, this it what it returns when I access @book.amazon.author:</p>
<p>You have a nil object when you didn&#8217;t expect it!<br />
The error occurred while evaluating nil.inner_html</p>
<p>(acts_as_amazon_product.rb:63:in `amazon&#8217;)</p>
<p>I&#8217;m new to Ruby, but shouldn&#8217;t it just return a nil object instead of throwing this error?<br />
I&#8217;m probably doing something wrong though <img src='http://blog.netphase.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By the way, if it&#8217;s easier feel free to email me instead of replying using comments</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1200</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 08 Jun 2009 19:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1200</guid>
		<description>Hi Marc,

It should work, but perhaps you can tell me a little bit more about what you are seeing. It is working on one of our current projects. I look forward to your response.

Chris</description>
		<content:encoded><![CDATA[<p>Hi Marc,</p>
<p>It should work, but perhaps you can tell me a little bit more about what you are seeing. It is working on one of our current projects. I look forward to your response.</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1199</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 08 Jun 2009 18:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1199</guid>
		<description>Hi,

Is the code still supposed to work? I&#039;m running Rails 2.3 and the plugin only seems to work some of the time. (depending on the supplied ISBN number)

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is the code still supposed to work? I&#8217;m running Rails 2.3 and the plugin only seems to work some of the time. (depending on the supplied ISBN number)</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordon</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1178</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Tue, 03 Feb 2009 22:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1178</guid>
		<description>Re: my previous comment, I did some digging through the plugin and the Amazon API and discovered the answer to my question.... Could be of interest to others, so:
 
_The Model:_

You can specify all desired Amazon Associates API response groups separated by comma, in your model:

acts_as_amazon_product :asin =&gt; &#039;isbn&#039;, :response_group =&gt; &#039;ItemAttributes,OfferSummary&#039;, :access_key =&gt; &#039;your key&#039;, :associate_tag =&gt; &#039;your tag&#039;

_View:_

Then get the required information from the response groups you have specified this way:


</description>
		<content:encoded><![CDATA[<p>Re: my previous comment, I did some digging through the plugin and the Amazon API and discovered the answer to my question&#8230;. Could be of interest to others, so:</p>
<p>_The Model:_</p>
<p>You can specify all desired Amazon Associates API response groups separated by comma, in your model:</p>
<p>acts_as_amazon_product :asin =&gt; &#8216;isbn&#8217;, :response_group =&gt; &#8216;ItemAttributes,OfferSummary&#8217;, :access_key =&gt; &#8216;your key&#8217;, :associate_tag =&gt; &#8216;your tag&#8217;</p>
<p>_View:_</p>
<p>Then get the required information from the response groups you have specified this way:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordon</title>
		<link>http://blog.netphase.com/2008/12/05/acts_as_amazon_product-update/comment-page-1/#comment-1177</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Tue, 03 Feb 2009 21:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.netphase.com/?p=160#comment-1177</guid>
		<description>When viewing an Amazon product page, they always display the list price and the actual sale price. With the plugin I found I was able to access the unformatted list price with the &#039;price&#039; method but not the actual sale price. Is it possible to get that sale price or other prices (eg the lowest used and new price etc)? If so, how?

Nice work!</description>
		<content:encoded><![CDATA[<p>When viewing an Amazon product page, they always display the list price and the actual sale price. With the plugin I found I was able to access the unformatted list price with the &#8216;price&#8217; method but not the actual sale price. Is it possible to get that sale price or other prices (eg the lowest used and new price etc)? If so, how?</p>
<p>Nice work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
