Folders and collections listing support for microdata in Plone
You could like to install this product when you need to get a set of microdata informations from your folder contents pages.
However this product only provide basic views implementation for the Thing vocabulary. A 3rd party product could extend it for additional vocabularies.
An implementation example could be taken from looking at collective.microdata.event
Limitation and know issues
This package is a bit experimental and it overrides a couple of Plone views:
- “Standard view” (folder_listing)
- “Summary view” (folder_summary_view)
- (right now) those views can’t be used anymore for full objects (only brains).
- this is not working on Plone site root (original views will be loaded).
How to extend
Instead of directly displaying how a single content looks like, the provided view of this product will look before for 3rd party implementations.
The customized view you are using on your folder will read from the current catalog brain the microdata_itemtype metadata, then a view with a special name is searched.
The name must be something like “VOCABULARY_URL VIEW_ID_item”.
For example, if the current content is providing the Person vocabulary (http://www.schema.org/Person) and you are listing it in the Plone “Standard view” (folder_listing), the view used for displaying the single entry will be named “http://www.schema.org/Person folder_listing_item”.
If this view is not found, the brain will be displayed with default views, provided with the product, that will display the content in the standard Plone way.
- Initial release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|collective.microdata.contentlisting-0.1.zip (29.3 kB) Copy SHA256 hash SHA256||Source||None||Sep 8, 2012|