Bookmarks (aka favorites, wishlists) for Plone Classic.
The Plone pendent is collective/volto-bookmarks
- Stores bookmarks of
- anonymous users in local storage.
- authenticated users in user properties as JSON
- REST-API backend
- SvelteJS based frontend
- list of bookmarks
- a bookmark is a JSON serializable (dict-like) with keys:
uid
: UID of content itemcreated
: date in ISO (like in plone.restapi)group
: group name or empty string for global groupowner
: unique owner identifier (str)queryparams
: String: Identifies bookmark together with uid, owner and grouppayload
: arbitary dict with custom key-value data (optional)
Reads/stores into user-property as application/json
.
Endpoints:
@bookmark
- single bookmarkGET
param uid-... (single)POST
creates new bookmark, body is JSON of one bookmarkPUT
overrides bookmark, body is JSON of one bookmarkDELETE
removes bookmark, body is JSON, list with exact one uid as string
@bookmarks
- list of bookmarksGET
by uids param?uid=...&uid=...
GET
by group params?group=...
DELETE
body is JSON, list of uids
- Check
@@bookmarks_sample
for example usage <bookmark-element>
Bookmark action-button (enable/disable)<bookmark-sum>
Count of Bookmarks as possible personal action entry<bookmark-list>
List of Bookmarks of the user
Install Souper Plone add-on in controlpanel.
Install collective.bookmarks by adding it to your buildout:
[buildout] ... eggs = collective.bookmarks
and then running bin/buildout
- Issue Tracker: https://github.com/collective/collective.bookmarks/issues
- Source Code: https://github.com/collective/collective.bookmarks
We'd be happy to see many forks and pull-requests to make this addon even better.
Maintainers are Jens Klein, Peter Holzer and the BlueDynamics Alliance developer team. We appreciate any contribution and if a release is needed to be done on pypi, please just contact one of us.
We also offer commercial support if any training, coaching, integration or adaptions are needed.
The project is licensed under the GPLv2.