-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4a0f272
Showing
8 changed files
with
801 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
*~ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Islandora XQuery [](https://travis-ci.org/discoverygarden/islandora_xquery) | ||
|
||
## Introduction | ||
|
||
This module utilizes Zorba to run XQueries agains XML documents stored in Fedora. | ||
|
||
## Requirements | ||
|
||
This module requires the following modules/libraries: | ||
|
||
* [Islandora](https://github.com/islandora/islandora) | ||
* [Tuque](https://github.com/islandora/tuque) | ||
* [Zorba](http://www.zorba.io/home) | ||
|
||
## Installation | ||
|
||
Install as usual, see [this](https://drupal.org/documentation/install/modules-themes/modules-7) for further information. | ||
|
||
For Zorba... | ||
|
||
## Configuration | ||
|
||
Set the paths for `example` and `module` in Administration » Islandora » MODULE (admin/islandora/module). | ||
|
||
Include a screenshot of configuration page. | ||
|
||
## Troubleshooting/Issues | ||
|
||
Having problems or solved a problem? Check out the Islandora google groups for a solution. | ||
|
||
* [Islandora Group](https://groups.google.com/forum/?hl=en&fromgroups#!forum/islandora) | ||
* [Islandora Dev Group](https://groups.google.com/forum/?hl=en&fromgroups#!forum/islandora-dev) | ||
|
||
## FAQ | ||
|
||
Q. Is this normal? | ||
|
||
A. Yes. This is normal. Why ... | ||
|
||
## Maintainers/Sponsors | ||
Current maintainers: | ||
|
||
* [discoverygarden](https://github.com/discoverygarden) | ||
|
||
This project has been sponsored by: | ||
|
||
* [The Canadian Writing Research Collaboratory](http://www.cwrc.ca/en/) | ||
The Canadian Writing Research Collaboratory is an online project designed to | ||
enable unprecedented avenues for studying the words that most move people in and | ||
about Canada. | ||
|
||
## Development | ||
|
||
If you would like to contribute to this module, please check out our helpful | ||
[Documentation for Developers](https://github.com/Islandora/islandora/wiki#wiki-documentation-for-developers) | ||
info, as well as our [Developers](http://islandora.ca/developers) section on the Islandora.ca site. | ||
|
||
## License | ||
|
||
[GPLv3](http://www.gnu.org/licenses/gpl-3.0.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* This file contains helper functions used throughout this module. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = Islandora XQuery | ||
description = "Allows the user to modify objects datastreams using XQuery." | ||
package = Islandora | ||
version = 7.x-dev | ||
core = 7.x | ||
dependencies[] = islandora | ||
php = 5.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Defines the install and uninstall hooks for this module. | ||
*/ | ||
|
||
// @todo Add function to test for Zorba install. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Defines all the hooks this module implements. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Unit tests for XQuery wrapper functions. | ||
*/ | ||
|
||
class XQueryUnitTestCase extends DrupalUnitTestCase { | ||
|
||
/** | ||
* Gets info to display to describe this test. | ||
* | ||
* @see DrupalUnitTestCase::getInfo() | ||
*/ | ||
public static function getInfo() { | ||
return array( | ||
'name' => 'XQuery Unit Tests', | ||
'description' => 'Ensure that XQuery functions correctly.', | ||
'group' => 'Islandora', | ||
); | ||
} | ||
|
||
/** | ||
* Sets up the requirements for this test. | ||
* | ||
* @see DrupalUnitTestCase::setUp() | ||
*/ | ||
public function setUp() { | ||
parent::setUp('islandora_xquery'); | ||
} | ||
|
||
/** | ||
* Test running XQuery against fixtures. | ||
*/ | ||
public function testXQuery() { | ||
} | ||
|
||
} |