Selective response to a comment line in a computer file
    1.
    发明授权
    Selective response to a comment line in a computer file 失效
    对计算机文件中注释行的选择性响应

    公开(公告)号:US6009441A

    公开(公告)日:1999-12-28

    申请号:US697967

    申请日:1996-09-03

    IPC分类号: G06F17/21 G06F17/22 G06F17/30

    摘要: A token identifies a special comment that includes information usable by a specific Web page editor. Tile information included within a special comment may include authoring state information, such as parameters used by "WEBBOT" components to provide extensions to hypertext markup language (HTML) features. When a Web page is opened, the editor parses each element on the page and determines if a comment is special by detecting the presence of a predefined token. In the preferred embodiment, the token is the word "WEBBOT." The information included within this special comment can include references to extensions to HTML tags, including those that are not known by the editor, and parameters required by HTML extensions. Since the special comment is in a format ignored by Web browsers, it does not impact upon the ability of a browser to render the page.

    摘要翻译: 令牌标识特殊注释,其中包含特定网页编辑器可用的信息。 包含在特殊注释中的瓦片信息可能包括创作状态信息,例如“WEBBOT”组件使用的参数来提供超文本标记语言(HTML)功能的扩展。 当打开网页时,编辑器解析页面上的每个元素,并通过检测预定义标记的存在来确定注释是否是特殊的。 在优选实施例中,令牌是单词“WEBBOT”。 包含在此特殊注释中的信息可以包括对HTML标签的扩展的引用,包括编辑器不知道的扩展,以及HTML扩展所需的参数。 由于特殊注释是Web浏览器忽略的格式,它不会影响浏览器渲染页面的能力。

    Computer system and computer-implemented method for interpreting
hypertext links in a document when including the document within
another document
    2.
    发明授权
    Computer system and computer-implemented method for interpreting hypertext links in a document when including the document within another document 失效
    用于在将文档包含在另一文档中时解释文档中的超文本链接的计算机系统和计算机实现的方法

    公开(公告)号:US5890171A

    公开(公告)日:1999-03-30

    申请号:US689307

    申请日:1996-08-06

    IPC分类号: G06F17/22 G06F17/24 G06F17/21

    CPC分类号: G06F17/24 G06F17/2241

    摘要: A method for rewriting document references such as URLs located in an included document, when an include operation is performed. The include operation may be performed by the server at any time, for example, when the including and included documents are stored on the server. One aspect of the invention is a process for inserting a second document into a first document, where the second document has a reference to a third document. The reference may be a link to the third document or may be an instruction to insert the third document. In this process, the second document is parsed to identify a relative reference to the third document with respect to the second document. An effective base reference for the second document is determined. In an HTML document, the effective base reference is the effective base URL. The relative reference to the third document is converted to an absolute reference using the determined effective base reference of the second document. An effective base reference for the first document is determined. The absolute reference to the third document is then converted to a new relative reference with respect to the first document, using the effective base reference of the first document. The second document is then inserted within the first document while replacing the relative reference to the third document with respect to the second document with the new relative reference to the third document with respect to the first document.

    摘要翻译: 当执行包含操作时,用于重写诸如位于所包含文档中的URL的文档引用的方法。 包括操作可以由服务器在任何时候执行,例如当包括和包括的文档被存储在服务器上时。 本发明的一个方面是将第二文档插入到第一文档中的过程,其中第二文档具有对第三文档的引用。 参考可以是到第三文档的链接,或者可以是插入第三文档的指令。 在该过程中,解析第二文档以识别关于第二文档对第三文档的相对参考。 确定第二份文件的有效基准。 在HTML文档中,有效的基本参考是有效的基本URL。 使用所确定的第二文档的有效基准,将对第三文档的相对参考转换为绝对参考。 确定第一个文件的有效基准。 然后,使用第一个文档的有效基准,将对第三个文档的绝对引用转换为相对于第一个文档的新的相对引用。 然后将第二文件插入到第一文档中,同时相对于第二文档替换与第三文档的相对参考相对于第一文档相对于第三文档的相对引用。