Spinner lets you do fast, easy and bulk content spinning.
Content spinning is a pratice that is not recommended in the SEO world. Use it with care and at your own risks.
This plugin requires Craft CMS 4.0.0 or later.
This is my first Craft plugin and my first real PHP project. I'm more a front dev so the code is a little bit shitty but it works for my use case. Plus, the plugin doesn't fully support multisite (translations).
If you want to review or complete my code in order to push it on the Craft Plugin Store, you are very welcome.
To install the plugin, follow these instructions.
-
Add this repository to your composer.json :
"repositories": [ { "type": "git", "url": "https://github.com/LouisCuvelier/craft-spinner.git" } ]
-
Open your terminal and go to your Craft project :
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require LouisCuvelier/spinner
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Spinner.
- Bulk generate texts based on a spin text defined in the control panel.
- Generate one text on a new entry, based on the same spin text defined in the control panel.
- Create a new field with a
Spin Text
type. - Go to the control panel section (at
yourwebsite.com/admin/spinner
) and write some spin text. - Save your text :
- Save → It will only save your spin text to the database.
- Save and generate spin texts → It will save your spin text and generate a text for each entry where the field exists.
I created a Spin Text
field. I went to the Spinner control panel and I wrote some spin text. Then, I clicked Save and generate texts
.
If my entries already exist, I can bulk generate texts by using the button Save and generate texts
.
But if my entry doesn't exist yet, I can create a new one and use the Generate text
button.
If I want to regenerate every texts on each entry, I can simply go to the control panel and click on the button Save an generate texts
that correspond to the spin I want to regenerate from.
Brought to you by Louis Cuvelier