We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0712c7e commit c328beeCopy full SHA for c328bee
1 file changed
includes/abstract/feedzy-rss-feeds-admin-abstract.php
@@ -1767,6 +1767,13 @@ public function feedzy_retrieve_image( $item, $sc = null ) {
1767
$the_thumbnail = $data['0']['attribs']['']['href'];
1768
}
1769
1770
+ // xmlns:media thumbnail.
1771
+ if ( empty( $the_thumbnail ) ) {
1772
+ $data = $item->get_item_tags( 'http://search.yahoo.com/mrss/', 'thumbnail' );
1773
+ if ( isset( $data['0']['data'] ) && ! empty( $data['0']['data'] ) ) {
1774
+ $the_thumbnail = $data['0']['data'];
1775
+ }
1776
1777
// Content image.
1778
if ( empty( $the_thumbnail ) ) {
1779
$feed_description = $item->get_content();
0 commit comments