• Resolved grandadmiral12345

    (@grandadmiral12345)


    I am looking to to create a recipe that will create different posts (Twitter, Facebook, etc.) for my site. Is it possible the Uncanny can pull the data in the meta description field of an SEO plugin like Yoast to place into the tweet, much like it would post a URL or image? Looking at this field here in Yoast as an example.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @grandadmiral12345 ,

    Yes, no problem. As long as the records are stored in the post meta table (and they should be), you can target them with a post meta token (see https://automatorplugin.com/knowledge-base/post-meta-tokens/). The hard part is just knowing which post meta token to use; let us know if you have trouble there (or the plugin vendor can confirm where they store data).

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    Thanks for the quick response, @uncannyautomator. I do have some confusion with the instructions as it is asking the Post ID. Is this to a specific post or to a post type (i.e., category)? What I am hoping Uncanny can do Is to pull that description from the published articles of a specific category to include in the tweet.

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    In other words, create one recipe that will look at all the posts under a particular taxonomy (i.e., book-review), then use that meta description from Yoast in a tweet.

    So, if on Friday, there are three book reviews published, the one Uncanny recipe will generate three separate tweets with the meta description from each of those posts.

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    Hi @uncannyautomator. Was hoping for some clarification to my follow-up question.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @grandadmiral12345 ,

    Of course. The most important part here is knowing which post meta key to target, and if https://shellcreeper.com/yoast-seo-meta-keys-table/ is correct, then _yoast_wpseo_metadesc is the meta key you should be targeting. And then of course you want to use it for the post you published that triggered the recipe, so you need to use the token for the ID of that post.

    Putting it all together, you could use our “user publishes a post in a taxonomy” trigger to target a new blog post in a category, then in the action you need to use a post meta token. For the ID part, you need to make sure that you target the Post ID linked to the trigger, like this: https://cln.sh/vsgNCm84. Then you would end up with this for your token: https://cln.sh/H0hb1WrV. Hopefully that makes sense.

    Thread Starter grandadmiral12345

    (@grandadmiral12345)

    @uncannyautomator, I appreciate everything. Got everything going and it looks wonderful.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    That’s great, thanks for confirming! We’ll go ahead and close this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pulling Meta Description from Yoast’ is closed to new replies.