August 10th, 2002, 10:33 PM
|
#1 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
I have a website that is on my HD that I use FrontPage to upload.
I was wondering if there was a way to make a program/script/whatever (frankly I don't care... I can probably get ahold of any compiler needed) so I could simply type a date, time and a text file that the program would format with some pre set tags and insert underneath a set line in the HTML file.
It would be really cool if I could even have it automatically enter the date and time.
I'm basically looking for suggestions. If someone knows of a program already made to do this, or a tutorial on building a program to do it, I would be glad to learn and <ATTEMPT> to create the program myself
Thanks in advance
Cody |
| |
August 11th, 2002, 02:39 AM
|
#2 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Iowa
Posts: 2,879
|
Online ????
You might check Matt's Script Archive..... he has a perl program for a Guestbook that you might be able to hack if you wanted this to work online....as a user submits a entry.......the html page is updated in a certain spot....(right next to two plus symbols ) (++)
Offline ????
NoteTabLight(free) or NoteTabPro($20) <--Excellent program BTW .... available at www.notetab.com have "clipbooks" that you can program to do pretty much what your asking (i think) .. to a HTML file.... you might check out the free version .......worth looking into.... clipbooks are COOL  ~~~ for windows only.......
Don't know if that helps at all........... but hope so. |
| |
August 11th, 2002, 07:18 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
Any links to Matt's Script Archive?
Cody |
| |
August 11th, 2002, 07:19 PM
|
#4 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
Oop n/m found it
Cody |
| |
August 11th, 2002, 07:23 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 1,542
|
I use php to list the last modified time on all my pages: PHP Code:
This page last modified: <?php echo date ("F d Y H:i:s", getlastmod()) . " GMT+BST"; ?> |
| |
August 11th, 2002, 07:32 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
I'm downloading that notetab program right now.
Will give it a try
Cody |
| |
August 11th, 2002, 07:43 PM
|
#7 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
Alright I'll try and give s'more detail here.
Basically I have a page that (very very simplified) looks like this Quote:
<html>
<head>
<style type="text/css">
... a bunch of CSS code for my page ...
</style>
... a bunch of html for background, text, navbar, etc ...
</td>
<td width="50px"><br /></td>
<td valign="top" align="left">
<!--sample post -->
<div class="tbox"><b>monday, august 5, 2002</b> - 6:21 pm </div>
<div class="mbox">
A post
<br>
</div>
<br/>
<!-- end of said sample-->
<!--sample post -->
<div class="tbox"><b>monday, august 5, 2002</b> - 6:21 pm </div>
<div class="mbox">
A post
<br>
</div>
<br/>
<!-- end of said sample-->
... a whole bunch of other stuff ...
| Basically I want a script/program/whatever that I can enter the date, time and a journal entry and it will place them in the appropriate place in the HTML code and also format them according to what I have above.
That help any?
Cody |
| |
August 11th, 2002, 08:16 PM
|
#8 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Iowa
Posts: 2,879
|
Again........ Matts Guestbook script would do that if you are running it online...... no problem........ http://www.crouse.ws/virtual-linux/guestbook.html
It would be fairly easy to modify Matt's guestbook script........... the above link I modified for the Virtual-Linux.org guestbook. Uses a perl script and one html file to post from and one html file to post to........ pretty straightforward......
---------------------------------------------------------------
Again.......... notetablight would modify a html page and add all the code you put in a clipbook........ very easily........and you could just ftp the changed page.......
Just 2 different ways of doing the same thing........
Keep us posted and let us know if it worked..........  |
| |
August 11th, 2002, 08:17 PM
|
#9 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 2,309
|
Well later I will try modding that guestbook proggy...
I can't figure out how to use this notetablight program any differently than Notepad
Cody |
| |
August 11th, 2002, 08:38 PM
|
#10 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Iowa
Posts: 2,879
|
Note Tab Light is WAY different than notepad...... so many features it will make your head spin once you catch on too them.
It has been awhile since I used the light version...... but I know it had "clipbooks" available on it. Do you see the bar at the bottom that has html etc on the tabs? If you click on them a bar on the left opens up and you can click on those items..... in the html clipbook if you click on table you are asked how many rows etc ?????? Anyway........ you can make your own and have it ask you for your information and it can automatically post that with whatever predetermined html code you want also........... works great for me if I'm doing some ebay sales...... can create mult pages very fast by creating a clipbook and have it ask for price description etc etc...... keep digging into it..... I think you will love it if you code any by hand. There should be a section on clipbooks on the website www.notetab.com http://www.notetab.net/html/clipbar.htm Good page here!! http://www.notetab.com/libraries.htm http://junior.apk.net/~jbarta/notetab/
Just some good links for clipbar macro programming... it really is easy once you get the hang of it...
HTH's |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |