Matt, you can use Mr Rat's script to focus on a specific section/niche (see my www.buymetal.net for an example) by linking to a set node.
Printable View
Matt, you can use Mr Rat's script to focus on a specific section/niche (see my www.buymetal.net for an example) by linking to a set node.
Thanks, I'll check it out. :)Quote:
Originally posted by MarkB
Matt, you can use Mr Rat's script to focus on a specific section/niche (see my www.buymetal.net for an example) by linking to a set node.
chromate, on your sites, did you create your own or are you using a script?
My own PHP script.
Could someone post some sample code? I've downloaded the developers kit, and played around with the XML Scratch Pad, but I do not understand how to parse the XML feed. How can you do this through PHP?
You might also want to do a search on the Amazon Associate board for posts from "strago" (Nintendo's user name on that board). I think he has actually posted most of his "hack" there.Quote:
Originally posted by MarkB
http://www.absolutefreebies.com/dire...ucts-feed.html
The mod_rewrite 'hack' is sold seperately by a user known as 'Nintendo' for $50 - he posts on Mr Rat's forum, should you wish to get it from him... or you could just do it yourself for free :)
I suggest that you look over the whole script and really consider what it impact it will have in terms of bandwidth, PR, etc. before putting it on your site. As is, it may have unintended consequences and you should fully understand what it's doing and look at places where you might make adjustments.
For the record, Nintendo goes by the name 'Nintendo' (see the moderator list, and his posts) on Mr Rat's forum.
chromate, could you post some sample code?
There's many different ways to parse XML with PHP. I went through a few parsing examples I found on various sites before I settled with something I was comfortable with.Quote:
Originally posted by MattM
I do not understand how to parse the XML feed. How can you do this through PHP?
I'd recommend you search google for "php parse xml" or "php parse xml tutorial".
MattM, parsing the feed is important, but understanding the subtleties of the feed itself is also critical for AWS. Using the Developer's XML Scratch Pad, could you create the following feeds?
- Lite DVD search sorted by sales for Drama DVDs.
- Lite DVD search sorted by featured product for the keyphrase: "Lord of the Rings".
- Heavy DVD search that only brings up Finding Nemo's product info.
MattM, make life easier for yourself and use PHP with SOAP. That will handle the XML for you. All you then have to do is concentrate on how to use the functions.
Drama DVDQuote:
Originally posted by GCT13
MattM, parsing the feed is important, but understanding the subtleties of the feed itself is also critical for AWS. Using the Developer's XML Scratch Pad, could you create the following feeds?
- Lite DVD search sorted by sales for Drama DVDs.
- Lite DVD search sorted by featured product for the keyphrase: "Lord of the Rings".
- Heavy DVD search that only brings up Finding Nemo's product info.
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
Lord Of The Rings
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
Finding Nemo
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
:)
Do you have some sample code I could see? I never have used SOAP.Quote:
Originally posted by chromate
MattM, make life easier for yourself and use PHP with SOAP. That will handle the XML for you. All you then have to do is concentrate on how to use the functions.
I think it would probably be easier if I post what I need so everyone will understand. I need something like what Shawn, chromate, GCT13, and Chris have, where I can pull in information about certain products, have a search box so the user can find a specific product, and have the fonts and colors match my site. I would also like the URLs to be search engine friendly.
Lord of the Rings is the only one you got correct.Quote:
Originally posted by MattM
Drama DVD
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
Lord Of The Rings
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
Finding Nemo
http://xml.amazon.com/onca/xml3?t=we...e=page=1&f=xml
Here are some hints.
For Drama DVDs, I was looking for DVDs in Amazon's Drama category. Drama DVD is a BrowseNode search. BrowseNodes = Amazon categories. Look up "BrowseNodes" in the developer's pack and FAQ on Amazon's AWS site.
The Finding Nemo feed should only bring up 1 specific item. What you need there is an Asin search. "ASIN"s are Amazon's unique product identifiers.
---