igniterealtime / pade

Pàdé (Yoruba word for Meet) is a browser extension (Chrome/Edge) based unified communications desktop client for Openfire.
https://igniterealtime.github.io/pade/
Apache License 2.0
104 stars 46 forks source link

Support RSS & Atom feeds #166

Closed deleolajide closed 5 years ago

deleolajide commented 5 years ago

Add support for streaming RSS or Atom feeds as real-time messages

This will be useful for tracking web sites, services or content providers that publish RSS or Atom feeds. Scan the feed URLs and post all new feed items as IM messages to a special chatbox called "RSS Feed"

image

image

deleolajide commented 5 years ago

Done. Available in version 1.2.5

jcbrand commented 5 years ago

Is this an OpenFire feature?

deleolajide commented 5 years ago

It is a client side implementation using a Converse plugin and a modification to the Stophe Connection object. It however relies heavily on a browser extension's ability to bypass CORS in order to perform the cross domain RSS or Atom URL fetches

deleolajide commented 5 years ago

The really nice thing in this implementation is using Converse to manage reposting and duplicate postings by using the feed item GUID as the stanza-id

deleolajide commented 5 years ago

Implement the /fetch command to add an RSS/Atom feed provider to the current room chat. Messages should only be shown to the local user and not sent to the XMPP server.

deleolajide commented 5 years ago

Done. Now available in version 1.2.6

/feed https://github.com/conversejs/converse.js/commits/master.atom will produce

image