querypath 6.x-1.6

Bug fixes

Fixed #1028562: Parse error: syntax error, unexpected ')' in querypath/querypath.module on line 19 reported by ClearXS. (The fix had actually been checked in for a long time, but I forgot to cut a release.)

querypath 7.x-2.x-dev

This version includes QueryPath 2.1 Alpha 1.

Note that if you upgrade to the latest dev you may need to explicitly load QueryPath because it's not longer included in hook_boot: #1781878: QueryPath is not always needed in hook_boot.

querypath 6.x-1.5

Bug fixes

Minor bug updates, and QueryPath 2.0.1 support.

Pebosi's contributed fixes are included, as is a compacted version of QueryPath released especially for Drupal.

querypath 6.x-1.4

Bug fixes

Two schema errors in QP Cache have been fixed:

1. The crckey field was accidentally set to unsigned. CRCs are signed.
2. The hashkey unique key was incorrectly defined. This will not affect most installations.

Both have been corrected.

querypath 6.x-1.3

New features

This release adds QP Cache support.

QP Cache is a cache system optimized for XML storage with arbitrary keys (objects, strings, whatever). Cache lookups are very fast, and cache maintenance is left to the implementor. (In other words, Drupal cache clears have no impact on this cache -- by design). The main use case, it is anticipated, is to store local copies of documents retrieved from a remote service.

querypath 6.x-1.2

New features
Bug fixes

- Added SPARQL and Linked Data example.
- Fixed help text in the installer.

querypath 6.x-1.x-dev

New features

The developer release tends to have more examples. Sometimes it will have new features as well.

querypath 6.x-1.1

New features

This is the first official release of the Drupal QueryPath module. Along with this module, you will also need to download the QueryPath library from http://querypath.org.

The QueryPath module is a developer-centered tool. This module provides three things:

  • It loads the QueryPath library on boot.
  • It provides several examples of how Drupal and QueryPath can work together (see querypath_examples.module).
  • It provides database integration with the Drupal database library so that you can do things like this:
<?php
  // The SQL we will run:
  $sql = 'SELECT title FROM {node} WHERE sticky = 1';
  $ul = qp(QueryPath::HTML_STUB, 'body')
    ->query($sql)
    ->withEachRow()
    ->appendColumn('title', '<li/>')
    ->writeHTML();
?>

(That creates an HTML page containing a bulleted list of the titles of every sticky node.)

When should I use this module?

This module is good for importing XML, manipulating any XML or HTML markup (including well-formed files containing PHP), and accessing remote XML feeds. This library has been used for HTML, XHTML, RSS, Atom, Twitter API, Flickr API, RDF, and other arbitrary XML formats.

If you are looking for a library that will make dealing with XML and HTML as easy as writing a few lines of jQuery-like PHP, this is the module for you.

Subscribe with RSS Subscribe to Releases for QueryPath