Pages

Showing posts with label customization. Show all posts
Showing posts with label customization. Show all posts

Tuesday, September 1, 2015

IBM Connections Files and Aspera: A Possible Integration

View Comments
Earlier this week I was asked what could be possible between Aspera, an IBM file transfer solution, and IBM Connections Files, IBM's offering for organizations looking for enterprise file sync and share (EFSS) capabilities.

First, let's clarify the differences between file transfer and file sharing and sync. In talking with some people in the Aspera organization, they told me to think of Aspera kind of like UPS.  UPS will take a package from point A to point B and they do not keep the package. Similarly, Aspera is all about getting files from point A to point B in the fastest way possible. In one example, they say that a 24GB file which could take ~26 hours via a traditional TCP/IP download, would only take 30 seconds using Aspera.



With that in mind, I came up with two ideas that you could do today with the Aspera APIs and the available extension points in IBM Connections

Transfer Existing Files

This idea is to create a new extension for Files as documented here. To do this, log in as the organization administrator and go to Admin - Organization Extensions. In there create a new extension as shown below:

And voilá. Once you code up the integration with your Aspera server this should get you a path to integrate. End users will now see this option when navigating to a file:



Upload and Transfer

The other thought is to create a new extension so that we intercept the file upload process. In this case, you navigate to the same Admin - Organization Extensions menu. In there, instead of creating a "File Menu" extension, you now create a "New File Menu" extension as shown below:


In any case, I strongly suggest you reach out to your partner or IBM services rep for further discussion.

I'm interested in your thoughts too. Any other use cases that come to mind ?


Monday, February 10, 2014

The Code Behind My IBM Connect 2014 Keynote Demo - Part 4

View Comments
And here we come. The 4th and final post on the code that I used during the IBM Connect 2014 keynote (the OGS!). If you need to catch up, here's Part 1, Part 2, and Part 3.

The next part of code that we created for the keynote demo was the file viewer.  It's worth noting that we first did this file viewer to render IBM SmartCloud Connections files inside our portal. In the end, we ended showing this directly in the community landing page (which is one of the new features we announced -- the ability for community managers to create their own custom landing page for their community).

Here's how it looked:


Basically, in our demo community, we had 5 files and we showed the details of the file, a file preview, and when clicked, we did an animation to let you share/download the file (as you can see in the 3rd file above).

So how did we do this? The majority of the work was done using the IBM Connections SDK.  In there, we went into the JavaScript Playground and found the code snippet to generate a list of files. Sweet!!

The other piece of magic was the Flippy plugin for jQuery which is the one that provided the animation to flip the file preview and offer options to share and download.

So here's how it all came together:

1) Include the right JavaScript:

<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.0/dojo/dojo.js"></script>
<script src="jquery-1.9.1.min.js"></script>
<script src="jquery.flippy.min.js"></script>
<script src="/sbt.proxy/library?lib=dojo&amp;ver=1.8.0"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/2.1.1/js/bootstrap.min.js"></script>


2) The CSS magic:

<style>

body {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
font-weight: 300;
color: #444;
line-height: 1.2;
margin: auto;
width: 100%;
#background-color: #f0f0f0;
#background-image:url('cloud.jpg');
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
a {
color: #1c8aae !important;
text-decoration: none !important;
}
.card {
background-image:none;
margin: 20px;
padding: 10px;
width: 150px;
background-color: #fff;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-color: #fff;
border-style: solid;
box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
float: left;

}

.share{
background-image:none;
margin: 20px;
padding: 10px;
width: 150px;
background-color: #fff;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-color: #fff;
border-style: solid;
box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
float: left;

}

.preview{

width: 128px;
height: 128px;
border-radius: 67px;
-webkit-border-radius: 67px;
-moz-border-radius: 67px;
border-color: #fff;
border-style: solid;
box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .4);

}
</style>

3.  The HTML placeholder where things will show up:

<body>
<div id="myGrid" class="myCommunity"></div>
...


4.  The template of how things will be rendered

<script type="text/template" id="fileRow">
<div id="share-${uid}" class="share" onmouseDown="removeDialog('${uid}');" >
<div id="fileCard-${uid}" onmouseDown="shareDialog('${uid}','${title}');">

<img class="preview" style="margin-top:20px;margin-bottom:20px" width="128" height="128" src="http://apps.na.collabservtest.lotus.com/viewer/app/lcfiles/${uid}/1/thumbnails/image.jpg" />
<br>
<a class="entry-title" rel="bookmark" target="_blank" title="${tooltip}" href="https://apps.na.collabservtest.lotus.com/communities/service/html/communityview?communityUuid=2cb8c1b5-bbd5-4379-b53d-de747b50be1a#fullpageWidgetId=W0b65f6404e4a_4c64_b0c8_ace24556bbab&file=${uid}" >${title}</a>

<div style="font-size:75%;color:#666">${authorName} ${_nls.created} ${createdLabel}</div>

<div style="font-size:75%;color:#666">${recommendationsCount} Likes &nbsp;&bull;&nbsp;${hitCount} ${_nls.downloads} &nbsp;&bull;&nbsp; ${commentsCount} ${_nls.comments}

</div>
</div>
</div>
</script>


5. Call the API!

<script>
require(["sbt/dom","sbt/lang", "sbt/connections/controls/files/FileGrid", "sbt/connections/controls/bootstrap/FileRendererMixin"], function(dom,lang, FileGrid,FileRendererMixin ) {
var grid = new FileGrid({
type : "communityFiles",
endpoint : "smartcloud",
hidePager: "true",
hideSorter: "true",
communityId : "2cb8c1b5-bbd5-4379-b53d-de747b50be1a"

});

// create custom action
grid.fileAction = {
getTooltip : function(item) {
return "Share with Non-Greenwell people";
},

execute : function(item,opts,event) {
//do something here

}
};

lang.mixin(grid.renderer, FileRendererMixin);
var domNode = dom.byId("fileRow");
var CustomFileRow = domNode.text || domNode.textContent;
grid.renderer.template = CustomFileRow;
dom.byId("myGrid").appendChild(grid.domNode);

grid.update();
});

</script>

And that's it! In the next few posts, I'll go deeper to cover the announcements from IBM Connect in regards to IBM Connections. Stay tuned !

Friday, February 7, 2014

The Code Behind My IBM Connect 2014 Keynote Demo - Part 3

View Comments
Alright, let's move on to the next piece shown at the OGS. If you want to know what this is, I would suggest you catch up with Part 1 and Part 2.

The next part I got ready for the keynote was people search. But I wanted to move away from the typical search results list. I wanted something more visual and easier to digest. I wanted results to be more visual, maybe like a slideshow of people cards that I could flip through.

After doing a bit of searching, I landed on another jQuery plugin, this time the Baraja plugin and it got me something like this:


So what's the magic here? Let's walk through the parts:

1. As usual, include the right JavaScript:

<script src="jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="Baraja/js/modernizr.custom.79639.js"></script>
<script type="text/javascript" src="Baraja/js/jquery.baraja.js"></script>


2. Then the CSS for styling

<style type="text/css">
.homepage {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
font-weight: 300;
color: #444;
line-height: 1.2;
background-color: #f0f0f0;
}

a {
color: #1c8aae !important;
text-decoration: none !important;
}

.photo {
width: 100px;
height: 100px;
border-radius: 55px;
-webkit-border-radius: 55px;
-moz-border-radius: 55px;
border-color: #fff;
border-style: solid;
box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .4);
}

.fn
{
font-family: "HelveticaNeue-Bold", "Helvetica Neue Bold","Helvetica Neue", sans-serif;
font-weight: 600;
text-decoration: none;
color: #444 !important;
font-size: 18pt;
}

.inputForm
{
border: solid 1px #e9ecef;
width: 280px;
height: 30px;
padding: 8px;
-webkit-border-radius: 15px; //For Safari, etc.
-moz-border-radius: 15px; //For Mozilla, etc.
border-radius: 15px; //CSS3 Feature
box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}

.searchEntry {
text-align: center;
margin: auto;
padding-top: 20px;

}

.searchResults {
padding-top: 20px;
width: 260px;
height: 600px;
margin: 30px auto;
}

ul.baraja-container li {
border-radius: 10px;
padding: 5px;
box-shadow: 0 0 4px rgba(0, 0, 0, .1);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .1);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, .1);
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 250px;
height: 250px;
margin: 0;
position: absolute;
top: 0;
left: 0;
cursor: pointer;
background: #f0f0f0;
font-size: 12pt;
text-align: center;
pointer-events: auto;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;

}

ul.baraja-container li img {
margin-top: 20px;
}

ul.baraja-container li p {
line-height: 1.0px;
}

ul.baraja-container li div {
text-align: center;
}

