Ara RSS

Open source software under GPL 2.0 license. Written by Denis Sureau.

Ara is an automatic editor of RSS feed. Only the links towards the Web pages must be given to him. It is able to retrieve the title and the description of the pages and to produce a syndication file in the RSS format.
It enables you to select the pages to be syndicated instead of publishing the last articles systematically as the generators included in content managers do it.

The Ara term means "Atom and RSS API", it is also the name of a species of parrots from South America.

Using Ara

The program is a set of PHP scripts which have to be stored on a Web site.
One creates a feed from the browser by entering the URL of the interface, ara.php.
It is easier to use the program with two browsers, one to display the pages to include and to copy the URLs from the URL input field, the other to edit the RSS file. Thus by just a cut and paste action one transfers the URL from the field to the interface and one clicks on "Add" to add it to the list.
The EDIT button on the left of the link makes it possible to modify the title and description if one wants.
To generate the feed, one enters the name at top if the file already exists, or at bottom for a new feed, and one clicks on the Create and RSS feed button.

Warning

Ara is not a simple editor, when a page is added, it is reads for extracting useful information and for this purpose Ara makes use of Ajax (with the Anaa framework ), but Ajax can read files only from the site where it is installed. Actually the goal is to build the feed of the site, just avoid to give URL to other sites.

How it works

It is an Ajax script with a backend in PHP 5. In the current version only the pages of the website where it is installed can be added to the feed.
It is necessary to be authenticated to use it, to this goal the install.php program allows to register a login and a password. This file must absolutely be be erased. Once registered, the user remains registered for the whole session, even if he reads other pages meanwhile.
To generate the contents automatically, the program loads the pages given in the list and reads in the head section the contents of the title and description tags. If they are missing, the first H1 tag in the body of the page will be used for the title instead.
The same if description misses, the text of the synopsis will be taken from the page instead.

Documentation

The Ara manual describes the use of the interface and the various options, as well as the architecture of the program.
The manual is written with Open Office, you can build a PDF version with the export version of the HTML processor.

Downloading

Download the zip archive

The file includes the editor and the scripts of authentification, as well as the Common RSS script to display feeds on Web pages and a demo named ara-test.php. The manual is included also.

Try

The ara directory holds a log file, ara.log. Load it (it may be displayed by notepad) in case of trouble.

Changes

Future of the software

Several improvements are planned:
- generation of Atom files.
- possibility of using the program remotely from a local station.
- use of the program like Web service for different sites.

Licence

The software and all scripts which it contains are under the GNU GPL 2.0 license. You are free to use the scripts on your site, but you must maintain the copyright notice containing the name of the author and the links on the site of the author (scriptol.com) if either you distribute a modified version.

Question? Go to the forum.

(c) 2007-2010 Denis Sureau. Scriptol.com