[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reject or accept non-draft entries in Wordpress
- To: atom-protocol@xxxxxxx
- Subject: Re: Reject or accept non-draft entries in Wordpress
- From: "Teo Hui Ming" <teohuiming.work@xxxxxxxxx>
- Date: Sat, 26 Jan 2008 18:24:55 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=q/CcpoCOagieUCnAAKxbYDa1cK7KOdH1DUlhhxZ7W5U=; b=MDAjJlekqpnnwvz3qwmWWqy/E3Xd78Z+b5qarlsaIOX8l5b5SJEjdANDGRCuR9Ne9ZDX5xntCJHsBDjTfhup/QPJv7XE9VlL2DI5MDc7C560bWan6MX/igmqh2QDfyM9ckzm7ORqFlJvM54rBxpZj6yicQtvADSEJtDHeExczqc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JrjsIJCDgbv+ExLX72ijOlSwWcfrKRf21X1VKy5my8YITg4hDboQhhvxjC51/PH0T85JvrAKmDdThUxXKKrUFhId/Xibph2GcjqlvOlJBX6FxtTWTI3H04Lc4r8zij6iUHhQBCcfDClkm2Tni1AL1fs4sThHLdLDCKZU1weUBlc=
- In-reply-to: <>
- List-archive: <http://www.imc.org/atom-protocol/mail-archive/>
- List-id: <atom-protocol.imc.org>
- List-unsubscribe: <mailto:atom-protocol-request@imc.org?body=unsubscribe>
- References: <73ec599d0801250544i4467632jcbabbb423fef802f@xxxxxxxxxxxxxx> <>
- Sender: owner-atom-protocol@xxxxxxxxxxxx
Thanks for the replies. After some thoughts, I start to think that
WordPress may not need to ignore app:draft element, but should provide
a more informative error message. Rather than returning,
401 Unauthorized
"Sorry, you do not have the right to edit/publish new posts."
which can misled the users to think that they are not allowed to post
entries. Instead, it can inform users with limited right (e.g.
Contributor) that even they do not have the right to publish posts,
they can submit draft for review. In this way, the client-supplied
app:draft element is honored and the error message clearly inform the
users what went wrong.
On Jan 25, 2008 11:42 PM, Brian Smith <brian@xxxxxxxxxxxxxx> wrote:
> The specification doesn't prohibit that behavior. I think it would be better if WordPress also had something in the service document for that user which indicates that they can post only drafts, so that the blogging client can present this information in its user interface. For example, a blogging client like Windows Live Writer that has separate "Publish" and "Save Draft on Server" buttons can disable the "Publish" button.
Does it mean the server will need to provide different service
documents (probably different URIs) to users with different capability
level?
--
Teo Hui Ming