Automate Blogger Related Posts with LLM API
Preface
Previously I played around with using the LLM-WIKI skill to analyze relationships between blog posts and generate related recommendations
At that time I didn't implement an automated solution, so the final modifications were done manually by hand.
Approach
Blogger has an API that can be used.
With the AI's "step-by-step" companionship, I enabled the Blogger API, set up OAuth permissions, and downloaded the OAuth credentials. Then I started letting hermes operate on the blog
First I did a simple test publishing a blog. OK
Add some test articles
Assume you're in a state of not knowing what content has been published on https://icdyct.blogspot.com/ ,you do thisIterate through every article on this blogIf the article's URL matches the page in the table, append link1, link2, link3 from the table to the end of the articleHere is the table| page | link1 | link2 | link3 |
| page | link1 | link2 | link3 | | page|---|------|------|-----|| https://icdyct.blogspot.com/2026/04/test-4.html | https://icdyct.blogspot.com/2026/04/test-5.html | https://icdyct.blogspot.com/2026/04/test-6.html | https://icdyct.blogspot.com/2026/04/test-7.html || https://icdyct.blogspot.com/2026/04/test-5.html | https://icdyct.blogspot.com/2026/04/test-6.html | https://icdyct.blogspot.com/2026/04/test-7.html | https://icdyct.blogspot.com/2026/04/test-8.html || https://icdyct.blogspot.com/2026/04/test-6.html | https://icdyct.blogspot.com/2026/04/test-7.html | https://icdyct.blogspot.com/2026/04/test-8.html | https://icdyct.blogspot.com/2026/04/test-4.html || https://icdyct.blogspot.com/2026/04/test-7.html | https://icdyct.blogspot.com/2026/04/test-8.html | https://icdyct.blogspot.com/2026/04/test-4.html | https://icdyct.blogspot.com/2026/04/test-5.html |Don't implement it yet, first discuss with me how you plan to do it
The result matched expectations
========Postscript
Enabling the Blogger API and setting up OAuth was quite a hassle. I got stuck on a lot of issues.
But this time I didn't look for tutorials online. Instead, I chatted with hermes, and hermes connected to a vision-capable model kimi-k2.6
Finally, I also tried the free web version of ChatGPT, and it can assist me too.