-
Notifications
You must be signed in to change notification settings - Fork 953
Expand file tree
/
Copy pathgreekPaper.js
More file actions
176 lines (171 loc) · 6.27 KB
/
greekPaper.js
File metadata and controls
176 lines (171 loc) · 6.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
import Paper from "../../../../src/values/Paper.js";
import content from "./greekPaper.html";
const name = "greekPaper";
const paper = new Paper( content, {
keyword: "Ελληνική γλώσσα",
synonyms: "",
description: "Με τον όρο αρχαία ελληνική γλώσσα εννοείται μια μορφή της ελληνικής γλώσσας που ομιλείτο κατά τους αρχαϊκούς" +
" χρόνους και την κλασική αρχαιότητα.",
title: "Ελληνική γλώσσα",
titleWidth: 450,
locale: "el",
permalink: "https://el.wikipedia.org/wiki/%CE%95%CE%BB%CE%BB%CE%B7%CE%BD%CE%B9%CE%BA%CE%AE_%CE%B3%CE%BB%CF%8E%CF%83%CF%83%CE%B1",
slug: "%CE%95%CE%BB%CE%BB%CE%B7%CE%BD%CE%B9%CE%BA%CE%AE_%CE%B3%CE%BB%CF%8E%CF%83%CF%83%CE%B1",
} );
const expectedResults = {
introductionKeyword: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33e' target='_blank'>Keyphrase in introduction</a>: Well done!",
},
keyphraseLength: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33i' target='_blank'>Keyphrase length</a>: Good job!",
},
keywordDensity: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33v' target='_blank'>Keyphrase density</a>: The focus keyphrase was found 38 times. This is great!",
},
metaDescriptionKeyword: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33k' target='_blank'>Keyphrase in meta description</a>: Keyphrase or synonym " +
"appear in the meta description. Well done!",
},
metaDescriptionLength: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/34d' target='_blank'>Meta description length</a>: Well done!",
},
subheadingsKeyword: {
isApplicable: true,
score: 3,
resultText: "<a href='https://yoa.st/33m' target='_blank'>Keyphrase in subheading</a>: <a href='https://yoa.st/33n'" +
" target='_blank'>Use more keyphrases or synonyms in your H2 and H3 subheadings</a>!",
},
textCompetingLinks: {
isApplicable: true,
score: 2,
resultText: "<a href='https://yoa.st/34l' target='_blank'>Link keyphrase</a>: You're linking to another page with " +
"the words you want this page to rank for. <a href='https://yoa.st/34m' target='_blank'>Don't do that</a>!",
},
textImages: {
isApplicable: true,
score: 3,
resultText: "<a href='https://yoa.st/33c' target='_blank'>Image alt attributes</a>: No images appear on this page." +
" <a href='https://yoa.st/33d' target='_blank'>Add some</a>!",
},
textLength: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/34n' target='_blank'>Text length</a>: The text contains 2912 words. Good job!",
},
externalLinks: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/34f' target='_blank'>Outbound links</a>: Good job!",
},
internalLinks: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33z' target='_blank'>Internal links</a>: You have enough internal links. Good job!",
},
keyphraseInSEOTitle: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33g' target='_blank'>Keyphrase in SEO title</a>: The exact match of the focus keyphrase" +
" appears at the beginning of the SEO title. Good job!",
},
titleWidth: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/34h' target='_blank'>SEO title width</a>: Good job!",
},
slugKeyword: {
isApplicable: true,
score: 6,
resultText: "<a href='https://yoa.st/33o' target='_blank'>Keyphrase in slug</a>: (Part of) your keyphrase does not" +
" appear in the slug. <a href='https://yoa.st/33p' target='_blank'>Change that</a>!",
},
urlLength: {
isApplicable: true,
score: 0,
resultText: "",
},
urlStopWords: {
isApplicable: false,
},
keyphraseDistribution: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/33q' target='_blank'>Keyphrase distribution</a>: Good job!",
},
subheadingsTooLong: {
isApplicable: true,
score: 6,
resultText: "<a href='https://yoa.st/34x' target='_blank'>Subheading distribution</a>: 1 section of your text is longer" +
" than 300 words and is not separated by any subheadings. <a href='https://yoa.st/34y' target='_blank'>Add subheadings" +
" to improve readability</a>.",
},
textParagraphTooLong: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/35d' target='_blank'>Paragraph length</a>: None of the paragraphs are too long. Great job!",
},
textSentenceLength: {
isApplicable: true,
score: 6,
resultText: "<a href='https://yoa.st/34v' target='_blank'>Sentence length</a>: 27.8% of the sentences contain more than 20 words, " +
"which is more than the recommended maximum of 25%. <a href='https://yoa.st/34w' target='_blank'>Try to shorten the sentences</a>.",
},
textTransitionWords: {
isApplicable: true,
score: 3,
resultText: "<a href='https://yoa.st/34z' target='_blank'>Transition words</a>: Only 18.9% of the sentences contain" +
" transition words, which is not enough. <a href='https://yoa.st/35a' target='_blank'>Use more of them</a>.",
},
passiveVoice: {
isApplicable: true,
score: 3,
resultText: "<a href='https://yoa.st/34t' target='_blank'>Passive voice</a>: 24.9% of the sentences contain passive voice, " +
"which is more than the recommended maximum of 10%. <a href='https://yoa.st/34u' target='_blank'>" +
"Try to use their active counterparts</a>.",
},
textPresence: {
isApplicable: true,
score: 0,
resultText: "",
},
sentenceBeginnings: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/35f' target='_blank'>Consecutive sentences</a>: There is enough variety in your sentences." +
" That's great!",
},
imageKeyphrase: {
isApplicable: true,
score: 6,
resultText: "<a href='https://yoa.st/4f7' target='_blank'>Image Keyphrase</a>: Images on this page do not have alt attributes " +
"with at least half of the words from your keyphrase. <a href='https://yoa.st/4f6' target='_blank'>Fix that</a>!",
},
imageCount: {
isApplicable: true,
score: 9,
resultText: "<a href='https://yoa.st/4f4' target='_blank'>Images</a>: Good job!",
},
wordComplexity: {
isApplicable: false,
},
};
export {
name,
paper,
expectedResults,
};
export default {
name: name,
paper: paper,
expectedResults: expectedResults,
};