|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Google & Amazon Web Services
I ran across these URLs today and thought someone else may find them useful. If you want to include a Google or Amazon search funtionaility within your PHP application (or .NET, Java, etc.) then check out these resources:
Google article on devShed: http://www.devshed.com/Server_Side/...eAPI/page2.html and more code at http://www.sebastian-bergmann.de/?page=google And Amazon documentation/code: http://www.php9.com/index.php/secti...zon%20PHP%20API A couple neat PHP sites: http://www.phpbeginner.com http://www.php9.com Hope others will find this useful. Comments welcome... |
|
#2
|
|||
|
|||
|
Thanks for that David. I will ask our resident .NET guru, James to write an article on consuming those web services from an ASP.NET application. I may also write one on how to do it with PHP.
|
|
#3
|
|||
|
|||
|
Great! Look forward to reading them....
The Google and Amazon items sound like good features for SiteWorksPro.... [hint hint hint] :-) ...david |
|
#4
|
|||
|
|||
|
Nice articles. Using the XML over HTTP is a breeze.
You can see it running below. Check Amazon's site for details on configuring search results. http://www.jasonnewton.net/web_services.php best wishes, |
|
#5
|
|||
|
|||
|
Just curious -- what is your site written in?
Would you care to share what you're using for the amazon lookup? Can you share your code? |
|
#6
|
|||
|
|||
|
Hi David,
I use xml and just transform it to html using xslt. I use PHP's Sablotron from Ginger Alliance to do this. As for the Amazon search, just download the files and make one change to the developer's token key (you need to get this from Amazon). Hope this helps. Fumi |
|
#7
|
|||
|
|||
|
I don't quite follow your explanation of XSLT and the Sablotron. What is this? Why can't you just loop thru a PHP array instead of another class???
Can you provide source? |
|
#8
|
|||
|
|||
|
David,
You asked how the site is made. As explained, I use xml. This is then transformed to html using an xslt processor called Sablotron. Older browsers don't all support xsl, so the transformation must occur on the server and then the resulting html is delivered to the client. Sablotron can be used with a variety of different languages, including php. However, you seem to be confusing this with the Amazon API tutorial. This has nothing to do with Sablotron. Just go to the tutorial, download the zip containing the 4 files, make the one change to the developers token key, upload the files and you're all set. Can anyone else help here? |
|
#9
|
|||
|
|||
|
Thanks Fumi. I ran across an article on devshed.com that explains what Sablotron is and how to use it. I've been reading up on XML/XSLT, etc. since our initial discussion and understand things much better.
Thanks! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Google & Amazon Web Services |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|