- Jul 3, 2011
- 356
- 268
Goals: To get better with Python and if some money jumps off it wouldn't be bad either.
What I build so far (simplified):
- A python script that creates from one given keyword a whole blog article.
- Example: Input: Dogs -> Python Scripts calls openai api to create blog topics. Blog topics will be loaded in a new function thats calls openai api to create the content for each topic.
- If everything is created another function will put it together and format it for Wordpress Gutenberg, like paragraphs, headlines etc.
- A function that links an niche realted picture from pixabay/pexels to the article
- Then it will be pushed to the wordpress api and the blog post is created.
Wordpress
- simple blog
- at the moment still local hosted
- yoast seo
- plugin to automaticly set the feature images of an post with the first image link it finds in the article
Struggles:
- Uploading pictures to the Wordpress API - the api of wordpress is so shitty documented
- putting an featured blog image with API
- GPT 3 loves enumeration like 1. bla bla bla 2.blabla 3.blabla. Didn't find a way to catch it and format it with </br> so that the structure makes sense. Now it will be posted as continuous text.
To-Do's:
- getting a domain and hosting
- setting up google console shit etc.
- adjust the python script so it takes a list of keywords for generation and loops through it
- create first blog
Plan:
- creating 2-3 blog in different niches with up to 10k arctiles per blog
If you have any question or tips feel free to post under this thread.
P.S.
Can anyone recommend a good and cheap hosting for wordpress with not more than 10k articles?
Thats holds some traffic if things will work out or has an easy upgrade function for more power.
What I build so far (simplified):
- A python script that creates from one given keyword a whole blog article.
- Example: Input: Dogs -> Python Scripts calls openai api to create blog topics. Blog topics will be loaded in a new function thats calls openai api to create the content for each topic.
- If everything is created another function will put it together and format it for Wordpress Gutenberg, like paragraphs, headlines etc.
- A function that links an niche realted picture from pixabay/pexels to the article
- Then it will be pushed to the wordpress api and the blog post is created.
Wordpress
- simple blog
- at the moment still local hosted
- yoast seo
- plugin to automaticly set the feature images of an post with the first image link it finds in the article
Struggles:
- Uploading pictures to the Wordpress API - the api of wordpress is so shitty documented
- putting an featured blog image with API
- GPT 3 loves enumeration like 1. bla bla bla 2.blabla 3.blabla. Didn't find a way to catch it and format it with </br> so that the structure makes sense. Now it will be posted as continuous text.
To-Do's:
- getting a domain and hosting
- setting up google console shit etc.
- adjust the python script so it takes a list of keywords for generation and loops through it
- create first blog
Plan:
- creating 2-3 blog in different niches with up to 10k arctiles per blog
If you have any question or tips feel free to post under this thread.
P.S.
Can anyone recommend a good and cheap hosting for wordpress with not more than 10k articles?
Thats holds some traffic if things will work out or has an easy upgrade function for more power.