Project: Webinterface II - Msg2Html Projektseite

AMBROSIA60-Portal  Webinterface II Project
Msg2Html

Mein Projekt Msg2Html ist vorerst einmal mit einer Testversion rev 2.24 abgeschlossen. Das Programm steht nicht zum Download bereit!!! Bei Interesse Netmail an 2:244/1120 ... ;-) Mit dieser Version bin ich in der Lage für mich selbst zumindest den Thread einiger Echoes synchron über HTTP mitzuverfolgen. Über die Message Nummer ist beim Wechsel von HTTP auf Golded ein doppeltes Lesen von Nachrichten zumindest auf ein Minimum reduziert.

Mit Msg2Html können Echoes im *.MSG Format nach HTML konvertiert werden. Mittels einer Konfigurationsdatei mit der Angabe des *.MSG Pfads und der Angabe des HTML Pfads werden alle *.MSGs jeweils in ein HTML File gewandelt.

begin_areas
1 NODES.024 F:\ECHOBASE\nodes024 I:\Apache\Apache2\WWWRoot\msg\nodes024
end_areas

Im Zusammmenhang mit der Konvertierung werden ein oder mehrere Indexfiles geschrieben, die eine Übersicht über die Nachrichten mit Absender, Empfänger, Subject und Nachrichtendatum im jeweiligen Board liefern.

Msg2Html Board Overview

Übersichten werden mit einer maximalen Anzahl von Einträgen definiert (default: 50). Werden eine grössere Anzahl von Nachrichten in einem Board verarbeitet, entstehen auch mehrere Indizes. Mittels einer Sprungauswahlliste (Links) können Indizes in grösseren Sprüngen übersprungen werden.
Mittels <Prev>ious + <Next> Buttons kann jeweils die vorherige oder nächste Indexseite geöffnet werden.

Durch Angabe des eigenen Sysop Namens in der Konfigurationsdatei werden die eigenen Mails oder die Mails an mich gesondert gekennzeichnet.

Msg2Html Board Overview, eigene Nachrichten gesondert gekennzeichnet

Bei der Konvertierung wird der Lastread Pointer berücksichtigt und in der Unterscheidung durch Fettschrift in der Übersicht (noch nicht gelesene Nachrichten) bzw. durch normale Schrift (bereits gelesene Nachrichten) unterschieden.

Msg2Html Board Overview, Lastread Pointer Kennzeichnung

Jede Nachricht ist mit einer eindeutigen Messagenumber definiert und kann durch direkte Auswahl direkt aufgerufen werden.

Msg2Html Message View

Zeichen werden standardmässig nach FTS5 Charset (ASCII ≥ 32 und ≤127) behandelt. Sonderzeichen über ASCII 127 werden, sofern möglich in Standardzeichen gewandelt. Nicht näher definierbare Zeichen werden durch "." ersetzt.

Threads werden farblich abgesetzt dargestellt, die die Lesbarkeit der Nachrichten erhöhen.

Msg2Html Message View



Der Synchronisations Prozess:

Msg2Html wird per Taskscheduler oder nach jedem Tossvorgang angestossen.
Msg2Html läuft in einem DOS Fenster unter OS/2, WinNT, W2K, XP, W2K3.

Usage:MSG2HTML <parm1> <parm2> <..>
MSG2HTML ?This Helpscreen
MSG2HTMLStandard Converting. converts all areas.
MSG2HTML -allStandard Converting. converts all areas.
MSG2HTML -a#Converts only area #.
MSG2HTML -rFull Reconversion of all or defined area(s).
MSG2HTMLlooks for the MSG2HTML.CFG-file.
MSG2HTML -c<configfile>use named config file.
* filename with drive and path accepted.

Bei der Synchronisation wird der Lastread Pointer der jeweiligen Area gelesen. Gleichzeitig wird aus einem im Konfigurationsfile zu definierendem Stampfile der Zustand nach der letzten Synchronisation ausgelesen. Mittels dieser 2 Informationen und der Pfadangaben versucht nun Msg2Html zu ermitteln welche Nachrichten neu oder aktuallisiert konvertiert werden müssen. Gleichzeitig werden die entsprechenden Indexfiles aktuallisiert. Es werden nur Nachrichten die neuer sind als der letzte Lastread Pointer Stand oder aber neue Nachrichten konvertiert.
Es werden Nachrichten beliebiger Länge konvertiert (64 Kb, 128 Kb sind kein Problem).



CSS:

Msg2Html unterstützt CSS. Somit sind beliebige Layouts erstellbar.




Security:

Msg2Html hat noch kein eingebautes Security System. Aus diesem Grund gibt es auch noch keine frei verfügbare Download Version.
Die Security wäre momentan nur mit einem Aufsatz und der Verlagerung des Nachrichtenbereichs in einen geschützten Bereich möglich.




Related Links:



MSG2HTML history:

7.12.06 v3.20
  *  Fixed split long lines without spaces at defined breakpoints.
     i.e. nodelist lines posting

19.2.06 v3.10
  +  add Logout option in Links options
     new cfg parameter LOGOUTOPTION <logout commandline>
     default logout commandline: /msg/login.php?op=logout

20.1.06 v3.00
  +  add html directory maintenance
     clean up old htm files.
     if msg# < htm# => del #.msg > max. #.msg
  *  stamp check by filedate/time does no longer work
     in evironment with msgbase cleanup
     (renumber, linking) 'cause filedate/time
     is todays date forever. Now using filecrc instead.
  +  add log infos about directory maintenance and msg2html execution
     (parameters logfile and loglevel)

