RSS

From Aquila Homepage

Jump to: navigation, search

RSS (Really Simple Syndication)

Abstract

This module offers support for RSS (Really Simple Syndication). The module allows you to have Aquila automatically post feed entries to main chat, a user or all users with certain rights. This can be used to automatically post changes to a hubs homepage, for example.

Usage

Suppose we want to add a Slashdot feed to our hub. Looking at the Slashdot homepage, it tells us that the feed ccan be accessed at http://en.wikipedia.org/wiki/Rss. We want the hub to check every 20minutes. We do:

 !rssadd slashdot 1200 http://rss.slashdot.org/Slashdot/slashdot

This will result in:

Feed information slashdot
  Title: Slashdot
 Link: http://slashdot.org/
 Description: News for nerds, stuff that matters

 Example node:
title: Google's Data-Storage Fuels Privacy Fears
link: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/111039031/article.pl

description: taoman1 writes "Facing worries about its tracking Web surfers' every move, Google Inc. is now offering a feature to track Web surfers' every move. Its free Web History service is strictly voluntary — Google users can sign up to have the Internet giant keep detailed records of every website they visit so they can easily find them again later. Web History's quiet debut this week came as privacy advocates continued to raise alarms about the prospect of Google combining its collection of information on individuals with that of DoubleClick Inc. Google has agreed to acquire the New York-based company, which distributes Web ads and  tracks where the majority of people go on the Internet, for $3.1 billion."&ltp>&lta href="http://yro.slashdot.org/article.pl?sid=07/04/22/133224&from=rss">Read more of this story</a> at Slashdot.</p> 
<p>&lta href="http://rss.slashdot.org/~a/Slashdot/slashdot?a=HqQggG"><img src=" border="0"></img></a></p><img src=" height="1" width="1"/>
dc:creator: CmdrTaco
dc:date: 2007-04-22T13:22:00+00:00
dc:subject: internet
slash:department: something-to-think-about
slash:section: yro
slash:comments: 22
slash:hit_parade: 22,22,16,12,4,3,1
feedburner:origLink: http://yro.slashdot.org/article.pl?sid=07/04/22/133224&from=rss

This feed information allows us to select the fields we want printed in every feed entry:

!rssselect slashdot title,link,description

Resulting in:

<Wintermute> Slashdot - News for nerds, stuff that matters
Google's Data-Storage Fuels Privacy Fears
http://rss.slashdot.org/~r/Slashdot/slashdot/~3/111039031/article.pl
taoman1 writes "Facing worries about its tracking Web surfers' every move, Google Inc. is now offering a feature to track Web surfers' every move. Its free Web History service is strictly voluntary — Google users can sign up to have the Internet gian...

Canada's Wayne Crookes Sues the Net
http://rss.slashdot.org/~r/Slashdot/slashdot/~3/111032489/article.pl
newtley writes "Wayne Crookes, the Green Party of Canada's ex-financier, is in effect trying to sue the Internet. He's going after the Wikipedia, Google, and openpolitics.ca (run up by federal Green Party activist Michael Pilling) claiming he's suffered, '...

Aquila will now post any updates to the feed to main chat in this format. Updates are done every 1200 seconds (20 minutes).

To determine who receives the feeds:

 Usage: rsstarget <feed> user <target> | rights <rights> | main
 user <target>: send feed output to user
 right <rights>: send feed output to all user with <rights>

If this command is omitted, or "main" is used, they are just posted to main chat. A few examples:

 !rsstarget slashdot user #OpChat
 !rsstarget slashdot rights share

The first example will send the feed to the OpChat chatroom. The second example will send it to all users with the share right (By default: vips and above).

PS: The Slashdot homepage can be found at http://slashdot.org. Entries used without permission.