(exporting directory structure to html file, printing directory structure, creating sitemaps, sitemap maker, folder list).
This application simply reads the given directory and it's subdirectories, and produces .htm file basing on a given template. The result file can be used to print out the contents of the folder, or as a sitemap of your website.
Note: this program can't read your website online, it also doesn't understand external URLs, like: www.konradp.com, it only reads and exports a folder.
Also, this application was created for myself, then I only added this help doc. and a few other things, and published. This means it is not very strongly tested, but it worked for me fine, so I assume it will work for you too.
So, there are two ways you can use this program: creating sitemaps (for websites) and simply getting a contents of a folder.
By the way - if you're a webmaster, I'm pretty sure you will like Ka Log Analyzer
Free contact form, not only for webmasters!
Corlive.com: free contact form : E-mails are unreliable. The delivery is never guaranteed, because of anti-spam software's "false positives". Corlive.com eliminates this problem entirely, because only humans can send messages. No SPAM, no undelivered e-mails, no e-mails! See how it is done, visit Corlive.com: your contact form. It's free.
Open the program.
You will be prompted for a profile to load, choose anything, e.g. "contents of a directory.sitemap_creator_options".
Specify the Directory to read (at the top-left part of the dialog).
Press Do It! button,or press Enter.
One file - sitemap.htm - will be created and opened.
Directory to read. The folder to read, also there will be created an output file.
Output file's name. Name of the file to create, will be created in a gived folder.
More options... Below.
Open profile. Opening a previously saved profile.
Save as profile. Saves current settings to a profile. After changing settings you have to save them, you will be not prompted for this.
Do it!. Do it's job.
Program will use texts in these fields, when creating file. You can use macros (%MacroName%), which will be replaced with a value. For example: %fName% will be replaced with a name of the file\folder.
This is used at the beginning of the result file.
This is used for a folder. Besides you may define: Level down (when program enters the folder), and Level up (when it leaves a folder). Usually you want to use <ul> and then </ul>.
This is used when a file is found. Typical macro would be: <a href="%fRelativePath%">%AutoHrefText%</a> which will create a relative URL to a file.
Used when all the job is finished.
All the %% macros will be replaced with an adequate information. These macros are supported:
"%fTitle%" - files'\folder's title, e.g. notepad
"%fName%" - files'\folder's name, e.g. notepad.exe
"%fRelativePath%" - files'\folder's relative path to the start folder.
"%fAbsoluteLocalPath%" - files'\folder's absolute path.
"%indentation%" - rather not used
"%domain%" - domain url, if you set it up in More options... dialog
"%autoHrefText%" - it's a special macro for creating sitemaps. Sitemap Creator will first try to extract a title of a htm document, if fails, then takes name of the file.
"%fParentName%" - parent folder's name.
"%curDate%"- Current date
"%curTime%" - Current time.
"%fSizeb%" - file's size in bytes.
"%fDateTime%" - file's modification date and time. In case of folders this is creation date and time.
"%fDateTimeFormat(choosen_format)%" - file's modification date and time including choosen format. In case of
folders this is creation date and time.
An example: %fDateTimeFormat(%Y-%m-%d)%
%a Abbreviated weekday name * Thu
%A Full weekday name * Thursday
%b Abbreviated month name * Aug
%B Full month name * August
%c Date and time representation * Thu Aug 23 14:55:02 2001
%d Day of the month (01-31) 23
%H Hour in 24h format (00-23) 14
%I Hour in 12h format (01-12) 02
%j Day of the year (001-366) 235
%m Month as a decimal number (01-12) 08
%M Minute (00-59) 55
%p AM or PM designation PM
%S Second (00-61) 02
%U Week number with the first Sunday as the first day of week one (00-53) 33
%w Weekday as a decimal number with Sunday as 0 (0-6) 4
%W Week number with the first Monday as the first day of week one (00-53) 34
%x Date representation * 08/23/01
%X Time representation * 14:55:02
%y Year, last two digits (00-99) 01
%Y Year 2001
%Z Timezone name or abbreviation CDT
%% A % sign %
"%ImageThumb%" - if an image, this will produce a small thumb.
Additionally, using e.g. %fRelativePathWeb% will bring slightly different result - the spaces (ASCII code: 32) will be replaced with %20, to make it conforming to html proper code. So, you can also use these macros:
"%fTitleWeb%" - files'\folder's title, e.g. notepad
"%fNameWeb%" - files'\folder's name, e.g. notepad.exe
"%fRelativePathWeb%" - files'\folder's relative path to the start folder.
"%fAbsoluteLocalPathWeb%" - files'\folder's absolute path.
"%fParentNameWeb%" - parent folder's name.
<h3><a href="%fRelativePath%">%AutoHrefText%</a></h3> will produce a link to a file\folder, relative to the start folder.
By clicking the More options... button you may specify more options.
This is actually why I wrote this application. I didn't find any program creating sitemaps, which would produce something what really looks like a sitemap. Most of them were creating simple file consisting of a directory structure, which is not what I wanted. Taking my own web as an example, there is a folder http://www.konradp.com/products. When using other programs, this folder was listed, and then an index.htm file being there. Since this is a website, there is no difference (index.htm will be open anyway), and what's more important - I simply didn't want this and other directories to be listed. Yes, I wanted "products" to be listed, but pointing to an index.htm file.
Besides, the listing should rather not be in alphabetical order, because it's rather not very accurate. The importance of the pages should be taken into a consideration.
So here we are. Options (they are typical for sitemaps, you rather don't want to use them when you want to simply get a content of a folder):
Use index.htm as a link text for folders. If ON, Sitemap creator will look at index.htm file, when trying to get a href text for a folder. Use with %AutoHrefText% macro.
Use "link counter when deciding about the order. If ON, SiteMap Creator will first create internal links' information of website, and the order of listed pages will be based on this information. More "important" pages will be listed before others.
Exclude not linked pages. Files\folders not being linked, will not be listed.
Exclude files\folders: files\folders consisting of the texts you specify here will not be listed, please don't use regular expression, it's not supported. To exclude all folders consisting of "private" in name click the "..." line, and type in private. Press delete key to remove one.
Add signature. If OFF, then the signature ("Generated with Sitemap Creator, www.konradp.com") will not be added.
Given that the program is in: c:/program files/sitemap creator/
"c:/program files/sitemap creator/sitemap_creator.exe" -profile "profileTitleOrPath"
Executes the program with given profile.
"c:/program files/sitemap creator/sitemap_creator.exe" "c:/my web" -profile "profileTitleOrPath"
Executes the program with the given profile, and given directory (sitemap will be created by reading the given directory and output file will be created in that directory).
Sitemap Creator will do it's job and exit. e.g.:
"c:/program files/sitemap creator/sitemap_creator.exe" "c:/my web" -profile "profileTitleOrPath" -JustDoIt
Note that, as usually, when there are whitespaces in paths, then it must be enclosed in double quotes. As a general rule, it's always good to do that.
Ac Browser Plus
File Manager for windows, with integrated FTP client and image viewer
Store your tasks,contacts, todos, using folders and tags!
Free contact form
Corlive.com: Spam free email alternative - web based application.
Ka Log Analyzer
Detailed website logs analysis
One application to rule them all...
Simple, yet powerful task scheduler
Imgares enables you to shrink batch of photos in three easy steps.
Automatically shutdowns the system (after a specified amount of time)
More cool software available at konradp.com
|Polish version (wersja Polska)|
|Webmaster tools online|
|kwiki - konradp.com's wiki|
|Windows processes info|
|A few links|