File tree Expand file tree Collapse file tree
main/java/org/buddycloud/channelserver/channel
test/resources/stanzas/iq/pubsub/publish Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ public class ValidateEntry {
3333 public static final String NS_ACTIVITYSTREAM = "http://activitystrea.ms/spec/1.0/" ;
3434 public static final String NS_ATOM_THREAD = "http://purl.org/syndication/thread/1.0" ;
3535 public static final String NS_GEOLOCATION = "http://jabber.org/protocol/geoloc" ;
36+ public static final String NS_REVIEW = "http://activitystrea.ms/schema/1.0/review" ;
3637
3738 public static final String AUTHOR_URI_PREFIX = "acct:" ;
3839 public static final String AUTHOR_TYPE = "person" ;
Original file line number Diff line number Diff line change 1+
2+ <iq from="juliet@shakespeare.lit/balcony" to="channels.shakespeare.lit" type="set" id="publish:20">
3+ <pubsub xmlns="http://jabber.org/protocol/pubsub">
4+ <publish node="/user/romeo@shakespeare.lit/posts">
5+ <item>
6+ <entry xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:review="http://activitystrea.ms/schema/1.0/review">
7+ <id>96da02ee1baef61e767742844207bec4</id>
8+ <title>rating</title>
9+ <published>2014-01-01T00:00:00.000Z</published>
10+ <updated>2014-01-01T00:00:00.000Z</updated>
11+ <author>
12+ <name>juliet@shakespeare.lit</name>
13+ <jid xmlns="http://buddycloud.com/atom-elements-0">juliet@shakespeare.lit</jid>
14+ </author>
15+ <content type="text">rating:5.0</content>
16+ <activity:verb>post</activity:verb>
17+ <activity:object>
18+ <activity:object-type>post</activity:object-type>
19+ </activity:object>
20+ <thr:in-reply-to ref="1" />
21+ <activity:target>
22+ <id>tag:channels.shakespeare.lit,/users/romeo@shakespeare.lit/posts,2</id>
23+ <activity:object-type>post</activity:object-type>
24+ </activity:target>
25+ <review:rating>5.0</review:rating>
26+ </entry>
27+ </item>
28+ </publish>
29+ </pubsub>
30+ </iq>
You can’t perform that action at this time.
0 commit comments