Skip to content

Commit

Permalink
Merge pull request #12 from iNalgiev/dev
Browse files Browse the repository at this point in the history
Transition to Textmetrics
  • Loading branch information
iNalgiev authored Jul 18, 2019
2 parents eaabbe5 + 0403208 commit abfb487
Show file tree
Hide file tree
Showing 29 changed files with 315 additions and 243 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © 2016 Webtexttool <info@webtexttool.com>
Copyright © 2019 Textmetrics <support@textmetrics.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
48 changes: 27 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
![Webtexttool](/resources/images/banner.png)
![textmetrics](/resources/images/banner-772x250.png)

# Webtexttool for Craft CMS 2.x
# Textmetrics for Craft CMS 2.x

Webtexttool is the easiest way to make your website content SEO proof, resulting in higher search engine rankings and more traffic to your website. With webtexttool everyone can create great content and make sure it's SEO proof at the same time.
Textmetrics is the easiest way to make your website content SEO proof, resulting in higher search engine rankings and more traffic to your website. With Textmetrics everyone can create great content and make sure it's SEO proof at the same time.

We've put the knowledge and expertise of many many SEO experts in our SEO suggestions engine and made it very easy to use. You don't need to be an SEO expert yourself!

What you can do with the webtexttool plugin:
What you can do with the Textmetrics plugin:

### Realtime optimization suggestions
The webtexttool plugin integrates with the Craft CMS editor. While writing your content, you will see realtime suggestions on how to improve your content. The suggestions will show directly alongside the editor, so they are clearly visible and easy to follow.
The Textmetrics plugin integrates with the Craft CMS editor. While writing your content, you will see realtime suggestions on how to improve your content. The suggestions will show directly alongside the editor, so they are clearly visible and easy to follow.

### Analysis of your content
Webtexttool will analyze your content and tell you how to optimize it for maximum results in search engine rankings.
Textmetrics will analyze your content and tell you how to optimize it for maximum results in search engine rankings.

### Keyword analysis & research
Webtexttool will help you find the best keywords for your content. Fill in your keyword to have it analyzed on volume and competition in realtime and also get suggestions on other keywords you could use.
Textmetrics will help you find the best keywords for your content. Fill in your keyword to have it analyzed on volume and competition in realtime and also get suggestions on other keywords you could use.

