Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Zach Schmit
    Participant

    Hi Aakash,

    I recently updated the Super RSS Pro plugin on my site to version 5.2 and adjusted my shortcode accordingly. However, I’m encountering an issue where thumbnails are not being generated for the news feed.

    Here is the shortcode I’m currently using:

    ——–
    [srr_feed urls=”https://news.google.com/rss/search?q=grief&hl=en-US&gl=US&ceid=US:en” tab_titles=”Android” show_thumb=1 thumbnail_size=”200px” thumbnail_force=”always” thumbnail_position=”cover” color_style=”twitter” filter_type=”show” filter_name=”exclude_this” show_author=”1″ show_date=”1″ display_type=”grid” template=”%%thumbnail%% %%metadata%%
    %%title%%
    %%description%%” grid_columns=”4″ read_more=”Read More” count=”20″ ]
    ———–

    I based this upgrade on your version 5.0 changelog, which mentions: “PRO: Google news and Google alerts RSS feeds will now fetch thumbnail image.”

    Following this, I removed the custom code you previously provided on this thread (https://www.aakashweb.com/forum/topic/fetching-a-single-thumbnail-for-all-google-rss-feed-2/) for displaying thumbnails specifically for Google News feeds. However, when I re-added the custom code, it caused the following error:

    ———–
    Fatal error: Uncaught Error: Call to a member function get_link() on bool in /nas/content/live/covenantwordev/wp-content/plugins/super-rss-reader-pro/pro/url-metadata.php:17 Stack trace: #0 /nas/content/live/covenantwordev/wp-content/themes/Covenant/inc/theme-functions.php(271): SRR_URL_Metadata::image(false) #1 /nas/content/live/covenantwordev/wp-includes/class-wp-hook.php(326): srr_google_feed_meta(”, Object(SimplePie_Item)) #2 /nas/content/live/covenantwordev/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #3 /nas/content/live/covenantwordev/wp-content/plugins/super-rss-reader-pro/includes/feed.php(269): apply_filters(‘srr_mod_thumbna…’, ”, Object(SimplePie_Item), Object(SimplePie), ”) #4 /nas/content/live/covenantwordev/wp-content/plugins/super-rss-reader-pro/includes/shortcodes.php(18):
    ———–

    Despite these efforts, the thumbnails are still not showing. Is there any additional configuration or update needed to resolve this issue and ensure the thumbnails display correctly?

    Let me know your feedback.
    Thanks

    Hi Zach,

    Sorry for the late reply. I somehow missed this thread.

    #1 – Images from Google news RSS feed is not working.

    Google news RSS feed stopped printing the “source URL” of the news item. Hence the plugin cannot fetch the thumbnail image.

    Until Google reverts the change or starts printing the news URL, there is no workaround for this now.

    #2 – Custom code for Google news image

    The code pointed in that thread was integrated with the plugin already, so the custom code is not required.

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter