Simple "breaking news" service with the help of Superfeeder.com
August 28 - 2009I have made a simple Breaking news web page with the help of Superfeedr.com and XMPP. I have made this for my personal use and as a test, but maybe someone else finds it interesting too.
The system is working now the following way:
+------------------------+
| Superfeeder.com |
| PubSub |
+------------------------+
|
+-----------v------------+
| Lobstermonster.org |
| |
| Memcache PubSub |
+-------------------^----+
| |
-----v--------------v-----
WebClients
Superfeeder.com is publishing items of BBC News' Latest Published Stories and Yahoo! News: Technology News. Lobstermonster.org is receiving those feeds and when it does, it stores the feeds to memcached and publishes them to every webclient online.
When a client opens the web page, the content on the page is first displayed from memcache. The user subscribes to Lobstermonster's pubsub service as anonymous and does a session based subscription to the Lobstermonster's SuperFeedr pubsub node. After succesfull subscription the client is starting to receive the Breaking News as "real time".
With this kind of basic system anything could be displayed on web realtime with very minimum hardware.
As always I'm using Amazing Strophe at the "webside" to handle the connection to my XMPP system.
List of all post on LobsterMonster.org
- 2010-02-20: XMPP, XFS, buddyloud, FOSDEM
- 2009-10-20: Devox 2009
- 2009-10-20: Strophe + F5
- 2009-10-07: RSS feeds to PubSub nodes
- 2009-08-28: Breaking News -service
- 2009-08-02: Geode-Xmpp-GoogleMap example
- 2009-07-19: Lobstermonster's Buddycloud tweeds
- 2009-07-15: Buddycloud Weather Service
- 2009-06-15: Read and comment BBC Breaking news real time in Lobstermonster Lounge
- 2009-05-17: Geolocation using Firefox's Geode
- 2009-05-17: Geolocation using buddycloud
- 2009-05-08: Simple Weather Forecast Bot
- 2009-05-03: Possibility to ping anonymous web users using my IM client
- 2009-05-01: Online status notified in both ways between Tuomas and the Guest
- 2009-04-30: Contact pages updated
- 2009-04-29: Receive BBC World news as XMPP Message (using the great PubSub feature)!
- 2009-04-19: Example how to send IQ commands to external XMPP server using XEP-0244: IO Data
- 2009-04-19: So how is most of the stuff done on Lobstermonster.org
- 2009-04-18: My mood now on my contact pages.
- 2009-04-15: The incredible XMPP - BOSH - Strophe - Multi-User Chat! :-D
- 2009-04-15: Contact pages ready - and implemented of course with XMPP
- 2009-04-14: Baby got more memory
- 2009-04-13: What have I done and why?