首页> 外国专利> Computer system and computer-implemented method for interpreting hypertext links in a document when including the document within another document

Computer system and computer-implemented method for interpreting hypertext links in a document when including the document within another document

机译:当将文档包含在另一个文档中时,用于解释文档中超文本链接的计算机系统和计算机实现的方法

摘要

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。使用确定的第二文档的有效基础参考,将对第三文档的相对参考转换为绝对参考。确定了第一个文档的有效基础参考。然后,使用第一文档的有效基础参考,将对第三文档的绝对参考转换为相对于第一文档的新的相对参考。然后将第二文档插入到第一文档中,同时将相对于第二文档相对于第三文档的相对引用替换为相对于第一文档相对于第三文档的新相对引用。

著录项

  • 公开/公告号US5890171A

    专利类型

  • 公开/公告日1999-03-30

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19960689307

  • 发明设计人 THOMAS P. BLUMER;THEODORE STEFANIK;

    申请日1996-08-06

  • 分类号G06F17/21;

  • 国家 US

  • 入库时间 2022-08-22 02:08:23

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号