July 26, 201214 yr Hi everyone, Sorry if this is in the wrong section of the forum, Im not too sure where to put it. I am re building a website for a client however I have a problem that I have never come across before. Basically he has an iframe on his website that gives vehicle statistics when you select your vehicle from a drop down menu. He wants these stats putting into a table rather than use the drop down's. If i select every vehicle and copy the data manually it will take me about a week of hard labour as there are hundreds of vehicles. Does anybody know of a way to extract the data from an iframe? I've never had to do this before so its got me. Many thanks.
July 26, 201214 yr You could use jQuery load, this will take the div structure, and you can style it yourself.
July 26, 201214 yr Author Thanks I will look into the jquery load. The iframe is coming from his suppliers website. They gave him a widget so his customers can view the vehicle data. He doesn't own the data but he has permission to use it on his website. Regards
July 26, 201214 yr Just watch what that permission allows. Being able to use the data via their widget can be very different to him/you using the data as you wish.
July 26, 201214 yr The general rule of thumb is that the client provides all the sites content and is responsible for any copyright disputes that arise. NB: As a designer if you have used any 3rd party photostock from premium sources then you need to make sure the client gets copies of any licence documentation Your case is however a little more fuzzy because I do not know what the information contained on the other site actually is. It could be that it's in the Public Domain and available from other sources perfectly legally in which case scraping it off the other site whilst naughty is not a hanging offence. Though I would suggest charging extra for the service or give them the option to go away and Cut & Paste it all themselves into a text file then present it to you.
July 28, 201214 yr Hmmm that is a shame or you could of used a php include if the site was designed in php. Me personally i think Iframes are old fashioned.
Create an account or sign in to comment