开发者

How can I automatically publish my questions and their responses to my blog?

开发者 https://www.devze.com 2023-02-19 18:22 出处:网络
I want to publish my questions and their responses asked h开发者_开发百科ere (on Stack Overflow) to my blog (or Linkedin, etc.) automatically.

I want to publish my questions and their responses asked h开发者_开发百科ere (on Stack Overflow) to my blog (or Linkedin, etc.) automatically.

I host my blog on blogger.com.

Is that possible?


I can give you at least half an answer. If you can get the information from Stackoverflow, then you can easily write a program to write posts using the Blogger API. The structure of your program would need to be something like

  1. Get info from Stackoverflow.
  2. Authenticate with Blogger using one of the authentication methods.
  3. Create the HTML for the post body based on the Stackoverflow info.
  4. Combine that with meta data tags to create the post entry (atom format).
  5. Create a new post using the string you created in the last step.

If you run into problems with any of those steps, other than the first one, I'm sure I could help you further. Just ask here on Stackoverflow and tag it with 'blogger' and I'll try to answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号