Click to See Complete Forum and Search --> : how to script for syndication


madge1
04-01-2004, 06:01 PM
I would like to syndicate my articles but I am having a difficult time understanding how to do this.

This is what I know:

<!--
document.writeln('<TABLE BORDER="0" CELLPADDING="4" ALIGN="CENTER">);
document.writeln('<TR>');
document.writeln('<TD>');
document.writeln('THIS IS WHERE I COPY MY ARTLCLES');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
//-->

What confuses me is do I also have to put the coding (document.writeln(''); for every line of code inside the main part (Where I copy my articles) or is it enough to put the entire article in one document.writeln('');

I just can't find any samples that would show me a complete article in HTML in the js file to be syndicated.

I guess I learn more quickly if I can actually see the coding for myself.

Thanks for the help
madge

steelersfan88
04-01-2004, 06:42 PM
Just throw it all in! HTML code also, like:<script type="text/javascript">

document.writeln('<TABLE BORDER="0" CELLPADDING="4" ALIGN="CENTER"><TR><TD>');
document.writeln('THIS IS WHERE I COPY MY ARTLCLES');
document.writeln('</TD></TR></TABLE>');

</script>