Social API – Tag Patterns and other optimization thoughts

Generally, I find developers implementing scenarios, such as “As a User, I need to iterate over X Social API, so I can find the right content.”  The scenario implies that the social metadata is included, however many developers iterate over the entries in the feeds to discover the Tag metadata.  If you read the documentation parameters, you can find optimizations to include metadata in the feed request, such as:


boolean Yes Specifies whether or not the tags that are displayed on the file welcome page are included in the returned Atom document. This parameter takes a Boolean value of either true or false. By default, the tags are not returned.

The URL Parameter that reduces the total number of requests needed. For instance, the request for a each of the 10 entries in a feed, and then the tags for those 10 entries appears to require 11 API calls with the includeTags=true it can be accomplished in one request.

You can also optimize the request by manipulating the page size – 1,10 or 25.

In some cases, you can further optimize with batch requests when creating content. Example, the Activities API enables batch deletes of Members or the OpenSocial ActivityStream API which enables batch creation of updates.

Running the SBT Sample with IBM Portal

Hopefully, this quick tip helps others.  I recently worked with a colleague who installed the Social Business Toolkit Ear and could not get the app to load the configuration properly.  I changed the class loader to PARENT_LAST and the application loaded the configuration properly.


Yes, I have my own CalDav Server

So I use OSX Server at home, it’s handy. If you ever get stuck on the number of resource in use by the calendar (I use it to store copies of my bills/on the date I charge them).  You should look at

The settings described in the plist are the most helpful.  along with serveradmin stop calendar and serveradmin start calendar they enable the most configuration.  You should also look at –  though you should note that many of these things changed in the latest version of OSX Server.

Vena’s Fizz House

Saturday found me in Portland, Maine walking around the shops and eating the wonderful food found in the Downtown/Waterfront.  One place was of particular interest Vena’s Fizz House.  A place where the soda junkies can find all the great ingredients to build their Ginger Tinis, Ginger Beers, Ginger Julips or find some inspiration from Vena’s menu.

I picked up some syrup from Liber & Co Fiery Ginger Syrup. I was easily sold on the syrup “For our Fiery Ginger Syrup, we combine fresh yellow ginger juice and pure cane sugar to create a bright and full flavored syrup with a silky texture. This syrup’s high heat lends the perfect burn needed to enhance a wide variety of both classic and novel cocktails”  It’s everything I want it to be, at least description wise.

I poured some seltzer water and a shot of the syrup.  I mixed.  I sipped.  I think it’s quite good.  Time is the only one that can tell if this syrup holds up, so far, so good.

LIber & Co Ginger Syrup
LIber & Co Ginger Syrup

From Liber & Co Fiery Ginger Syrup -
From Liber & Co Fiery Ginger Syrup