momentile support?

avolve - April 25, 2009 - 02:21
Project:Activity Stream
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

I was wondering if anyone was interested in working through integrating a user momentile feed/creating a sub_module?

As data can be sourced via rss feed, it would probably be most simple to use the activitystream_feed_streamapi

If you would like to assist and discuss the approach, please contact me.

#1

avolve - June 2, 2009 - 04:47

Thought I'd give this a nudge... anyone interested?

#2

akalsey - November 10, 2009 - 00:07
Status:active» won't fix

It would appear that no one is interested in taking this on, but it's something you could do yourself.

This would be really easy, even for a non-coder. The Momentile RSS feed URL format is http://www.momentile.com/USERNAME/rss

You can just duplicate the activitystream_delicious module directory, change every instance of "activitystream_delicious" in filenames and inside the code to be "activitystream_momentile".

Change the line that says

  $user->feed = 'http://del.icio.us/rss/'. $user->userid;

to the Momentile url format:

  $user->feed = 'http://www.momentile.com/'. $user->userid .'/rss';

There's some form field labels in the function activitystream_delicious_activitystream_settings that should be changed to say Momentile where appropriate, and the two theme_ functions at the end of the file should be changed to use Momentile terminology and icons. For instance the stream item says "username linked to ..." in Delicious. For momentile it should say something like "username posted a photo ..."

 
 

Drupal is a registered trademark of Dries Buytaert.