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.
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.)
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:
- Put the activity-stream-notifier.jsp (below) file in the same folder as the customised header.jsp.
- Add the following line at the end of your header.jsp: --%><%@ include file="./activity-stream-notifier.jsp" %><%--
Well I think that is pretty neat. Hope you can make use of it!
| Recent Blog Posts
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?
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
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’t get the most out of their employees if they suffer from in
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.