### Text Conversion Optimizer / Content Quality
This module analyses your content and gives you tips to increase the readability of your text and improve the chances of conversion. Check our [video](https://youtu.be/5NZ6IjHntIQ) to find out more about this module!

### Uptodate SEO rules
We make sure that the webtexttool engine is always uptodate with the latest SEO rules. So you will always have access to the latest SEO rules and insights to optimize your content
### Up-to-date SEO rules
We make sure that the Textmetrics engine is always up-to-date with the latest SEO rules. So you will always have access to the latest SEO rules and insights to optimize your content

### Page Rank & SEO optimization tracking
Webtexttool has a built in Page Rank and SEO optimization tracker. It will track the rank in Google of your content and SEO optimization score, so you can follow progress. It will notify you when rankings change.
Textmetrics has a built in Page Rank and SEO optimization tracker. It will track the rank in Google of your content and SEO optimization score, so you can follow progress. It will notify you when rankings change.

Webtexttool can be used alongside other popular SEO plugins.
Textmetrics can be used alongside other popular SEO plugins.

## Installation & Usage

Clone this repo into `craft/plugins/webtexttool`.

1. Activate the webtexttool plugin from the **Plugins** menu in Craft.
2. Webtexttool will now appear in your Craft dashboard [on the left] (make sure you have admin rights).
3. Click on webtexttool and login using your webtexttool credentials. If you don't have an account, you can create one for free [here](https://app.webtexttool.com/#/register-free). You can also use the API key. Overwrite the config file `wttApiKey` variable to add the API key.
1. Activate the Textmetrics plugin from the **Plugins** menu in Craft.
2. Textmetrics will now appear in your Craft dashboard [on the left] (make sure you have admin rights).
3. Click on Textmetrics and login using your Textmetrics credentials. If you don't have an account, you can create one for free [here](https://app.textmetrics.com/#/register-free). You can also use the API key. Overwrite the config file `wttApiKey` variable to add the API key.

### Meta Description Usage

Replace or modify your current SEO head code with, or to match, the following:

```twig
<!-- Webtexttool Meta Description -->
<!-- Textmetrics Meta Description -->
{% if entry is defined %}
{% set wttRecord = craft.webtexttool.getRecordByEntryId(entry.id) %}
Expand All @@ -64,22 +64,28 @@ Replace or modify your current SEO head code with, or to match, the following:
{% endif %}
<!-- / Webtexttool Meta Description -->
<!-- / Textmetrics Meta Description -->
```

## FAQ

### Is webtexttool for Craft CMS free?
Yes, its free. The plugin is free. To use it you will need a free webtexttool account. With a free account you will have access to realtime SEO suggestions and Keyword analysis & research. You will have at least 10 keyword analysis credits per month. If you would need more than that, you could consider upgrading your webtexttool account.
### Is Textmetrics for Craft CMS free?
Yes, it's free. The plugin is free. To use it you will need a free Textmetrics account. With a free account you will have access to realtime SEO suggestions and Keyword analysis & research. You will have at least 10 keyword analysis credits per month. If you would need more than that, you could consider upgrading your Textmetrics account.

### Do you have a Pro / paid version?
Yes, we have. We offer different subscriptions (Personal, Business, Enterprise). Read more on our [website](https://www.webtexttool.com/pricing). The main difference with the free webtexttool account, is that you will get more keyword analysis credits.
Yes, we have. Read more on our [website](https://www.textmetrics.com/pricing). The main difference with the free Textmetrics account, is that you will get more keyword analysis credits.

### Do you offer support?
Yes, of course! If you have any questions, please dont hesitate to [contact us](https://www.webtexttool.com/about-webtexttool/contact/). We love to hear from you and will try to solve any issues asap.
Yes, of course! If you have any questions, please don't hesitate to [contact us](https://www.textmetrics.com/contact/). We love to hear from you and will try to solve any issues asap.

## Changelog

### 1.3.0
- Webtexttool is now Textmetrics
- Updated plugin name + new UI
- Added migration for database column type to handle CQ suggestions
- Updated SEO suggestions to support extra info

### 1.2.5
- Content Quality module has been updated
- Moved words + sentences in suggestions sidebar instead of left slideout sidebar
Expand Down Expand Up @@ -136,7 +142,7 @@ Yes, of course! If you have any questions, please don’t hesitate to [contact u

---

Copyright © 2017 Webtexttool <info@webtexttool.com>
Copyright © 2019 Textmetrics <support@textmetrics.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
17 changes: 9 additions & 8 deletions WebtexttoolPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

/**
*
* @author Webtexttool <support@webtexttool.com>
* @copyright Copyright (c) 2017, Webtexttool
* @see https://webtexttool.com
* @author Textmetrics <support@textmetrics.com>
* @copyright Copyright (c) 2017, Textmetrics
* @see https://www.textmetrics.com
* @package webtexttool
* @since 1.0
*/
Expand All @@ -16,27 +16,27 @@ class WebtexttoolPlugin extends BasePlugin
{
public function getName()
{
return 'Webtexttool';
return 'Textmetrics';
}

public function getDescription()
{
return 'Webtexttool is the easiest way to create SEO proof content to rank higher and get more traffic. Realtime optimization, keyword research and more.';
return 'Textmetrics is the easiest way to make your website content SEO proof, resulting in higher search engine rankings and more traffic to your website. With Textmetrics everyone can create great content and make sure it\'s SEO proof at the same time.';
}

public function getVersion()
{
return '1.2.5';
return '1.3.0';
}

public function getDeveloper()
{
return 'Webtexttool';
return 'Textmetrics';
}

public function getDeveloperUrl()
{
return 'https://webtexttool.com';
return 'https://www.textmetrics.com';
}

public function getReleaseFeedUrl()
Expand Down Expand Up @@ -93,6 +93,7 @@ public function renderCoreTemplate(&$context)
'synonyms' => JsonHelper::decode($record ? $record->wttSynonyms : ""),
'siteUrl' => craft()->getSiteUrl(),
'suggestionTemplate' => craft()->templates->render('webtexttool/directives/wtt-suggestion'),
'suggestionInfo' => craft()->templates->render('webtexttool/directives/wtt-suggestion-info'),
'contentQualityTemplate' => craft()->templates->render('webtexttool/directives/wtt-content-quality'),
'suggestionContentQualityTemplate' => craft()->templates->render('webtexttool/directives/wtt-suggestion-content-quality'),
'pageSlideOut' => craft()->templates->render('webtexttool/directives/wtt-page-slideout'),
Expand Down
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* The base webtexttool API url. Don't edit this url.
*/
"wttApiBaseUrl" => "https://api.webtexttool.com/",
"wttApiBaseUrl" => "https://api.textmetrics.com/",

/**
* Add your API Key here or add your own webtexttool config file (craft/config/webtexttool.php). Make sure there are no spaces or enters.
Expand Down
19 changes: 19 additions & 0 deletions migrations/m190602_000001_webtexttool_alterCQSuggestionsColumn.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php


namespace Craft;

class m190602_000001_webtexttool_alterCQSuggestionsColumn extends BaseMigration
{
/**
* Any migration code in here is wrapped inside of a transaction.
*
* @return bool
*/
public function safeUp()
{
$this->alterColumn('webtexttool_core', 'wttContentQualitySuggestions', array(ColumnType::MediumText));

return true;
}
}
2 changes: 1 addition & 1 deletion records/Webtexttool_CoreRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function defineAttributes()
'wttLanguage' => array(AttributeType::String, 'default' => ''),
'wttSynonyms' => array(AttributeType::String, 'column' => ColumnType::Text),
'wttContentQualitySettings' => array(AttributeType::String, 'column' => ColumnType::Text),
'wttContentQualitySuggestions' => array(AttributeType::String, 'column' => ColumnType::Text)
'wttContentQualitySuggestions' => array(AttributeType::String, 'column' => ColumnType::MediumText)
);
}

Expand Down
11 changes: 11 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[
{
"version": "1.3.0",
"downloadUrl": "https://github.com/iNalgiev/webtexttool/archive/1.3.0.zip",
"date": "2019-07-18T12:10:00.000Z",
"notes": [
"Webtexttool is now Textmetrics",
"Updated plugin name and UI",
"Added migration for database column type to handle CQ suggestions",
"Updated SEO suggestions to support extra info"
]
},
{
"version": "1.2.5",
"downloadUrl": "https://github.com/iNalgiev/webtexttool/archive/1.2.5.zip",
Expand Down
6 changes: 3 additions & 3 deletions resources/css/wtt-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ input {
}

.view_title {
color: #F6A01A;
color: #1d75b7;
font-size: 20px;
line-height: initial;
margin: .5em 0;
Expand Down Expand Up @@ -176,7 +176,7 @@ h2.wtt-plan-title {

.subscription-button a:hover {
color: #fff;
background-color: #ec991a;
opacity: .84;
}

.subscription-label {
Expand All @@ -194,7 +194,7 @@ h2.wtt-plan-title {
}

.subscription-label-orange {
background-color: #F6A01A;
background-color: #1d75b7;
}

.wtt-prices a {
Expand Down
Loading

0 comments on commit abfb487

Please sign in to comment.