Kifu to HTML Version 2.1 Help
-
Overview
-
Basic Usage
-
Explanation of Each Field
-
Copyrights and Others
-
Restrictions
-
Contents
-
History of Amendments
1. Overview
kifu2html.html converts .kif files (Japanese most popular shogi data format)
to HTML data. It requires a browser which supports JavaScript1.1 (e.g. Netscape3.0
or later, or Internet Explorer4.0 or larter.)
The genelated HTML files will work in both your local computer and www home page.
The freeware for creating .kif file (Kifu) can be obtained from Mr. Yoshikazu Kakinoki (who designed the .kif file format)'s home page.
NOTE!
If you have any questions, please do not hesitate to ask me([email protected]). Please do not contact to anybody else.
Back to the Top
2. Basic Usage
-
Open a .kif file in a text editor and copy all text to the clip board.
-
Paste the contents of the clip board in the "Paste a .kif file" text box.
-
Click the "Convert" button.
-
The converted HTML will be output to the "HTML output area" text box
-
Select the contents of the "HTML output area" text box by clicking the "Select HTML" button.
-
Copy the selected text to the clipboard. (Usualy Ctrl+C)
-
Invoke a text editor and paste the contents of the clip board.
-
Save the pasted text with any name and extinsion .html or .htm.
-
Place the created HTML file in the same directory as the provided graphics dirctory (g). Then, you can replay the shogi game.
Back to the Top
3. Explanation of Each Field
-
"Past a .kif file"
The area for pasting (inputting) .kif file.
-
"HTML output area"
The area in which the converted HTML is output.
-
"Convert" Button
The button for starting conversion.
-
"Clear" Button
Clears the contents of both "Past a .kif file" and "HTML output area" text boxes.
-
"Select HTML" Button
Selects text in the "HTML output area" text box.
-
"Background"
-
"Tatami" Check Box (Default)
Uses Tatami.jpg as the background image.
-
"Other" Check Box
Uses a image specified in the text field below as the background image.
(Use the same format as you specify an image name for "BACKGROUND=" in the "BODY" tag of HTML.)
-
"Color" Check Box
Uses a color specified in the text field below as the background color.
(Use the same format as you specify a color code for "BGCOLOR=" in the "BODY" tag of HTML.)
-
"Text Color" Text Field
Specify your favorite text color. (Use the same format as you specify a color code for "TEXT=" in the "BODY" tag of HTML.) The default is #000000 (Black).
-
"Page Title"
-
Specify a page title (e.g. "My memorial battle Part1") if you like. If this filed is blank, title is be generated.
-
"Display title in a table" Check Box
The specified page title will be displayed in a table. Select this check box when the title is hard to read.
-
"Initial position"
-
"Start" Check Box (Default)
Displays the start position first.
-
"End" Chack Box
Displays the end position first.
-
"Output format"
-
"Japanese" Check Box (Default)
Generates the Japanese version HTML file.
-
"Worldwide" Check Box
Generates the worldwide version HTML file.
-
"Display format"
-
"Hide"
-
"Players" Check Box
Does not output the players' names.
-
"Information table" Check Box
Does not output the date, title, and formation information.
-
"Handicap" Check Box
Does not output the handicap information.
-
"Comment" Check Box
Does not generates the comment output area.
-
"Others"
-
"Write Players in tables" Check Box
Writes the player names in tables. Select this check box when the player names are hard to read.
-
"Move "Koma-dai" to left" Check Box
Places the Sente's koma-dai in the left side. Select this check box when you think the screen is too wide.
-
"Move comment area to right" Check Box
Generates the comment output area blow the shogi-ban.
-
"Show comments in a frame" Check Box
Outputs commants to a frame whose name is "comment". See provided Frametest.html, Frame1.html, and Frame2.html, and learn how to use this option.
Back to the Top
4. Copyrights and Others
-
Mr. Kakinoki has the copyright of graphics of shogi pieces provided by this archive (jskifu.zip and/or jskifu.lzh).
-
The methods for setting shogi board and moving pieces are based on the algorithm invesited by Mr. Stephen Pickles.
<Stephen Pickles'
Chess Corner>
-
Please do not use the provided files and files generated by using the files for commercial use without notice.
-
You can modify the provided files and files generated by using the files for personal use. However, please remain the link to Mr. Stephen Pickles' page and as possible. I don't have resposibility even if some troubles are caused by modifying the provided files and files generated by using the files. (I think it will not be happened.)
Back to the Top
5. Restrictions
-
If double-byte numeric characters are exist in comments, title name, player name, and/or formation name,the .kif file will not be converted correctly. In that case, change the numeric characters to single-byte characters.
-
The notation of peice movements shown in the generated HTML is not a official one. Search and other shogi page for learning the offical notation. (But it seems the notation is not standardized in all over the world yet.) So far, the following is the best page to learn shogi.
And the following page has a large amount of .kif data.
-
In Netcsape Navigator 3.x, all contentes disappear when you resize the window. It is a specification of Navigator. Use the reload command when you meet the problem. (or use Communicator or IE4.x).
Back to the Top
6. Contents
7. History of Amendments
<V2.1> 00/4/4
-
Data could not be converted correctly when more than 9 pawns are own by a player. And several bugs are fixed.
<V2.0> 99/2/3
-
Fixed the "Select HTML" button to be able to use it in Netscape. (Thanks! Mr. Kanayashiki.) And several bugs are fixed.
<V2.0b> 98/6/25
-
Several screen layouts are supported.
<V1.6> 98/4/23
-
Background image or color can be specified.
-
Initial position can be chosen between "Start" and "End".
-
English notations of peice movements are improved.
-
Notations of peice movements can be corrected by modifying array M.
-
Internal processes are totally changed.
<V1.02> 98/4/2
The following bugs are fixed.
-
The comments for the initial position was not displayed.
-
A garbage was displayed in Navgator 3.x.
-
Lines ware not changed automatically in the comment box.
Back to the Top
00/04/04 Takashi Kozuma ([email protected])
Mail: [email protected]
URL: http://member.nifty.ne.jp/kozuma/