W3C home > Mailing lists > Public > public-socialweb@w3.org > March 2015

Re: Deprecate "actor" in favor of "attributeTo"

From: Evan Prodromou <evan@e14n.com>
Date: Tue, 24 Mar 2015 16:11:09 -0400
Message-ID: <5511C4DD.8070002@e14n.com>
To: public-socialweb@w3.org
I prefer "actor".

"actor" seems much more readable and understandable.

"attributedTo" seems indirect, passive, and uncertain. "Who attributes 
this action to this agent? Why? Are they potentially wrong?"

-Evan

On 2015-03-24 04:02 PM, James M Snell wrote:
> In the most recent published working draft, the "author" property was
> replaced by a more generalized "attributedTo" property. "author" is
> still in there but is listed among the deprecated AS 1.0 terms. The
> "actor" property on Activities is currently defined as a sub-property
> of "attributedTo". Moving forward, there's likely very little value in
> having the separate "actor" property. We can simplify and consolidate
> down to just using "attributedTo". "actor" would be moved into the
> deprecated set for backwards compatibility.
>
> So instead of:
>
>    {
>      "@type": "Like",
>      "actor": "http://joe.example.org",
>      "object": "http://example.org/posts/1"
>    }
>
> It would be:
>
>    {
>      "@type": "Like",
>      "attributedTo": "http://joe.example.org",
>      "object": "http://example.org/posts/1"
>    }
>
> Note: this proposal does not ADD anything to the vocabulary, it
> removes. Which is a good thing.
Received on Tuesday, 24 March 2015 20:11:31 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 December 2016 15:48:21 UTC