Contributors: [ansonhoyt](https://twitter.com/ansonhoyt @ansonhoyt)
Tags: cmis, alfresco
Requires at least: 3.3.1 (let us know if it works on an earlier version)
Tested up to: 3.3.2
Plugin URI: https://github.com/TIU11/Basic-CMIS
Version: 0.0.3-alpha
Author: Anson Hoyt
Author URI: https://github.com/ansonhoyt
License: LGPLv3
Wordpress Plugin for basic CMIS integration. Searches a CMIS compliant system and renders the matching documents. Tested with Alfresco Enterprise's CMIS service, but should work with any CMIS compatible source (e.g. Microsoft Sharepoint, Alfresco).
Update composer.json
"repositories": [
{
"type": "git",
"url": "https://github.com/TIU11/Basic-CMIS"
}
],
"require": {
"tiu11/basic-cmis": "dev-master"
}
Run composer update
- Pull down the code from Github.
- Create a
basic-cmis
folder under your Wordpress plugins folder. - Upload the code to the new folder.
- Activate the plugin through the 'Plugins' menu in WordPress
- Configure the plugin via the Admin panel. You must provide a CMIS url, username and password. This is used sitewide.
- Use the
cmis
shortcode in your content.
Use the [cmis]
shortcode to retrieve documents and render them.
- Docs in a folder:
[cmis folder="/my particular/folder name/"]
- Docs in the folder, including subfolders:
[cmis tree="/my particular/folder name/"]
- Docs containing the keywords:
[cmis keywords="coffee tea"]
- Docs whose name matches. May include wildcard character '%':
[cmis name="Agenda%.doc"]
- Combinations of parameters:
[cmis folder="/documents" keywords="bacon" name="%menu%.pdf"]
- Display options:
[cmis display_options="show_icon show_modified_date hide_title"
- Render a suitable title:
[cmis folder="/My Documents"]
=> "Documents in /My Documents"[cmis tree="/My Documents"]
=> "Documents in /My Documents"[cmis keywords="coffee"]
=> "Documents containing 'coffee'"[cmis name="%Agenda%"]
=> "Documents named '%Agenda%'"
If you have found a bug or have a feature to request, please add it to the GitHub issue tracker, or fork the project and send a pull request.
Copyright 2015 Tuscarora Intermediate Unit
This file is part of Basic CMIS for WordPress.
Basic CMIS for WordPress is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Basic CMIS for WordPress 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with Basic CMIS for WordPress. If not, see [http://www.gnu.org/licenses/].