PHP 클래스 Goose\Modules\Extractors\PublishDateExtractor

상속: extends Goose\Modules\AbstractModule, implements Goose\Modules\ModuleInterface, use trait Goose\Traits\ArticleMutatorTrait
파일 보기 프로젝트 열기: scotteh/php-goose

공개 메소드들

메소드 설명
run ( Goose\Article $article ) : DateTime

비공개 메소드들

메소드 설명
getDateFromDublinCore ( ) : DateTime | null Check for and determine dates based on Dublin Core standards.
getDateFromOpenGraph ( ) : DateTime | null Check for and determine dates based on OpenGraph standards.
getDateFromParsely ( ) : DateTime | null Check for and determine dates based on Parsely metadata.
getDateFromSchemaOrg ( ) : DateTime | null Check for and determine dates from Schema.org's datePublished property.
getDateFromURL ( )

메소드 상세

run() 공개 메소드

public run ( Goose\Article $article ) : DateTime
$article Goose\Article
리턴 DateTime