[1] AtomPub の app:draft
要素は、
成員資源の可視性に関するクライアントの要求を表します。
AtomPub
仕様書: RFC 5023 - The Atom Publishing Protocol ( 版) http://tools.ietf.org/html/rfc5023#section-13.1.1
[5] この要素が示されていない場合、対応している鯖は
no
が指定されたものとして扱わなければなりません。
AtomPub
はてなダイアリーAtomPubでは、AtomPubで規定されているapp:draft要素を使用しません。はてなダイアリーでは日記エントリと下書きエントリを別々に管理しています。そのため、日記エントリと下書きエントリを一つのコレクションとして扱い、app:draft要素によって下書きかどうかを区別するような構成は不自然になります。むしろ、下書きエントリを日記エントリとして公開するという操作を行う仕組みであるほうが自然であると考え、以下のような方法をとっています。
To save an entry as Draft:
Blogger uses a namespace with an optional element called draft. The only valid children of draft are true and false. If draft is left out of a newly created post, it is assumed to be published. If draft is left out of an edited post then the post's draft status will not change. Here is an example of the syntax:
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
[8] Developer's Guide: Protocol | Blogger | Google Developers () https://developers.google.com/blogger/docs/2.0/developers_guide_protocol