Changeset 688
- Timestamp:
- 06/04/08 19:57:26 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ActionStreams/plugins/ActionStreams/config.yaml
r686 r688 39 39 pre_build_action_streams_event.netflix_queue: $ActionStreams::ActionStreams::Plugin::fix_netflix_queue_prefix_thumb 40 40 pre_build_action_streams_event.kongregate_achievements: $ActionStreams::ActionStreams::Plugin::fix_kongregate_achievement_title_thumb 41 pre_build_action_streams_event.wists_wists: $ActionStreams::ActionStreams::Plugin::fix_wists_thumb 41 42 object_types: 42 43 profileevent: ActionStreams::Event trunk/ActionStreams/plugins/ActionStreams/lib/ActionStreams/Plugin.pm
r684 r688 516 516 } 517 517 518 sub fix_wists_thumb { 519 my ($cb, $app, $item, $event, $author, $profile) = @_; 520 # Grab the wists thumbnail out. 521 my $thumb = delete $item->{thumbnail}; 522 if ($thumb =~ m{ (http://cache.wists.com/thumbnails/ [^"]+ ) }xms) { 523 $item->{thumbnail} = $1; 524 } 525 } 526 518 527 sub tag_stream_action { 519 528 my ($ctx, $args, $cond) = @_;