ul.baraja-container {
list-style-type: none;
width: 260px;
height: 310px;
margin: 0 auto 30px;
position: relative;
padding: 0;
}

.score {
font-size: 18pt;
color: #1c8aae !important;
text-decoration: none !important;
}

.bullet {
font-size: 8pt;
color: #666;
}

</style>

3. The placeholder where things will show up:

<body style="margin: 0;">

<div class="homepage">
<div class="searchEntry">
<input type="text" class="inputForm" id="searchBox" />
</div>

<div class="searchResults" id="searchResults">
<ul id="baraja-el" class="baraja-container">

</ul>
</div>
...


4. Call the API!

<script>
var $el = $( '#baraja-el' ),
baraja = $el.baraja();
baraja.add( searchResults ) );
baraja.fan( {
speed : 500,
easing : 'ease-out',
range : 100,
direction : 'right',
origin : { x : 50, y : 200 },
center : true
} );
</script>

The missing piece here is the call to the People Search API of IBM Connections to generate searchResults. I'll leave that as an exercise to the reader. Once I gathered all the data, I created a searchResult which would look like this (so that it matches the CSS I shared above):
<li><img class="photo" src="http://connections.demolotus.com/profiles/photo.do?userid=3123a1db-21f9-466f-b19e-1a49383fa2db" alt="image1"/><br/><br/><div><span class="fn">Bill Ranney</span> <span class="bullet">&bull;</span> <span class="score">10</span></div><p>Sr. Business Manager</p><p>10 followers</p></li>
In terms of the score, that was work that we did based on the work with Marie Wallace. Check out her blog for more details.

Thursday, February 6, 2014

The Code Behind My IBM Connect 2014 Keynote Demo - Part 2

View Comments
Yesterday, I shared the initial piece of code that I got working in getting ready for the IBM Connect 2014 keynote demo. If you haven't seen that, take a look at that before going through this post.

As I explained yesterday, I wanted to get a Pinterest-like layout for the activity stream within the portal, and that's what I showed yesterday. I then wanted to take that example and also add that to the landing page of a community. That way, as a community manager I can not only see the latest updates  but I can also share and direct my team to the content I want them to see.  Here's a snapshot of the community landing page I showed:


