[Autoblog] AutoBlog Autorewrite

Ideally, I would like to see the ability to create an array of words and their associations. Like this:

beer -> draft, draught, stout, lager, ale, https://domain.com/beer/
champagne -> wine, spirits, https://domain.com/champagne/

On import, Autoblog would check the feed for any of the defined words on the left. If a match is found (whole words only), then it would randomly choose one of its associations and replace that word in the draft post it creates. In the case of an http or https, it would use the existing word, but create an a href link with that word.

Sort of a link spinner, I guess... but for exclusive use with AutoBlog. It would allow the same feed to be used multiple times and have it a little bit changed, ramdonly for each blog it is placed.

  • Ash
    • WordPress Hacker

    Hello Robert

    Thank you for your suggestion. I am marking this as a feature request for now, let's see how other members think about this :slight_smile:

    As an alternative, if you are good at php, you can autoblog_post_post_insert hook to get the imported post, make the required changes and then update. This first parameter of the hook is $post_id, so you can fetch the post, change the words and update it :slight_smile:

    Have a nice day!


  • Robert
    • Flash Drive

    Hello Ash, I could probably figure something out. However, I would be reluctant to do so as it may cause issues later when I update the plugin.

    Hopefully, this is something that eventually gets added to the plugin as an add-on that end users can enable/disable as i do think it'd be useful to power a lot of blogs and keep things unique and cross-referenced on import.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.