Javascript Syndication – How to Prepare Your Content

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


Here is the JavaScript that remote syndication site owners paste on their web pages. Where they put the JavaScript is where your content appears:


<script
  type="text/javascript"
  language="JavaScript"
  src="http://example.com/syndicate.js">
</script>

Replace http://example.com/file.js with the URL to the syndication content file on your server.

Here’s how it works:

* Invite visitors to link to this Javascript using the code above.
* Each time their page is viewed, it will call up syndicate.js from your server and process it.
* This essentially means you’re inserting your HTML into someone else’s pages.
* When you change the the syndicate.js code at any time the next time someone views any webpage calling it, that webpage too will change.
* You now have the opportunity to update the web pages of many sites (that you don’t own) at the same time (and anytime) by adding a few lines of javascript code that you control.

Javascript Converter Tool

Here is a great converter tool to convert text to JavaScript.
Plain text, HTML, even JavaScript, can all be converted into JavaScript.

http://bontragerconnection.com/library/javascript-php_syndication.shtml

How To Automate Your Syndication

Master Syndicator V4

Using the Master Syndicator V4 you paste your column into your own Syndicator form and click a button. This automatically updates all syndication websites’ pages simultaneously.

This is a fast way to syndicate your content all over the Web and also brand your name and/or your business.

Speak Your Mind

*