HI
I would like to have latest news/updates in the homepage of my website but i don't want to have to change the HTML code every time i want add a new news line or make a change, is there anyway i can make a file that i can just edit and when the homepage is rendered it retrieves the information for the news widget from the file?
thanks
forgive me if i got something wrong or phrased the question wrong but its the first time i have done anything like this.
Mo, the best way to do this would be with a language such as PHP, .NET, etc that will allow you to dynamically pull content for your site from a database. A basic content management system of sorts. Once done, updates are incredibly quick...but building or installing them can take time. Short of a full-blown database, you could build a system to talk to XML, SQLite, or even a text document.
Along the lines of the CMS, basic applications like WordPress can be made into excellent website CMS systems. There's boatloads of tutorials on getting started with Wordpress, Joomla, and the like.
At the simplest level, you could create a separate HTML page with just the content for the changing portion and include in your main page via iFrame.