Hi,

I have a client with static website, now he needs to have a automated news updating facility, so he can just add the news headline or title to a text file, which will be updated to the front page and all the inner pages.

I have tried the object tag in the html, but its effect is like an iframe:

<object type="text/html" data="Newsupdate.html" style="width:100%; height:136px; margin: 0px 0px 0px 2px;">
</object>

Help me resolve the issue, without the need of any databases.

Thanks

Recommended Answers

All 3 Replies

are you using any server-side scripting? If so, for instance in asp.net you could read from a datasource that is an xml file. Or if there is no server-side scripting, from HTML, you can use javascript/ajax to read from an XML file.

No the site is basic HTML, I dont know if the web hosting is providng any server side scripting.
Its hosted on netsol.

Thanks for input.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.