Notice that in this layout, the stream shows up in a multi-column view, and the profile photo is under each card (instead of inside the card as in yesterday's post). 

The trick? Just some minor tweaks to the code from yesterday. I still used jQuery, the Waterfall plugin, and some CSS magic.  Here's the code:

1. Include the right JavaScript:

<script src="jquery-1.9.1.min.js"></script>
<script src="waterfall-master/demos/js/libs/handlebars/handlebars.js"></script>
<script src="waterfall-master/demos/js/waterfall.min.js"></script>
<script src="jquery.timeago.js" type="text/javascript"></script>
2. The CSS magic


<style type="text/css">
.homepage {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
font-weight: 300;
color: #444;
line-height: 1.2;
margin: auto;
width: 740px;
background-color: #f0f0f0;

}

.newsfeed {
margin: auto;
width: 740px;
background-color: #f0f0f0;
padding-top: 20px;
}

.columnHeader {
font-family: "HelveticaNeue-Bold", "Helvetica Neue Bold","Helvetica Neue", sans-serif;
font-weight: 600;
font-size: 90%;
}

a {
color: #1c8aae !important;
text-decoration: none !important;
}

.date {
color: #d9d9d9 !important;
text-decoration: none !important;
}

.timeago {
color: gray !important;
border-bottom: none !important;
}

.card {
border: 2px solid #FAFAFA;
box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
column-break-inside: avoid;
padding: 5px;
background-color: #fff;
background: -webkit-linear-gradient(45deg, #FFF, #F9F9F9);
opacity: 1;
width: 330px;

-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;

}

.leftColumn {
float: left;
}
.rightColumn {
float: left;
padding-top:29px;
padding-left: 10px;
}

.photo {
width: 65px;
height: 65px;
border-radius: 35px;
-webkit-border-radius: 35px;
-moz-border-radius: 35px;
border-color: #fff;
border-style: solid;
box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .4);
}

.attachment {
max-width: 290px;
max-height: 290px;
}

.signature {
font-size: 75%;
color: gray;
padding-top: 10px;
}

.div {
float:left;
padding-top: 10px;
}

.asentry {
width: 345px;
}

.sharkfin {
margin-top:-13px;
margin-left:25px;
}

.message {
padding: 20px 10px 20px 10px;
}

.attachDiv {
width: 299px;
height: 299px;
}
</style>

3. Create the HTML placeholder where the content will be rendered asynchronously

<body style="margin: 0;">
<div class="homepage">

<div class="newsfeed">
<div id="container" class="container"></div>
</div>
</div>
....


4. The template for how the activity stream will be rendered:

<!-- This controls how the Activity stream is rendered -->
<script type="text/x-handlebars-template" id="waterfall-tpl">
{{#list}}
<div class="asentry">
<div class="card">
<div class="message">

{{{title}}} {{#if object.summary}} "<i>{{{object.summary}}}</i>" {{/if}}

<br/>
{{#each object.attachments}}
<div class="attachDiv">
<img class="attachment" src="{{this.url}}" >
</div>
{{/each}}
</div>
</div>
<img class="sharkfin" src="sharkfin-2.png">
<div class="signature">
<div class="leftColumn">
<img class="photo" src="{{photoId actor}}" />
</div>
<div class="rightColumn">
<a class="date" href="{{object.url}}">
<abbr class="timeago" title="{{published}}">{{makeDatePretty published}}</abbr>
</a>
&nbsp;&bull;&nbsp;<span class="action">Like ( {{object.likes.totalItems}} )</span>&nbsp;&bull;&nbsp;
<span class="action">Comment ( {{object.replies.totalItems}} )</span>
</div>
</div>
</div>
{{/list}}
</script>

5. Call the Waterfall plug-in

<script>
// Now call the activity stream API and load the stream
$('#container').waterfall({
itemCls: 'asentry',
colWidth: 345,
gutterWidth: 20,
gutterHeight: 20,
maxPage: 1,
isAnimated: true,
maxCol: 2,
isFadeIn: true,
debug: false,
checkImagesLoaded: false,
path: function(page) {
return 'http://connections.demolotus.com/connections/opensocial/basic/rest/activitystreams/urn:lsid:lconn.ibm.com:communities.community:' + params.communityId + '/@all/@all?rollup=true&shortStrings=true&&format=json&page=' + page;
}
});

</script>

And there you have it! You can now render the IBM Connections activity stream in a grid format with resizable cards.

The big changes between yesterday's post and today are mostly in step 2 (the CSS required for the rendering), step 4 (the template for the rendering of each activity stream entry) and step 5 (we now call the community stream API instead of the overall activity stream API).

Fun !!

Wednesday, February 5, 2014

The Code Behind My IBM Connect 2014 Keynote Demo

View Comments
This is probably going to be part 1 of a series. Now that IBM Connect 2014 is done, I wanted to recap and share with the community in more detail what I showed at the keynote (a.k.a OGS/Opening General Session).

First, I assume that you've seen the keynote by now. If you haven't, here's the full session. If you skip to about 1:12:00 that's where my part begins.


I divided my demo into 3 parts:
As I organized the demo, I wanted to focus on business value and encourage people to go to the breakout sessions to get all the gory details.  For some parts, I wrote some custom code (warning: when you have a product manager writing code, you could end up in weird places). Let me tackle one of the first things I got working for the demo: a Pinterest-like layout for the news feed/activity stream (as seen on the left below). This is something you can do today with IBM Connections 4.5 !

The trick to get that working was using the jQuery plugin Waterfall. Actually, this plug-in was the magic behind a lot of the things that I demo'ed: the community grid, people recommendations, notifications, etc.  (stop here if coding is not your thing)

To render the activity stream as shown above, I needed five parts:

1. Include the right JavaScript

<script src="jquery-1.9.1.min.js"></script>
<script src="waterfall-master/demos/js/libs/handlebars/handlebars.js"></script>
<script src="waterfall-master/demos/js/waterfall.min.js"></script>
<script src="jquery.timeago.js" type="text/javascript"></script>


2. Create the proper CSS for styling

<style type="text/css">
.homepage {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
font-weight: 300;
color: #444;
line-height: 1.2;
background-color: #f0f0f0;
padding-left: 12px;
margin: 0 auto;
width: 1000px;
font-size: 14pt;
}

.columnHeader {
font-size: 150%;
padding-left: 13px;
}

a {
color: #1c8aae !important;
text-decoration: none !important;
}

.date {
color: #d9d9d9 !important;
text-decoration: none !important;
}

.timeago {
color: gray !important;
border-bottom: none !important;
}

.card {
border: 2px solid #FAFAFA;
box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
-webkit-column-break-inside: avoid;
-moz-column-break-inside: avoid;
column-break-inside: avoid;
padding: 5px 5px 15px 5px;
background: -webkit-linear-gradient(45deg, #FFF, #F9F9F9);
background: -moz-linear-gradient(45deg, #FFF, #F9F9F9);
opacity: 1;
width: 415px;

-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;

}

.newsfeed {
//padding-left: 20px;
float: left;
width: 450px;
}

.leftColumn {
padding: 10px 20px 20px 20px ;
float: left;
}
.rightColumn {
float: left;
width: 325px;
padding-top: 10px;
}

.photo {
width: 50px;
height: 50px;
border-radius: 25px;
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}

.message {
font-size: 75%;
}

.attachment {
max-width: 320px;
max-height: 240px;
}

.attachDiv {
padding: 5px 0;
height: 240px;
}

.signature {
font-size: 90%;
color: #666 !important;
}

</style>


3. Create a placeholder for the HTML to be rendered asynchronously

<body style="background-color: #f0f0f0; margin: 0; overflow: scroll;">
<div class="homepage">

<div class="newsfeed">
<p class="columnHeader">News</p>
<div id="container" class="container"> <!-- activity stream will be rendered here --> </div>
</div>
</div>
....


4. Create a template for how I wanted it to look (that way the Waterfall plugin knows how to render the activity stream)

<script type="text/x-handlebars-template" id="waterfall-tpl">
{{#list}}
<div class="card">
<div class="message">
<div class="leftColumn">
<img class="photo" src="{{photoId actor}}" />
</div>
<div class="rightColumn">
{{{title}}} {{#if object.summary}} "<i>{{{object.summary}}}</i>" {{/if}}
<br/>
{{#each object.attachments}}
<div class="attachDiv">
<img class="attachment" src="{{this.url}}" />
</div>
{{/each}}
<br/>
<div class="signature">
<img style="vertical-align: middle;" src="{{generator.image.url}}"> <a class="date" href="{{object.url}}">
<abbr class="timeago" title="{{published}}">{{makeDatePretty published}}</abbr>
</a> &bull; {{object.likes.totalItems}} Likes &bull; {{object.replies.totalItems}} Comments &bull; Save This
</div>
</div>
</div>
</div>
{{/list}}
</script>


5. Call Waterfall against the Activity Stream API

<script>

$('#container').waterfall({
itemCls: 'card',
colWidth: 420,
gutterWidth: 20,
gutterHeight: 20,
maxPage: 1,
isAnimated: true,
isFadeIn: true,
debug: false,
checkImagesLoaded: false,
path: function(page) {
return 'http://connections.demolotus.com/connections/opensocial/basic/rest/activitystreams/@me/@all/@all?shortStrings=true&rollup=true&format=json&page=' + page;
}
});
</script>


And there you have it! This will give you the activity stream in a multi-column format with a rendering similar to what you see in Pinterest.  To change how it looks, you mostly have to look at steps 2 and 4 above and provide the layout/styling you want.

In the next few posts, I'll share the code for the other pages. But really it all came down to Waterfall! Once you learn that plug-in, there's tons you can do !!!

I hope this is helpful!

Monday, February 3, 2014

TimeToAct Releases Their Newest Content Management Solution for IBM Connections

View Comments
To get the most out of a social software application it should be seamlessly integrated in the work environment of users. IBM Connections is strongly going into this direction with its mail and calendar integration. TimeToAct takes this trend further with their new solution out of their IBM Connections lab: Web CMS Extension for IBM Connections.

The Web CMS Extension for IBM Connections provides a seamless integration of different content into your IBM Connections platform. Through the built in applications, user groups with access to the editorial communities can create content which will then be displayed on a consolidated custom homepage. External content like a corporate newsfeed or a Google Weather widget can be offered on the custom homepage as well.

Available Features:
  • Classic website navigation with multi level pull down menu
  • News widgets fitting to different occasions
  • Simple promotion of dates thru the events widget
  • Link widgets for an easy access to important information
  • External widget implementation for a convenient user experience

Check out their 5 minute demo below which shows how to manage and create content directly within IBM Connections:



And here's a presentation so you can learn more:




To learn more, go here.

Wednesday, January 22, 2014

ISW Takes IBM Connections Activities to the Next Level

View Comments
The countdown to IBM Connect 2014 is almost over -- just 3 more days! I'm at the airport now just about to board my plane to Orlando.

Before I do, I wanted to share the latest announcement from ISW: Kudos Boards. Kudos Boards provide a brand new experience to interact with IBM Connections Activities. If you are an active user of Activities you'll definitely want to check this out as it gives you another way to manage and organize your projects.

The new experience makes it easier to manage very large and complicated projects.

Here's a screenshot of how it looks:



With Kudos Boards you also get a new view of To-do's to give you a better sense of what's critical for you to focus on right now. You can also create your own custom lists of items to work on giving you the power to personalize the experience for you helping you see the right information at the right time.

This is a great example of using IBM Connections as a social layer as Kudos Boards is built entirely on top of the API's so everything is available through the mobile interface and other plug-ins available and each user picks the experience they want to leverage.

To see the magic, you have to check out the demo below:



ISW is going to be at IBM Connect 2014, so definitely stop by their booth to learn more.

Monday, December 16, 2013

How To Use OAuth to Call IBM Connections Cloud APIs

View Comments
Last week, two good assets were published to the social web that explain how to build a new user interface on top of our cloud IBM Connections deployment using the APIs and OAuth.

With IBM Connect 2014 just around the corner (6 more weeks!), that would be a great opportunity to showcase your work or your app integrated with our social platform.  Looking for ideas on where to start? Here's a couple of thoughts.

First, this presentation on SlideShare walks through building a customer support interface with workflow where they can ensure that the internal support team avoids having multiple people work on the same task/item.  It also separates internal discussions from external users.



The following video walks you step by step on setting up your app and registering it for OAuth access :




Ready to start coding? Start here: http://ibmdw.net/social

Thursday, September 19, 2013

How To Customize the Branding of the IBM Connections Desktop Plug-in

View Comments

Hot off the presses! One of the most popular plug-ins for IBM Connections, IBM's Enterprise Social Network, is the Desktop plug-in for Microsoft Windows. This plug-in gives you quick access to all your files directly from Windows Explorer and Microsoft Office.

To recap, the IBM Connections Desktop Plug-ins for Microsoft Windows provides the following features from Microsoft Windows Explorer:

  • Upload local files to IBM Connections from Windows Explorer or from your desktop
  • Share uploaded files with people, communities, or folders in IBM Connections
  • Work on files locally and publish them to IBM Connections
  • View people's contact details and get in touch with them
  • Pin, follow, or like IBM Connections files and folders
  • View or contribute comments for a file
  • Lock a file when you are editing it to prevent file conflicts
  • View and restore files from IBM Connections Trash
  • Share folders with IBM Connections Communities

In the latest release, of the plugin we've added the following new languages: Croatian, Romanian, Slovak, and Bulgarian. Additionally, we've also now enabled the plug-in so that administrators can customize the branding of it. For example, if you have deployed IBM Connections and you are calling it "ConnectTED" internally, you can now make sure that the plug-in obeys this branding.

If you haven't seen the plug-in yet, here's a demo that I recorded a couple of months ago:

To learn how to customize the plug-in for your users, check out the documentation here. To download the plug-in, go out and get it from the IBM Connections App Catalog here.

Wednesday, July 3, 2013

New Theme Available for IBM Connections

View Comments
I'm happy to announce that we just made a new theme available for IBM Connections, IBM's enterprise social network (ESN). This theme was first shown at IBM Connect earlier this year and has been used by our cloud customers for a while now.

The feedback from our cloud customers has been extremely positive so far. I've also been getting a lot of requests from our on-premises customers that they would like to use this new theme. The good news for them is that the theme is available today and it's ready for download!

Here's how Connections looks with the new theme (Updated 10/Jul/2013 with new screenshot):



You can download the theme from our catalog here. Deploying the theme takes just a few minutes so go on and get it!

Note: Please read the read me ( hey, it's a good reminder! ) for system requirements and installation instructions.

Enjoy!

Tuesday, July 31, 2012

How To Customize the IBM Connections Mobile App for iOS, Android & BlackBerry

View Comments

Today IBM has published documentation on how to customize the mobile apps for IBM Connections. To customize the mobile apps, you need to have IBM Connections 3.0.1.1 CR2 installed (which you can get from here). As the IT admin, you have the control on the following settings:

  • Allow iTunes Sharing - whether iOS users can transfer files to the app via iTunes
  • Allow Web Sharing - whether uses accessing Connections via a browser should be re-directed to download the native app
  • Remember Password - whether to allow end users to store their passwords in their device
  • The ability to enable/disable different components of Connections (e.g. enable Files but disable Wikis)
  • For Files, there's a set of additional configuration options:
    • Encryption - whether downloaded files should be encrypted
    • Allow Upload/Download
    • Allow Export - whether downloaded files can be shared with other apps/folders
  • The name of the app and module can be fully configured
  • SSO authentication options (Siteminder, SPNEGO, etc)
  • Ability to add new applications to the app

If you haven't seen them yet, I've recorded a demo showing the latest Android and iOS apps. Here they are again.

iOS (iPad):

Android:

To access the documentation, click here http://www-01.ibm.com/support/docview.wss?uid=swg21606189

Friday, January 13, 2012

How To Subscribe To IBM Connections Media Gallery via iTunes

View Comments

One of the new features that was introduced in IBM Connections 3.0.1 is the Media Gallery which Suzanne demos here. Chris Crummey recently asked me how could he subscribe to the items in the Media Gallery via iTunes. That way, when he's traveling he can catch up with the videos that have been added to the Media Gallery.

As you probably know, IBM Connections provides a very easy way to subscribe to each page via feeds. iTunes also has a way for you to manually add a feed to subscribe to a podcast. Thus, you can manually copy/paste the URL provided by IBM Connections, add it to iTunes and voilá.

I wanted to take this to a new level. As I thought more about this, I realized this is a huge use case. Imagine using the Media Gallery as a way to store enablement sessions as part of a product launch. Now, imagine giving your sales force a 1-click ability to take the Media Gallery offline and get up to speed on new products on their own time, perhaps as they are traveling from one customer to another.

Having said that, I created a quick customization which enables this. If you want to enable this on your server, follow these steps:

  1. If you haven't yet, copy footer.jsp to the customization directory. For example, copy <WAS_PROFILE_ROOT>/installedApps</cellName>/Activities.ear/oawebui.war/nav/templates/footer.jsp to <IC_INSTALL_ROOT>/data/shared/customization/common/nav/templates
  2. Switch to the <IC_INSTALL_ROOT>/data/shared/customization/common/nav/templates directory
  3. Open footer.jsp with your favorite text editor
  4. Scroll to the very bottom of the file and add the following line of code

    <script type="text/javascript" src="http://blog.lbenitez.com/iTunesConnections.js"></script>
    


  5. That's it!! 1 line of code! Now, save and close the file. This will make all the files uploaded to the Media Gallery and tagged with 'podcast' available via iTunes.

Here's a video of how this works:

I'll be demoing this in my session on Monday at Lotusphere '12 #ls12 .

Thursday, June 23, 2011

I love it! embed.ly in IBM Connections

View Comments

The other day I was catching up on my podcasts and heard of this service called http://embed.ly. It sounded very cool because it promised to make content embedding very easy. It leverages the open format oEmbed to convert links in a webpage to embeddable content.

This got me thinking about whether or not I could use this to spice up the activity stream in Connections. That way if someone shares a link via a microblog, wiki, blog, forum, etc, the actual content would be embedded into the Connections experience and I don't have to leave the site. I looked around in embed.ly's page and stumbled upon this tutorial.

In the tutorial, I noticed that all it took was 5 lines of code. I *had* to give it a try! I launched my Connections demo server and, in fact, after adding those 5 lines of code, content in Connections started to become alive.

Here's a quick demo that demonstrates how it looks:

So how did I do it? Simply follow these steps and you'll be up and running in no time:

  1. If you haven't yet, copy footer.jsp to the customization directory. For example, copy <WAS_PROFILE_ROOT>/installedApps</cellName>/Activities.ear/oawebui.war/nav/templates/footer.jsp to <IC_INSTALL_ROOT>/data/shared/customization/common/nav/templates
  2. If you haven't yet, copy header.jsp to the customization directory. For example, copy <WAS_PROFILE_ROOT>/installedApps</cellName>/Activities.ear/oawebui.war/nav/templates/header.jsp to <IC_INSTALL_ROOT>/data/shared/customization/common/nav/templates
  3. Switch to the <IC_INSTALL_ROOT>/data/shared/customization/common/nav/templates directory
  4. Open header.jsp with your favorite text editor
  5. At the beginning of the file, look for the last <div class="lotusRightCorner">. Just before that, add the following code:

    <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
    <script src="http://scripts.embed.ly/jquery.embedly.min.js"></script>
    


  6. That's 2 lines of code. We are almost there. Now, save and close the file
  7. Open footer.jsp with your favorite text editor
  8. Scroll to the very bottom of the file and add the following 3 lines (NOTE: Updated on 31/Aug/2011 to reflect some changes required by embed.ly, mainly the 'key' parameter and the 'urlRe' parameter. The urlRe parameter specifies which domains you want to embed. To pick and choose which domains you want to embed [for example, if you only want to embed content from YouTube], then go here: http://embed.ly/tools/generator . In the example below, I've chosen to embed all services that embed.ly supports as of 31/Aug/2011):

    <script type="text/javascript">
    
    function callEmbedly() {
    
    $('div.lotusContent').embedly(
            { 
                    maxWidth: 450, 
                    wmode: 'transparent',
                    method: 'after', 
                    key: 'e0a98aba95ef11e09dcd4040d3dc5c07',
                    urlRe: /((http:\/\/(.*yfrog\..*\/.*|twitter\.com\/.*\/status\/.*\/photo\/.*|twitter\.com\/.*\/statuses\/.*\/photo|pic\.twitter\.com\/.*|www\.twitter\.com\/.*\/statuses\/.*\/photo\/.*|mobile\.twitter\.com\/.*\/status\/.*\/photo\/.*|mobile\.twitter\.com\/.*\/statuses\/.*\/photo\/.*|www\.flickr\.com\/photos\/.*|flic\.kr\/.*|twitpic\.com\/.*|www\.twitpic\.com\/.*|twitpic\.com\/photos\/.*|www\.twitpic\.com\/photos\/.*|.*imgur\.com\/.*|.*\.posterous\.com\/.*|post\.ly\/.*|twitgoo\.com\/.*|i.*\.photobucket\.com\/albums\/.*|s.*\.photobucket\.com\/albums\/.*|phodroid\.com\/.*\/.*\/.*|www\.mobypicture\.com\/user\/.*\/view\/.*|moby\.to\/.*|xkcd\.com\/.*|www\.xkcd\.com\/.*|imgs\.xkcd\.com\/.*|www\.asofterworld\.com\/index\.php\?id=.*|www\.asofterworld\.com\/.*\.jpg|asofterworld\.com\/.*\.jpg|www\.qwantz\.com\/index\.php\?comic=.*|23hq\.com\/.*\/photo\/.*|www\.23hq\.com\/.*\/photo\/.*|.*dribbble\.com\/shots\/.*|drbl\.in\/.*|.*\.smugmug\.com\/.*|.*\.smugmug\.com\/.*#.*|emberapp\.com\/.*\/images\/.*|emberapp\.com\/.*\/images\/.*\/sizes\/.*|emberapp\.com\/.*\/collections\/.*\/.*|emberapp\.com\/.*\/categories\/.*\/.*\/.*|embr\.it\/.*|picasaweb\.google\.com.*\/.*\/.*#.*|picasaweb\.google\.com.*\/lh\/photo\/.*|picasaweb\.google\.com.*\/.*\/.*|dailybooth\.com\/.*\/.*|brizzly\.com\/pic\/.*|pics\.brizzly\.com\/.*\.jpg|img\.ly\/.*|www\.tinypic\.com\/view\.php.*|tinypic\.com\/view\.php.*|www\.tinypic\.com\/player\.php.*|tinypic\.com\/player\.php.*|www\.tinypic\.com\/r\/.*\/.*|tinypic\.com\/r\/.*\/.*|.*\.tinypic\.com\/.*\.jpg|.*\.tinypic\.com\/.*\.png|meadd\.com\/.*\/.*|meadd\.com\/.*|.*\.deviantart\.com\/art\/.*|.*\.deviantart\.com\/gallery\/.*|.*\.deviantart\.com\/#\/.*|fav\.me\/.*|.*\.deviantart\.com|.*\.deviantart\.com\/gallery|.*\.deviantart\.com\/.*\/.*\.jpg|.*\.deviantart\.com\/.*\/.*\.gif|.*\.deviantart\.net\/.*\/.*\.jpg|.*\.deviantart\.net\/.*\/.*\.gif|www\.fotopedia\.com\/.*\/.*|fotopedia\.com\/.*\/.*|photozou\.jp\/photo\/show\/.*\/.*|photozou\.jp\/photo\/photo_only\/.*\/.*|instagr\.am\/p\/.*|instagram\.com\/p\/.*|skitch\.com\/.*\/.*\/.*|img\.skitch\.com\/.*|share\.ovi\.com\/media\/.*\/.*|www\.questionablecontent\.net\/|questionablecontent\.net\/|www\.questionablecontent\.net\/view\.php.*|questionablecontent\.net\/view\.php.*|questionablecontent\.net\/comics\/.*\.png|www\.questionablecontent\.net\/comics\/.*\.png|picplz\.com\/.*|twitrpix\.com\/.*|.*\.twitrpix\.com\/.*|www\.someecards\.com\/.*\/.*|someecards\.com\/.*\/.*|some\.ly\/.*|www\.some\.ly\/.*|pikchur\.com\/.*|achewood\.com\/.*|www\.achewood\.com\/.*|achewood\.com\/index\.php.*|www\.achewood\.com\/index\.php.*|www\.whosay\.com\/content\/.*|www\.whosay\.com\/photos\/.*|www\.whosay\.com\/videos\/.*|say\.ly\/.*|ow\.ly\/i\/.*|color\.com\/s\/.*|bnter\.com\/convo\/.*|mlkshk\.com\/p\/.*|lockerz\.com\/s\/.*|lightbox\.com\/.*|www\.lightbox\.com\/.*|soundcloud\.com\/.*|soundcloud\.com\/.*\/.*|soundcloud\.com\/.*\/sets\/.*|soundcloud\.com\/groups\/.*|snd\.sc\/.*|www\.last\.fm\/music\/.*|www\.last\.fm\/music\/+videos\/.*|www\.last\.fm\/music\/+images\/.*|www\.last\.fm\/music\/.*\/_\/.*|www\.last\.fm\/music\/.*\/.*|www\.mixcloud\.com\/.*\/.*\/|www\.radionomy\.com\/.*\/radio\/.*|radionomy\.com\/.*\/radio\/.*|www\.hark\.com\/clips\/.*|www\.rdio\.com\/#\/artist\/.*\/album\/.*|www\.rdio\.com\/artist\/.*\/album\/.*|www\.zero-inch\.com\/.*|.*\.bandcamp\.com\/|.*\.bandcamp\.com\/track\/.*|.*\.bandcamp\.com\/album\/.*|freemusicarchive\.org\/music\/.*|www\.freemusicarchive\.org\/music\/.*|freemusicarchive\.org\/curator\/.*|www\.freemusicarchive\.org\/curator\/.*|www\.npr\.org\/.*\/.*\/.*\/.*\/.*|www\.npr\.org\/.*\/.*\/.*\/.*\/.*\/.*|www\.npr\.org\/.*\/.*\/.*\/.*\/.*\/.*\/.*|www\.npr\.org\/templates\/story\/story\.php.*|huffduffer\.com\/.*\/.*|www\.audioboo\.fm\/boos\/.*|audioboo\.fm\/boos\/.*|boo\.fm\/b.*|www\.xiami\.com\/song\/.*|xiami\.com\/song\/.*|www\.saynow\.com\/playMsg\.html.*|www\.saynow\.com\/playMsg\.html.*|grooveshark\.com\/.*|radioreddit\.com\/songs.*|www\.radioreddit\.com\/songs.*|radioreddit\.com\/\?q=songs.*|www\.radioreddit\.com\/\?q=songs.*|www\.gogoyoko\.com\/song\/.*|.*amazon\..*\/gp\/product\/.*|.*amazon\..*\/.*\/dp\/.*|.*amazon\..*\/dp\/.*|.*amazon\..*\/o\/ASIN\/.*|.*amazon\..*\/gp\/offer-listing\/.*|.*amazon\..*\/.*\/ASIN\/.*|.*amazon\..*\/gp\/product\/images\/.*|.*amazon\..*\/gp\/aw\/d\/.*|www\.amzn\.com\/.*|amzn\.com\/.*|www\.shopstyle\.com\/browse.*|www\.shopstyle\.com\/action\/apiVisitRetailer.*|api\.shopstyle\.com\/action\/apiVisitRetailer.*|www\.shopstyle\.com\/action\/viewLook.*|itunes\.apple\.com\/.*|gist\.github\.com\/.*|twitter\.com\/.*\/status\/.*|twitter\.com\/.*\/statuses\/.*|www\.twitter\.com\/.*\/status\/.*|www\.twitter\.com\/.*\/statuses\/.*|mobile\.twitter\.com\/.*\/status\/.*|mobile\.twitter\.com\/.*\/statuses\/.*|www\.crunchbase\.com\/.*\/.*|crunchbase\.com\/.*\/.*|www\.slideshare\.net\/.*\/.*|www\.slideshare\.net\/mobile\/.*\/.*|slidesha\.re\/.*|scribd\.com\/doc\/.*|www\.scribd\.com\/doc\/.*|scribd\.com\/mobile\/documents\/.*|www\.scribd\.com\/mobile\/documents\/.*|screenr\.com\/.*|polldaddy\.com\/community\/poll\/.*|polldaddy\.com\/poll\/.*|answers\.polldaddy\.com\/poll\/.*|www\.5min\.com\/Video\/.*|www\.howcast\.com\/videos\/.*|www\.screencast\.com\/.*\/media\/.*|screencast\.com\/.*\/media\/.*|www\.screencast\.com\/t\/.*|screencast\.com\/t\/.*|issuu\.com\/.*\/docs\/.*|www\.kickstarter\.com\/projects\/.*\/.*|www\.scrapblog\.com\/viewer\/viewer\.aspx.*|ping\.fm\/p\/.*|chart\.ly\/symbols\/.*|chart\.ly\/.*|maps\.google\.com\/maps\?.*|maps\.google\.com\/\?.*|maps\.google\.com\/maps\/ms\?.*|.*\.craigslist\.org\/.*\/.*|my\.opera\.com\/.*\/albums\/show\.dml\?id=.*|my\.opera\.com\/.*\/albums\/showpic\.dml\?album=.*&picture=.*|tumblr\.com\/.*|.*\.tumblr\.com\/post\/.*|www\.polleverywhere\.com\/polls\/.*|www\.polleverywhere\.com\/multiple_choice_polls\/.*|www\.polleverywhere\.com\/free_text_polls\/.*|www\.quantcast\.com\/wd:.*|www\.quantcast\.com\/.*|siteanalytics\.compete\.com\/.*|statsheet\.com\/statplot\/charts\/.*\/.*\/.*\/.*|statsheet\.com\/statplot\/charts\/e\/.*|statsheet\.com\/.*\/teams\/.*\/.*|statsheet\.com\/tools\/chartlets\?chart=.*|.*\.status\.net\/notice\/.*|identi\.ca\/notice\/.*|brainbird\.net\/notice\/.*|shitmydadsays\.com\/notice\/.*|www\.studivz\.net\/Profile\/.*|www\.studivz\.net\/l\/.*|www\.studivz\.net\/Groups\/Overview\/.*|www\.studivz\.net\/Gadgets\/Info\/.*|www\.studivz\.net\/Gadgets\/Install\/.*|www\.studivz\.net\/.*|www\.meinvz\.net\/Profile\/.*|www\.meinvz\.net\/l\/.*|www\.meinvz\.net\/Groups\/Overview\/.*|www\.meinvz\.net\/Gadgets\/Info\/.*|www\.meinvz\.net\/Gadgets\/Install\/.*|www\.meinvz\.net\/.*|www\.schuelervz\.net\/Profile\/.*|www\.schuelervz\.net\/l\/.*|www\.schuelervz\.net\/Groups\/Overview\/.*|www\.schuelervz\.net\/Gadgets\/Info\/.*|www\.schuelervz\.net\/Gadgets\/Install\/.*|www\.schuelervz\.net\/.*|myloc\.me\/.*|pastebin\.com\/.*|pastie\.org\/.*|www\.pastie\.org\/.*|redux\.com\/stream\/item\/.*\/.*|redux\.com\/f\/.*\/.*|www\.redux\.com\/stream\/item\/.*\/.*|www\.redux\.com\/f\/.*\/.*|cl\.ly\/.*|cl\.ly\/.*\/content|speakerdeck\.com\/u\/.*\/p\/.*|www\.kiva\.org\/lend\/.*|www\.timetoast\.com\/timelines\/.*|storify\.com\/.*\/.*|.*meetup\.com\/.*|meetu\.ps\/.*|www\.dailymile\.com\/people\/.*\/entries\/.*|.*\.kinomap\.com\/.*|www\.metacdn\.com\/api\/users\/.*\/content\/.*|www\.metacdn\.com\/api\/users\/.*\/media\/.*|prezi\.com\/.*\/.*|.*\.uservoice\.com\/.*\/suggestions\/.*|formspring\.me\/.*|www\.formspring\.me\/.*|formspring\.me\/.*\/q\/.*|www\.formspring\.me\/.*\/q\/.*|twitlonger\.com\/show\/.*|www\.twitlonger\.com\/show\/.*|tl\.gd\/.*|www\.qwiki\.com\/q\/.*|crocodoc\.com\/.*|.*\.crocodoc\.com\/.*|www\.wikipedia\.org\/wiki\/.*|www\.wikimedia\.org\/wiki\/File.*|graphicly\.com\/.*\/.*\/.*|.*youtube\.com\/watch.*|.*\.youtube\.com\/v\/.*|youtu\.be\/.*|.*\.youtube\.com\/user\/.*|.*\.youtube\.com\/.*#.*\/.*|m\.youtube\.com\/watch.*|m\.youtube\.com\/index.*|.*\.youtube\.com\/profile.*|.*\.youtube\.com\/view_play_list.*|.*\.youtube\.com\/playlist.*|.*justin\.tv\/.*|.*justin\.tv\/.*\/b\/.*|.*justin\.tv\/.*\/w\/.*|www\.ustream\.tv\/recorded\/.*|www\.ustream\.tv\/channel\/.*|www\.ustream\.tv\/.*|qik\.com\/video\/.*|qik\.com\/.*|qik\.ly\/.*|.*revision3\.com\/.*|.*\.dailymotion\.com\/video\/.*|.*\.dailymotion\.com\/.*\/video\/.*|collegehumor\.com\/video:.*|collegehumor\.com\/video\/.*|www\.collegehumor\.com\/video:.*|www\.collegehumor\.com\/video\/.*|.*twitvid\.com\/.*|www\.break\.com\/.*\/.*|vids\.myspace\.com\/index\.cfm\?fuseaction=vids\.individual&videoid.*|www\.myspace\.com\/index\.cfm\?fuseaction=.*&videoid.*|www\.metacafe\.com\/watch\/.*|www\.metacafe\.com\/w\/.*|blip\.tv\/.*\/.*|.*\.blip\.tv\/.*\/.*|video\.google\.com\/videoplay\?.*|.*revver\.com\/video\/.*|video\.yahoo\.com\/watch\/.*\/.*|video\.yahoo\.com\/network\/.*|.*viddler\.com\/explore\/.*\/videos\/.*|liveleak\.com\/view\?.*|www\.liveleak\.com\/view\?.*|animoto\.com\/play\/.*|dotsub\.com\/view\/.*|www\.overstream\.net\/view\.php\?oid=.*|www\.livestream\.com\/.*|www\.worldstarhiphop\.com\/videos\/video.*\.php\?v=.*|worldstarhiphop\.com\/videos\/video.*\.php\?v=.*|teachertube\.com\/viewVideo\.php.*|www\.teachertube\.com\/viewVideo\.php.*|www1\.teachertube\.com\/viewVideo\.php.*|www2\.teachertube\.com\/viewVideo\.php.*|bambuser\.com\/v\/.*|bambuser\.com\/channel\/.*|bambuser\.com\/channel\/.*\/broadcast\/.*|www\.schooltube\.com\/video\/.*\/.*|bigthink\.com\/ideas\/.*|bigthink\.com\/series\/.*|sendables\.jibjab\.com\/view\/.*|sendables\.jibjab\.com\/originals\/.*|www\.xtranormal\.com\/watch\/.*|socialcam\.com\/v\/.*|www\.socialcam\.com\/v\/.*|dipdive\.com\/media\/.*|dipdive\.com\/member\/.*\/media\/.*|dipdive\.com\/v\/.*|.*\.dipdive\.com\/media\/.*|.*\.dipdive\.com\/v\/.*|v\.youku\.com\/v_show\/.*\.html|v\.youku\.com\/v_playlist\/.*\.html|www\.snotr\.com\/video\/.*|snotr\.com\/video\/.*|video\.jardenberg\.se\/.*|www\.clipfish\.de\/.*\/.*\/video\/.*|www\.myvideo\.de\/watch\/.*|www\.whitehouse\.gov\/photos-and-video\/video\/.*|www\.whitehouse\.gov\/video\/.*|wh\.gov\/photos-and-video\/video\/.*|wh\.gov\/video\/.*|www\.hulu\.com\/watch.*|www\.hulu\.com\/w\/.*|hulu\.com\/watch.*|hulu\.com\/w\/.*|.*crackle\.com\/c\/.*|www\.fancast\.com\/.*\/videos|www\.funnyordie\.com\/videos\/.*|www\.funnyordie\.com\/m\/.*|funnyordie\.com\/videos\/.*|funnyordie\.com\/m\/.*|www\.vimeo\.com\/groups\/.*\/videos\/.*|www\.vimeo\.com\/.*|vimeo\.com\/groups\/.*\/videos\/.*|vimeo\.com\/.*|vimeo\.com\/m\/#\/.*|www\.ted\.com\/talks\/.*\.html.*|www\.ted\.com\/talks\/lang\/.*\/.*\.html.*|www\.ted\.com\/index\.php\/talks\/.*\.html.*|www\.ted\.com\/index\.php\/talks\/lang\/.*\/.*\.html.*|.*nfb\.ca\/film\/.*|www\.thedailyshow\.com\/watch\/.*|www\.thedailyshow\.com\/full-episodes\/.*|www\.thedailyshow\.com\/collection\/.*\/.*\/.*|movies\.yahoo\.com\/movie\/.*\/video\/.*|movies\.yahoo\.com\/movie\/.*\/trailer|movies\.yahoo\.com\/movie\/.*\/video|www\.colbertnation\.com\/the-colbert-report-collections\/.*|www\.colbertnation\.com\/full-episodes\/.*|www\.colbertnation\.com\/the-colbert-report-videos\/.*|www\.comedycentral\.com\/videos\/index\.jhtml\?.*|www\.theonion\.com\/video\/.*|theonion\.com\/video\/.*|wordpress\.tv\/.*\/.*\/.*\/.*\/|www\.traileraddict\.com\/trailer\/.*|www\.traileraddict\.com\/clip\/.*|www\.traileraddict\.com\/poster\/.*|www\.escapistmagazine\.com\/videos\/.*|www\.trailerspy\.com\/trailer\/.*\/.*|www\.trailerspy\.com\/trailer\/.*|www\.trailerspy\.com\/view_video\.php.*|www\.atom\.com\/.*\/.*\/|fora\.tv\/.*\/.*\/.*\/.*|www\.spike\.com\/video\/.*|www\.gametrailers\.com\/video\/.*|gametrailers\.com\/video\/.*|www\.koldcast\.tv\/video\/.*|www\.koldcast\.tv\/#video:.*|techcrunch\.tv\/watch.*|techcrunch\.tv\/.*\/watch.*|mixergy\.com\/.*|video\.pbs\.org\/video\/.*|www\.zapiks\.com\/.*|tv\.digg\.com\/diggnation\/.*|tv\.digg\.com\/diggreel\/.*|tv\.digg\.com\/diggdialogg\/.*|www\.trutv\.com\/video\/.*|www\.nzonscreen\.com\/title\/.*|nzonscreen\.com\/title\/.*|app\.wistia\.com\/embed\/medias\/.*|hungrynation\.tv\/.*\/episode\/.*|www\.hungrynation\.tv\/.*\/episode\/.*|hungrynation\.tv\/episode\/.*|www\.hungrynation\.tv\/episode\/.*|indymogul\.com\/.*\/episode\/.*|www\.indymogul\.com\/.*\/episode\/.*|indymogul\.com\/episode\/.*|www\.indymogul\.com\/episode\/.*|channelfrederator\.com\/.*\/episode\/.*|www\.channelfrederator\.com\/.*\/episode\/.*|channelfrederator\.com\/episode\/.*|www\.channelfrederator\.com\/episode\/.*|tmiweekly\.com\/.*\/episode\/.*|www\.tmiweekly\.com\/.*\/episode\/.*|tmiweekly\.com\/episode\/.*|www\.tmiweekly\.com\/episode\/.*|99dollarmusicvideos\.com\/.*\/episode\/.*|www\.99dollarmusicvideos\.com\/.*\/episode\/.*|99dollarmusicvideos\.com\/episode\/.*|www\.99dollarmusicvideos\.com\/episode\/.*|ultrakawaii\.com\/.*\/episode\/.*|www\.ultrakawaii\.com\/.*\/episode\/.*|ultrakawaii\.com\/episode\/.*|www\.ultrakawaii\.com\/episode\/.*|barelypolitical\.com\/.*\/episode\/.*|www\.barelypolitical\.com\/.*\/episode\/.*|barelypolitical\.com\/episode\/.*|www\.barelypolitical\.com\/episode\/.*|barelydigital\.com\/.*\/episode\/.*|www\.barelydigital\.com\/.*\/episode\/.*|barelydigital\.com\/episode\/.*|www\.barelydigital\.com\/episode\/.*|threadbanger\.com\/.*\/episode\/.*|www\.threadbanger\.com\/.*\/episode\/.*|threadbanger\.com\/episode\/.*|www\.threadbanger\.com\/episode\/.*|vodcars\.com\/.*\/episode\/.*|www\.vodcars\.com\/.*\/episode\/.*|vodcars\.com\/episode\/.*|www\.vodcars\.com\/episode\/.*|confreaks\.net\/videos\/.*|www\.confreaks\.net\/videos\/.*|video\.allthingsd\.com\/video\/.*|videos\.nymag\.com\/.*|aniboom\.com\/animation-video\/.*|www\.aniboom\.com\/animation-video\/.*|clipshack\.com\/Clip\.aspx\?.*|www\.clipshack\.com\/Clip\.aspx\?.*|grindtv\.com\/.*\/video\/.*|www\.grindtv\.com\/.*\/video\/.*|ifood\.tv\/recipe\/.*|ifood\.tv\/video\/.*|ifood\.tv\/channel\/user\/.*|www\.ifood\.tv\/recipe\/.*|www\.ifood\.tv\/video\/.*|www\.ifood\.tv\/channel\/user\/.*|logotv\.com\/video\/.*|www\.logotv\.com\/video\/.*|lonelyplanet\.com\/Clip\.aspx\?.*|www\.lonelyplanet\.com\/Clip\.aspx\?.*|streetfire\.net\/video\/.*\.htm.*|www\.streetfire\.net\/video\/.*\.htm.*|trooptube\.tv\/videos\/.*|www\.trooptube\.tv\/videos\/.*|sciencestage\.com\/v\/.*\.html|sciencestage\.com\/a\/.*\.html|www\.sciencestage\.com\/v\/.*\.html|www\.sciencestage\.com\/a\/.*\.html|www\.godtube\.com\/featured\/video\/.*|godtube\.com\/featured\/video\/.*|www\.godtube\.com\/watch\/.*|godtube\.com\/watch\/.*|www\.tangle\.com\/view_video.*|mediamatters\.org\/mmtv\/.*|www\.clikthrough\.com\/theater\/video\/.*|espn\.go\.com\/video\/clip.*|espn\.go\.com\/.*\/story.*|abcnews\.com\/.*\/video\/.*|abcnews\.com\/video\/playerIndex.*|washingtonpost\.com\/wp-dyn\/.*\/video\/.*\/.*\/.*\/.*|www\.washingtonpost\.com\/wp-dyn\/.*\/video\/.*\/.*\/.*\/.*|www\.boston\.com\/video.*|boston\.com\/video.*|www\.facebook\.com\/photo\.php.*|www\.facebook\.com\/video\/video\.php.*|www\.facebook\.com\/v\/.*|cnbc\.com\/id\/.*\?.*video.*|www\.cnbc\.com\/id\/.*\?.*video.*|cnbc\.com\/id\/.*\/play\/1\/video\/.*|www\.cnbc\.com\/id\/.*\/play\/1\/video\/.*|cbsnews\.com\/video\/watch\/.*|www\.google\.com\/buzz\/.*\/.*\/.*|www\.google\.com\/buzz\/.*|www\.google\.com\/profiles\/.*|google\.com\/buzz\/.*\/.*\/.*|google\.com\/buzz\/.*|google\.com\/profiles\/.*|www\.cnn\.com\/video\/.*|edition\.cnn\.com\/video\/.*|money\.cnn\.com\/video\/.*|today\.msnbc\.msn\.com\/id\/.*\/vp\/.*|www\.msnbc\.msn\.com\/id\/.*\/vp\/.*|www\.msnbc\.msn\.com\/id\/.*\/ns\/.*|today\.msnbc\.msn\.com\/id\/.*\/ns\/.*|www\.globalpost\.com\/video\/.*|www\.globalpost\.com\/dispatch\/.*|guardian\.co\.uk\/.*\/video\/.*\/.*\/.*\/.*|www\.guardian\.co\.uk\/.*\/video\/.*\/.*\/.*\/.*|bravotv\.com\/.*\/.*\/videos\/.*|www\.bravotv\.com\/.*\/.*\/videos\/.*|video\.nationalgeographic\.com\/.*\/.*\/.*\.html|dsc\.discovery\.com\/videos\/.*|animal\.discovery\.com\/videos\/.*|health\.discovery\.com\/videos\/.*|investigation\.discovery\.com\/videos\/.*|military\.discovery\.com\/videos\/.*|planetgreen\.discovery\.com\/videos\/.*|science\.discovery\.com\/videos\/.*|tlc\.discovery\.com\/videos\/.*|video\.forbes\.com\/fvn\/.*))|(https:\/\/(twitter\.com\/.*\/status\/.*\/photo\/.*|twitter\.com\/.*\/statuses\/.*\/photo\/.*|www\.twitter\.com\/.*\/status\/.*\/photo\/.*|www\.twitter\.com\/.*\/statuses\/.*\/photo\/.*|mobile\.twitter\.com\/.*\/status\/.*\/photo\/.*|mobile\.twitter\.com\/.*\/statuses\/.*\/photo\/.*|skitch\.com\/.*\/.*\/.*|img\.skitch\.com\/.*|itunes\.apple\.com\/.*|twitter\.com\/.*\/status\/.*|twitter\.com\/.*\/statuses\/.*|www\.twitter\.com\/.*\/status\/.*|www\.twitter\.com\/.*\/statuses\/.*|mobile\.twitter\.com\/.*\/status\/.*|mobile\.twitter\.com\/.*\/statuses\/.*|crocodoc\.com\/.*|.*\.crocodoc\.com\/.*|urtak\.com\/u\/.*|urtak\.com\/clr\/.*|.*youtube\.com\/watch.*|.*\.youtube\.com\/v\/.*|app\.wistia\.com\/embed\/medias\/.*|www\.facebook\.com\/photo\.php.*|www\.facebook\.com\/video\/video\.php.*|www\.facebook\.com\/v\/.*)))/i
            });
    }
    
    setTimeout(callEmbedly, 8000);
    </script>


  9. That's it!! 5 lines of code as promised! Now, save and close the file.

Easy, right? Now, everywhere a link shows up in Connections (again, it could be a forum, blog, wiki, status update, etc), the link will be automatically converted into the embeddable object).

To sign up for a free embed.ly account, go here. Another alternative is oohEmbed.

Enjoy!

Tuesday, June 7, 2011

New Residency Announcement: Customizing Connections User Interface

View Comments

Last week, IBM announced a new Redbooks Wiki residency for Connections. The residency is open to IBMers, business partners, and customers.

The residency will take part during a 5 week period between July 18th and August 19th. They are looking for 6 people who have done work around customizing the UI for Connections. Here's a quick excerpt from the residency page:

This new Lotus Wiki delivable will provide guidance to customers seeking to expand capabilities with IBM Connections. These new features will provide a rich user experiences, increase end user satisfaction, productivity, and value-added use of IBM Connections inside and outside the organization. Designed with a Social Business in mind, IBM Connections gives you fast access to everyone in your professional network - your colleagues, customers and partners. The latest capabilities in IBM Connections such as Moderation, Ideation Blogs, and the Media Gallery, enable you to embrace networks of people who are engaged and work in transparent and nimble ways to create business value.

This residency consists a total period of 5 weeks, from July 18 through August 19 and requires 6 residents. This is a remote residency. All participants will participate from their home office location and interact with others in remote fashion.

If you are interested in signing up and have 20 hours/week to commit to this, go up to the residency page for more information: http://www.redbooks.ibm.com/residents.nsf/Residency/14449F324AF10D83852578A40069390C?OpenDocument

Hope that a lot of you who are doing tremendous work sign up!

Monday, June 6, 2011

It's Here: Customizing Quickr Domino v8.5

View Comments

A while back, I shared with you how I'm working very hard with our team to improve the documentation around Quickr Domino v8.5. This is mainly based on feedback I heard at Lotusphere '11 #ls11.

The team has done a tremendous work in this area. So far the following has been published:

And today, I'm glad to announce that we have a new whitepaper focused solely on customization based on the new Pages architecture in Quickr Domino 8.5. Here are some of the things you'll find in the whitepaper:

  • Anatomy of the Quickr 8.5 theme
  • What's new in the Quickr 8.5 for Domino theme
  • Creating a custom theme
  • Customizing forms
  • Customizing widgets
  • Migrating customized templates to the 8.5 theme
  • Quickr for Domino hooks
  • Other customizations

I would like to thank two partners who really helped review the content and make sure it was ready for publication: Snapps and Opus Neo. And of course, thanks again to the development team who's working extra hard to get all this stuff published.

The whitepaper is available in PDF format and you can download it here: http://www.ibm.com/developerworks/lotus/documentation/quickrcustomizing/

Wednesday, June 1, 2011

How To Add Google +1 Button to Blogger

View Comments

I just caught the news about Google making available the new +1 Button.

If you want to understand the value of the Google +1 button, here's a quick video that Google put together:

As an end user, I'm still not sure about the value, but as a content publisher it might help my search rankings and make my content more discoverable so I figure I would add it to Connections and my Blogger blogs. (more on Connections in a follow-up post).

Adding the Google +1 button to Blogger is pretty easy. Once you follow these instructions, it'll show up on your page similar to this:


Here's how you get it done:

  1. Go to Blogger.com
  2. Log in with your account if you haven't yet
  3. On your Dashboard, click the Design link for your blog you want to modify
  4. Near the top of the page click on Edit HTML
  5. Now on top of the text box, click the Expand Widget Templates checkbox
  6. Find the line that contains </body>
  7. Just before that tag, add the following code:

    <script src='http://apis.google.com/js/plusone.js' type='text/javascript'/>
    

  8. Now search for post-body and you should find something like this:

    <div class='post-body entry-content'>
    

  9. Immediately after that line, add the following code:

    <div class='post_share social-media'>

    <div class='wdt_button'>

    <g:plusone expr:href='data:post.url'/>
    </div>

    </div>
  10. Now look for .footer-outer { and you should find something like this:

    .footer-outer {

    color:$(footer.text.color);

    background: $(footer.background);

    ...



  11. Just before that line add the following:

    /* Social share styles

    ----------------------------------------------- */

    .social-media {

    width: 90px;

    }

    .post_share {

    float:left;

    }

    .post_share .wdt_button {

    clear:left;

    margin:0;

    }

    .wdt_button {

    padding:5px;

    }



  12. Click Save Template and that should do it.

To see how to add the Twitter and Facebook Like buttons to your Blogger blog, see this post.

Enjoy!

Thursday, May 26, 2011

How To Create a Custom Event Handler for Quickr Domino 8.5

View Comments

Here's another Quickr Tip. Quickr Domino has a very powerful Event model which allows to intercept and modify certain events. You can use either C/C++ or Domino agents to intercept various events. Before writing hook interfaces, you need to decide which method is most appropriate for your environment. You also can combine C/C++ code and Agent code on one server. Using C/C++ for hooking into the events is the fastest method and reduces the impact on the server to a minimum. When writing C/C++ hooks, make sure the C/C++ code is clean and error codes are checked properly, because a crash in your C/C++ hook will crash the Quickr Domino server as well.

The previous example that showed how to use C/C++ hooks was specific for Quickr Domino 8.2. There's now an updated example specific for Quickr Domino 8.5. The example shows how to use Visual Studio and provides sample code that you can download and play with.


You can check it out here:   http://www-10.lotus.com/ldd/lqwiki.nsf/dx/Quickr_Domino_8.5_C_Hook_Sample_code

Wednesday, May 25, 2011

How To Give Quickr Domino 8.5 the new OneUI look

View Comments

Two weeks ago I blogged about how to make the Connection 3.0 UI look-n-feel like Quickr Domino 8.5. I've also received some questions on how to do the reverse. In other words, how to give Quickr Domino 8.5 the new look-n-feel in Connection 3.0+.

I asked the Chief Architect for Quickr Domino (Albert Wang) to see if he could pull this together. Very quickly he turned around and not only demonstrated that we can do this, but also created an article explaining how to implement this in your own system. Here's how Quickr looks with the new look-n-feel:

For instructions on how to do this, visit this article: http://www-10.lotus.com/ldd/lqwiki.nsf/dx/Sample_Custom_Themes_for_Quickr_Domino_8.5

Enjoy!

Tuesday, March 22, 2011

How To Customize the CKEditor in Quickr for Domino

View Comments

Last week I was asked how to customize the rich text editor that's embedded in Quickr for Domino. For those of you who don't know, the rich text editor included in Quickr for Domino is CKEditor.

So back to the task at hand. The request that I got was how to add the HTML source view to the rich text editor. The HTML source view allows someone with HTML knowledge to go in and customize the HTML or even used advanced HTML code to add more advanced content to the page.

I remember that I'd seen this tip out somewhere so I reached out to the social web. I eventually found out that the tip was shared in the Skype Quickr chat. This is a group chat of IBMers, business partners and customers who are all interested in Quickr. I believe the chat was initiated by Stuart McIntyre who also runs the Quickr Blog.

In the chat I found my answer and I figured I would share it with you in case you ever need something similar.

To add the Flash toolbar button to insert movies into the rich text editor:

Make the following change to this file:

data\domino\html\qphtml\html\common\qrdconfig.js

in Line 111 change from:

['Image', 'Table','Link','Smiley'],

to

['Image', 'Flash', 'Table','Link','Smiley'],

To add the HTML source view into the rich text editor:

in Line 119 change from:

['HorizontalRule', 'SpecialChar', 'Blockquote','Anchor']

to

['HorizontalRule', 'SpecialChar', 'Blockquote','Anchor', 'Source']

An Alternate Method

The method above has one difficulty... it must be re-applied every time you install a fixpack. Rob Novak has shared with us an alternate approach that won't get overwritten each time you install a fixpack:

-=-=-=-=-=-=-=-

Here's how to do this without being susceptible to fixpack overwrites. Quickr Domino, being based on Dojo 1.3.2 and using widgets to render itself, now has a widget registry that is extensible. You can modify a file called widgetRegistryConfig_ext.js in order to instruct Quickr to use alternate widgets. So instead of changing the qrdconfig.js one directly, you can modify this file and tell it to use your own.

The easiest way to do this is to find the widgetRegistryConfig_ext.js file which is initially empty and located in:

data\domino\html\qphtml\widgets\resources\

Then, make a copy of the above referenced qrdconfig.js in another location relative to the html directory, such as:

data\domino\html\snapps\

Make the modifications to the COPY of the file you just made as indicated in your post - not the original.

Next, we need a controller to tell it to load our copy, so we copy over the file:

data\domino\html\qphtml\widgets\page\field\ckRichText.js

Into our new directory structure:

data\domino\html\snapps\widgets\page\field\chRichText.js

How do we override it? By using Dojo's provide-require-declare methodology (long subject) in our copy of this file. Near the top, just before the renderedit: function() we add the following:


dojo.provide("snapps.widgets.page.field.ckRichText");

dojo.require("quickr.widgets.page.field._ckRichText");

dojo.declare("snapps.widgets.page.field._ckRichText", [quickr.widgets.page.field._ckRichText],

Then the rest of the code remains standard until the end where we add the following:

dojo.declare("snapps.widgets.page.field.ckRichText",
[snapps.widgets.page.field._ckRichText],
{


}
);


So now we've told Quickr to a) use our ckEditor.js file, and b) consume our qrdconfig.js file, all we have left is to tell the widget registry it all exists. So we use the widget registry to force it to load the copy whenever it encounters the instruction to load the original. Add the following code to widgetRegistryConfig_ext.js (remember it was blank before):

{
registerWidgets: [
{
type: 'REGISTERMODULEPATH',
name: "snapps",
path: "/snapps"
},
{
type: 'GLOBALREPLACE',
source: "quickr.widgets.page.field.ckRichText",
use: "snapps.widgets.page.field.ckRichText"
}
]
}

The GLOBALREPLACE type is what does all the magic.

Interestingly, a module path can be an actual path (like the \snapps one we added under html) or it can even be a Domino database to make widgets portable and replicable over clusters

-=-=-=-=-

Enjoy!

Monday, March 21, 2011

How To Build a Status Update application for Facebook, Twitter and Connections using Portlet Factory

View Comments

Because I've shared so many Connections coding tips and how-to's, I'm often asked to help provide some guidance on how to create an application from scratch that integrates Connections with product X.

This video came to my attention last week and it's pretty cool. It starts with a demo of what the application is (a portlet that can simultaneously update your status in Connections, Twitter and Facebook, if enabled by the end user).

There are several things that really stand out in this demo. First, I really liked how the video shows that you can use the standard Java library provided by Twitter. Second, the demo shows how this same application looks like from an iPhone (or any mobile device) with no additional coding. The only thing that had to happen was to add the 'mobile theme' in portlet factory and voilá.

Enjoy!