
Chocolate is good for you!
The ultimate chocolate article archive! ![]() Dare to believe it's true! Who knew?! User login |
Syndicating Your Articles
You have great articles or images or other content that people would willingly put on their sites. That is, if it was easy for them. Well, it is easy! Your syndicating sites put two lines of JavaScript into their pages. That's all they have to do. Once those two lines are on their pages, the content on the syndicating sites will update automatically -- every time you change the master file on your server. For example, to carry these WillMaster Possibilities articles on your site, put this JavaScript code on your page in the spot where you want the article to appear: <script language="JavaScript" (It's okay for the code to be in three lines instead of two.) Once you have that code on your page, your page will automatically update with the new feature article every Tuesday. Try it. See for yourself how it works. This article shows you the technical how-to for syndicating your own content. It also provides a bit of information about a commercial program for those who like to have it really, really easy. In addition to articles, you could syndicate recipes, poems, source code, calendar events, anything on remote sites that wants frequent updating. You could even use it to serve banners and other advertisements. This is what you do: First -- Decide on a file name for your master file (it should have a .js file name extension). Also, decide where it will be on your server. Once you know the name of your master file and where it will be located, then you also know its URL. It will be something like http://www.yourdomain.com/masterfile.js When you know your master file's URL, you also know what the JavaScript code for your syndicating sites will be: <script language="JavaScript" src="[MASTERFILE_URL]"> Just replace [MASTERFILE_URL] with your master file's URL. Now you have the JavaScript code to give to your syndicating sites. Second -- Create your master file. It's a bit easier said than done, but once learned it could become more boring than hard. The thing to remember is that your content will be a part of a web page, not an entire page by itself. So you code your HTML tags with that in mind. The less specific font styles you specify, the more design control you leave for your syndicating sites. Unless yours is an unusual circumstance, it can be good for syndicating site owner relationships to let them fit your content into their site design. However you decide to code your content, put it into your master file. Probably the easiest way is to create a web page with your content and then copy the relevant portion of the source code for pasting into your master file. Once you have your content in your master file, you need to make it JavaScript compatible before you upload it. Do these in order:
Save your file and upload it. Once your master file is uploaded, every syndicating site is automatically updated. Here are three things you can not include in your syndicated content:
Here are two things you should not include in your syndicated content:
Here is a list of things you can include in your syndicated content:
As you can see, there are very few restrictions. Just about anything goes so long as you remember that everything your content requires must be included in the content itself. Okay, I promised a link to a commercial program for those who like to do things the easy way. (Including myself -- I wrote the program in the first place because I wanted an easy way to syndicate my articles.) Master Syndicator makes it very easy indeed. You can maintain multiple categories of remote content. (No limit on the number of categories has been found yet.) To automatically update your syndicating sites, (i) select which category/categories you want to update, (ii) paste your content into the form, and (iii) click the button. The Master Syndicator program encodes your content for JavaScript compatibility and updates the correct master files -- no hand coding and inserting funny little characters, no manual uploading; it's all automatic. If you want to paste in a plain text file, you can tell Master Syndicator to insert the appropriate HTML paragraph tags. One click and it's all taken care of! Happy syndicating! Will Bontrager Copyright 2000 Bontrager Connection, LLC |