开发者

How to show images of one site to another site

开发者 https://www.devze.com 2023-02-10 16:28 出处:网络
I am having two site related to shopping. My requirement is when I insert any prod开发者_StackOverflowuct on that site that product also be reflected on the second site.

I am having two site related to shopping. My requirement is when I insert any prod开发者_StackOverflowuct on that site that product also be reflected on the second site.

  • one site is: http://www.mcfloresca.com/
  • second site: http://www.etsy.com/shop/oneofakindclothing?ref=top_trail


If you want the data (image, text, whatever) to be the same in both sites, then you must either be able to access Etsy.com's database (which I believe you can't) or use an API.

Etsy does have an API here: Etsy Developer Community.


You're trying to embed images from one site into another? Do you have permission to do so?

Otherwise, it's just a matter of having on site1:

<img src="http://site2.example.com/somepicture.jpg" />

If you mean you want product information shared between the two, then you'd either have to have both sites backed by the same database, or some method of syncrhonizing the databases on each site. YOu don't say which database you're on, but since you've tagged the question with php/wordpress, I'm guessing MySQL. For synchronizing two different MySQL installs, look up replication setups in the MySQL docs

Oh, and saying it's urgent isn't a good way to ask questions here. If it's urgent, then go find a local guru you can pay..

0

精彩评论

暂无评论...
验证码 换一张
取 消