|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ive been working on our school organization's site, and ive been assigned to update it daily. is there any way to accomplish this without diving in to the code and manually editing html.
im kust starting out , so plese help out. thanks. |
|
#2
|
|||
|
|||
|
Plasid:
You're always going to have to dive into the code one way or another, but it doesn't have to be near as hard as your making it. First of all, do you use a WYSIWYG editor or something simple like Notepad?------------------ -Colin Anderson http://www.htmletc.net/ "There are two ways to write error-free programs. Only the third one works." |
|
#3
|
||||
|
||||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by plasid:
ive been working on our school organization's site, and ive been assigned to update it daily. is there any way to accomplish this without diving in to the code and manually editing html.[/quote] Depending on the situation, you could write a perl script to convert a plain text file to a formatted webpage. |
|
#4
|
|||
|
|||
|
are ther any programs that would, say.. where i could type in the text then it would insert/append it to an existing html file then insert the date of modification?
|
|
#5
|
||||
|
||||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by plasid:
are ther any programs that would, say.. where i could type in the text then it would insert/append it to an existing html file then insert the date of modification?[/quote] This is a snippit of Perl code from http://www.dorward.co.uk/dolt.html that will print (to the screen) the date and time that it is run: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>use Time::localtime; $main::tm = localtime; ($main: AY, $main::MONTH, $main::YEAR, $main::hour, $main::minute) = ($main::tm->mday, $main::tm->mon, $main::tm->year, $main::tm->hour, $main::tm->min);$main::MONTH = $main::MONTH + 1; $main::YEAR = $main::YEAR + 1900; $main::message = "$main: AY-$main::MONTH-$main::YEAR @ $main::hour.$main::minute";print "$main::messagen";[/code] You just need to add a file handle to the print statement. |
|
#6
|
||||
|
||||
|
(Repost with smilies turned off!)
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by plasid: are ther any programs that would, say.. where i could type in the text then it would insert/append it to an existing html file then insert the date of modification?[/quote] This is a snippit of Perl code from http://www.dorward.co.uk/dolt.html that will print (to the screen) the date and time that it is run: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>use Time::localtime; $main::tm = localtime; ($main: AY, $main::MONTH, $main::YEAR, $main::hour, $main::minute) = ($main::tm->mday, $main::tm->mon, $main::tm->year, $main::tm->hour, $main::tm->min);$main::MONTH = $main::MONTH + 1; $main::YEAR = $main::YEAR + 1900; $main::message = "$main: AY-$main::MONTH-$main::YEAR @ $main::hour.$main::minute";print "$main::messagen";[/code] You just need to add a file handle to the print statement. |
|
#7
|
|||
|
|||
|
I think what you are looking for is something like Allaire HomeSite. It has a Design view where you can edit your HTML document like a Word document, but it doesn't churn out "weird" code.
You can get a trial version at http://www.allaire.com |
|
#8
|
|||
|
|||
|
There are 3 ways of doing this really.
1. Do it manually 2. Use PHPMySQL type database (or PerlDBI if you like hard work) 3. I believe that you can write CGI scripts that let you do the same as databasing with PHP, don't hold me to that though! |
|
#9
|
|||
|
|||
|
I know this is not going to be much help if you've already done most of the website design, but there is a program called Slashdot that allows people with the proper access to post news updates to a website. It's pretty cool; one of my organizations used it for awhile and found it works extremely well. Slash can be found at slashcode.com.
[This message has been edited by FieroEtnl (edited December 11, 2000).] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > easy site updates and maintenance |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|