/    Sign up×
Community /Pin to ProfileBookmark

how to script for syndication

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

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@steelersfan88Apr 02.2004 — Just throw it all in! HTML code also, like:[code=php]<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>[/code]
×

Success!

Help @madge1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...