simple content widget

mat777

New member
Jan 18, 2011
148
1
0
scrapheap, UK
I would like a little help to code a little widget for .html

I wanna create say a txt file that i can simply add any new page to. Then I can place a simple bit of code on every page. Then whenver I update the txt file with a new page, the code will reference a link to it on every page.

So whenever I add new content, I can easily have every page on the site linking to it. Pretty basic stuff i know but it would be helpful. Cheers for help.
.............................................................................................................
I used to use wordpress but since in got sql injection that first created hundreds of new pages and then set up a halifax online banking scam that caused my isp to close my account and have the fraud squad email me about it - i have stopped using wordpress.
 


ok well i suppose i was a lazy bastrd to ask. I figured it out. This is the basics of it is if you care, im plodding through how to work it properly.

<SCRIPT language="JavaScript" src="http://www.yourdomain.com/content/yourfile.js"> </SCRIPT>

yourfile.js - contains
<!-- document.writeln('<TABLE BORDER="0" ALIGN="Center">');
document.writeln('<TR>');
document.writeln('<TD>');
document.writeln('Your table content');
document.writeln('</TD>');
document.writeln('</TR>');
document.writeln('</TABLE>');
//-->