Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Webfeed Generator

 

 


Stevo
User

Oct 7, 2002, 9:30 AM

Post #1 of 2 (1882 views)
Shortcut
Webfeed Generator Can't Post

How do I add my company info or URL to the top/bottom of the "webfeed" that shows up on another person's site? Right now, I can only turn the Webfeed Generator on or off. How do I customize it?

Unsure


Luke
Staff / Moderator


Oct 7, 2002, 3:39 PM

Post #2 of 2 (1855 views)
Shortcut
Re: [Stevo] Webfeed Generator [In reply to] Can't Post

Hi Stevo,

By making a few small changes to the syndicate.js template file you can actually have your site name, along with a link to your website, at the bottom of your syndicated content.

Here's how this is done. Open up the /templates/syndicate/syndicate.js template file in a text editor of your choice. At the bottom of the syndicate.js file uncomment the following code:

//document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
//document.write('<a href="#" target="_blank">');
//document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
//document.write('<b>Powered by SITENAME.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');

You can uncomment by removing the two forward slashes at the beginning of each line, like so:

document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
document.write('<a href="#" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<b>Powered by SITENAME.com</b></font></a>');
document.write('<br><br></b></font></td></tr>\n');

You can now change the hyperlink tag to point to your website:

document.write('<a href="http://www.yourwebsite.com/" target="_blank">');

And change the powered by text to also include your company name:

document.write('<b>Powered by Your Company Name</b></font></a>');

If you want to add additional company information, just add additional JavaScript document.write lines of code.

document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
document.write('<a href="#" target="_blank">');
document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
document.write('<b>Powered by SITENAME.com</b></a>');
document.write('<br>Additional company information goes here!');
document.write('<br>And even more company information can go here!!!</font>');
document.write('<br><br></b></font></td></tr>\n');

If you want to have the following output at the top of the syndicated content on another person's website, simply just copy and paste the code and make it the very first few lines of code in the syndicate.js file.

I hope this helps. :)
Luke Holzken
Product Development