Reputation: 13840
I have an ever growing medley of websites that I own (WordPress for the most part if that helps).
Each one has a VERY simple "name, a graphic, and social media links" page on it at foo.domain.com/partner.
I would like for a.domain.com to be able to load content from 3 other sites into their sidebar with OUT iframes.
Is there a better way to do this? Maybe even with .load()
? You can't load external content like that I believe, so I'm not sure the best way to approach this. Iframes aren't really cutting it.
Again, I have rights to ALL of the sites, and I have access to add PHP/Jquery scripts anywhere on them all.
Upvotes: 1
Views: 785
Reputation: 14479
Lots of ways to do this:
file_get_contents()
or cURL
content from other sites and then work with the content server side (load content before it's sent to the browser)Access-Control-Allow-Origin
)Upvotes: 7