Subject
- #Blog API
- #Tistory OpenAPI
- #Automated Posting
- #Python Code
- #Markdown Conversion
Created: 2024-11-18
Updated: 2024-11-18
Created: 2024-11-18 15:57
Updated: 2024-11-18 23:27
- Very poor EDIT function.
- Does not support Markdown.
- Does not support writing using the API.
Google Blogger:
Google's Blogger platform officially provides the Blogger API, supporting functions such as creating, modifying, and deleting posts. This allows developers to manage blog content through programs.
THE SEE
Tistory:
Tistory officially provides an Open API that supports creating, modifying, and deleting blog posts. This allows developers to manage blog content through programs.
WordPress:
WordPress provides functions for creating, modifying, and deleting posts through the REST API. This allows developers to manage blog content through programs.
WordPress.com: A convenient platform with included hosting; you can start a blog immediately after signing up.
WordPress.org: Requires setting up your own hosting and offers a higher level of freedom and customization.
WordPress Additional Plugins: If you want more Markdown features, consider the following plugins:
Markdown Editor: Replaces the default editor with a Markdown editor, providing real-time preview and various layout options.
Import Markdown: Allows you to import external Markdown files and convert them into posts.
I tried to write on wordpress.com, but found a problem. It seemed that it would only be meaningful if it was paid.
So, I searched again.
Tistory emerged as a good alternative. It provides an openAPI, and ChatGPT also provides an answer.
Issuing an API Key: Tistory management page → 'Plugin' → 'Open API' to issue an API Key.
Obtaining a User Authentication Token: The Tistory API uses OAuth2. Follow the OAuth authentication process to obtain a user authentication token.
Necessary API Information: Request URL: https://www.tistory.com/apis/post/write
Essential Parameters:
chatgpt prompt: Write a python code that uploads one article to tstory using openAPI. Create an example that uploads markdown.
Upload markdown files to github.
The python code uploads each markdown file in github to tistory.
At this time, what needs to be investigated is how to use png files and how to upload the contents when using the markdown2 package.
Comments0