From a0acb7c6c9dd81d3cee7260515ea2856c3e742d8 Mon Sep 17 00:00:00 2001 From: Vanaryon Date: Sun, 24 Apr 2011 15:53:12 +0200 Subject: [PATCH] Updated XEP-0277 to 0.2.1 version. --- xep-0277.xml | 76 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 66 insertions(+), 10 deletions(-) diff --git a/xep-0277.xml b/xep-0277.xml index 5e0adcae..194fd831 100644 --- a/xep-0277.xml +++ b/xep-0277.xml @@ -27,6 +27,12 @@ vanaryon@jappix.com http://vanaryon.eu/ + + 0.2.1 + 2011-04-24 + vs +

Comments link "link[rel=related]" is now "link[rel=replies]", "title" is now "content[type=text]" or "content[type=xhtml]", added geolocation feature.

+
0.2 2011-04-20 @@ -76,6 +82,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0

Romeo can publish a post via any interface provided by his service, such as a website, the Atom Publishing Protocol (see &rfc5023;), SMS, an IM bot, or XMPP pubsub. Here we assume that the post is provided via XMPP pubsub.

+

The post content itself can be either text ("content" element "type" attribute with "text" value) or XHTML ("content" element "type" attribute with "xhtml" value). If Romeo publishes XHTML content, the post's "body" element MUST be plain text encoded. For XHTML publishing, see &xep0060;.

Note: Publishing via HTTP, AtomPub, SMS, or IM bot is simpler for the client (e.g., because the client does not need to generate an Item ID).

xmpp:romeo@montague.lit - hanging out at the Café Napolitano + hanging out at the Café Napolitano @@ -133,7 +140,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 xmpp:romeo@montague.lit - hanging out at the Café Napolitano + hanging out at the Café Napolitano @@ -172,7 +179,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 xmpp:romeo@montague.lit - @romeo cappuccino this late in the day? + @romeo cappuccino this late in the day? @@ -220,7 +227,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 xmpp:romeo@montague.lit - hanging out at the Café Napolitano + hanging out at the Café Napolitano @@ -258,7 +265,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 xmpp:romeo@montague.lit - Beautiful Eiffel Tower! + Beautiful Eiffel Tower! @@ -295,7 +302,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 -

Juliet and Benvolio may want to discuss about latest Romeo's post. Romeo's client MIGHT add a element to the PubSub item. The element MUST have "rel", "title" and "href" attributes, where "rel" MUST have the "related" value; "title" MUST have the "comments" value; "href" MUST be an XMPP URI (see &rfc5122; and &rfc3986;).

+

Juliet and Benvolio may want to discuss about latest Romeo's post. Romeo's client MIGHT add a element to the PubSub item. The element MUST have "rel", "title" and "href" attributes, where "rel" MUST have the "replies" value; "title" MUST have the "comments" value; "href" MUST be an XMPP URI (see &rfc5122; and &rfc3986;).

We assume Romeo's client first created a comments node (named "urn:xmpp:microblog:0:comments:hash", where "hash" is a client-side generated random hash), with defaults "pubsub#access_model" and "pubsub#publish_model" privacy settings (see &xep0060; for node creation and configuration).

xmpp:romeo@montague.lit - hanging out at the Café Napolitano + hanging out at the Café Napolitano - tag:montague.lit,2008-05-08T18:38:02Z:posts-2ze57d9c-1c46-21df-830c-002143d3d2qgf @@ -353,7 +360,7 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0 xmpp:juliet@capulet.lit - She is so pretty! + She is so pretty! 2008-05-08T18:39:02Z @@ -365,8 +372,57 @@ xmpp:romeo@montague.lit?;node=urn%3Axmpp%3Amicroblog%3A0
+ +

Juliet may want to know which places are Romeo's notices related to. That's why Romeo's client MIGHT geotag microblog entries, using the &xep0080; protocol for storing geolocation informations.

+

Romeo's client MUST create a "geoloc" element, with the &xep0080; reference namespace: "http://jabber.org/protocol/geoloc".

+ + + + + + + Romeo's Microblog + + tag:montague.lit,2008:home + 2008-05-08T18:43:01Z + + Romeo Montague + xmpp:romeo@montague.lit + + + Is lost in the forest. Need help! + + + + tag:montague.lit,2008-05-08T18:43:01Z:posts-1zr23z8a-3g12-34fh-750b-120867gjc1sqh + 2008-05-08T18:43:01Z + 2008-05-08T18:43:01Z + + 48.171761 + -3.3667986 + France + FR + Brittany + + + + + + + ]]> +
+ -

Depending on service policies and the value of the "pubsub#include_body" node configuration option, microblogging notifications SHOULD include a message <body/> element for backwards-compatibility with Jabber clients that are not pubsub-capable. It is RECOMMENDED for the XML character value of the <body/> element to be the same as that of the <title/> child of the Atom <entry/>.

+

Depending on service policies and the value of the "pubsub#include_body" node configuration option, microblogging notifications SHOULD include a message <body/> element for backwards-compatibility with Jabber clients that are not pubsub-capable. It is RECOMMENDED for the XML character value of the <body/> element to be the same as that of the <content/> child of the Atom <entry/>.