A Blog-Addon for Plone.
Project description
collective.blog
Blog features for Plone
Features
collective.blog
adds blogging features to a Plone site.
Content Types
name | context |
---|---|
Blog |
A folderish content type that supports adding Posts and Authors |
Blog Author |
An Author in a blog |
Blog Post |
A Post in a blog |
Installation
Add collective.blog
as a dependency on your package's setup.py
install_requires = [
"collective.blog",
"Plone",
"plone.restapi",
"setuptools",
],
Also, add collective.blog
to your package's configure.zcml
(or dependencies.zcml
):
<include package="collective.blog" />
Generic Setup
To automatically enable this package when your add-on is installed, add the following line inside the package's profiles/default/metadata.xml
dependencies
element:
<dependency>profile-collective.blog:default</dependency>
Source Code and Contributions
We welcome contributions to collective.blog
.
You can create an issue in the issue tracker, or contact a maintainer.
Development requirements
- Python 3.8 or later
- Docker
Setup
Install all development dependencies -- including Plone -- and create a new instance using:
make install
Update translations
make i18n
Format codebase
make format
Run tests
Testing of this package is done with pytest
and tox
.
Run all tests with:
make test
Run all tests but stop on the first error and open a pdb
session:
./bin/tox -e test -- -x --pdb
Run only tests that match TestVocabAuthors
:
./bin/tox -e test -- -k TestVocabAuthors
Run only tests that match TestVocabAuthors
, but stop on the first error and open a pdb
session:
./bin/tox -e test -- -k TestVocabAuthors -x --pdb
Credits
The development of this add-on has been kindly sponsored by German Aerospace Center (DLR) and Forschungszentrum Jülich.
Developed by kitconcept
License
The project is licensed under GPLv2.
Contributors
- Jonas Piterek [@jonaspiterek]
- Érico Andrei [@ericof]
- Timo Stollenwerk [@tisto]
- collective [info@kitconcept.com]
Changelog
1.0.0a7 (2024-02-02)
New features:
- Allow a Blog Post to be created inside a subfolder of a Blog #54
Bug fixes:
- Refactor post_authors indexer to avoid repeated calls to the catalog #56
1.0.0a6 (2024-01-29)
New features:
-
- Add indexer for indexing authors from a blog post [@jonaspiterek] #53
1.0.0a5 (2023-12-04)
New features:
- Translate id and title for Authors folder on creation [@jonaspiterek] #50
1.0.0a4 (2023-11-28)
Bug fixes:
- Rename Blog fti to BlogFolder, allowing contents with id blog to be added [@ericof] #42
- Add initial blocks to auto_add_authors_container handler [@jonaspiterek] #43
- Rename blog index and metadata to blog_uid [@ericof] #48
1.0.0a3 (2023-11-24)
New features:
- Control creation of "Authors" folder via registry configuration [@ericof] #34
- Add control panel to configure Blog Settings [@ericof] #36
- Additional information returned on /@authors endpoint [@ericof] #40
Internal:
- Increase test coverage of the package [@ericof] #38
1.0.0a2 (2023-11-23)
New features:
- Initial Package Structure for Plone 6 [@jonaspiterek] #11
- Blog and Author should be listed on Plone Navigation [@jonaspiterek] #13
- Implement i18n support [@ericof] #17
- Implement
collective.blog.blog_info
behavior [@ericof] #20 - Disable allowing to add Author globally. Fix GS titles [@jonaspiterek] #21
- Add index and metadata for blog post and blog author, Add test for blog author [@jonaspiterek] #28
- Implement collective.blog: Add Author, collective.blog: Add Blog, collective.blog: Add Post permissions [@ericof] #30
- Create folder authors inside a blog [@jonaspiterek] #32
Documentation:
- Improve README.md [@ericof] #15
1.0a1 (2016-02-14)
- Initial release. [@pcdummy]
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
Built Distribution
Hashes for collective.blog-1.0.0a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073fbddc299c875d0633352650fb77d7cfeeff9b795c692511cdab664c7b8fe1 |
|
MD5 | ab9b729dbe001417c418e2aa4840a876 |
|
BLAKE2b-256 | e83e340d961c97c67d0ad10a84604e608800a627d92f46f5922cdea9a5ca87e0 |