|
Sei piccoli applicativi
per chi costruisce un sito
(Immagini di 3 applicativi diversi / documentazione allegata) |
|
|
Code2HTML - There's a single application window. The left side shows source directories and files (to locate your source code) and the right side shows the destination for your HTML files. If you click the "Use same directory" checkbox (default), the directories move in unison. That's the way I use it. If you'd rather have different source and destination directories, uncheck that box. The left window show files ending in ".c*", ".pl", or ".cgi". Find a source file that you want to turn into a web page, click it, then click the Convert button. If your C++ program was called myprogram.cpp, an HTML file named myprogram.htm is created. Done. If you want a different name for the HTML file, a box is provided for typing the name you want. FileNOTE - This program is just a simple text editor that lets you quickly add the exact names of all files from a directory into your text document. There's a single application window. The top of the screen is a regular old text editor window. It's got the usual File menu: New, Open, Save, Save As, and Exit. And it's got the normal Cut-Copy-Paste Edit menu. The controls at the bottom left let you browse your disk drives and list the contents of the directories. Click on a filename in the list, then click the Copy this filename button, and the filename is inserted into your document. Click the Copy all filenames button, and all filenames from the current directory are inserted in the document. The option buttons at the bottom center let you choose whether just the filenames are inserted (Filename only), or whether full path and filename is used (File and path). If you choose Pathname only, when you click the Copy this filename button just the current drive/directory pathname is inserted, without any filename attached. If you click on any type of ASCII text file, you can click the Show contents button and it will attempt to display the contents of the file in the small window to the right. If you try to open a large text file or a non-text file you'll be told there was an error opening the file. If so, click Okay and go on to other things. HTML
Image Index -
This program looks through directories, starting wherever you choose
and working down, and creates a web page for each directory that has
links to every GIF and JPEG image in that directory. The webpage in
each directory is named imgindex.htm.A file named imgroot.htm is placed
in the directory in which you started. imgroot.htm has links to every
imgindex.htm page below it. (Don't pronounce it "I am groot"!
It's abbreviated from "image root". My brain was temporarily
stuck back in the bad old days of 8 letter filenames. Sorry...). Navigate
to the top-level directory where you want to generate the root file.
This directory and every directory within will be scanned, and an
index file created for each.Click GIF, JPEG, or Both to determine
which files are linked. Usually you'll use Both. Click the Create
HTML Index button. Done.Exit the program, and find the imgroot.htm
file and double-click it to open it in your browser. Alternately,
go to File/Open in your browser and find the imgroot.htm file. Have
fun. You can also open any imgindex.htm file directly. If you add
or delete files from any of the indexed directories, simply run this
program and click Create HTML Index again and all the index files
will be replaced with updated versions.
|
![]() |
![]() |
|
![]() |
|
|
JPEG Photo Organizer - This program lets you view and organize the photo files stored on your disks. It works with JPG, TIF, and BMP files. Most digital cameras produce JPG images. JPG is also the most common format found on the Internet. The program works by letting you navigate through directories on your disk drive. Any qualifying image files are displayed in the right-side panel of the main window. GIF and JPEG Viewer - This program lets you inspect GIF and/or JPEG images within directories on your disk. It was written mostly for displaying all those little images, lines, buttons, and backgrounds that you wind up using when creating web pages. I'm often creating web pages and looking for a specific type of image that I know I have laying around somewhere. This is one tool I use to find it. The other is the HTML Image Index program. Photo
Scale and Rotate
- This
is a sad commentary, but I wrote this one in about an hour while on
vacation. I'd brought a small notebook computer so I could keep up with
some e-mail, and a digital camera so I could send electronic postcards
to some family and friends. That much was fine. But on the first day
I discovered to my dismay that I hadn't loaded any graphics software
onto the notebook. Some pictures were coming out sideways, and all were
too large for convenient e-mail. Major "oops", until I realized
I DID have Visual Basic installed, and I'd included the ImageKnife control
(now available through Olympus). So I used its help file and quickly
zapped together this program to resize and rotate my digital photographs
so they fit and looked nice in the e-mails I was sending. Hey, it works,
and it's small and elegant... |
|