| 10:09 pm on Mar 31, 2005 (gmt 0)|
If it's a file available on someone's web accessible directory, you can link to it.
[edited by: txbakers at 6:44 pm (utc) on April 4, 2005]
| 10:21 pm on Mar 31, 2005 (gmt 0)|
>> If it's a file ..
Maybe the easiest way is to make your partner sites link to a .js file that 'document.writes' your paragraph. Not really SE friendly though.
| 6:02 pm on Apr 4, 2005 (gmt 0)|
txbakers - I received a 404 when I hit your link.
Span - I have not done java in a long time, can you clarify a little more, or send me a link
Thanks for your quick respones!
| 6:16 pm on Apr 4, 2005 (gmt 0)|
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.
| 7:17 pm on Apr 4, 2005 (gmt 0)|
HughMungus - Perfect! Thanks!
The database call sounds really neat! I did a search for some more information regarding this, but did not find anything to relevant. Do you have any relevant links?
Thanks again for you help!
| 7:21 pm on Apr 4, 2005 (gmt 0)|
Well, all you have to do if you want to do a database call to create the include file is just do the call and have it write out to a format that is OK for a .js file. Pretty easy.
| 7:17 pm on Apr 5, 2005 (gmt 0)|
HughMungus - I have discovered that there is a Security problem doing a javascipt include. Thanks anyways@!
Can SSI be read from a different site?
Any other solutions out there?
Thanks for any help!
| 7:32 pm on Apr 13, 2005 (gmt 0)|
There is always an iframe.
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.