想要从网站html页面创建chm文件 [英] Want to create chm file from website html pages

查看:149
本文介绍了想要从网站html页面创建chm文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些与网站集成的html页面.现在的要求是为所需页面创建一个.CHM文件.

I have some html pages which are integrated with a web site. Now the requirement is to create a .CHM file for the required pages.

手动执行此任务将花费大量时间. 请帮助我从网站中提取唯一的html文件,而不获取其css,js或其他文件.因为,除了.html外,我不希望其他文件.

To do this task manually will take a huge amount of time. Please help me to extract the only html files from the website without getting its css, js or other files. Because, I do not want other files except .html.

我将使用这些html文件并创建.CHM文件.

I will use those html files and create .CHM file.

此任务的主要目的是创建在线帮助.

The main purpose of this task is to create online help.

您的答案将不胜感激..:)

Your answer will be appreciated a lot.. :)

推荐答案

创建在线帮助(也称为帮助创作)是一项需要学习的任务.我不清楚您为什么要提取.css和.js.我认为您将需要.css例如稍后在您的在线帮助项目中进行.

Creating online help - also known as help authoring - is a task with a learning curve. It is not clear to me why you want to extract the .css and .js. I think you will need the .css e.g. in your online help project later.

可以将CHM文件视为经过压缩(编译)的网站.右侧帮助查看器的内容窗格像浏览器窗口一样显示内容.如果您希望通过.css看到与您网站上相同的格式,则必须将这些.css文件集成到CHM文件中.

A CHM file can be thought of as a zipped (compiled) web site. The content pane of the help viewer on the right displays the content like a browser window. If you want to see the same formatting by .css as on your web site you'll have to integrate these .css files into the CHM file.

这可能会成为一项耗时的工作,具体取决于您的网站结构和HTML文件内部的编码(例如CSS链接.一种方案是复制HTML文件,创建新的.css并根据需要更改CSS链接(可能是通过FAR,使用查找并替换")来更改结构化的子网站",如下所述,以准备CHM编译任务.

And this may become a time consuming task depending of your web site structure and coding inside of your HTML files e.g. the CSS links. A scenario could be to copy the HTML files, make a new .css and change the CSS links as needed (maybe by FAR with "Find And Replace") for a structured "sub web" as described below for preparing the CHM compile task.

在Internet上,您可以找到许多(有些昂贵的)工具来创建CHM文件. 我最喜欢的共享软件工具之一是Rob Chandler的FAR HTML( http://www.helpwaregroup.com/products/far ). 建议-向导很棒,FAR HTML可以进行30天的完整工作试用.要快速处理HTML文件或作者帮助项目,FAR HTML将为您节省大量时间.

On the Internet you can find many (some expensive) tools to create CHM files. One of my favorite shareware tool is Rob Chandler's FAR HTML (http://www.helpwaregroup.com/products/far). It's recommended - the wizards are great and FAR HTML has a 30-days full working trial. To quickly manipulate HTML files, or author help Projects FAR HTML will save you lots of time.

需要安装Microsft HTMLHelp Workshop.

It's required to install Microsft HTMLHelp Workshop.

请参阅: http://www.help-info.de/zh-CN/Help_Info_HTMLHelp/hh_download_install.htm

一个提示-启动时不要看FAR的所有选项.

One tip - don't look at all the options of FAR when starting.

  1. 将HTML文件复制到项目文件夹的结构化子文件夹中,例如:

  1. Copy your HTML files to structured subfolders of your project folder e.g.:

 welcome.htm 
 design.css 
 First_Steps\download.htm 
 First_Steps\starting_program.htm 
 How_to_extend\extend_menu.htm 
 How_to_extend\power_function.htm 
 images\gui_screenshot.jpg 

  • 将这些文件拖放到FAR HTML

  • Drag and drop these files to FAR HTML

    这篇关于想要从网站html页面创建chm文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