Magic Magpie (quirrc) wrote in ljwin32_sema,
Magic Magpie


Now those of you who requested xhtml compliance can use it in Semagic because it is integrated with HTMLTidy ( ). This library is an HTML parser that can check and fix HTML in a desired way. Currently the library is used with default options and xhtml output turned on.The usage of the library is enabled in Options/Editor and works only in WYSIWYG mode i.e. when output of mshtml should be converted to proper HTML before posting entry or switching to HTML mode. Also when this option is enabled, <strong> and <em> that are generated by mshtml are replaced with <b> and <i>.
HTMLTidy is applied before conversion from <SPAN atomicselection="true" etc. to LJ tags so it may rename internal attributes making conversion impossible. Please do report if you will have any such problems when using lj-cut and lj-poll tags, complex code with many attributes etc. An example error that was already fixed is disappearing spaces between <div> tags when alignment attribute was set.
To quickly see what HTMLTidy does you can type some text in WYSIWYG mode, apply bold and other formatting, switch to HTML to see the code that mshtml generates, then enable option in Options/Editor, switch to WYSIWYG and back and compare.

Another new feature is ability to save and load settings from .ini file rather than registry. The file is saved in the installation folder, initial initialization of it occurs when you enable corresponding checkbox in Options/General. Working with registry is faster so better enable .ini file only if you really need it. Note that if you manually edit that file do save it in unicode format or the data will be corrupted. The size of.ini files is limited on windows 9x so that option is disabled to prevent data loss because typical size of settings in Semagic is significantly higher than that limit. Also note that it is for those who need to quickly run Semagic from removable drive in the first place, i.e. friends history is not saved etc. so to transfer settings to a new computer better export corresponding registry key via regedit (HKCU\Software\Alex Semenov\LivejournalU)

General reminder how to use Semagic with several accounts. If you have accounts with different usernames: type new username in the login window, select server and press login. If you have accounts with the same username: type anything to represent another account in the login window, go to server settings and change real username, press login.
Also note that posting to multiple journals works only with accounts listed in the login window, not with communities.

Download page

Tags: htmltidy
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded