Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Webfeed - line spacing between articles

 

 


khimaira
New User

Sep 15, 2002, 10:30 AM

Post #1 of 2 (1838 views)
Shortcut
Webfeed - line spacing between articles Can't Post

I just purchased AM two days ago, and have quickly been able to customize many things. But, I can't seem to find a way to change the spacing between the listed articles when I generate a webfeed. I need to compress the amount of space used, so want to delete the extra lines. Also, for some reason the summary text of the first article reflects a size 2 font, when I specify 1. Works fine in other summaries, just the first one is a problem.

Here's the site I'm working on: http://luraypage.com

Thanks for a great product....and any help on this!

Linda


dlo_itools
Staff


Sep 16, 2002, 9:37 AM

Post #2 of 2 (1807 views)
Shortcut
Re: [khimaira] Webfeed - line spacing between articles [In reply to] Can't Post

The font size issue might be caused by an article summary which includes a font size tag. This will override the syndicate content's font size specification. I don't see that problem on your webpage anymore, so it looks like it has been fixed.

To change the spacing between articles in the syndicated content, you need to make a change to the templates/syndicate/syndicate.js. This is the template file used to create your webfeeds. Lines 102-149 is the javascript code that writes the HTML for the webfeed. Change line 149 to remove the <br> tag.


Code
before:   document.write('<br></td></tr>\n');  

after: document.write('</td></tr>\n');



After making this change, re-publish an article and that will refresh the syndicate index files to use the new format.
/Dave Lo