网页快讯(Web Slice)是一种在Internet Explorer 8 Beta 1引进的消息来源技术,它允许网页的某些部分被订阅。[1][2][3][4]Internet Explorer允许用户于展开的窗口预览被订阅的网页快讯。[5]网页快讯是基于hAtom英语hAtom微格式的。[6]

网页快讯
IE8 收藏夹栏于一飞出窗口中显示网页快讯
开发者微软
最新版本
0.9
格式类型网络连锁屏幕抓取
扩展自hAtom微格式
免费格式?是,作为微软开放规范承诺的一部分
网站Web Slice Format Specification - Version 0.9

微软开发了网页快讯格式,而且在Microsoft开放规范承诺英语Microsoft Open Specification Promise下出版了一个规范。[6]该规范不由任何独立标准机构发表。截至2012年,Internet Explorer 8和9(及IE 10桌面版)是仅有的原生支持网页快讯的浏览器,虽然Mozilla Firefox可以通过一个插件英语Add-on (Mozilla)Webchunks支持它。[7]

实施 编辑

网页快讯有9个属性:网页快讯的id、条目标题、条目内容、结束时间、替代显示源、替代导航、替代更新源,和生存时间。[6]3个必要的属性是:网页快讯的id、条目标题、和条目内容。

为了禁用一个网页上的网页快讯,添加[8]

<meta name="slice" scheme="IE" content="off"/>

指定具有多个网页快讯的页面上的默认网页快讯,添加[8]

<link
    rel="default-slice"
    type="application/x-hatom"
    href="id of webslice"
 />

示例网页快讯 编辑

<div class="hslice" id = "hslice-id goes here">
  <!-- The ID of the hSlice -->
    <div style="display:none" class="entry-title">Title goes here</div>
      <!-- The title -->
    <span class="ttl" style="display:none">360</span>
      <!-- How often to refresh in minutes -->
    <abbr class="endtime" title="10 Jan 2012 00:00:00 UTC"></abbr>
      <!-- When the link expires -->
    <div class="entry-content">
        The content goes here
    </div>
</div>

Mozilla Firefox 编辑

尽管Firefox对网页快讯没有内置的支持,它已有给予其阅读网页快讯的能力的扩展。

WebChunks 编辑

WebChunks是一个Firefox 3对微软的网页快讯的实现。它使用户能够通过在一个新工具栏中添加书签的专用的源「关注」网页的一个区域。通过Greasemonkey,WebChunks可以向任意网页中插入网页快讯的标记以使WebChunks扩展处理它。[7][9][10][11][12][13]

Fireclip 编辑

FireClip是一个允许用户「剪辑出」一个网站的某些部分以及监视它们的改变的Firefox加载项。它让用户以和网页快讯类似的方式跟踪一个网站的特定部分。[14][15][16][17][18][19]

PageSlices 编辑

PageSlices也是一个Firefox加载项。它不仅让用户能够存储网站的部分,而且可以通过添加到自定义页面对它们进行组织。

Google Chrome 编辑

像Firefox一样,Google Chrome没有对网页快讯的内置支持。但是,Chrome 4新增的扩展API英语Google Chrome Extensions允许扩展被创建,以给予相对简单的从任何网页上的任何内容创建任意的网页快讯[20]的能力。

Opera 编辑

尽管Opera 10曾被传闻具有对网页快讯的支持,这并没有成为现实。[21][22] 但Opera有一个类似于网页快讯的,让网页显示于使用者的桌面上的「widgetize」功能。[23]

参见 编辑

参考 编辑

  1. ^ Bishop, Todd. Microsoft shows IE8 Activities, 'WebSlices'. Seattle Post-Intelligencer. 2008-03-05 [2010-02-11]. (原始内容存档于2012-07-11). 
  2. ^ Foley, Mary Jo. IE 8 to feature WebSlices, Activities. ZDNet. 2008-03-04 [2010-02-11]. (原始内容存档于2008-03-06). 
  3. ^ Web Slices. Internet Explorer 8: Features. Microsoft. [7 February 2010]. (原始内容存档于2011-03-16). 
  4. ^ Internet Explorer 8 Readiness Tollkit - Web Slices. Microsoft. [9 February 2010]. (原始内容存档于2011-03-14). 
  5. ^ Konigsburg, Eitan. Internet Explorer 8: Web Slices. First Look. The New York Times. 4 February 2009 [7 February 2010]. (原始内容存档于2020-08-11). 
  6. ^ 6.0 6.1 6.2 Web Slice Format Specification - Version 0.9. MSDN. Microsoft. [7 February 2010]. (原始内容存档于2016-05-09). 
  7. ^ 7.0 7.1 glazou. WebChunks. Mozilla. September 4, 2008 [15 February 2010]. (原始内容存档于2012-10-12). 
  8. ^ 8.0 8.1 Subscribing to Content with Web Slices. Microsoft. [7 February 2010]. (原始内容存档于2016-05-23). 
  9. ^ Vadukut, Sidin. Nice try IE8, but Mozilla slices better. LiveMint. 2009-01-28 [2010-02-11]. (原始内容存档于2021-01-21). 
  10. ^ Cabello, Percy. WebChunks: even better than the real thing. Mozilla Links. Mozilla. 2008-09-08 [2010-02-11]. (原始内容存档于2010-12-21). 
  11. ^ Cabello, Percy. IE 8 Activities and WebSlices for Firefox. Mozilla Links. Mozilla. 2008-03-11 [2010-02-11]. (原始内容存档于2010-05-22). 
  12. ^ Pash, Adam. WebChunks Puts Dynamic Information from Any Web Site in Your Toolbar - Firefox Extensions. Lifehacker. 2008-09-08 [2010-02-11]. (原始内容存档于2016-08-25). 
  13. ^ Ryan. IE8 Activities & WebSlices for Firefox. Cybernetnews.com. 2008-03-11 [2010-02-11]. (原始内容存档于2016-03-27). 
  14. ^ Kashyap, Varun. How To Add 20 Best Features Of Other Browsers to Firefox | The Best Article Every day. Bspcn.com. 2009-12-07 [2010-02-11]. (原始内容存档于2010-02-14). 
  15. ^ Han, Ming. Fireclip. Mozilla. January 8, 2009 [15 February 2010]. (原始内容存档于2012-10-12). 
  16. ^ Fireclip - Take back the web. Piece by piece. Fireclip.awardspace.info. [2010-02-11]. (原始内容存档于2021-01-25). 
  17. ^ Purdy, Kevin. Fireclip Brings Mac-Like Web Clipping to Firefox - Downloads. Lifehacker. 2009-01-13 [2010-02-11]. (原始内容存档于2014-02-26). 
  18. ^ Amit Agarwal. Track Specific Portions of any Web Page with FireClip. Labnol.org. 2009-01-13 [2010-02-11]. (原始内容存档于2009-09-17). 
  19. ^ Buildling Better Webs. Slideshare.net. [2010-02-11]. (原始内容存档于2016-03-03). 
  20. ^ Arbitrary Web Slices. [2012-09-24]. (原始内容存档于2010-04-12). 
  21. ^ Lipskas, Vygantas. Rumor: Opera 10 to Include Web Slices. FavBrowser.com. March 17, 2009 [12 April 2010]. (原始内容存档于2021-01-18). 
  22. ^ Opera 10 to Include Web Slices?. WebUpd8. 17 March 2009 [12 April 2010]. (原始内容存档于2021-01-19).  Authors list列表中的|first1=缺少|last1= (帮助)
  23. ^ Prism-like widget creator. (原始内容存档于2011-06-13). 

外部链接 编辑

开发 编辑