Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
If you wanted to reference/link to a .jpg that was located on a different site, you would include www.website.com/images/logo.jpg
Now, I have a paragraph that I would like found on my partners sites, is it possible to reference it along the same way a picture is? If not, do you have any other reommendations for me.
Thank you for any help/advice!
document.write("This is some text you want to include on another site.")
Name that file "include.js".
One cool thing you can do is that if the other site has the information stored in a database, you can have them do a database call and put together an include file that includes data from the database.
I don't believe this to be too SE friendly either.
But it will take a html formated file from any other server on the net and present it in your page.
On the more complicated side you could use perl and lwp or curl, to grab the other page....HTML::TreeBuilder to rip out the parts you want and then send out the include.js format or just write your entire page dynamically.
This is not the optimal performance technique.
But another option.