Feeds extensible parsers
========================
A set of extensible parsers for Feeds.
http://drupal.org/project/feeds_ex
Provided parsers
================
- XPath XML & HTML
- QueryPath XML & HTML (requires the QueryPath module)
- JSONPath JSON & JSON lines parser (requires JSONPath)
- JMESPath JSON & JSON linesparser (requires JMESPath and PHP 5.4)
Requirements
============
- Feeds
http://drupal.org/project/feeds
Installation
============
- Download and enable just like a normal module.
QueryPath
=========
To use the QueryPath parsers, download and enable the QueryPath module.
http://drupal.org/project/querypath
JSONPath
========
To use the JSONPath parser, download
https://jsonpath.googlecode.com/svn/trunk/src/php/jsonpath.php
into sites/all/libraries/jsonpath and clear the cache.
Note: The JMESPath parser is preferred if you can meet the requirements.
JMESPath
========
To use the JMESPath parsers, you'll need Composer, and PHP >= 5.4.
In sites/all/libraries:
$ git clone https://github.com/mtdowling/jmespath.php.git
$ cd jmespath.php
$ composer install
$ drush cc all # Or just clear the cache however you normally would.
Development
===========
To run tests locally, the TUnit module is required.
http://drupal.org/project/tunit
One of the goals of this module is to allow other developers to easily create
certain types of parsers. For example, it should be trivial to create a parser
for a specific XML format.
Documention to come.
History
=======
This is the new home for:
- Feeds XPath Parser
- Feeds JSONPath Parser
- Feeds QueryPath Parser
The above modules are all in various states of maintenance. This project is
meant to combine them so that they can benefit from each other's development and
simplify maintenance. There are also some major architectural changes.
There is no upgrade path for the old modules. It remains on the table, but those
modules are still maintained and should continue to work.
View source
- Feeds extensible parsers
- ========================
-
- A set of extensible parsers for Feeds.
- http://drupal.org/project/feeds_ex
-
- Provided parsers
- ================
- - XPath XML & HTML
- - QueryPath XML & HTML (requires the QueryPath module)
- - JSONPath JSON & JSON lines parser (requires JSONPath)
- - JMESPath JSON & JSON linesparser (requires JMESPath and PHP 5.4)
-
- Requirements
- ============
-
- - Feeds
- http://drupal.org/project/feeds
-
- Installation
- ============
-
- - Download and enable just like a normal module.
-
- QueryPath
- =========
- To use the QueryPath parsers, download and enable the QueryPath module.
- http://drupal.org/project/querypath
-
- JSONPath
- ========
- To use the JSONPath parser, download
- https://jsonpath.googlecode.com/svn/trunk/src/php/jsonpath.php
- into sites/all/libraries/jsonpath and clear the cache.
- Note: The JMESPath parser is preferred if you can meet the requirements.
-
- JMESPath
- ========
- To use the JMESPath parsers, you'll need Composer, and PHP >= 5.4.
- In sites/all/libraries:
-
- $ git clone https://github.com/mtdowling/jmespath.php.git
- $ cd jmespath.php
- $ composer install
- $ drush cc all # Or just clear the cache however you normally would.
-
- Development
- ===========
- To run tests locally, the TUnit module is required.
- http://drupal.org/project/tunit
- One of the goals of this module is to allow other developers to easily create
- certain types of parsers. For example, it should be trivial to create a parser
- for a specific XML format.
- Documention to come.
-
- History
- =======
- This is the new home for:
- - Feeds XPath Parser
- - Feeds JSONPath Parser
- - Feeds QueryPath Parser
- The above modules are all in various states of maintenance. This project is
- meant to combine them so that they can benefit from each other's development and
- simplify maintenance. There are also some major architectural changes.
-
- There is no upgrade path for the old modules. It remains on the table, but those
- modules are still maintained and should continue to work.