Version 0.5 - Changelog
Preview your important keywords in your text as a map. Good for SEO.
This plugin has nothing to to do with the meta keywords tag. It's the keywords inside your texts that are targeted.
Features
- Support for structure fields
- Support for multiple keyword maps
- Support for mutiple words in a keyword phrase
- Support for multi languages
- Highlights both keywords in tags and text.
- Counters for matched words.
- Will ignore these characters
-#,.!?()[]
. - Possible to show or hide the preview and just show the keywords.
This plugin is a panel field and to use it you need to add a blueprint field. You also need a field that has a textarea.
fields:
mytext:
label: My text
type: textarea
keywordmap:
label: Keyword Map
type: keywordmap
target: mytext
In this case we call our textarea field mytext
but you can call it anything.
Our new field has two required options:
type
needs to bekeywordmap
target
needs to be a field that contains a textarea, in this case it'smytext
.
Click on the top of the field to keyword phrases. Both single and multiple words are allowed in a single keyword phrase.
See screenshot on top to see the results.
- Kirby 2.4.1+
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.
- Jens Törnell
- mark.js - Javascript to hightlight keywords in a text
- Color Hash - Javascript to hash strings to color codes.