Lines Matching refs:author

39  * @author Ryan Parman
40 * @author Sam Sneddon
41 * @author Ryan McCue
1131 * Set which class SimplePie uses for handling author data
2418 * Get an author for the feed
2421 * @param int $key The author that you want to return. Remember that arrays begin with 0, not 1
2437 * Uses `<atom:author>`, `<author>`, `<dc:creator>` or `<itunes:author>`
2445 foreach ((array) $this->get_channel_tags(self::NAMESPACE_ATOM_10, 'author') as $author) {
2449 if (isset($author['child'][self::NAMESPACE_ATOM_10]['name'][0]['data'])) {
2450 $name = $this->sanitize($author['child'][self::NAMESPACE_ATOM_10]['name'][0]['data'], self::CONSTRUCT_TEXT);
2452 if (isset($author['child'][self::NAMESPACE_ATOM_10]['uri'][0]['data'])) {
2453 $uri = $this->sanitize($author['child'][self::NAMESPACE_ATOM_10]['uri'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($author['child'][self::NAMESPACE_ATOM_10]['uri'][0]));
2455 if (isset($author['child'][self::NAMESPACE_ATOM_10]['email'][0]['data'])) {
2456 $email = $this->sanitize($author['child'][self::NAMESPACE_ATOM_10]['email'][0]['data'], self::CONSTRUCT_TEXT);
2462 if ($author = $this->get_channel_tags(self::NAMESPACE_ATOM_03, 'author')) {
2466 if (isset($author[0]['child'][self::NAMESPACE_ATOM_03]['name'][0]['data'])) {
2467 $name = $this->sanitize($author[0]['child'][self::NAMESPACE_ATOM_03]['name'][0]['data'], self::CONSTRUCT_TEXT);
2469 if (isset($author[0]['child'][self::NAMESPACE_ATOM_03]['url'][0]['data'])) {
2470 $url = $this->sanitize($author[0]['child'][self::NAMESPACE_ATOM_03]['url'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($author[0]['child'][self::NAMESPACE_ATOM_03]['url'][0]));
2472 if (isset($author[0]['child'][self::NAMESPACE_ATOM_03]['email'][0]['data'])) {
2473 $email = $this->sanitize($author[0]['child'][self::NAMESPACE_ATOM_03]['email'][0]['data'], self::CONSTRUCT_TEXT);
2479 foreach ((array) $this->get_channel_tags(self::NAMESPACE_DC_11, 'creator') as $author) {
2480 $authors[] = $this->registry->create(Author::class, [$this->sanitize($author['data'], self::CONSTRUCT_TEXT), null, null]);
2482 foreach ((array) $this->get_channel_tags(self::NAMESPACE_DC_10, 'creator') as $author) {
2483 $authors[] = $this->registry->create(Author::class, [$this->sanitize($author['data'], self::CONSTRUCT_TEXT), null, null]);
2485 foreach ((array) $this->get_channel_tags(self::NAMESPACE_ITUNES, 'author') as $author) {
2486 $authors[] = $this->registry->create(Author::class, [$this->sanitize($author['data'], self::CONSTRUCT_TEXT), null, null]);