質問

標準のエントリノード(タイトル、リンク、ID、更新、概要)にマッピングされない追加のデータをアトムフィードに追加するにはどうすればよいですか?ここに独自のカスタムxmlを追加しても、仕様に準拠することは可能ですか?

役に立ちましたか?

解決

http:// wwwに文書化されたいくつかの異なる方法があります。 .atomenabled.org / developers / syndication / atom-format-spec.php#extending_atom

拡張要素を最後に追加できます atom:entry

>
<atom:entry>
   <!--- all the normal stuff --->
   <mything:Thing xmlns:mything="http://example.com/example.xsd">
      <!--- whatever --->
   </mything:Thing>
</atom:entry>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top