如何将额外数据添加到未映射到标准条目节点(标题,链接,ID,更新,摘要)的原子提要中?是否可以在此处添加我自己的自定义xml并仍然符合规范?
http://www.atomenabled.org/developers/syndication/atom-format-spec.php#extending_atom上记录了几种不同的方法.
<atom:entry>
<!--- all the normal stuff --->
<mything:Thing xmlns:mything="http://example.com/example.xsd">
<!--- whatever --->
</mything:Thing>
</atom:entry>
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
461 次 |
最近记录: |