Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
syndicate use

 

 


Maurice
User

Aug 27, 2002, 4:23 AM

Post #1 of 2 (2016 views)
Shortcut
syndicate use Can't Post

Hi all power users,

I want my syndicate output to link to a frameset instead directly to the article is this possible?

also I want to change the syndicate output to pixel font sizes and not the size 1,2,3,4 enzo..

has anyone manage to do so?

Maurice
-------------------------------------------
www.intraserve.nl

Soon! cmsBy.intraserve


dlo_itools
Staff


Aug 28, 2002, 6:10 PM

Post #2 of 2 (1979 views)
Shortcut
Re: [Maurice] syndicate use [In reply to] Can't Post

>syndicate output to link to a frameset instead directly to the article

The changes here involve modifying the javascript file syndicate.js found in cgi-bin/artman/templates/syndicate/

To send a syndicate link to a frameset, you need to have a utility cgi script that will frame a given webpage address. Visit our resources page for links to script collections http://www.interactivetools.com/resources/

Once you find/create such a script, you need to modify the syndicate.js line that creates the document link:

old: document.write('<a href="' + syndicate.article_url[syndicate.index] + '" target="_blank">');

new: document.write('<a href=/cgi-bin/frameit.cgi?"' + syndicate.article_url[syndicate.index] + '">');

There may also be javascript solutions too based on a similar concept.

>change the syndicate output to pixel font sizes and not the size 1,2,3,4

One way to do this is to add some style tag output to the syndicate content, and then use styles instead of font attributes.

old: document.write('<font color="' +
syndicate.title_fontcolor + '" face="' +
syndicate.title_fontface + '" size="' +
syndicate.title_fontsize + '"');

new: document.write('<style="syndicatetitle"');

and then add some style definitions earlier before the loop begins:

document.write('<style>');
document.write('syndicatetitle { font-size:20px; font-color:... }
document.write('</style'>);

If other readers have found a more elegant solution, let us know!
/Dave Lo