Code Monkey home page Code Monkey logo

chmweb's People

Contributors

solemnwarning avatar

Watchers

 avatar  avatar  avatar

chmweb's Issues

Rewrite links using the HTML Help ActiveX control

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>

Link between different versions of the same page

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.

Fix permissions

7z doesn't respect umask and seems to extract everything as 0600 (0700 for directories). Need a step which fixes up permissions afterwards.

Fix content page encodings

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.

Fix known-broken content

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.

Navigation sidebar improvements

  • Allow resizing (possibly going to require JS?)
  • Can we consolidate the sidebar into fewer HTML files and use another iframe from the wrapper page? Probably would JS shenanigans to collapse/highlight entries as necessary.
  • Force scroll position to currently active node on load, probably JS again...
  • Avoid wrapping if possible - dynamically size the sidebar? Enable horizontal scrollbar?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.