This is a discussion on "Updating web content from text file...or other solution?" within the Web Page Design section. This forum, and the thread "Updating web content from text file...or other solution? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Updating web content from text file...or other solution?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hello!
I'm fairly new to all of this so I don't even know if I'm posting in the right forum.....apologies if not. Bascially I'm designing a site for someone and when I'm done they would like to be able to update/add to the content of one page by themself. What's the best way of going about this without compromising the design of the site itself? Thanks for your help! |
|
|
|
#2
|
|||
|
|||
|
Re: Updating web content from text file...or other solution?
Server side solution php or asp
|
|
#3
|
|||
|
|||
|
Re: Updating web content from text file...or other solution?
php would be the best, especially if your not too experienced. ASP is really good if you know what your doing it take a while to learn but your best bet right now is to use php.
|
|
#4
|
|||
|
|||
|
Re: Updating web content from text file...or other solution?
Well there are actually at least six ways:
SSI - and using the extension shtml or shtm (server side) ASP - using the extension asp (server side) PHP - using the extension php, phtml, phtm (server side) JavaScript - using the extension html or htm (client side) Ajax - more information Ajax Includes Script Frames - Frames Tutorial They depend on your server and the way it is set up. Including the file is is basically like SSI
With the JavaScript, you it would be a bit different, you would save this as nav.js:
For the type of hyperlinks check out types of hyperlinks - I would recommend using Virtual if you do use the server side includes. Check with your hosting company to see what server side includes they will support. |
|
#5
|
|||
|
|||
|
Re: Updating web content from text file...or other solution?
I recently had to do this.
I created the main page... bulletins.php or whatever. I then created a seperate file... data-bulletins.htm that gets included using the PHP include. Using htm extension merely allows it to be opened by more editors without issues. The person doing the text updates was taught very limited heading, paragraph and list tags and this allows them to populate the file. All they do is open up the FTP program, edit the data file and save it back. There are more complicated ways, but I like simplicity and they are very satisfied with this also. I showed them a CMS demo online... HAHAHA.. if they weren't church reps I know they would have said "NO Fin WAY"... but they simply said... "I think we can handle editing the htm". Ding Ding.. another satisified customer of simplicity by design. |
![]() |
| Tags |
| updating, web, content, text, fileor, other, solution |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] multiple columns, text floats out of area... Best solution? | alfandango | Web Page Design | 7 | Apr 17th, 2008 12:00 |
| search file content?? | alkingg | JavaScript Forum | 2 | Jun 11th, 2007 13:25 |
| Updating Content | jas4 | Starting Out | 1 | May 13th, 2007 14:08 |
| Possible to update content through text files? | jwilliams31 | Web Page Design | 14 | Nov 25th, 2006 23:12 |
| Creating a log file (text file) and an XML file using XSL | kdelacruz | Other Programming Languages | 1 | Nov 4th, 2006 21:12 |