HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 2nd, 2000, 10:49 PM
plasid plasid is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 11 plasid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old December 3rd, 2000, 03:33 AM
colin_anderson colin_anderson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 41 colin_anderson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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."

Reply With Quote
  #3  
Old December 3rd, 2000, 05:02 AM
dorward's Avatar
dorward dorward is offline
Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 23 dorward User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<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.

Reply With Quote
  #4  
Old December 3rd, 2000, 08:30 AM
plasid plasid is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 11 plasid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old December 3rd, 2000, 01:45 PM
dorward's Avatar
dorward dorward is offline
Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 23 dorward User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<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.

Reply With Quote
  #6  
Old December 3rd, 2000, 01:46 PM
dorward's Avatar
dorward dorward is offline
Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 23 dorward User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
(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.

Reply With Quote
  #7  
Old December 4th, 2000, 05:08 AM
stardotstar stardotstar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 63 stardotstar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #8  
Old December 8th, 2000, 09:21 PM
jc94062 jc94062 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: UK
Posts: 50 jc94062 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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!

Reply With Quote
  #9  
Old December 11th, 2000, 10:37 PM
FieroEtnl FieroEtnl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Omaha
Posts: 5 FieroEtnl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to FieroEtnl Send a message via AIM to FieroEtnl
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).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > easy site updates and maintenance


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT