Forum Moderators: phranque

Message Too Old, No Replies

Automatically updating content....?

how to auto-update content?

         

moleboy

4:52 pm on Mar 24, 2003 (gmt 0)

10+ Year Member



Hi.

I am trying to create a section on my site that has content on it that needs to be updated regularly by a user with no idea on how to modify HTML.

Does anyone know of a way I can take information from an email or simple txt file, and have the web page draw it's info from this file?

That way, the end-user could just modify a text file or send an email, and the site would automatically update itself, without huge amounts of time having to be spent on modifying pages by the web team... ;-)

lorax

5:03 pm on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello Moleboy, and welcome to WebmasterWorld!

There are a number of ways to accomplish this but you'll need to use a script language like PHP or PERL to accomplish it. The basics are you build an interface (protected by Uname/Pwd). The inteface allows them to add/edit/delete text. The text is either written out as a file or dumped into a database. The web page on the public side needs to use script to pull the text from the file or database and you're done.

The same technique can be used with an email reader. You just need to make sure you can route mail to a script.

Of course, if you don't know script then you'll need to find someone who does but what you need isn't rocket science and most programmer should be able to knock it out in less than a day.

Alternative Future

5:11 pm on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello and welcome to WebmasterWorld Moleboy,

There is also an open source script that can be made for easy to use web authoring called wiki do a search in google for it and it is amongst the first in the list.

[added]Wiki is a piece of server software that allows users to freely create and edit Web page content using any Web browser. Wiki supports hyperlinks and has a simple text syntax for creating new pages and crosslinks between internal pages on the fly.[/added]

HTH,

-gs

moleboy

5:34 pm on Mar 24, 2003 (gmt 0)

10+ Year Member



thanks - managed to get hold of the wiki s/w, and it does the job brilliantly. :-D

I have another section on the site which contains a table. The right column contain a set of numbers (financial rates etc), which needs to be updated by the user too.

This means that page needs to be able to have a small section of itself (i.e. the rates on the table) updated in this way, but ONLY the rates in the right hand column. The rest of the page is fixed HTML. Is there any relatively simpole way to do this, or do I need to do some serious scripting?

:s

Alternative Future

5:39 pm on Mar 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you might require working with XML to generate the financial figures and character sets with updated figures, but without seeing the full specs of the application it’s hard to say what might be best!
XML and wiki work well together as far as I am led to believe

-gs