soon
07-13-2003, 03:41 PM
I've developed an automated PHP HTML to Javascript on-the-fly parser so that people can do easy content-sharing of their pages to other sites:
http://www.gospelcom.net/guide/resources/content-sharing.php
To help people offer some site-wide ready-to-paste code for the sharing of any particular page, I have suggested how they can automate this too, using PHP, and also using Javascript if they do not have the use of PHP on their server, yet can find someone else to host the PHP parser script.
I.e. when the read-to-paste code is at the end of the same page, it automatically inserts the current page URL into the jump code, and the page title into the noscript code.
If the ready-to-paste code is on a referring page, it is still possible to do the URL and title using PHP. But I have not yet found a way of doing the title with javascript. So - does anyone know how to grab the words in the title tag of a referring page, and display them visibly on another page?
It would be practical to put some script on the referring page as well as the recipient page, if necessary.
Thanks for any wisdom
Best wishes
Tony
http://www.gospelcom.net/guide/resources/content-sharing.php
To help people offer some site-wide ready-to-paste code for the sharing of any particular page, I have suggested how they can automate this too, using PHP, and also using Javascript if they do not have the use of PHP on their server, yet can find someone else to host the PHP parser script.
I.e. when the read-to-paste code is at the end of the same page, it automatically inserts the current page URL into the jump code, and the page title into the noscript code.
If the ready-to-paste code is on a referring page, it is still possible to do the URL and title using PHP. But I have not yet found a way of doing the title with javascript. So - does anyone know how to grab the words in the title tag of a referring page, and display them visibly on another page?
It would be practical to put some script on the referring page as well as the recipient page, if necessary.
Thanks for any wisdom
Best wishes
Tony