193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
IBM Announced a new mega conference - THINK 2018
Thu, Apr 27th 2017 190
IBM Connect 2017 - Top 5 Highlights
Tue, Feb 28th 2017 7
Kudos Boards Cloud for IBM Connections Cloud - It's here!
Thu, Feb 16th 2017 10
Why collaboration matters for global companies
Wed, Sep 14th 2016 13
How many users access IBM Connections on mobile devices? - Kudos Analytics
Tue, Jul 19th 2016 8
Australia rocking the IBM Champion program!!!
Mon, Nov 23rd 2015 8
Infinite scrolling Activity Stream in IBM Connections
Tue, May 19th 2015 9
Top 10
IBM Announced a new mega conference - THINK 2018
Thu, Apr 27th 2017 190
Why collaboration matters for global companies
Wed, Sep 14th 2016 13
Check out Kudos at IBM ConnectED 2015 and WIN a SONOS!
Wed, Jan 14th 2015 11
Kudos Boards Cloud for IBM Connections Cloud - It's here!
Thu, Feb 16th 2017 10
Jay's awesome auto-magic News Feed tweak for IBM Connections
Mon, May 4th 2015 9
Infinite scrolling Activity Stream in IBM Connections
Tue, May 19th 2015 9
Kudos Boards 1.2 - Linked Boards,To Do Progress,Board Templates & more...
Thu, Jan 15th 2015 8
INFORM (AusLUG) 2015 - Call for Speakers and Sponsors
Thu, Apr 23rd 2015 8
Australia rocking the IBM Champion program!!!
Mon, Nov 23rd 2015 8
How many users access IBM Connections on mobile devices? - Kudos Analytics
Tue, Jul 19th 2016 8


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
10 hits



Recent Blog Posts
190
IBM Announced a new mega conference - THINK 2018
Thu, Apr 27th 2017 10:13p   Adam Brown
Big news from IBM on the event/conference front. Think about it...AI, Cloud, Data, IoT, and Security. They have merged in your world... and they have in ours too. That's why we're excited to announce a first ever event that reflects the way you do business: IBM Think 2018. Bringing together World of Watson and InterConnect to form the technology industry's most important event. - https://www.ibm.com/events/think/ The current events include Connect, InterConnect, Amplify, Edge, Vision, World
7
IBM Connect 2017 - Top 5 Highlights
Tue, Feb 28th 2017 3:32a   Adam Brown
Well what a huge week! There were so many interesting things going on at IBM Connect 2017 last week in San Francisco. I had some fantastic conversations with colleagues around the world and that is probably the most important part of Connect. Learning from others experiences, thinking about our future path, just fantastic. Yet how to sum it up! Well here are my top 5 highlights for IBM Connect 2017. Let me know what yours were?
10
Kudos Boards Cloud for IBM Connections Cloud - It's here!
Thu, Feb 16th 2017 1:36a   Adam Brown
Well I would estimate that over the last 12 months we have been asked about 1000 times "When is Kudos Boards coming to Connections Cloud?". My answer has been - we are working on it! Well I am very pleased to announce that it is now here and ready for us to demo at IBM Connect 2017 in San Francisco. The Kudos team has been working very hard over the last year to get this ready for release and we are stoked with the release. We have had a few users playing around over the last few weeks and the
13
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
8
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