Apache-XPointer-RDQL

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

--- #YAML:1.0
name: Apache-XPointer-RDQL
version: 1.1
author:
  - Aaron Straup Cope E<lt>ascope@cpan.orgE<gt>
abstract: ! >-
  mod_perl handler for addressing XML fragments using the RDF Data Query
  Language.
license: perl
requires:
  Apache::XPointer: '>= 1.1'
  RDFStore: '>= 0.50'
build_requires:
  Test::Simple: '>= 0.47'
provides:
  Apache::XPointer::RDQL:
    file: lib/Apache/XPointer/RDQL.pm

README  view on Meta::CPAN

NAME
    Apache::XPointer::RDQL - mod_perl handler for addressing XML fragments
    using the RDF Data Query Language.

SYNOPSIS
     <Directory /foo/bar>

      <FilesMatch "\.rdf$">
       SetHandler   perl-script
       PerlHandler  Apache::XPointer::RDQL::RDFStore

       PerlSetVar   XPointerSendRangeAs  "application/rdf+xml"

README  view on Meta::CPAN

                                USING
                                rdf for <http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
                                rss for <http://purl.org/rss/1.0/>));

     $req->header("Accept" => qq(mulitpart/mixed));

     my $res = $ua->request($req);

DESCRIPTION
    Apache::XPointer::RDQL::RDFStore is a mod_perl handler to address XML
    fragments using the HTTP 1.1 *Range* and *Accept* headers and the XPath
    scheme, as described in the paper : *A Semantic Web Resource Protocol:
    XPointer and HTTP*.

    Additionally, the handler may also be configured to recognize a
    conventional CGI parameter as a valid range identifier.

    If no 'range' property is found, then the original document is sent
    unaltered.

    If an *Accept* header is specified with no corresponding match, then the

lib/Apache/XPointer/RDQL.pm  view on Meta::CPAN

package Apache::XPointer::RDQL;
use base qw (Apache::XPointer);

$Apache::XPointer::RDQL::VERSION = '1.1';

=head1 NAME

Apache::XPointer::RDQL - mod_perl handler for addressing XML fragments using the RDF Data Query Language.

=head1 SYNOPSIS

 <Directory /foo/bar>

  <FilesMatch "\.rdf$">
   SetHandler	perl-script
   PerlHandler	Apache::XPointer::RDQL::RDFStore

   PerlSetVar   XPointerSendRangeAs  "application/rdf+xml"

lib/Apache/XPointer/RDQL.pm  view on Meta::CPAN

                            USING
                            rdf for <http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
                            rss for <http://purl.org/rss/1.0/>));

 $req->header("Accept" => qq(mulitpart/mixed));

 my $res = $ua->request($req);

=head1 DESCRIPTION

Apache::XPointer::RDQL::RDFStore is a mod_perl handler to address XML fragments using
the HTTP 1.1 I<Range> and I<Accept> headers and the XPath scheme, as described
in the paper : I<A Semantic Web Resource Protocol: XPointer and HTTP>.

Additionally, the handler may also be configured to recognize a conventional
CGI parameter as a valid range identifier.

If no 'range' property is found, then the original document is
sent unaltered.

If an I<Accept> header is specified with no corresponding match, then the

lib/Apache/XPointer/RDQL/RDFStore.pm  view on Meta::CPAN

# $Id: RDFStore.pm,v 1.9 2004/11/16 04:33:33 asc Exp $
use strict;

package Apache::XPointer::RDQL::RDFStore;
use base qw (Apache::XPointer::RDQL);

$Apache::XPointer::RDQL::RDFStore::VERSION = '1.1';

=head1 NAME

Apache::XPointer::RDQL::RDFStore - mod_perl handler to address XML fragments using the RDF Data Query Language.

=head1 SYNOPSIS

 <Directory /foo/bar>

  <FilesMatch "\.rdf$">
   SetHandler	perl-script
   PerlHandler	Apache::XPointer::RDQL::RDFStore

   PerlSetVar   XPointerSendRangeAs  "XML"

lib/Apache/XPointer/RDQL/RDFStore.pm  view on Meta::CPAN

                            USING
                            rdf for <http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
                            rss for <http://purl.org/rss/1.0/>));

 $req->header("Accept" => "application/rdf+xml");

 my $res = $ua->request($req);

=head1 DESCRIPTION

Apache::XPointer::RDQL::RDFStore is a mod_perl handler to address XML fragments
using the HTTP 1.1 I<Range> and I<Accept> headers and the XPath scheme,
as described in the paper : I<A Semantic Web Resource Protocol: XPointer and HTTP>.

Additionally, the handler may also be configured to recognize a conventional
CGI parameter as a valid range identifier.

If no 'range' property is found, then the original document is
sent unaltered.

If an I<Accept> header is specified with no corresponding match, then the



( run in 0.977 second using v1.01-cache-2.11-cpan-b16cb0d3907 )