• The last few days I have been getting complaints here and there about my RSS feeds failing for people. After some looking into it, it seems the problem might be due to Jetpack’s Shortcode Embeds — specifically the [audio] shortcode.

    I created a test site to test my theory: http://jetpacktest.aspiringindie.com/. It’s running Twenty Eleven and Jetpack, with only the Shortcode Embeds component activated.

    You see three posts, with the second post down using the [audio] shortcode. If you run the feed through an RSS validator (like this) you’ll see that the feed is valid but includes a couple of recommendations. However if you try to add the same RSS feed (http://jetpacktest.aspiringindie.com/feed) to Google Reader you’ll see the problem I’m running into. Only the list view displays the posts at all, but no excerpts when you click them, and the summary view displays nothing at all. It acts as though the RSS feed is broken, although it’s valid.

    My guess is that this has to do with the [audio] shortcode outputting Javascript and stuff info the RSS feed, but I’m not positive. I’m also not sure if this is specific to the audio shortcode or whether other shortcodes throw similar errors.

    I’m deactivating Jetpack’s shortcode embeds for the moment. It’s a bummer that the shortcodes will all display as text everywhere on my site, but that’s preferable to breaking all the RSS feeds that contain them. At this point I’m really just hoping the RSS feeds, once fixed, will update and work again in Google Reader without having to be re-added. That would hurt.

    Let me know if there’s any other information I can provide to help debug and fix this one.

    http://wordpress.org/extend/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Adams (mdawaffe)

    (@mdawaffe)

    Thanks for letting us know about the problem. We think we have the issue fixed and will release a new version shortly (no specific ETA) with a fix.

    Thread Starter Ryan Imel

    (@ryanimel)

    It doesn’t look like the most recent update to Jetpack includes this fix, so I dug around a bit more. I didn’t find the bug, but instead a workaround that others might want to use for now.

    Within the audio.php file inside the modules/shortcodes folder, just add this:

    if ( !(is_feed()) )

    This just stops the audio shortcode from outputting within RSS feeds. Fixes it for now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Jetpack by WordPress.com] Jetpack Shortcode Embeds and RSS feeds’ is closed to new replies.