Sub-modules for Blogger, Goodreads, StumbleUpon, YouTube, IMDB, Ravelry, and Hulu

jami - February 6, 2009 - 21:20
Project:Activity Stream
Version:6.x-1.0-rc1
Component:Code
Category:task
Priority:minor
Assigned:jami
Status:closed
Issue tags:activitystream, blogger, goodreads, hulu, imdb, ravelry, stumbleupon, youtube
Description

I "wrote" (really, cut and pasted) some Activitystream sub-modules for a bunch of sites I use a lot. You can see them in action in my Activitystream. You can download them on this page. I mean to make zillions of improvements, but if you improve them first, awesome.

#1

akalsey - February 28, 2009 - 20:59
Status:active» postponed (maintainer needs more info)

That's fantastic. Can you create a Drupal.org project for these? See http://drupal.org/node/386992

#2

pribeh - April 18, 2009 - 21:50

Any chance of any of these being back ported to Drupal 5?

#3

pribeh - April 18, 2009 - 23:08

OK, So I've successfully ported blip.fm. I can probably finish backporting the rest myself. If anybody else wants them I can help jami setup module pages for each of these with both the Drupal 5 and 6 versions.

#4

Grayside - April 27, 2009 - 06:26

Shouldn't these be submodules of ActivityStream, or at least all gathered into a single ActivityStream Sources project? A different integration project for every individual website in the tubes might get pretty messy pretty quickly.

I'm thinking of making a few myself, but I can't imagine much value to the community in adding to project sprawl for folks not interested in ActivityStream.

#5

akalsey - April 27, 2009 - 13:35

#6

Ron Jones - May 5, 2009 - 16:01
Version:6.x-1.0-beta2» 6.x-1.0-rc1

Using the Stumbleupon submodule. It seems to work just fine, but there's a little glitch...I get FIVE (5) copies of each stumbleupon review that I do. ???

Any suggestions on where I might start looking to troubleshoot this?

Thanks

Jones

#7

sammybreuer - July 10, 2009 - 16:54

I also have the glitch of getting duplicate entries, up to 400, from stumbleupon. See http://www.matthewbreuer.com/drupal/content/pupuplayer-pro-414 for example. Any ideas on how to fix this?

#8

coryroc - August 24, 2009 - 20:53

Getting the same issue as sammy (#7) for both StumbleUpon and Hulu

#9

akalsey - November 7, 2009 - 05:45

Stumbleupon has some sort of ID in their link URLs that changes each time you refresh the feed. Since the Activity Stream feed module uses the link URL to determine if the feed item has changed, it thinks the item is changing every time you run cron.

What they're doing is obnoxious and a poor idea. But it conforms to the RSS spec, so Activity Stream should handle it.

The problem is going to be that to fix this globally, I'm going to have to change how I keep track of which items have already been inserted as nodes. And that means that every activity stream source based on feeds (which is most of them) will lose memory of what it's already seen. You'll get the latest 15-20 items from every source appearing again. I'm not sure I want to do that for what amounts to a special case.

What I am doing is adding a new field to the list of items the feed-baed modules have to work with. This new field is the guid from the feed, which should be unique. Module developers that use a feed with a constantly changing link can use this new field to override the "guid" field if they desire.

The Stumbleupon module developer should now change the hook_streamapi implementation to read something like...

<?php

$items
= activitystream_feed_streamapi($user);
array_walk($items, create_function('&$item, $key', '$item["guid"] = $item["id"];'));
return
$items;

?>

#10

akalsey - November 9, 2009 - 18:19
Status:postponed (maintainer needs more info)» closed

No response from the creator of these modules. Closing this issue.

 
 

Drupal is a registered trademark of Dries Buytaert.