receiving notification feeds info
hi
i'm in the need for receiving notification (only) about new feed subscription.
this is the situation:
when i upload the rtc feedreader if new feeds are reiceved i should activate a specific method... how can i (my application) see if a new feed is arrived in the selected channel?
any examples?
thanks in advance
rose
i'm in the need for receiving notification (only) about new feed subscription.
this is the situation:
when i upload the rtc feedreader if new feeds are reiceved i should activate a specific method... how can i (my application) see if a new feed is arrived in the selected channel?
any examples?
thanks in advance
rose
3 answers
rose wrote:
You can use the com.ibm.team.feed.core.newsListener extension point to
listen to events occuring when feeds are loaded and news received.
Alternatively if you dont mind using the FeedManager API you can call
FeedManager.getDefault().addNewsListener().
--
Benjamin Pasero
Work Item & UI Commons Team
hi
i'm in the need for receiving notification (only) about new feed
subscription.
this is the situation:
when i upload the rtc feedreader if new feeds are reiceved i should
activate a specific method... how can i (my application) see if a new
feed is arrived in the selected channel?
any examples?
thanks in advance
rose
You can use the com.ibm.team.feed.core.newsListener extension point to
listen to events occuring when feeds are loaded and news received.
Alternatively if you dont mind using the FeedManager API you can call
FeedManager.getDefault().addNewsListener().
--
Benjamin Pasero
Work Item & UI Commons Team
You can use the com.ibm.team.feed.core.newsListener extension point to
listen to events occuring when feeds are loaded and news received.
Alternatively if you dont mind using the FeedManager API you can call
FeedManager.getDefault().addNewsListener().
i have used the second way, but i have diffucult to initialize INewsListener listener...
i would do something like this:
FeedManager f=FeedManager.getDefault();
Channel[] c=f.getChannels();
for(int i=0;i<c.length;i++){
if (!c[i].getCategory().equals("com.ibm.team.feed.core.SystemFeed")){
INewsListener listener=???;
f.addNewsListener(c[i], listener);
}
}
hoping in a precious hint
rose
rose wrote:
That looks good, it will work when you create your own implementing
class of INewsListener.
--
Benjamin Pasero
Work Item & UI Commons Team
You can use the com.ibm.team.feed.core.newsListener extension point
to
listen to events occuring when feeds are loaded and news received.
Alternatively if you dont mind using the FeedManager API you can
call
FeedManager.getDefault().addNewsListener().
i have used the second way, but i have diffucult to initialize
INewsListener listener...
i would do something like this:
FeedManager f=FeedManager.getDefault();
Channel[] c=f.getChannels();
for(int i=0;i<c.length;i++){
if
(!c.getCategory().equals("com.ibm.team.feed.core.SystemFeed")){
INewsListener listener=???;
f.addNewsListener(c, listener);
}
}
hoping in a precious hint
rose
That looks good, it will work when you create your own implementing
class of INewsListener.
--
Benjamin Pasero
Work Item & UI Commons Team