Importing Web XML data

MrLookout9

New Member
Joined
Jun 25, 2011
Messages
27
MrExcel has never let me down before...
The vision: I keep a list of all the movies I've seen. I'd like to import some data about each movie.

I have found several sources that provide data in a web XML format. For instance, http://www.omdbapi.com/?s=American History X&r=XML.

What I’d like to do is grab the imdbID for each movie in my list. All movies are in column A. I’d like to have the imdbID in column B.

I am open to other approaches/ data sources.

Thank you!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
BTW. It seems that Excel 2007 does not know FILTERXML. How can I solve it?


Y14S47-Tag.jpg

Will get you the value u r looking 4
This is only a sample so u see what functions to use in yr en devour of repalcing FILTERXML
Cheers
Sergio<tag><tag></tag></tag>
 
Upvote 0
Can you pls "translate" this formula to your solution?

=FILTERXML($C2;"//div[@id='offers']//div[@id='"&L$1&"']");"neprodává"
and
=(FILTERXML($C2;"//div[@id='minpriceshop']")
and
(FILTERXML($C2;"//div[@id='minprice']")

Thank you.
 
Upvote 0
Can you pls "translate" this formula to your solution?

=FILTERXML($C2;"//div[@id='offers']//div[@id='"&L$1&"']");"neprodává"
and
=(FILTERXML($C2;"//div[@id='minpriceshop']")
and
(FILTERXML($C2;"//div[@id='minprice']")

Thank you.


EXPLANATION:
$C2 - contains HTML string (see bellow)
&L$1& - contains name of eshop (for example "MALL.CZ"



HTML data:
K2ChBO.gif
 
Last edited:
Upvote 0
Can you pls "translate" this formula to your solution?

=FILTERXML($C2;"//div[@id='offers']//div[@id='"&L$1&"']");"neprodává"
and
=(FILTERXML($C2;"//div[@id='minpriceshop']")
and
(FILTERXML($C2;"//div[@id='minprice']")

Thank you.

For =(FILTERXML($C2;"//div[@id='minpriceshop']")
Code:
=MID($C2,FIND("id=""minpriceshop",$C2,1)+18,FIND("here is div see image",$C2,1)-FIND("id=""minpriceshop",$C2,1)-18)

For =(FILTERXML($C2;"//div[@id='minprice']")
Code:
=MID($C2,FIND("id=""minprice",$C2,1)+14,FIND("here is div seeimage",$C2,1)-FIND("id=""minprice",$C2,1)-14)

Y14S47-Tag2.jpg


For = FILTERXML($C2;"//div[@id='offers']//div[@id='"&L$1&"']");"neprodává"
I think yr formula is incomplete and for sure much much complex

Cheers
Sergio
 
Last edited:
Upvote 0
You are right

Code:
=IF($G43<>"";IFERROR(FILTERXML($C43;"//div[@id='offers']//div[@id='"&L$1&"']");"neprodává");"")
 
Upvote 0

Forum statistics

Threads
1,215,620
Messages
6,125,876
Members
449,268
Latest member
sGraham24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top