[wp-trac] [WordPress Trac] #40031: Consider Adding Web Annotations to WordPress

WordPress Trac noreply at wordpress.org
Sat Mar 4 22:05:52 UTC 2017


#40031: Consider Adding Web Annotations to WordPress
-----------------------------+------------------------------
 Reporter:  MikeSchinkel     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Comments         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui
-----------------------------+------------------------------

Comment (by MikeSchinkel):

 Replying to [comment:4 dshanske]:
 > ''"If someone wants to annotate a URL on another site, that should be a
 custom post type. The post type would be associated with their user...so
 there is authorship of the annotation. It doesn't need to have anything to
 do with the comment table."''

 I would instead argue ''"It doesn't need to have anything to do with the
 posts table"'' because posts are conceptually source documents and
 comments are conceptually annotations to a source document.  So
 `wp_comments` is a better fit than `wp_posts`.

 And as comments have the `user_id` field, authorship is addressed.

 > ''"the annotation server merely serves to translate the custom post type
 posts into the format that other systems can understand...the Annotation
 spec."''

 The prior notwithstanding; yes, this is the thinking of the proposal.

 > ''"If someone wants to annotate something on the same site they have a
 user on, that can be a comment type."''

 And that is another reason to make all annotations comments; it is more
 [https://en.wikipedia.org/wiki/Don't_repeat_yourself D.R.Y.] than having
 the same logic attached to both posts and comments.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40031#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list