Method |
Description |
|
cleanTitle ( string $title ) : string |
Clean title text |
|
getCanonicalLink ( ) : string |
If the article has meta canonical link set in the url |
|
getMetaContent ( DOMWrap\Document $doc, string $property, string $value, string $attr = 'content' ) : string |
|
|
getMetaDescription ( ) : string |
If the article has meta description set in the source, use that |
|
getMetaKeywords ( ) : string |
If the article has meta keywords set in the source, use that |
|
getMetaLanguage ( ) : string |
If the article has meta language set in the source, use that |
|
getNodesByLowercasePropertyValue ( DOMWrap\Document $doc, string $tag, string $property, string $value ) : DOMWrap\NodeList |
|
|
getOpenGraph ( ) : string[] |
Retrieve all OpenGraph meta data |
|
getTitle ( ) : string |
Get article title |
|