PDA

View Full Version : I need my news section to update easier on all pages.



skieeterno
21 Nov 2008, 05:18 PM
Hi there guys..

I am kinda new to this website development stuff.. I have a news section on all of my pages in the botton right hand corner.. but i have no way of updating it on all pages at once. I have to keep copying the html code into each page, and it really is annoying if I am updating it once a day.

Is there any easy way of doing this?

I recently completed a backbase example project which updated different pages with XML files but i wanted to stay away from that on this webpage one because i didnt really like it, and it wasnt that easy and two cause i want to learn new methods all the time :P

Thanks

http://www.kylegreer.co.uk btw

Wickham
22 Nov 2008, 03:15 AM
Use a separate "include" file which is inserted by the hosting service server in the correct place just before downloading, so you only have one file to edit.

PHP is recommended as you can do much more with a PHP page, but SHTML will repaet code just as well.

http://www.wickham43.supanet.com/tutorial/serversideincludes.html

It won't update the News, though, you need to code a feed to do that.