Syndicate

Syndicate content

User login

Powered by Drupal, an open source content management system

Identi.ca Groups addon for Drupal's activitystream module

Frog and Owl now has a group on Identi.ca, an open-source microblogging service (like twitter, but without a culture that thinks I want to know when people use the restroom). The activity stream module seemed to be a good way to get the Identi.ca stream on to frogandowl.org, but the activity stream identi.ca module only supported user streams, not groups. So, I tossed together a module to grab group feeds from identi.ca (a tarball is attached to this blog post for anyone who is interested).

Later, when it's not past midnight, and I'm not running on caffeine and stubbornness, I plan to contribute this back on drupal.org and possibly look into contributing a patch upstream to the activity stream module that would let some streams be owned by the site instead of a user, and provide some useful views and permissions. If someone is interested in that, feel free to nag me a couple of weeks from now to make sure it ends up on my real to-do list instead of the one containing things I'll probably never get to. :o

AttachmentSize
activitystream_identicagroup-6.x-1.x-dev.tar.gz8.16 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Replied

I have testing the module on

I have testing the module on www.ubuntu-co.com at the moment I have 2 problems/bugs ...

1. I create the acconunt on my user, but, it are importing all my dents, not the dents of the group that i configure on my account
2. I errase the information of my account but the module still show the dents, is possible to erase them ?

Replied

Check that you enabled

Check that you enabled identicagroup -- it looks like you are using identica (for users). If you have both enabled, the group field will be way at the bottom of the activitystream form for your user.

http://imagebin.ca/view/KmHuiidx.html shows how this works on frogandowl. You'll note that the icons in the microblog block are different than on your site -- this is because your site shows the icons for a user feed, while frogandowl shows the icons for a group feed. Also, in the form, the top field for an identica user is blank -- the bottom field (for a group) is filled in.

Let me know if that solves the problem.

-- Susan

P.S. -- this definitely points out the problem that the identica_group field should probably be moved up, and the other field more clearly labeled to be for users

Replied

I have the modules enabled. I

I have the modules enabled. I have it configure like that - http://picasaweb.google.com/hollman.enciso/Unlisted#5422978412331303554 in the picture I have 2 questions ...

Replied

That's right -- you need no

That's right -- you need no user and no feed URL.

As a separate blog post, I'm giving an export of the view I use for my nicer-looking block. You'll need to edit it a bit to get exactly the look you want. All of that will be available here once I'm done writing it.

--Susan

Replied

Troubleshooting

Troubleshooting activitystream_identicagroup:

  1. Check that Activity Stream Core, Feed Stream, and Identi.ca Groups are all installed and enabled.
  2. Go to the profile of the user where you entered your group (or the user where you would like to if you haven't already) and click the "Edit" tab followed by "activity stream" under it. Make sure that your group's name is entered in the "Identi.ca group settings" section, NOT the "Identi.ca settings" section. Save any changes.
  3. If the block for your stream isn't showing, enable it at http://example.com/admin/build/block (replace example.com with your Drupal site URL).
  4. If the icons look like one speech bubble instead of two speech bubbles, you are using the identi.ca user stream instead of group stream. See troubleshooting step 2 above for how to fix it.
  5. If you feel your activitystream block looks too cluttered, you might want to try the view I made for Frog and Owl, available here.
  6. If you have fixed a problem, but still don't see results, start by deleting all activitystream nodes (or just the ones bugging you) from http://example.com/admin/content/content then clear Drupal's cache and run cron.