Abdera2

137 views
Skip to first unread message

James Snell

unread,
Sep 29, 2011, 3:50:31 PM9/29/11
to activity...@googlegroups.com
Just wanted to make sure that folks here were aware of the Abdera2
Activity Streams implementation [1]. It's part of an updated version
of the Apache Abdera project and provides consumption and production
of activity streams as well as a framework for implementing an
activity publishing service following the pattern established by the
Atom Publishing Protocol.

http://svn.apache.org/repos/asf/abdera/abdera2/

There are also a number of extensions that I've been playing around with..

For instance, there is a "binary" object type whose "content" property
is a base64 encoded blob of octets, for instance...

{"content":"{base64}",
"length":565,
"objectType":"binary",
"mimeType":"application/xml"}

The implementation allows for generation of a hash digest and compression.

When a digest is generated, a property is added to the object whose
name is the hash algorithm and the value is the hex encoded digest
value... e.g.

"md5":"fb8b6333b6200fb47dada70693b78c1a"

Deflate or GZip compression is supported. When applied, the content is
compressed prior to base64 encoding, and multiple compression methods
may be used. A "compression" property is used to identify the
compression codecs used. The value is a comma separated list of
codecs in the order applied... e.g.,

"compression":"deflate,gzip"

The "length" property specifies the total number of uncompressed,
unencoded octets.

The basic motivation behind the "binary" objectType is to provide a
means of including simple binary objects in the "attachments" property
of another object.

Anyway, there are a few other bits and pieces that I'm playing around
with on this, including a few new verbs and experimental object types.
Also included is a utility for converting Atom feeds to JSON Streams
(and vice versa) that supports the Atom Activity Streams extensions.

Anyway, just wanted to let folks know that the code was out there so
they can play around with it. Please direct feedback to the various
Abdera mailing lists, jira, or shoot me a message directly.

- James

Martin Atkins

unread,
Sep 29, 2011, 4:05:43 PM9/29/11
to activity...@googlegroups.com
On 09/29/2011 12:50 PM, James Snell wrote:
>
> {"content":"{base64}",
> "length":565,
> "objectType":"binary",
> "mimeType":"application/xml"}
>

Since "content" is used as a human-readable body in generic
(type-ignoring) processors, it's probably better to put the binary blob
in a specialized property name where it won't ever get mistaken for
something that should be presented to a human viewer.

James Snell

unread,
Sep 29, 2011, 4:20:07 PM9/29/11
to activity...@googlegroups.com
Yeah, I was kind of going back and forth on that too. There's
absolutely no problem using a different property for that.

> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To post to this group, send email to activity...@googlegroups.com.
> To unsubscribe from this group, send email to
> activity-strea...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/activity-streams?hl=en.
>
>

leo

unread,
May 6, 2013, 4:37:33 AM5/6/13
to activity...@googlegroups.com

Is abdera2 still alive or is still being actively developed? I don't see abdera2 in maven repo. Its still in snapshot versions. 
I checked out the source only to see compilation error in Discover.java. I was searching for some good activity stream implementation in java hence
curious to understand if this is still being used or if there are any other recommendations?

James M Snell

unread,
May 6, 2013, 9:15:35 AM5/6/13
to activity...@googlegroups.com

I am not continuing work on the abdera2 implementation. I have a standalone java activity streams impl derived from that work that I'm hoping to get posted to github in the very near future.

--
You received this message because you are subscribed to the Google Groups "Activity Streams" group.
To unsubscribe from this group and stop receiving emails from it, send an email to activity-strea...@googlegroups.com.

To post to this group, send email to activity...@googlegroups.com.

leo

unread,
May 7, 2013, 3:26:11 AM5/7/13
to activity...@googlegroups.com

Can you expand more on your standalone implementation? Do we have access to the source? I would rather contribute rather than reinventing anything. 


On Monday, May 6, 2013 6:15:35 AM UTC-7, James M Snell wrote:

I am not continuing work on the abdera2 implementation. I have a standalone java activity streams impl derived from that work that I'm hoping to get posted to github in the very near future.

James M Snell

unread,
May 7, 2013, 3:42:42 AM5/7/13
to activity...@googlegroups.com
I am working on getting the necessary legal approvals from my employer
to release the code. I will post an update once the code is
available.

Bill Christian

unread,
May 29, 2013, 8:58:18 PM5/29/13
to activity...@googlegroups.com
Was curious on the Abdera2 implementation as well? Is this now a dead project? Would your separate implementation be a more current version worthy of ignoring abdera2 long awaited arrival?

James M Snell

unread,
May 29, 2013, 10:58:17 PM5/29/13
to activity...@googlegroups.com

Short answer is yes :-)

Reply all
Reply to author
Forward
0 new messages