Closed atimmer closed 4 years ago
I checked the current issues with the label requires structured data / html parser
to match them to these researches. The goal is to make it easier to double check if the issues are indeed fixed after/while creating the tree researches.
This is a work in progress, at this time there are 6 issues left to match.
To match still
getSentenceBeginnings
headings/subheadings
getParagraphLength
getSubheadingTextLengths
SubheadingsDistributionTooLong
; distribution can not be too long) https://github.com/Yoast/YoastSEO.js/issues/1195getKeywordDensity
keyphraseDistribution
links
images
cat's
as keyphrase when used in the image alt tag https://github.com/Yoast/YoastSEO.js/issues/1209List with priority, based on a deliberation with @moorscode.
Sub Headings Keyword
Internal Links
Text Competing Links ( currently disabled)
Keyphrase Distribution
Keyword Density
sentence Beginnings
Ignore lists for this research #1190
https://github.com/Yoast/YoastSEO.js/issues/785 paragraph Too Long
Mark the paragraph (text included) #1151
subheading Distribution Too Long (currently disabled)
Text Images
Outbound Links passive Voice sentence Length In Text transition Words Keyphrase Length Single H1
Introduction Keyword keyword Stop Words Function Words In Keyphrase text Presence sentence Length In Description flesch Reading Ease Meta Description Keyword Meta Description Length Page Title Width taxonomy Text Length Url Keyword Url Length url Stop Words Text Length Title Keyword
word Complexity (assessment disabled)
Other issues that should be solved after the implementation of the tree (not specific to a given assessment, but possibly researches):
Closing all parse tree issues.
The following list of researches exist now, I will put after the research what needs to be done for them.
In general I want to:
count
research to be plain research. The count can easily be retrieved by doing.length
whenever the count is necessary. And the actual results are far more useful than the count.List of current research
words
research. Count can easily be retrieved by doing.length
in the assessment.keywordInPageTitle
.fleschReadingEase
, change it so it uses the newsyllableCount
research.links
researchlinks
, change so it returns a completely object instead of only an URL.links
researchimages
research. Count can easily be retrieved by doing.length
in the assessment. The research should return image objects with all the data for an image so it is a lot more usefulimages
research. Logic for counting how many images with/without tags should be in the assessment.headings
andkeywords
research. The assessment can first get references to all the headings in the text and then ask if the keyword has been matched in these headings by callinggetResearchForNode( 'keywords', heading )
.keywords
research. Count can easily be retrieved by doing.length
in the assessment. The research should return keyword objects withkeyword
,startOffset
,endOffset
,isExactMatch
properties.keywordDensity
, change to use thekeywords
andwords
research.paragraphs
andkeywords
research. The assessment can first get a reference to the first paragraph and the ask if the keyword has been matched in this paragraph by callinggetResearchForNode( 'keywords', firstParagraph )
.words
research, a word object should include the amount of syllables in the wordparagraphs
andwords
research. An assessment can get all the paragraphs with theparagraph
research and then retrieve the words for this specific paragraph by callinggetResearchForNode( 'words', paragraph )
sentences
research.descriptionSentences
headings
andwords
researchpassiveVoice
matchedTopics
andwords
matchedTopics
, should return an object with propertiesmatchedTopic
,startOffset
,endOffset
.words
/keywords
/matchedTopics
researchkeywordForms
headings
research. That one can then easily be filtered based on the level (in this case 1)As a result of the above changes we also need to introduce some new research:
words
, returns all the words for a specific node. Every word has akeywords
, returns all the keywords for a specific node.subheadings
, returns a reference to all theHeading
nodes in the tree.paragraph
, returns a reference to all theParagraph
nodes in the tree.