Provide Search Engine Optimisation functionality
This is the code documentation for the SproutCMS project
Search documentation |
class AdminSeoProvide Search Engine Optimisation functionality
Variables
Functions
public addContentvoid AdminSeo::addContent ( string $str ); Add main content for later processing public addLinksvoid AdminSeo::addLinks ( array $links ); Add external links to inject into content analysis public determineAverageWordScorevoid AdminSeo::determineAverageWordScore ( ); Determine SEO average word score public determineLinksScorevoid AdminSeo::determineLinksScore ( ); Determines SEO links score public determineReadabilityScorevoid AdminSeo::determineReadabilityScore ( ); Determine SEO readability score public determineSectionWordScorevoid AdminSeo::determineSectionWordScore ( ); Determine SEO word count per section score public determineSlugWordsScorevoid AdminSeo::determineSlugWordsScore ( ); Determine SEO slug stopwords score public determineTopicWordsScorevoid AdminSeo::determineTopicWordsScore ( ); Determine SEO topic keywords score public determineWordCountScorevoid AdminSeo::determineWordCountScore ( ); Determine SEO word count score public getAnalysisstring AdminSeo::getAnalysis ( ); Populate SEO view with analysis public getFleschReadingScoreint AdminSeo::getFleschReadingScore ( string $str [, string $encoding ] ); Determine Flesch reading score 0 = hard, 100 = easy Thanks to github.com/DaveChild public getKeywordDensityarray AdminSeo::getKeywordDensity ( [ string $limit ] ); Return list of keyword density public getListOfLinksarray AdminSeo::getListOfLinks ( ); Return list of all links public getWordCountPerSectionint AdminSeo::getWordCountPerSection ( ); Returns the average word count per section public isStopWordbool|bool AdminSeo::isStopWord ( string $word ); Determine if given word is a stop-word public processDOMvoid AdminSeo::processDOM ( ); Setup content as DOM object public processStringarray AdminSeo::processString ( [ bool $all ] ); Return list of useful keywords from given string public setSlugvoid AdminSeo::setSlug ( string $str ); Set page slug for analysis public setTopicvoid AdminSeo::setTopic ( string $str ); Set topic (focus word) for analysis |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |