Folders and collections listing support for microdata in Plone
Project description
Introduction
This package is a Plone add-on for sites where collective.microdata.core is installed. See the product’s page for more information about microdata and schema.org implementation.
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)
Also:
(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.
Changelog
0.1 (2012-09-08)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.microdata.contentlisting-0.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a72635ebe9383044e9770f8e3064d1e2c83103ed70d404a4e10abc708cb406ec |
|
MD5 | b5e3cbc25a38880d74b256ab2b4fa7f0 |
|
BLAKE2b-256 | 038930fe863faf65808851a7e51de288f2547b5ec4dd0737525c6f775774720a |