Jump to content
Server Maintenance This Week. ×

Content download Amazon or IMDb


This topic is 6581 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Does anyone have any idea how to downloag data from online sites like amazon or imdb? I want to download movie info from their servder direct into filemaker?? Any hints are welcome!!

Thanks

Link to comment
Share on other sites

There could be many things. There are basically 2 parts to getting the data into FileMaker. The first is to get the data from Amazon, the second is to transform it, via an xsl stylesheet, into the xml format that FileMaker requires for import.

I always use AppleScript with "curl" in a shell script to first test getting the data via a URL. Then at least you know that part works, and you get a sample of the xml returned. Try this in an AppleScript:

set myID to "Put your ID here"

set the_URL to quoted form of ("http://xml.amazon.com/onca/xml3?locale=us&t=webservices-20&dev-t=" & myID & "&KeywordSearch=FileMaker%207&mode=books&sort=+titlerank&offer=All&type=lite&page=1&f=xml")



set theText to do shell script "curl " & the_URL

Edited by Guest
wish the code box was wider
Link to comment
Share on other sites

Hi so thats the result I'm getting. I'm sorry but I have no idea what that means, I'll try to make this happening. Thanks for your help!

Thomas

"<?xml version="1.0" encoding="UTF-8"?>

We encountered an error while processing your request. Please make sure that you are using a valid developer token and that you have registered for this service. For more information, please visit http://www.amazon.com/webservices"

Link to comment
Share on other sites

This topic is 6581 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.