Atom实例
2014-04-04 16:31
197 查看
示例[编辑]
一个Atom文档:<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Example Feed</title> <subtitle>A subtitle.</subtitle> <link href="http://example.org/feed/" rel="self" /> <link href="http://example.org/" /> <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id> <updated>2003-12-13T18:30:02Z</updated> <author> <name>John Doe</name> <email>johndoe@example.com</email> </author> <entry> <title>Atom-Powered Robots Run Amok</title> <link href="http://example.org/2003/12/13/atom03" /> <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html"/> <link rel="edit" href="http://example.org/2003/12/13/atom03/edit"/> <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> <updated>2003-12-13T18:30:02Z</updated> <summary>Some text.</summary> </entry> </feed>
包含于XHTML[编辑]
下列标签会被插入XHTML文档的头部以提供ATOM源的链接。<link href="atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
相关文章推荐
- asp.net中的服务器控件button的属性
- java中的经典问题:传值与传引用
- poj2184-01背包变形(正负背包)
- Unity3d 载入 C++/CLI (托管模式c++) 的动态库(DLL)
- hdu1867 KMP
- Unity 3D简介
- 两个世界,尽性知命
- starling 笔记
- 七步从AngularJS菜鸟到专家(7):Routing
- loginuser is not mapped错误
- SQL 创建数据表(CREATE TABLE)
- 支付宝面试题: 30秒内限制某方法被调用100次 (一个时间段限制方法被调用的次数)
- 发动机单体泵与高压共轨两者的区别
- linux内存和swap
- cocos2d-x动画加速与减速
- C#事件处理
- 七步从AngularJS菜鸟到专家(6):服务
- 免费阿里云服务器超爽体验(为阿里做个广告吧)
- [设计模式]解释器(Interpreter)之大胆向MM示爱吧
- 发动机单体泵与高压共轨两者的区别