How to install redomino.advancedkeyword
- Download and install ActivePython
- Open Command Prompt
pypm install redomino.advancedkeyword
What are the main problems of the old keyword management?
Here is a list of problems:
- all the keywords are listed as a long, long plain list
- keywords are not semantically grouped
Here you can see the standard keyword widget how it is prompted to :
As you can imagine the above edit widget is hard to use and difficult to manage.
How can AdvancedKeyword help you
And now the advanced keyword widget with hierarchical management:
The above image lets the keyword editor collapse/expand semantic groups of keywords, which makes it more suitable to manage large sets of keywords as you can find in a large intranet.
You can also search for existing keywords through the existing tags.
How does it work?
Hierarchy is introduced using the . (dot) character: it will be used as a keyword separator. Why are we using the dot character and not another one? Because it is little used in keywords and it is easy to type.
If you use correctly the . separator, you will be able to create a keyword tree similar to the following one:
[+] what [v] [+] what.doors [v] [+] what.doors.flat [+] what.doors.profiled [+] what.furniture [-] technology [v] ...
Clicking on the collapse or expand controls you can open or close keyword nodes. If you click on a keyword that is a leaf, all its parents will be selected automatically; if you unselect a node, all the sub-keywords selected are automatically deselected. So by the keyword editor you will be able to select single leafs or internal nodes.
You can add new keywords using the standard Plone control: nothing has changed. If you want to add one or more keywords then type something similar to the following example:
How keywords are shown on tagged contents
If you choose the following keywords on a particular object:
- technology.combined systems
the customized keywords viewlet will prompt the following links:
- what (clicking on this item you will be able to see all the products)
- what.doors (clicking on this item you will be able to see all the door related products)
- what.doors.flat (clicking on this item you will be able all the flat doors related products)
- technology.combined systems
This works because we provide a customized catalog indexer for keywords.
In the next release a new mechanism will be provided for changing the displayed keywords. For instance, if you don't like how "technology.combinened systems" looks like, you'll be able to edit it.
How to use AdvancedKeyword on an existing site
Thanks to the keywords map you 're able to see the website's arguments structure.
How to see the arguments map of the site:
This product also adds a new portlet: Keyword Portlet. In order to assign a new instance of this portlet you will have to choose a "supertag" (or a namespace tag). This supertag will be used to browse a list of all tags that are "first child" of this tag. For ex. if your portal has these two contents:
>>> doc1.Subjects() ['supertag','supertag1','supertag.subtag1','supertag1.subtag2'] >>> doc2.Subjects() ['supertag','supertag1','supertag.subtag3','supertag1.subtag4']
and if you choose 'supertag1' as parent tag, the results list will show this:
These are links to the search page with a search parameter set to 'supertag.subtagX'.
Here you can see the keyword portlet:
How to launch tests
Type the following command:
$ ./bin/test -m redomino.advancedkeyword
Travis continous integration status (development version):
- Added travis support for Continous Integration (http://travis-ci.org/#!/redomino/redomino.advancedkeyword). [davidemoro]
- now you can select more than a keyword using the shift key [sithmel]
- added advanced search form customization [sithmel]
- fixed performance issue on editing widget [sithmel]
- Fixed bug: "kw1.kw2" matched incorrectly with "kw1.kw2 kw3" [sithmel]
- Fixed issues related to https://github.com/redomino/redomino.advancedkeyword/issues/3 (not solved in 1.1 version) [davidemoro]
- Closes https://github.com/redomino/redomino.advancedkeyword/issues/3. The expand or collapse icon is not displayed launching the instance in production mode (./bin/instance start). Thanks whitie. [davidemoro]
- Added MANIFEST.in, thanks whitie. Closes https://github.com/redomino/redomino.advancedkeyword/issues/2 [davidemoro]
- Fixed readme. [davidemoro]
- Fix portlet keyword bug (UnicodeDecodeError when there is a non ascii character) [davide moro]
- Converted keyword portlet from formlib to z3c.form [davide moro]
- Fixed locales :It depended from plone 4.1 locale. Now Is stands alone [sithmel]
- Added (and tested) a keyword tree generator baseclass (browserview) [sithmel]
- New keyword map based on keyword tree generator [sithmel]
- New keyword widget based on keyword tree generator [sithmel]
- Added .gitignore file [davidemoro]
- Keywords portlet: title required now [davidemoro]
- Added and enabled locales/en directory [davidemoro]
- Fixed tests and keyword portlet implementation and memoize support. [davidemoro]
- Added a keywordportlet thats shows a list of first children of a selected tag [giacomos]
- Administrators users can choose to enable or disable the @@keywordsmap action through a keywords map control panel. If disabled, a NotFound will be raised trying to visit the @@keywordsmap view. [davidemoro, giacomos]
- More tests added [davidemoro, giacomos]
- Moved manual i18n strings to a separate pot [giacomos]
- Added a keyword map of the site. You can see the whole hierarchical arguments map visiting @@keywordsmap. Each node of the hierarchical map is clickable. The target link leads you to the portal_url/search?Subject:list=CLICKEDKEYWORD search results page. [davidemoro]
- Added a new action name "Keywords map" that links the @@keywordsmap view [davidemoro]
- Added Sphinx documentation [davidemoro]
- Added plone.indexer as explicit requirement. Older versions of Plone (3.x) are not shipped with plone.indexer by default. [davidemoro]
- Removed minExpandLevel option on dynatree. Too large if the keyword tree has to many subkeywords [davidemoro]
- Initial release [davidemoro]