salguod

How Do I Display A Single Stream?

Vote 0 Votes

Trying again as the forum ate it the last time. Which, of course, means that as soon as I post this, there will be two.

--------------------

I'd like to display my blip.fm stream alone. I want to display the [lastn] blips in a single list, regarless of age.

I'm having a hard time getting anything to show. Starting with the default AS recent wdidget that's bundled, where do I put the

<mt:If>
statement? I'm using this format:

<mt:If name="service_type" eq="blip.fm">

I've tried wrapping the entire widget in the

<mt:If>
tag, putting the
<mt:If>
tag inside the
<mt:ActionStreams display_name="$mt_author_display_name" lastn="$past_events">
tag and I've tried using "blipfm", "blip.fm" and "blips". All result in nothing being published.

What am I doing wrong?

For those not familiar with the blip.fm plugin, the config.yaml file is:

name: Blip.fm Blips
id: blipfm
key: blipfm
author_link: http://yvesluther.name/
author_name: Yves Luther
description: Adds Blip.fm blips to your Action Streams
version: 1.0
plugin_link: http://yvesluther.name/entwickeln/2008-09-01/blipfm/

profile_services:
blipfm:
name: Blip.fm
url: http://blip.fm/%s
ident_example: http://blip.fm/yvesluther
icon: images/blipfm.png

action_streams:
blipfm:
blips:
name: Blip.fm
description: Blips
fields:
- description
html_form: '[_1] <a href="[_2]">blipped</a> on "[_3]"'
html_params:
- url
- title
url: http://blip.fm/feed/{{ident}}
identifier: url
xpath:
foreach: //item
get:
created_on: pubDate/child::text()
title: title/child::text()
url: link/child::text()
description: description/child::text()

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • Add service="blipfm" to the ActionStreams tag. That tag takes either service or services as a limiter for what to load.

  • Great, that did it, but the dates are all messed up because it's only looking for the day of the week. Anything that happened on a Friday, for example, is 'Today'.

    I think I can sort that out, besides it's not an action streams issue anyway.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012