191 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Why collaboration matters for global companies
Wed, Sep 14th 2016 9
How many users access IBM Connections on mobile devices? - Kudos Analytics
Tue, Jul 19th 2016 4
Australia rocking the IBM Champion program!!!
Mon, Nov 23rd 2015 2
Infinite scrolling Activity Stream in IBM Connections
Tue, May 19th 2015 2
Jay's awesome auto-magic News Feed tweak for IBM Connections
Mon, May 4th 2015 4
INFORM (AusLUG) 2015 - Call for Speakers and Sponsors
Thu, Apr 23rd 2015 5
This thing just keeps getting better......Social Connections 8
Wed, Feb 25th 2015 6
Top 10
Why collaboration matters for global companies
Wed, Sep 14th 2016 9
This thing just keeps getting better......Social Connections 8
Wed, Feb 25th 2015 6
INFORM (AusLUG) 2015 - Call for Speakers and Sponsors
Thu, Apr 23rd 2015 5
Check out Kudos at IBM ConnectED 2015 and WIN a SONOS!
Wed, Jan 14th 2015 4
Who should be part of my IBM Connections Community? Kudos Insights knows!
Wed, Jan 21st 2015 4
Kudos Boards for IBM Connections Video
Wed, Jan 22nd 2014 4
Surrounded by the people
Thu, Feb 12th 2015 4
Jay's awesome auto-magic News Feed tweak for IBM Connections
Mon, May 4th 2015 4
How many users access IBM Connections on mobile devices? - Kudos Analytics
Tue, Jul 19th 2016 4
Kudos Boards for IBM Connections is ready to roll! Social Connections here we come!
Wed, Jun 11th 2014 2


Jay's awesome auto-magic News Feed tweak for IBM Connections
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Adam Brown    

The other day Jay was looking for something to do with his spare moments in between finalising Kudos Analytics Cloud and Kudos Boards Mobile (come on Jay you don't really have spare time;) and he made an awesome tweak to our internal deployment of IBM Connections. I thought it was worth sharing so here it is:

There's no mechanism in Connections by default to notify people of new posts in the News Feed. Forcing users to refresh the page, or click on 'Discover' / 'I'm Following' to find out if something new has happened. 

 

I had an idea to solve this problem with a little javascript injection into the header.jsp. 

A couple of hours of coding and testing later, it actually worked as planned and is now implemented in our production environment (feedback welcome). 

 

What does it do?

A - Shows a button with 'X New Posts' at the top of the news feed (screenshot below)

B- Updates the page title, which lets you see if there are any updates without switching to the tab. (Also makes the tab glow if it is pinned - as seen on Facebook, Instagram, etc.)

 

How?

The script first checks to see if it's in Homepage on load. You don't want to make a request every X seconds from every page in connections.

It then periodically polls the RSS feed for the current stream to retrieve any entries since the time the page was loaded. (Thanks to Mr. Andrew "API" Welch for his input here)

If it finds any new entries, it shows a bar at the top indicating the number of new updates and, my favourite part, updates the document.title allowing you to see if there are any updates without the need to actually switch to the tab

You might need to refresh your homepage for it to take effect. And you might have to wait till there are some new posts as well :) 

 Code to implement this:

  1. Put the activity-stream-notifier.jsp (below) file in the same folder as the customised header.jsp. 
  2. Add the following line at the end of your header.jsp:‚Äč  --%><%@ include file="./activity-stream-notifier.jsp" %><%--
The results are as per the below screenshot:

 

Well I think that is pretty neat. Hope you can make use of it!

 

 

 

 



---------------------
http://www.collaborationblueprint.com.au/blog/2015/5/4/jays-awesome-auto-magic-news-feed-tweak-for-ibm-connections.html
May 04, 2015
5 hits



Recent Blog Posts
9
Why collaboration matters for global companies
Wed, Sep 14th 2016 7:09p   Adam Brown
Business models across many industries are being rapidly redefined as new entrants harness new technologies to gain a competitive edge. But how well are new technologies going to help longer-established companies, if their existing technologies are presenting challenges? In a survey of knowledge workers, almost all of respondents said they have felt overwhelmed by information to the point of incapacity. Clearly, companies won&rsquo;t get the most out of their employees if they suffer from in
4
How many users access IBM Connections on mobile devices? - Kudos Analytics
Tue, Jul 19th 2016 4:56a   Adam Brown
Just posted a quick demo video of Kudos Analytics. We often get asked if we can report on how many users are accessing IBM Connections via a mobile device. The video demonstrates this and a few other related reports.




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition