Http://www.cnblogs.com/JamesLi2015/archive/2011/09/09/2172072.html
After years of experience in programming, the work will certainly encounter a lot of problems, but also through a variety of ways to solve. Whether it's searching the Internet or asking a colleague for help, in case of problems, the pages of this series of questions are saved so that they can be easily found later. In this way, with the accumulation of time, the content of the knowledge base will be more and more, how to organize these files, easy to find, has been working outside the direction of efforts.
Have used Evernote to build a variety of knowledge base, as shown, regularly take time to search the Internet, see good articles, are clipped down
A few months down, accumulated a few 10 trillion of data, most of them contain simple format text data, can be formatted, printed, very convenient. and Evernote This software is green version, altogether only 8M more. Each time a system is re-installed or the data is moved, it is copied along with the software.
The same name as Evernote is Microsoft's OneNote, has not liked Microsoft's binding style, in order to take notes, collect information, to install such a large software, and sometimes installation is not successful, the file is organized in a different way than Evernote, Evernote organizes your notes according to the database, you can put the relevant knowledge content in a database, OneNote is to organize notes according to the file name, compared to both, prefer Evernote style.
More time, busy work, no time to the Internet, has been waiting for free time, want to find a quiet place to study (library), and no conditions to the Internet, if you face such circumstances, recommend the following way to you, according to this step, you can achieve the same effect.
1 Download the Web file to the native disk
Data Loader is a software that I have developed to collect information. The text editor is the top blogger in the blog park, their articles are high quality, good reading effect, busy projects, busy work, often do not have time to read a page, and then copied to word, so I think with this software, categories, their articles, are downloaded to the local disk. After clicking the Start button, the daemon downloads their article to the local disk's G:\Document.
The format used is MHT format, you can save the picture, and MHT is the message format. If possible, it is also possible to save it in the Doc/docx format via an interop type, and the PDF format will do it, which is not difficult for programmers.
2 Power CHM debut, made into CHM format
Blog Park in the foundation blogger wrote the workflow series is very exciting, I use the Power CHM import directory, the effect is as follows
These are simple jobs, without the need for sophisticated technology, click File->import Directory. There may be pages that report a script error, no matter what, before you edit it in the back. Click Tools->chm Compile to generate the CHM file.
The Power CHM already has a built-in type library that compiles CHM files, without needing to install Help Workshop. By the way, look at its file structure, I feel particularly cordial to this hh.exe,hha.ddl, because I have also called it to generate CHM files, but did not think to do better, make good software like power chm. This makes me think, do the fatal shortcomings of technology, understand a little, but also know not fine, no in-depth research, taste the frog.
Wait for a while, drink a cup of tea to refresh, or eat an apple, after a moment, you can see the resulting CHM file, as shown in
We have easy access to the CHM format ebook. According to this method, you can do many ebooks.
Before my data loader is open for download, you can use other Web pages to download the software and download the webpage locally. Can not find, write a, call WebClient type, also should be an hour of things, not too difficult. Do not consider too many problems, such as multi-threading, such as asynchronous, you just need a small program to help you to download the specified page to the local, remember, first simplify the problem, to help achieve the ultimate goal.
3 editing CHM files into exquisite CHM ebooks
Each developer has different technology positioning points, different development stages have different knowledge requirements, so that the content of the CHM file should be trade-offs, to create the required ebook. Start the CHM Editor and open the Foundation.chm file that you just generated, as shown in
The CHM editor is dedicated to editing CHM files, which can be edited directly and saved instantly. Delete the unwanted articles, remove the unwanted parts, and save them, it is the special ebook we need. In addition, the CHM editor is also a good tool for making CHM files, with this tool, you can ignore the Web page
The existence of. Direct editing, instant Save, is the ebook file you need.
CHM format is still popular on the Windows platform e-book format files, exe format is easy to be reported virus, or infected, the format of the PDF is not convenient, missing the CHM file to the left of the tree navigation (although you can make bookmarks, but a lot of free books are not bookmarks, do it very troublesome), will be inferior to many. PDF, however, focuses on portable document formats, which are common formats, and CHM is only available for Windows platforms.
Worked for years. NET programmer, have you built your own development knowledge base? Share the experience of making ebooks