How to Prepare Your Content for Javascript Syndication
* Precede each backslash ( \ ) with another backslash: \\
* Precede each apostrophe ( ‘ ) with a backslash: \’
* Replace the word: script
with: scri’ + ‘pt wherever it occurs.
(This is to prevent browsers from misinterpreting the word “script” as JavaScript that must be executed independently.)
* Begin each line with: document.writeln(‘
* End each line with: ‘);
* Save the file with a .js file name extension.
* Place it on your server in a location where your browser can access it (type the file’s URL into your browser to test).
The JavaScript Method of Syndication

Connect with me