Upgrading from Master Syndicator
Master Syndicator provides an easy way to syndicate articles, ads, and other content. The control panel converts HTML into JavaScript and stores it as a .js file on the server.
Anyone can put a short piece of JavaScript code on their web pages and the article will "magically" show up.
Master Syndication Gateway I uses a control panel, too. But it monitors who can and can't display the content.
Because the JavaScript for Master Syndicator is different than the JavaScript for Master Syndication Gateway I, the task of getting the webmasters of all the remote web sites to change the JavaScript could seem like a big problem. Yet, the many great features in Master Syndication Gateway I are certainly enticing.
But it doesn't have to be a problem. Webmasters of remote web sites won't need to change anything, at all.
Just put a few lines in an .htaccess file on your server:
The last line contains the URI of Master Syndication Gateway I's MSG.cgi script. The URI (which is the URL minus the domain name part) might need to be changed, depending on where you will be installing the program. The characters \?$1 need to be at the end of the URI.
The .htaccess file with the above lines needs to be in the directory where the current Master Syndicator .js files are at.
Important: Do not upload the .htaccess file until all channels have their equivalent ID's in the Master Syndication Gateway I control panel. The lines in the .htaccess file will redirect all requests for .js files to the MSG.cgi script, using the requested file name to determine the appropriate ID, whether or not the .js file actually exists in the directory.
To make an equivalent channel, name the channel the same as the .js file, minus the .js part. If the .js file is books.js, then the channel would need to be created with name books
Naming the channel that way ensures the new channel ID will be equivalent to the .js file being replaced. (You can rename the channel later, if you want, after the channel has been created. The channel's ID won't change.)
When creating channels to be equivalent to the .js files, make them open channels. Closed channels require the domain name of the requesting web site, and obtaining the domain name with the .htaccess file would not be reliable. (Open channels can still have domains banned from publishing your content.)
The .htaccess file takes over the whole directory where it's located. If you want to use your current Master Syndicator program, a different content directory for it's files will need to be created.
Will Bontrager
©Copyright 2005 Bontrager Connection, LLC Bontrager Connection, LLC
Please note:
Articles on this website are presented "as is". However -
If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Ask one of our Experts and you'll have your answer!
Click here for details.