user-pic

Retrieving service name and stream name

Vote 0 Votes

Okay, here's what I think is a weird one.

How do I retrieve the stream and service names?

For example: The Goodreads service has three streams in it, read, reading, to-read. I want to separate content here, by stream, and I need a variable or some such that pulls (a) the service name (goodreads) and (b) the stream name (read/reading/to-read).

How to do? Is MTOtherProfile the only way to do this? How do I work this with, say, the Order plugin?

Overall, I'm looking to sort by something other than date. I want to sort first by service and then by stream.

Incidentally, I've hacked the goodreads plugin now, so it returns more information (ISBN, rating, review, small and medium image, etc). Still testing, but so far working well.

Also, is anyone working to complete the documentation for ActionStreams? Any help needed? It's really a bit of a pain to try and find the limits of each of these tags, what variables and modifiers they take and so on. It's not easy to find that to get the name of the service you have to pass a variable like name="label" to <mt:otherprofilevar>.

We should now consolidate all this. Call me foolish, but I volunteer to help ...

Reported on Movable Type 4.2

2 Replies

| Add a Reply

Add a Reply

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

Forum Groups

63 190

Last Topic: object_types in config.yaml by TK Lee on Mar 16, 2010

1003 3217

Last Topic: Counting occurrences of a custom field by Neal on Mar 16, 2010

482 1976

Last Topic: ¿Any command line tool to rebuild MT? by Nicolás on Mar 16, 2010

102 360

Last Topic: Saving an entry...what is happening by jdbeast00 on Mar 12, 2010

19 69

Last Topic: Custom main index page by Richard on Feb 7, 2010

43 172

Last Topic: by MG on Feb 20, 2010

11 22

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

54 202

Last Topic: Publishing error in MT 5 by mikemontesa on Feb 17, 2010

code.sixapart.com

129 448

Last Topic: Action Stream for Google Buzz by jack lail on Feb 16, 2010

160 498

Last Topic: Installed custom Asset markup by spierce on Mar 15, 2010