solemnwarning / chmweb Goto Github PK
View Code? Open in Web Editor NEWTool for converting CHM files to a browsable set of web pages
License: GNU General Public License v2.0
Tool for converting CHM files to a browsable set of web pages
License: GNU General Public License v2.0
For reasons best known to Microsoft, some help files have links that invoke an ActiveX object via JavaScript, alongside their ordinary links which work just fine.
Example:
<OBJECT ID="hhobj_1" TYPE="application/x-oleobject" CLASSID="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="ALink,MENU">
<PARAM NAME="DefaultTopic" VALUE="../notopic_0pk4.htm">
<PARAM NAME="Item1" VALUE="">
<PARAM NAME="Item2" VALUE="_win32_getfileversioninfo">
</OBJECT>
...
<P><A HREF="JavaScript:hhobj_1.Click()"><B>GetFileVersionInfo</B></A> <BR>
Not 100% sure on the semantics of this yet, but it'd be nice to be able to generate HTML from multiple versions of the same CHMs (say, MSDN for example...) and have a link to see other versions on each page.
Basically unpack multiple chm files side-by-side into a common parent directory, with a shared TOC between them all.
7z
doesn't respect umask and seems to extract everything as 0600 (0700 for directories). Need a step which fixes up permissions afterwards.
High bit characters in content pages aren't encoded correctly.
We should either encode each content page according to the charset specified in the original, or encode as UTF-8 and replace the embedded content-type.
The Oct 2001 MSDN has a broken stylesheet which has been copied in several places with/without modifications.
I'm inclined to add a mechanism for patching files by checksum and shipping patches for known issues in existing CHMs.
Turns out some chm files have some files using one mix of cases in the htm filenames and a different mix in the hhc/links.
Yay!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.