分享

何为OPML?OPML文档样式。

 胡杨烈风 2006-09-29

 

"OPML an XML-based format that allows exchange of outline-structured information between applications running on different operating systems and environments.

The design goal is to have a transparently simple, self-documenting, extensible and human readable format that‘s capable of representing a wide variety of data that‘s easily browsed and edited. As the format evolves this goal will be preserved. It should be possible for a reasonably technical person to fully understand the format with a quick read of a single Web page.
"

  以上是来自OPML官方网站的解释。OPML(Outline Processor Markup Language)其实建立在XML基础上的“大纲处理标记语言”,主要用于描述一份资料的结构,这份资料可能是计划书、黄页的目录,甚至是MP3的播放清单。如果每个软件可以遵循OPML的格式对所处理资料输入、输出,那这些信息就可以在不同系统不同软件之间传递,使不同软件实现直接“对话”。

家里的电脑出了问题,RSSbandit不能启动,很是伤脑筋。没办法,feeddemon刚刚有1.0 final trial版本出来,先用着把,30次使用限制,每天一次,至少也可以用一个人了。
其实OPML也不是什么复杂东西,装好feeddemon以后,找了份里面的opml文件来看。其实就是一份格式化的xml文化,用来记录网站rss新闻的一个xml集合。
样式如下


<?xml version="1.0"?>
<opml version="1.1" xmlns:fd="http://www./feeddemon/xmlns/1.0/">
<head>
<title>Technology</title>
</head>
<body>
<outline text="Ars Technica" title="Ars Technica" type="rss" version="RSS" xmlUrl="http:///etc/rdf/ars.rdf" htmlUrl="http://www." description="Ars Technica"/>
<outline text="BBC News | Technology | UK Edition" title="BBC News | Technology | UK Edition" type="rss" version="RSS" xmlUrl="http://www./syndication/feeds/news/ukfs_news/technology/rss091.xml" htmlUrl="http://news./go/click/rss/0.91/public/-/1/hi/technology/default.stm" description="BBC News | Technology | UK Edition"/>
<outline text="Clay Shirky's Essays" title="Clay Shirky's Essays" type="rss" version="RSS" xmlUrl="http:///writings/rss.cgi" htmlUrl="http:///writings/rss.cgi" description="Clay Shirky's Essays"/>
<outline text="Creative Commons: weblog" title="Creative Commons: weblog" type="rss" version="RSS" xmlUrl="http:///weblog/rss" htmlUrl="http:///weblog/" description="Creative Commons: weblog"/>
<outline text="Dan Gillmor's eJournal" title="Dan Gillmor's eJournal" type="rss" version="RSS" xmlUrl="http://weblog./column/dangillmor/index.xml" htmlUrl="http://weblog./column/dangillmor/" description="Dan Gillmor's eJournal"/>
<outline text="Extremetech" title="Extremetech" type="rss" version="RSS" xmlUrl="http://rssnewsapps./extreme.xml" htmlUrl="http://www." description="Extremetech"/>
<outline text="Geek News Central" title="Geek News Central" type="rss" version="RSS" xmlUrl="http://www./index.xml" htmlUrl="http://www./" description="Geek News Central"/>
<outline text="InfoWorld: Top News" title="InfoWorld: Top News" type="rss" version="RSS" xmlUrl="http://www./rss/news.rdf" htmlUrl="http://www./news/index.html" description="InfoWorld: Top News"/>
<outline text="Jeremy Allaire's Radio" title="Jeremy Allaire's Radio" type="rss" version="RSS" xmlUrl="http://radio./0113297/rss.xml" description="Jeremy Allaire's Radio"/>
<outline text="Jon Udell: InfoWorld" title="Jon Udell: InfoWorld" type="rss" version="RSS" xmlUrl="http://weblog./udell/categories/infoworld/rss.xml" htmlUrl="http://weblog./udell/categories/infoworld/" description="Jon Udell: InfoWorld"/>
<outline text="Lessig News" title="Lessig News" type="rss" version="RSS" xmlUrl="http:///index.rdf" htmlUrl="http://cyberlaw./lessig/" description="Columns, interviews, relevant articles, news on Lessig."/>
<outline text="Microsoft Watch from Mary Jo Foley" title="Microsoft Watch from Mary Jo Foley" type="rss" version="RSS" xmlUrl="http://rssnewsapps./msw.xml" htmlUrl="http://www." description="What's next for Microsoft? Find out first with exclusive news and analysis from Mary Jo Foley and Microsoft Watch."/>
<outline text="New York Times: Technology" title="New York Times: Technology" type="rss" version="RSS" xmlUrl="http://partners./nytRss/technology.xml" htmlUrl="http://www./pages/technology/index.html" description="New York Times: Technology"/>
<outline text="SiliconInsider" title="SiliconInsider" type="rss" version="RSS" xmlUrl="http://my.abcnews./rsspublic/siliconinsider_rss093.xml" description="SiliconInsider"/>
<outline text="The Doc Searls Weblog" title="The Doc Searls Weblog" type="rss" version="RSS" xmlUrl="http://partners./people/docSearls.xml" htmlUrl="http://doc./" description="The Continuing End of Business As Usual"/>
<outline text="The Register" title="The Register" type="rss" version="RSS" xmlUrl="http://www./tonys/slashdot.rdf" htmlUrl="http://www." description="The Register"/>
<outline text="Tomalak's Realm" title="Tomalak's Realm" type="rss" version="RSS" xmlUrl="http://static./tomalak/links2.xml" htmlUrl="http://www./" description="Tomalak's Realm"/>
</body>
</opml>

看来,自己做一份自己的OPML文件保存倒是个不错的主意。只是公司,家里两边的机器如何滤掉读过的信息,倒是个麻烦事情。现在讨厌用notebook,带来带去都觉得很不方便,虽然我的机器已经算很轻的了。PDA也是晾在一边,晚上睡前看一会儿文章而已。现在倒是有点怀念没有一堆机器在身边的日子了。:)

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多