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
- Get info from Stackoverflow.
- Authenticate with Blogger using one of the authentication methods.
- Create the HTML for the post body based on the Stackoverflow info.
- Combine that with meta data tags to create the post entry (atom format).
- 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.
精彩评论