• Resolved Jon Brown

    (@jb510)


    The need: I need to filter the content of email subscribers. I’m unclear where JP subscriptions is actually grabbing content from, or how.

    Questions:
    1) Is it _just_ grabbing the RSS feed? (I’ve searched the code in subscriptions.php and I can’t figure out if/where/how this happens. I’ve looked for documentation, I haven’t found any.
    https://github.com/Automattic/jetpack/blob/master/modules/subscriptions.php#L229
    says
    // Email the post, depending on the checkbox option
    but this just sets metadata 🙁

    2) If it is from the RSS feed, is it possible to have a separate RSS feed for JP subscriptions than from regular feed readers?

    Just to be clear: I don’t need/want to modify the email template (design/layout) I just need to run a standard filter on “the_content”.

    https://wordpress.org/plugins/jetpack/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Jon Brown

    (@jb510)

    https://wordpress.org/support/topic/how-to-filter-the-content-sent-via-jp-subscription?replies=1#post-7810797

    Seems to suggest it’s pulling the RSS feed. I personally would find it helpful if that was said more explicitly.

    Still need to know if there is any way to filter subscriber content differently than RSS feed readers.

    Can we set/override the JP Sub feed URL manually somehow?

    Plugin Contributor Ryan C.

    (@ryancowles)

    Hi Jon,

    The content for the subscription emails comes from posts which we sync via the JSON API or cURL if unavailable, and not the RSS feed. So, I’m afraid that there isn’t a way to filter that.

    Could you share a bit more about what you’re trying to accomplish? I’d be happy to see if there’s another way we can make it happen.

    Thread Starter Jon Brown

    (@jb510)

    In short the RSS feed has a post footer added that says:
    “Thanks for reading X via our RSS Feed”

    I need the email subs to have a different post footer appended like:
    “Thanks for subscribing to posts from X via email”

    There’s a bit more to it, but that’s the simplest example.

    Plugin Contributor Ryan C.

    (@ryancowles)

    Thanks for clarifying, Jon. I’m not certain of a way to accomplish this myself. However, I’ve asked the rest of the team if they have any ideas. Our coverage is limited over the holidays, but I’ll let you know as soon as I hear back from them. Please let me know if there’s anything else that I can help with in the meantime!

    Plugin Contributor Ryan C.

    (@ryancowles)

    I’ve been talking with the team, and I’m afraid this type of functionality isn’t currently possible with Jetpack Subscriptions. We don’t have any immediate plans to add such functionality, but if you’d like to create a feature request, please submit an Issue here:
    https://github.com/Automattic/jetpack/labels/Subscriptions

    I hope that at least clears things up. Don’t hesitate to give a shout if you have any other questions!

    Thread Starter Jon Brown

    (@jb510)

    Thanks Ryan. Issue created: https://github.com/Automattic/jetpack/issues/3219

    For our immediate needs it sounds like we’ll need to switch subscriber solutions.

    If I didn’t mention it we’re migrating a site from wp.com to self-hosted. It’s unfortunate however since I know we can’t get the WordPress.com subscriber emails to migrate, only the email-only subscribers. 🙁

    Plugin Contributor Ryan C.

    (@ryancowles)

    Thanks for creating the Issue, Jon. I understand where you’re coming from, and being able to filter the content of the emails would be nice.

    I should mention WordPress.com Followers do migrate – they won’t receive email notifications from the new site, but they will see the new site in their WordPress.com Reader. Just figured I’d mention!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to filter the content sent via JP Subscription?’ is closed to new replies.