scrivito_seo_page_extender 1.2.0.rc1 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +96 -0
- data/app/views/seo_page_extender/_edit_permalink.html.erb +1 -1
- data/app/views/seo_page_extender/_meta_data_details.html.erb +11 -11
- data/app/views/seo_page_extender/_open_graph_details.html.erb +5 -5
- data/app/views/seo_page_extender/_sitemap_details.html.erb +2 -2
- data/app/views/seo_page_extender/_twitter_cards_details.html.erb +28 -26
- data/app/views/seo_page_extender/_word_density.html.erb +4 -4
- data/app/views/seo_page_extender/_word_density_part.html.erb +3 -3
- data/app/views/seo_page_extender/open_graph/_article.html.erb +5 -5
- data/app/views/seo_page_extender/open_graph/_base.html.erb +9 -10
- data/app/views/seo_page_extender/open_graph/_book.html.erb +5 -5
- data/app/views/seo_page_extender/open_graph/_music.html.erb +5 -5
- data/app/views/seo_page_extender/open_graph/_profile.html.erb +5 -5
- data/app/views/seo_page_extender/open_graph/_video.html.erb +9 -9
- data/lib/scrivito_seo_page_extender/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94f0d58ac638290307ba1bfe3c67a5942dd073b8
|
4
|
+
data.tar.gz: f04339ee62aa9846aef828c4590ced1a8703ebfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a107f3b2f21ff2449a57737f90fa6d84256a7a24e4c2efd7888c4d100758219697107dc9baf6a1e22a93ffe843d5ee2aec9cbc2728f1aff88342c36c1d1b47c4
|
7
|
+
data.tar.gz: f088c9ee84199ce0ce69c30e1b73827907145810ba42991f384b6b5c36653bc857d8271abe7e396a6b3bd57ec46dcaac6130cd1346aa8c8cdf06ef79f6d85b90
|
data/README.md
CHANGED
@@ -174,3 +174,99 @@ The key is an attribute from meta, open graph or twitter cards modules, the valu
|
|
174
174
|
## Customization
|
175
175
|
|
176
176
|
If you use the default details views provided in this gem, we recommend to activate [Scrivito Advanced Editors](https://github.com/Scrivito/scrivito_advanced_editors) to utilize the tabs used by this gem.
|
177
|
+
|
178
|
+
## Localization
|
179
|
+
|
180
|
+
The following code represents the default localization for English. Copy it to your `en.yml` and change it if necessary:
|
181
|
+
|
182
|
+
```yaml
|
183
|
+
en:
|
184
|
+
scrivito_seo_page_extender:
|
185
|
+
details:
|
186
|
+
meta_data_extender:
|
187
|
+
default_canonical_link: "Using <strong>%{link}</strong> as default."
|
188
|
+
meta_audience: 'Audience'
|
189
|
+
meta_author: 'Author'
|
190
|
+
meta_canonical: 'Canonical Link'
|
191
|
+
meta_copyright: 'Copyright'
|
192
|
+
meta_description: 'Description'
|
193
|
+
meta_keywords: 'Keywords'
|
194
|
+
meta_page_topic: 'Topic'
|
195
|
+
meta_page_type: 'Type'
|
196
|
+
meta_publisher: 'Publisher'
|
197
|
+
meta_robots: "Robots<small><a href='https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag' target='_blank'>?</a></small>"
|
198
|
+
open_graph_extender:
|
199
|
+
article_author: 'Open Graph Author'
|
200
|
+
article_expiration_time: 'Open Graph Expiration'
|
201
|
+
article_published_time: 'Open Graph Published'
|
202
|
+
article_section: 'Open Graph Section'
|
203
|
+
article_tag: 'Open Graph Tag'
|
204
|
+
book_author: 'Open Graph Author'
|
205
|
+
book_isbn: 'Open Graph ISBN'
|
206
|
+
book_release_date: 'Open Graph Release Date '
|
207
|
+
book_tag: 'Open Graph Tag'
|
208
|
+
music_album: 'Open Graph Album'
|
209
|
+
music_creator: 'Open Graph Creator'
|
210
|
+
music_duration: 'Open Graph Duration'
|
211
|
+
music_musician: 'Open Graph Musician'
|
212
|
+
music_song: 'Open Graph Song'
|
213
|
+
og_audio: 'Open Graph Audio'
|
214
|
+
og_description: 'Open Graph Description'
|
215
|
+
og_determiner: 'Open Graph Determiner'
|
216
|
+
og_image: 'Open Graph Image'
|
217
|
+
og_locale: 'Open Graph Locale <small>e.g. en_us</small>'
|
218
|
+
og_locale_alternate: 'Open Graph Locale Alternate'
|
219
|
+
og_title: 'Open Graph Title'
|
220
|
+
og_type: 'Open Graph Type'
|
221
|
+
og_type_article: 'Article'
|
222
|
+
og_type_book: 'Book'
|
223
|
+
og_type_music: 'Music'
|
224
|
+
og_type_profile: 'Profile'
|
225
|
+
og_type_video: 'Video'
|
226
|
+
og_video: 'Open Graph Video'
|
227
|
+
profile_first_name: 'Open Graph First Name'
|
228
|
+
profile_gender: 'Open Graph Gender'
|
229
|
+
profile_last_name: 'Open Graph Last Name'
|
230
|
+
profile_username: 'Open Graph Username'
|
231
|
+
video_actor: 'Open Graph Actor'
|
232
|
+
video_actor_role: 'Open Graph Role'
|
233
|
+
video_director: 'Open Graph Director'
|
234
|
+
video_duration: 'Open Graph Duration'
|
235
|
+
video_release_date: 'Open Graph Release Date'
|
236
|
+
video_series: 'Open Graph Series'
|
237
|
+
video_tag: 'Open Graph Tag'
|
238
|
+
video_writer: 'Open Graph Writer'
|
239
|
+
permalink: 'Permalink'
|
240
|
+
sitemap_extender:
|
241
|
+
sitemap_frequency: 'Frequency of visits for bots'
|
242
|
+
sitemap_priority: 'Priority for Sitemap'
|
243
|
+
twitter_cards_extender:
|
244
|
+
attributes_app: 'App attributes'
|
245
|
+
attributes_base: 'Base attributes'
|
246
|
+
attributes_player: 'Player attributes'
|
247
|
+
tc_app_country: 'Country'
|
248
|
+
tc_app_id: 'Store ID'
|
249
|
+
tc_app_name: 'App Name'
|
250
|
+
tc_app_url: 'Store URL'
|
251
|
+
tc_card: 'Card type'
|
252
|
+
tc_creator: '<h3>Creator <small>Twitter name of the creator of this page e.g. @gertimon</small></h3>'
|
253
|
+
tc_description: 'Description'
|
254
|
+
tc_image: 'Image'
|
255
|
+
tc_more_about: 'More about Twitter cards'
|
256
|
+
tc_player_dimension: 'Dimension'
|
257
|
+
tc_player_height: 'Height'
|
258
|
+
tc_player_stream: 'Stream'
|
259
|
+
tc_player_stream_content_type: 'Content Type'
|
260
|
+
tc_player_width: 'Width'
|
261
|
+
tc_site: '<h3>Site <small>Twitter name of the company e.g. @infopark</small></h3>'
|
262
|
+
tc_title: 'Title'
|
263
|
+
word_density:
|
264
|
+
count: 'Count'
|
265
|
+
density: 'Density'
|
266
|
+
good_words: '%{count} good words on this page (words not in stop word list)'
|
267
|
+
single_words: 'Single Words'
|
268
|
+
three_words: 'Three word phrases'
|
269
|
+
two_words: 'Two word phrases'
|
270
|
+
word: 'Word'
|
271
|
+
|
272
|
+
```
|
@@ -1,42 +1,42 @@
|
|
1
|
-
<%= scrivito_details_for 'Keywords' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_keywords', default: 'Keywords') do %>
|
2
2
|
<%= scrivito_tag(:div, obj, :meta_keywords) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Description' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_description', default: 'Description') do %>
|
6
6
|
<%= scrivito_tag(:div, obj, :meta_description) %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Copyright' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_copyright', default: 'Copyright') do %>
|
10
10
|
<%= scrivito_tag(:div, obj, :meta_copyright) %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Author' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_author', default: 'Author') do %>
|
14
14
|
<%= scrivito_tag(:div, obj, :meta_author) %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for 'Publisher' do %>
|
17
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_publisher', default: 'Publisher') do %>
|
18
18
|
<%= scrivito_tag(:div, obj, :meta_publisher) %>
|
19
19
|
<% end %>
|
20
20
|
|
21
|
-
<%= scrivito_details_for 'Type' do %>
|
21
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_page_type', default: 'Type') do %>
|
22
22
|
<%= scrivito_tag(:div, obj, :meta_page_type) %>
|
23
23
|
<% end %>
|
24
24
|
|
25
|
-
<%= scrivito_details_for 'Topic' do %>
|
25
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_page_topic', default: 'Topic') do %>
|
26
26
|
<%= scrivito_tag(:div, obj, :meta_page_topic) %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
<%= scrivito_details_for 'Audience' do %>
|
29
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_audience', default: 'Audience') do %>
|
30
30
|
<%= scrivito_tag(:div, obj, :meta_audience) %>
|
31
31
|
<% end %>
|
32
32
|
|
33
|
-
<%= scrivito_details_for 'Robots<small><a href="https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag" target="_blank">?</a></small>'.html_safe do %>
|
33
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_robots', default: 'Robots<small><a href="https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag" target="_blank">?</a></small>').html_safe do %>
|
34
34
|
<%= scrivito_tag(:div, obj, :meta_robots) %>
|
35
35
|
<% end %>
|
36
36
|
|
37
|
-
<%= scrivito_details_for 'Canonical Link' do %>
|
37
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.meta_data_extender.meta_canonical', default: 'Canonical Link') do %>
|
38
38
|
<%= scrivito_tag(:div, obj, :meta_canonical) %>
|
39
39
|
<div class="text-info">
|
40
|
-
Using <strong
|
40
|
+
<%= t('scrivito_seo_page_extender.details.meta_data_extender.default_canonical_link', link: canonical_link(@obj), default: "Using <strong>#{canonical_link(@obj)}</strong> as default.").html_safe %>
|
41
41
|
</div>
|
42
42
|
<% end %>
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<%= render 'seo_page_extender/open_graph/base', obj: obj %>
|
2
2
|
|
3
|
-
<h2
|
3
|
+
<h2><%= t('scrivito_seo_page_extender.details.open_graph_extender.og_type_article', default: 'Article') %></h2>
|
4
4
|
<%= render 'seo_page_extender/open_graph/article', obj: obj %>
|
5
5
|
|
6
|
-
<h2
|
6
|
+
<h2><%= t('scrivito_seo_page_extender.details.open_graph_extender.og_type_book', default: 'Book') %></h2>
|
7
7
|
<%= render 'seo_page_extender/open_graph/book', obj: obj %>
|
8
8
|
|
9
|
-
<h2
|
9
|
+
<h2><%= t('scrivito_seo_page_extender.details.open_graph_extender.og_type_music', default: 'Music') %></h2>
|
10
10
|
<%= render 'seo_page_extender/open_graph/music', obj: obj %>
|
11
11
|
|
12
|
-
<h2
|
12
|
+
<h2><%= t('scrivito_seo_page_extender.details.open_graph_extender.og_type_profile', default: 'Profile') %></h2>
|
13
13
|
<%= render 'seo_page_extender/open_graph/profile', obj: obj %>
|
14
14
|
|
15
|
-
<h2
|
15
|
+
<h2><%= t('scrivito_seo_page_extender.details.open_graph_extender.og_type_video', default: 'Video') %></h2>
|
16
16
|
<%= render 'seo_page_extender/open_graph/video', obj: obj %>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<%= scrivito_details_for 'Priority for Sitemap' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.sitemap_extender.sitemap_priority', default: 'Priority for Sitemap') do %>
|
2
2
|
<%= scrivito_tag(:div, obj, :sitemap_priority) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Frequency of visits for bots' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.sitemap_extender.sitemap_frequency', default: 'Frequency of visits for bots') do %>
|
6
6
|
<%= scrivito_tag(:div, obj, :sitemap_frequency) %>
|
7
7
|
<% end %>
|
@@ -1,33 +1,33 @@
|
|
1
|
-
<%= scrivito_details_for 'Card type' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_card', default: 'Card type') do %>
|
2
2
|
<%= scrivito_tag(:div, obj, :tc_card, data: {tab_to_toggle: '#twitter-card-types-tab'}) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<ul class="tab-list" id="twitter-card-types-tab">
|
6
|
-
<%= content_tag :li, 'Base attributes', data: {panel_target: '#edit-twitter-card-general'}%>
|
7
|
-
<%= content_tag :li, 'App attributes', data: {panel_target: '#edit-twitter-card-app', allowed_values: ['app']}%>
|
8
|
-
<%= content_tag :li, 'Player attributes', data: {panel_target: '#edit-twitter-card-player', allowed_values: ['player']}%>
|
6
|
+
<%= content_tag :li, t('scrivito_seo_page_extender.details.twitter_cards_extender.attributes_base', default: 'Base attributes'), data: {panel_target: '#edit-twitter-card-general'}%>
|
7
|
+
<%= content_tag :li, t('scrivito_seo_page_extender.details.twitter_cards_extender.attributes_app', default: 'App attributes'), data: {panel_target: '#edit-twitter-card-app', allowed_values: ['app']}%>
|
8
|
+
<%= content_tag :li, t('scrivito_seo_page_extender.details.twitter_cards_extender.attributes_player', default: 'Player attributes'), data: {panel_target: '#edit-twitter-card-player', allowed_values: ['player']}%>
|
9
9
|
</ul>
|
10
10
|
|
11
11
|
<div class="tab-panels">
|
12
12
|
<div class="tab-panel active" id="edit-twitter-card-general">
|
13
13
|
<%= scrivito_details_for do %>
|
14
|
-
<h3>Creator <small>Twitter name of the creator of this page e.g. @gertimon</small></h3>
|
14
|
+
<%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_creator', default: '<h3>Creator <small>Twitter name of the creator of this page e.g. @gertimon</small></h3>').html_safe %>
|
15
15
|
<%= scrivito_tag(:div, obj, :tc_creator) %>
|
16
16
|
<% end %>
|
17
17
|
<%= scrivito_details_for do %>
|
18
|
-
<h3>Site <small>Twitter name of the company e.g. @infopark</small></h3>
|
18
|
+
<%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_site', default: '<h3>Site <small>Twitter name of the company e.g. @infopark</small></h3>').html_safe %>
|
19
19
|
<%= scrivito_tag(:div, obj, :tc_site) %>
|
20
20
|
<% end %>
|
21
21
|
|
22
|
-
<%= scrivito_details_for 'Title' do %>
|
22
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_title', default: 'Title') do %>
|
23
23
|
<%= scrivito_tag(:div, obj, :tc_title) %>
|
24
24
|
<% end %>
|
25
25
|
|
26
|
-
<%= scrivito_details_for 'Description' do %>
|
26
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_description', default: 'Description') do %>
|
27
27
|
<%= scrivito_tag(:div, obj, :tc_description) %>
|
28
28
|
<% end %>
|
29
29
|
|
30
|
-
<%= scrivito_details_for 'Image' do %>
|
30
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_image', default: 'Image') do %>
|
31
31
|
<%= scrivito_tag(:div, obj, :tc_image) %>
|
32
32
|
<% end %>
|
33
33
|
</div>
|
@@ -36,36 +36,36 @@
|
|
36
36
|
<div class="row">
|
37
37
|
<div class="col-xs-4">
|
38
38
|
<%= scrivito_details_for 'Iphone' do %>
|
39
|
-
<h4
|
39
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_name', default: 'App Name') %></h4>
|
40
40
|
<%= scrivito_tag(:div, obj, :tc_app_name_iphone) %>
|
41
|
-
<h4
|
41
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_id', default: 'Store ID') %></h4>
|
42
42
|
<%= scrivito_tag(:div, obj, :tc_app_id_iphone) %>
|
43
|
-
<h4
|
43
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_url', default: 'Store URL') %></h4>
|
44
44
|
<%= scrivito_tag(:div, obj, :tc_app_url_iphone) %>
|
45
45
|
<% end %>
|
46
46
|
</div>
|
47
47
|
<div class="col-xs-4">
|
48
48
|
<%= scrivito_details_for 'Ipad' do %>
|
49
|
-
<h4
|
49
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_name', default: 'App Name') %></h4>
|
50
50
|
<%= scrivito_tag(:div, obj, :tc_app_name_ipad) %>
|
51
|
-
<h4
|
51
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_id', default: 'Store ID') %></h4>
|
52
52
|
<%= scrivito_tag(:div, obj, :tc_app_id_ipad) %>
|
53
|
-
<h4
|
53
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_url', default: 'Store URL') %></h4>
|
54
54
|
<%= scrivito_tag(:div, obj, :tc_app_url_ipad) %>
|
55
55
|
<% end %>
|
56
56
|
</div>
|
57
57
|
<div class="col-xs-4">
|
58
58
|
<%= scrivito_details_for 'Googleplay' do %>
|
59
|
-
<h4
|
59
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_name', default: 'App Name') %></h4>
|
60
60
|
<%= scrivito_tag(:div, obj, :tc_app_name_googleplay) %>
|
61
|
-
<h4
|
61
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_id', default: 'Store ID') %></h4>
|
62
62
|
<%= scrivito_tag(:div, obj, :tc_app_id_googleplay) %>
|
63
|
-
<h4
|
63
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_url', default: 'Store URL') %></h4>
|
64
64
|
<%= scrivito_tag(:div, obj, :tc_app_url_googleplay) %>
|
65
65
|
<% end %>
|
66
66
|
</div>
|
67
67
|
</div>
|
68
|
-
<%= scrivito_details_for 'Country' do %>
|
68
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_app_country', default: 'Country') do %>
|
69
69
|
<%= scrivito_tag(:div, obj, :tc_app_country) %>
|
70
70
|
<% end %>
|
71
71
|
</div>
|
@@ -73,23 +73,23 @@
|
|
73
73
|
<div class="tab-panel" id="edit-twitter-card-player">
|
74
74
|
<div class="row">
|
75
75
|
<div class="col-xs-4">
|
76
|
-
<%= scrivito_details_for 'Player' do %>
|
76
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player', default: 'Player') do %>
|
77
77
|
<%= scrivito_tag(:div, obj, :tc_player) %>
|
78
78
|
<% end %>
|
79
79
|
</div>
|
80
80
|
<div class="col-xs-4">
|
81
|
-
<%= scrivito_details_for 'Dimension' do %>
|
82
|
-
<h4
|
81
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player_dimension', default: 'Dimension') do %>
|
82
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player_width', default: 'Width') %></h4>
|
83
83
|
<%= scrivito_tag(:div, obj, :tc_player_width) %>
|
84
|
-
<h4
|
84
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player_height', default: 'Height') %></h4>
|
85
85
|
<%= scrivito_tag(:div, obj, :tc_player_height) %>
|
86
86
|
<% end %>
|
87
87
|
</div>
|
88
88
|
<div class="col-xs-4">
|
89
89
|
<%= scrivito_details_for do %>
|
90
|
-
<h4
|
90
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player_stream', default: 'Stream') %></h4>
|
91
91
|
<%= scrivito_tag(:div, obj, :tc_player_stream) %>
|
92
|
-
<h4
|
92
|
+
<h4><%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_player_stream_content_type', default: 'Content Type') %></h4>
|
93
93
|
<%= scrivito_tag(:div, obj, :tc_player_stream_content_type) %>
|
94
94
|
<% end %>
|
95
95
|
</div>
|
@@ -98,5 +98,7 @@
|
|
98
98
|
</div>
|
99
99
|
|
100
100
|
<div class="alert alert-info">
|
101
|
-
<a href="https://dev.twitter.com/cards/getting-started" target="_blank">
|
101
|
+
<a href="https://dev.twitter.com/cards/getting-started" target="_blank">
|
102
|
+
<%= t('scrivito_seo_page_extender.details.twitter_cards_extender.tc_more_about', default: 'More about Twitter cards') %>
|
103
|
+
</a>.
|
102
104
|
</div>
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<% words = words_density(obj, attribute) %>
|
2
2
|
<h4>
|
3
|
-
<%= words[:count]
|
3
|
+
<%= t('scrivito_seo_page_extender.word_density.good_words', count: words[:count], default: "#{words[:count]} good words on this page (words not in stop word list)") %>
|
4
4
|
</h4>
|
5
5
|
<ul class='tab-list'>
|
6
6
|
<li class='active' data-panel-target='#one-word'>
|
7
|
-
Single Words
|
7
|
+
<%= t('scrivito_seo_page_extender.word_density.single_words', default: 'Single Words') %>
|
8
8
|
</li>
|
9
9
|
<li data-panel-target='#two-words'>
|
10
|
-
Two word phrases
|
10
|
+
<%= t('scrivito_seo_page_extender.word_density.two_words', default: 'Two word phrases') %>
|
11
11
|
</li>
|
12
12
|
<li data-panel-target='#three-words'>
|
13
|
-
Three word phrases
|
13
|
+
<%= t('scrivito_seo_page_extender.word_density.three_words', default: 'Three word phrases') %>
|
14
14
|
</li>
|
15
15
|
</ul>
|
16
16
|
<div class='tab-panels'>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<table class="table table-bordered table-striped">
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
|
-
<th
|
5
|
-
<th
|
6
|
-
<th
|
4
|
+
<th><%= t('scrivito_seo_page_extender.word_density.word', default: 'Word') %></th>
|
5
|
+
<th><%= t('scrivito_seo_page_extender.word_density.count', default: 'Count') %></th>
|
6
|
+
<th><%= t('scrivito_seo_page_extender.word_density.density', default: 'Density') %></th>
|
7
7
|
</tr>
|
8
8
|
</thead>
|
9
9
|
<% list.each do |word, count| %>
|
@@ -1,19 +1,19 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph Published' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.article_published_time', default: 'Open Graph Published') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :article_published_time %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph Expiration' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.article_expiration_time', default: 'Open Graph Expiration') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :article_expiration_time %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph Author' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.article_author', default: 'Open Graph Author') do %>
|
10
10
|
<%= scrivito_tag :div, obj, :article_author %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph Section' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.article_section', default: 'Open Graph Section') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :article_section %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for 'Open Graph Tag' do %>
|
17
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.article_tag', default: 'Open Graph Tag') do %>
|
18
18
|
<%= scrivito_tag :div, obj, :article_tag %>
|
19
19
|
<% end %>
|
@@ -1,36 +1,35 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph Type' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_type', default: 'Open Graph Type') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :og_type %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph Title' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_title', default: 'Open Graph Title') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :og_title %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph Locale <small>e.g. en_us</small>'.html_safe do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_locale', default: 'Open Graph Locale <small>e.g. en_us</small>').html_safe do %>
|
10
10
|
<%= scrivito_tag :div, obj, :og_locale %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph Locale Alternate' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_locale_alternate', default: 'Open Graph Locale Alternate') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :og_locale_alternate %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for 'Open Graph Description' do %>
|
17
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_description', default: 'Open Graph Description') do %>
|
18
18
|
<%= scrivito_tag :div, obj, :og_description %>
|
19
19
|
<% end %>
|
20
20
|
|
21
|
-
<%= scrivito_details_for 'Open Graph Determiner' do %>
|
21
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_determiner', default: 'Open Graph Determiner') do %>
|
22
22
|
<%= scrivito_tag :div, obj, :og_determiner, data: {toggle_button_list: ['a','an','the','','auto']} %>
|
23
23
|
<% end %>
|
24
24
|
|
25
|
-
<%= scrivito_details_for 'Open Graph Image' do %>
|
25
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_image', default: 'Open Graph Image') do %>
|
26
26
|
<%= scrivito_tag :div, obj, :og_image %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
<%= scrivito_details_for 'Open Graph Audio' do %>
|
29
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_audio', default: 'Open Graph Audio') do %>
|
30
30
|
<%= scrivito_tag :div, obj, :og_audio %>
|
31
31
|
<% end %>
|
32
32
|
|
33
|
-
<%= scrivito_details_for 'Open Graph Video' do %>
|
33
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.og_video', default: 'Open Graph Video') do %>
|
34
34
|
<%= scrivito_tag :div, obj, :og_video %>
|
35
35
|
<% end %>
|
36
|
-
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph Author' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.book_author', default: 'Open Graph Author') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :book_author %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph ISBN' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.book_isbn', default: 'Open Graph ISBN') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :book_isbn %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph Release Date' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.book_release_date', default: 'Open Graph Release Date') do %>
|
10
10
|
<%= scrivito_tag :div, obj, :book_release_date %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph Tag' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.book_tag', default: 'Open Graph Tag') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :book_tag %>
|
15
|
-
<% end %>
|
15
|
+
<% end %>
|
@@ -1,19 +1,19 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph Duration' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.music_duration', default: 'Open Graph Duration') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :music_duration %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph Musican' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.music_musician', default: 'Open Graph Musican') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :music_musician %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph Album' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.music_album', default: 'Open Graph Album') do %>
|
10
10
|
<%= scrivito_tag :div, obj, :music_album %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph Creator' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.music_creator', default: 'Open Graph Creator') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :music_creator %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for 'Open Graph Song' do %>
|
17
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.music_song', default: 'Open Graph Song') do %>
|
18
18
|
<%= scrivito_tag :div, obj, :music_song %>
|
19
19
|
<% end %>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph ' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.profile_first_name', default: 'Open Graph First Name') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :profile_first_name %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph ' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.profile_last_name', default: 'Open Graph Last Name') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :profile_last_name %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph ' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.profile_username', default: 'Open Graph Username') do %>
|
10
10
|
<%= scrivito_tag :div, obj, :profile_username %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph ' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.profile_gender', default: 'Open Graph Gender') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :profile_gender %>
|
15
|
-
<% end %>
|
15
|
+
<% end %>
|
@@ -1,31 +1,31 @@
|
|
1
|
-
<%= scrivito_details_for 'Open Graph Actor' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_actor', default: 'Open Graph Actor') do %>
|
2
2
|
<%= scrivito_tag :div, obj, :video_actor %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Open Graph Actor Role' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_actor_role', default: 'Open Graph Actor Role') do %>
|
6
6
|
<%= scrivito_tag :div, obj, :video_actor_role %>
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<%= scrivito_details_for 'Open Graph Director' do %>
|
9
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_director', default: 'Open Graph Director') do %>
|
10
10
|
<%= scrivito_tag :div, obj, :video_director %>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= scrivito_details_for 'Open Graph Writer' do %>
|
13
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_writer', default: 'Open Graph Writer') do %>
|
14
14
|
<%= scrivito_tag :div, obj, :video_writer %>
|
15
15
|
<% end %>
|
16
16
|
|
17
|
-
<%= scrivito_details_for 'Open Graph Duration' do %>
|
17
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_duration', default: 'Open Graph Duration') do %>
|
18
18
|
<%= scrivito_tag :div, obj, :video_duration %>
|
19
19
|
<% end %>
|
20
20
|
|
21
|
-
<%= scrivito_details_for 'Open Graph Release Date' do %>
|
21
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_release_date', default: 'Open Graph Release Date') do %>
|
22
22
|
<%= scrivito_tag :div, obj, :video_release_date %>
|
23
23
|
<% end %>
|
24
24
|
|
25
|
-
<%= scrivito_details_for 'Open Graph Tag' do %>
|
25
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_tag', default: 'Open Graph Tag') do %>
|
26
26
|
<%= scrivito_tag :div, obj, :video_tag %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
<%= scrivito_details_for 'Open Graph Series' do %>
|
29
|
+
<%= scrivito_details_for t('scrivito_seo_page_extender.details.open_graph_extender.video_series', default: 'Open Graph Series') do %>
|
30
30
|
<%= scrivito_tag :div, obj, :video_series %>
|
31
|
-
<% end %>
|
31
|
+
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_seo_page_extender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito_sdk
|
@@ -83,9 +83,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
91
|
rubygems_version: 2.5.1
|