Hello.
Is there anybody in there?
Just nod if you can hear me.
Is there anyone home?
Home Blog About Contact
News

Varia

Here are various small/incomplete/unfinished programs


rtf2html

Download rtf2html.exe (208 KB)

rtf2html is a small application for converting rtf (Rich Text Format) to HTML (Hypertext Markup Language) files. rtf2html utlizes Project Jedi TJvRichEditToHtml component and does not attempt to convert tabs, tables, images, or other advanced RTF markup instructions.

rtf2html can be run as a normal GUI program or from commandline (latter is useful if you want to use rtf2html in script or program).

rtf2html window

HTML output from rtf2html:

The Adventures of Tom Sawyer

Mark Twa
in (Samuel Langhorne Clemens)


Preface
Most of the adventures recorded in this book really occurred; one or two were experiences of my own, the rest those of boys who were schoolmates of mine. Huckleberry Finn is drawn from life; Tom Sawyer also, but not from an individual, he is a combination of the characteristics of three boys whom I knew, and therefore belongs to the composite order of architecture. The odd superstitions touched upon were all prevalent among children and slaves in the West at the period of this story -- that is to say, thirty or forty years ago.
Although my book is intended mainly for the entertainment of boys and girls, I hope it will not be shunned by men and women on that account, for part of my plan has been to try to pleasantly remind adults of what they once were themselves, and of how they felt and thought and talked, and what queer enterprises they sometimes engaged in.
~The Author, Hartford, 1876


Note that you don't have to specify output file or title. rtf2html will use filename and parh from the input file and replace .rtf extension with html; also input filename without path or extension will be used as a title if not otherwise specified. If output file exists, it will be overwritten.

Using rtf2html from command line

  • rtf2html /? will display a help message
  • rtf2html "rtf-infile" - convert rtf-infile to html file, using input filename as an output filename (extension will be changed, of course). Quotes are needed if filename or path contains spaces; path is only needed if file is not in the same folder as rtf2html.exe
  • rtf2html "rtf-infile" "html-outfile"

In addition, you can specify command "Open". That will open resulting html file after conversion.

 

Examples:

rtf2html "c:\My Books\The Adventures Of Tom Sawyer.rtf"

rtf2html "c:\Tom Sawyer.rtf" Open

rtf2html "c:\Tom Sawyer.rtf" "c:\My Ebooks\Tom Sawyer.html"

rtf2html "c:\Tom Sawyer.rtf" "c:\My Ebooks\Tom Sawyer.html" Open

.

Unfortunately TJvRichEditToHtml is not very fast; converting of a big book may take up to minute or few.


Konverter

Download Konverter.rar (373.57 KB)

Konverter is my attempt to create simple plugin-based unit converter. I have no further interest in it after I finished Konverter and Plugin Manager, so I guess it is as ready as it will ever become. If you happen to like it and create plugins for it then you're most welcome to send them to me - I'll add them to Konverter.

KonverterPlugin manager


SimpleNFO

Download SimpleNFO.exe (194.5 KB)

Since many .nfo files are made on Linux, they have just linefeed instead of normal carriage return/linefeed combo. Therefore, on Windows text viewers they look garbled and rather strange. SimpleNFO can display such files normally, ie handle lf like in Linux. Note that on picture is options dialog, not main program window.

SimpleNFO

I don't really know why I made this small program.


lf2crlf

Download lf2crlf.zip (196.55 KB)

lf2crlf is a small utility to convert text files with Unix/Linux style line breaks (linefeed only) to Windows style line breaks (carriage return/linefeed combination)

 

'

Valid HTML 4.01 Transitional Valid CSS!