= rdfa2rdf =

WSGI proxy for transforming RDFa to RDF via RDFa2RDFXML.xsl.

== License ==

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to:

The Free Software Foundation, Inc., 
51 Franklin Street, Fifth Floor, 
Boston, MA  02110-1301, USA.


== Install and Run ==

0. Install libxml2/libxslt/rdflib and python2.4 bindings
1. Modify your settings in /rdfa2rdf/settings.py to ones that suit your server
2. As root just do a normal python setup.py install.

then:

2. Add something like this to your apache config (requires SCGI module)

<Location "/projects/rdfa2rdf">
    SCGIServer 127.0.0.1:4000
    SCGIHandler On
</Location>

Or Add something like this to your lighttpd config (requires SCGI module)

$HTTP["host"] == "tools.weborganics.co.uk" {
  scgi.server = (
                  "/" =>
                    ( "127.0.0.1" =>
                      (
                       "host" => "127.0.0.5",
                        "port" => 4000,
                        "check-local" => "disable"
                     )
                    )
                )
}

3. run this command: r2rserve

4. Restart your server

or 

2. Run the WSGI app under some other WSGI server.
