تجميع ملفات المساعدة chm
تجميع ملفات المساعدة لميكروسوفت
Microsoft Compiled HTML Help
ملفات المساعدةلصفحات الأنترنت تصنع بواسطة أدوات مساعدة تحريرية. ميكروسوفت كدس وحمل ورش المساعدة(help) بطبعات مدعمة من Microsoft Windows وأتاح تلك الأدوات للتحميل. ويوجد أيضا a الكثير من أدوات التحرير من طرف ثالث متاحة.
قارىء ميكروسوفت هوتطوير HTML Help CHM format.
فى 2002, Microsoft أعرب عن بعض المخاطر الأمنية التى ترتبط بملفات .CHM format, بالإضافة الى بعض النشرات الأمنية المرتبطةبه وكذلك ال patches . ومنذ ذلك الحين أعربوا عن عدم تطويرهم .CHM format أكثر من ذلك, وسوف يركزون على جيل حديث من Windows Help يسمى Microsoft Assistance Markup Language في ال Windows Vista operating system.
التاريخ
- فبراير 1996 أعربت مايكروسوفت عن خطط لوقف تطوير WinHelp وبدء الهجريز علىHTML Help.
- أغسطس 1997 HTML Help 1.0 (HH 1.0) تم إطلاقه مع Internet Explorer 4.
- فبراير 1998 HTML Help 1.1a تم شحنه مع Windows 98.
- يناير 2000 HTML Help 1.3 تم شحنه مع Windows 2000.
- يوليو2000 HTML Help 1.32 أطلق مع Internet Explorer 5.5 وWindows Me.
- أكتوبر 2001 HTML Help 1.33 أطلق مع Internet Explorerستة وWindows XP.
- مارس 2001 مع WritersUA (سابقا WinWriters) مؤتمر, Microsoft أعربت خططا ل help platform Help 2, الجديد معتدا أيضا على صفحات الويب.
- يناير 2003 Microsoft قررت عدم إطلاق Microsoft Help 2
general Help platform
صيغة الملف
A CHM help file لديه ".chm" extension. ولديه الكثير من صفحات الويب مكتوبة بتتابع من HTML و hyperlinked table of contents. CHM format مثالية للقراءة والتصفح, حيث الملفات مفهرسة بغزارة . وكل الملفات مضغوطة بصيغة LZX compression. وكل CHM browsers لديها القدرة على إظهار a table of contents خارج نطاق text of the help file.
The file starts with bytes "ITSF" (in ASCII), for "Info-Tech Storage Format". The format has been partially reverse engineered and there are container and internal files specifications available.
On Windows computers, ملفات المساعدة تلك يمكن تجميعهاcompiled بواسطة hhc.exe, التى تطلق مجانية with the HTML Help Workshop.
There are some open source tools which can read and explore these files (see for example xCHM , KchmViewer , GnoCHM , Chmox for OS X , Chamonix for OS X , Help Explorer Viewer, or the Firefox add-on CHM Reader ), but they lack various features of the Microsoft Windows tools, most importantly a write support.
المزايا
» الملف أصغر من مثيله من HTML » Range of formatting options that HTML gives for text presentation » أمكانية البحث في تام النص » القدرة على تجميع CHM files في ملف واحدwith مشهجر TOC, index والبحث(see MSDN) » القدرة على خلق TOC and Topic مجلدات تحوى International Characters standard HTML Help will not generate these correctly.
التطبيقات
هذه الصيغة أساسا قصد حتى تكدس داخلها ملفات المساعدة , لكن أستخدامات أخرى سرعان ما أكتشفت. فهى عملية جدا ومناسبة لخزن وتجميع مئات بل وآلاف الصفحات الأنترنتية في ملف واحد saved HTML pages in one compact and browsable archive ومناسبة لخلق compact e-books. وبعض المستخدمين يخزنون فيها بياناتهم الشخصية, because it can organize them in an ordered hierarchical table and allows quick text searching.
إستخلاص الملفات الى صفحات ويب
On Windows, a CHM file can be extracted to plain HTML with the command: hh.exe -decompile extracted filename.chm This will decompress all files embedded in filename.chm to folder extracted.
or by using HTML Help Workshop.
On Windows, as a hack, select the topmost Topic, right-click and select Print. On the popup dialog, select "Print this heading and all subtopics.", click OK. Before selecting a printer, look in %HOMEPATH%\Local Settings\Temp for a file named ~hh*.htm. This is the concatinated HTML. The image reference will refer back to the .chm file at the time of the "print".
On Linux systems which use apt as a packaging tool, a CHM file is extracted to plain HTML with (first command is for a Debian based OS) $ sudo apt-get install libchm-bin $ extract_chmLib tero.chm tero/
Another useful set of tools for CHM files in non-Windows environments is the CHM Tools Package . Its available as source code, and includes a program, chmdump, which extracts the HTML from a CHM file into a separate directory.
Its also available for Mac OS X via MacPorts.
If MacPorts is installed on your system, you can type: $ sudo port install chmdump
at a Terminal prompt to install the package. You can then extract a CHM file with: $ chmdump chmfile.chm outdir
مشاكل معروفة
Some CHM files behave poorly under IE7. Printing Topics will crash the CHM viewer on malformed HTML.
أنظر أيضا
- Microsoft WinHelp
- Microsoft Help 2
- KDE WAR (file format)
- Comparison of documentation generators - for a list of programs that can generate CHM
المراجع
الإضافات
- iChm iChm for Mac OS X
- ArCHMock for Mac OS X
- Chmox for Mac OS X
- chmview for Windows
- xchm, cross-platform
- KchmViewer for KDE
- chm2pdf, cross-platform
- GnoCHM for GNOME
الروابط الخارجية
- HTML Help Web Page on MSDN
- Microsoft Help 2 Reference (part of Visual Studio SDK for VS7.1 and VS8.0)
- History of HTML Help
نطقب:Internet Explorer