19.7.05 v2.27
  +  add DNSDOMAIN configurable, will be used within title.

20.3.05 v2.25
  +  add htmlencode space to   conversion
     tables and other multiple space outputs garbled.
     fixed.
     init full reconversion by version increment from A to B.

7.3.05 v2.24
  +  Fixed columns in area message overview list (6%,20%,20%,38%,16%)
  +  Added CSS system.
     2 new parameters in config.
     INCCSS <complete css style sheet line>
     BGCLASS BODY section definition class

7.3.05 v2.23
  *  Msg2html.inc includes only one set of index files links
     from the last area no.
     if multiple areas converted only the last area no index overview
     will be written to msg2html.inc file for option selection list.
     Solution:
     renaming msg2html.inc files
      m2h00001.inc  for area 1
      m2h00002.inc  for area 2
      and so on
     Changes needs full reconvert. Logver incremented to 9.
     fixed.
  +  Added link to Areas Overview List in option selection list.
     Added cfg parameter AREALIST (like impressum).
     Add your AREAs LIST Overview file with full path as needed
     in your webserver to access this file.
     i.e.  http://yourdomain.net/msg/index.htm, /msg/index.htm
  *  Reset of m2h<areano>.inc file creation for every area.
     Fixed.

6.3.05 v2.22
  *  rmsg line 1007  out of memory
     fixed.
  +  add addtl. line by line readin for files > 8192 bytes
  *  fts5 charset test and htmlencoding routines modified
     for speed
  +  add display of remaining bytes to convert for long messages
     that are in read line by line mode to display that program
     works. As of time consuming charset and html encodings
     msg2html seems to be froozen. Display of remaining bytes to
     go displays that program is in execution.
  *  Deadlock possible in subwlf()
     search last space in line results in deadlock
     if no space in line or space position > linemax.
     Also deadlock appears if space found in position 1.
     fixed.

7.2.05 v2.21
  +  One html converted message did not display
     Checking resulting html file display a lot of special chars:
     "--- Снесла курочка дедушке 1.1.5-30228 сами знаете что.."
     "о"  will be automaticly converted to "<" by the integrated and
     modified fts5-charset test routine. After conversion "<" stucks
     the html display 'cause "<" is also a html special char.
     fixed.
     probably fixes other earlier problems:
     - html page that starts strikethru near the end of the page
     - html page that doesn't display the origin line
     - broken pages

7.2.05 v2.20
  +  feature request: use buttons for index, prev, next selections
     in msg view
  +  add buttons on top and bottom in msgview
  +  add buttons on top and bottom in index view
  *  changed naming convention of index files:
     i.e. index10000.htm   10.3 GT 8.3 format
     main index    : index.htm
     numbered index: i1.htm, i10000.htm
     changed naming convention to "i"+#### to handle index files > 999
  +  add include file solution for index files list
     add 2 parameters to cfg: incfile, inccmd
     incfile, location of physical include file msg2html can write
     inccmd, include command line to insert into index files for index
        files link list overview
  +  add index options link list to select index pages on greater distances
  +  add footer line with prog info and impressum
     impressum: a href link, cfg parameter IMPRESSUM and
                display system name @ org or sysops name
  *  fixed inccmd command line readin if command line includes ";" char
     this is the remark character by default in cfg
  i  some code cleanups
  +  add -R commandline parameter to full reconversion

5.2.05 v2.11
  *  fixed & HTML encode handling. changed order
  +  add addtl. special chars replacement
  *  changed title description to url::area::areaname::file.htm
  *  some quotes highlighting doesn't work
      DD>> text ....   works
      DD> A            doesn't work
     don't know if fix works. have no sample ...

3.2.05 v2.10
  +  add locking support (another process is running)
  *  completely rewritten index page generation
  +  added highlighting from/to sysops username mails
  +  marking of replyed phrases
  +  add HTML encode routine to handle german umlaut and special html chars
  *  totaly rewritten "Find Highest Message No." code. Using of low/level
     find first, find next file routines to identify highest and lowest
     message number in MSG path
  +  exclusion of special reply line
      Michiel van der Vlist -> Robert Bashe wrote:
     from to be highlighted
  *  made index page generation sync update more robust
  *  fixed strange #files handling under winnt by removing files#
     checking code
  *  changed from <pre> formated message to <samp> formated message display

3.2.05 v2.01
  i  feature request Highlighting of quotes >>

3.2.05 v2.00
  *  fixed strange footer creation handling conditions

1.2.05 v2.00
  +  add configuration file support
  +  add sync support
  +  add multiple areas support
  +  add use of lastread signaling
  +  add stampfile support (saves some informations between sessions)
  +  add incremental update (since lastread pointer position till the end)
  +  add split of long lines
  +  add highlighting unread messages

31.1.05 v1.00
  i  first try to use an html viewer for fidonet *.msg echo
     to follow the flood of mails in the FN_SYSOP area
     after an election took place, the EC failes posting
     the results ...
     As of the problem, of no nntp access to the internet
     (i.e. felten nntp gate) i've started conversion of
     *.msg into html to follow the fn_sysop's threads ...
     Later at home, to answer the marked messages for reply.
     1st structure for an index and for msg conversion.
     starting with <xml>, changed and using <pre> formated msg text


© 2003-2024 by Ulrich Schroeter   01378