Enhance Volto text blocks to automatically append file size and mimetype to internal links
Project description
collective.volto.enhancedlinks
Enhance Volto slate blocks to automatically append file size and mimetype to internal links.
Features
When you link a content in slate block, if the linked object has volto.enhanced_links_enabled behavior enabled, an extra data will be appended to the block with its size and mimetype.
By default the behavior is enabled for:
File
Image
Installation
Install collective.volto.enhancedlinks by adding it to your buildout:
[buildout] ... eggs = collective.volto.enhancedlinks
and then running bin/buildout
Contribute
Compatibility
This product has been tested on:
Plone 6
License
The project is licensed under the GPLv2.
Credits
Developed with the support of:
Regione Emilia-Romagna supports the PloneGov initiative.
1.1.1 (2024-04-24)
Prevent write-on-read to each tool call. [cekk]
1.1.0 (2024-03-18)
Add tool to manage infos, removed memoize machinery [mamico]
1.0.1 (2024-01-30)
Add some default metadata in summary serializer. [cekk]
Return getObjSize and mime_type in summary serializer for brains and contents with enhancedlinks behavior. [cekk]
1.0.0 (2024-01-26)
Initial release. [cekk]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.volto.enhancedlinks-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26c23ba4f1e7b0e133a53dd60688856122e9f956a471698d0b5f1cb22155676 |
|
MD5 | 68f247d605c439e7aa3155c86fc56365 |
|
BLAKE2b-256 | a41ffd0b06e2e32d9b016b3ba66dcd71644f113c3f0b5874ab5e710587f9d4c7 |
Hashes for collective.volto.enhancedlinks-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26c41003f13353b377b46ffd1549ddbda78c9abfed3fec76cf3292e734f761d8 |
|
MD5 | 83980836254a210d1d18c6cac2d3472f |
|
BLAKE2b-256 | 8dd251781be2b4597974f135133b9943e65069991ee5a07d671fb2cc5658610e |