Shane 📈🚀 Profile picture
Jun 14 15 tweets 7 min read
Last week I mentioned in another thread about using a #Python script with OpenAI to create 10,000 pages for around $50

Today's thread has that template and I'll tell you show to use it.

#nichecontent #aicontent #aiwriting #openai #contentsites #seo

🧵
First off we need an Open AI account, You can get one of those from here
openai.com/api/
Once you're all signed in, click on the top right head to beta.openai.com/account/api-ke… and create a new Secret Key. Keep this page open as you'll need this for the script
Now its time for the Python side of things

Firstly you need to install the OpenAI python library with the instructions from here
github.com/openai/openai-…
Next, create a folder, and in there add a text file called post-titles

On each line of this file add your blog post titles
Next up, in the same folder add python file called generate and copy the content from here into that file
gist.github.com/shanejones/030…
Once you're all set you can run the script and it will generate all of your content into a CSV called post-content which you can now import into whichever CMS you use
Sometimes you might only get a small bit of content back. If you look at line 26 of the generate script you can see the writing prompt which we're aking the AI. You can try modifying this for different results.
@mackgrenfell posted this a few months back that is a worthy read for helping GPT-3 generate more content based on the prompts you give it.

The generate script could be also modified so that each line in the text files has a heading and a number of subheadings on the same row.

Think of each row as your post structure.

We could get even more advanced with this by making each heading a new writing prompt too.
You could then tweak the loop in the python file to add another loop for the sub headings, generating a much larger content piece with multiple headings.

I've not got around to this yet though🥲
In the generate file you can see some settings on line 29 to 35. These are the main options for OpenAI.

You can choose different AI models by changing the engine. beta.openai.com/docs/models

All of the other settings you can find out about in the documentation too.
You could also modify this script based on any of the examples here too

beta.openai.com/examples

Clicking on the example you can see the an API request section and you should be able to see how to add this to the generate script quite easily.
Finally, when you upload this content onto your sites. Don't forget to proofread. AI is good, its not perfect though.

I'm using Open AI with a 10k page site as a 6 to 12 month test at the moment. I'm don't think I'm ever going to rely on this site to pay the bills🤣
If you liked this thread I tend to do these about once a week at the moment so be sure to give me a follow so you don't miss the next one and maybe give the original thread tweet a RT too. Thanks!
twitter.com/shanejones

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Shane 📈🚀

Shane 📈🚀 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @shanejones

Jun 2
This is the literal step-by-step process I use for #keywordresearch and to determine what to write about next on my sites.

For this you'll need
@ahrefs
✅ Google Sheets
✅ A small bit of Python (my script + instructions are provided below)

#nichesites #seo #contentsites
🧵🪡
First, start with a super broad keyword that is relavent to your site and load that into Ahrefs.

I'm using a random word as an example for this thread.
Then click on the questions section and create a filter for Keyword Difficulty with a max of 10
Read 22 tweets
May 27
Here is a thread about how to gain some permanent backlinks for around the price of a domain name.

I'm not saying you should do this.

Let's just say it's a very creative, hypothetical way to get backlinks though.

#seo #nichesites #contentsites #linkbuilding

🧵🪡
First things first, head to expireddomains.net and set yourself up an account.

Logging in gives you access to more information about the domain names that are being shown on the site.
When you're logged in, you want to head to the Deleted Domains page member.expireddomains.net/domains/combin…

The default view shows you all of the domains that have recently been deleted.
Read 25 tweets
May 6
Friday thread time featuring images!

Here's a quick summary thread on how I structure my content pages on my sites.

I'm currently in the process of moving my older sites into this format too.

🧵 #seo #nichesites #nichecontent
First up we have a header section this has

✅ Relevant image. Optimised and responsive.
✅ Large title, usually the main keyword
✅ Breadcrumb - make sure to use Breadcrumb Schema
✅ Table of Contents - Longer posts this should be collapsed with a "show table of contents" button
Core Section - We have an introduction section which includes

✅ H2 with a variation on the H1
✅ Large lead paragraph
✅ Bold paragraph that solves the question the page is trying to answer
✅ Continuation paragraph to lead into the rest of the sites content
Read 16 tweets
Jun 22, 2020
In this thread.

"How I lowered the page load time of CNN.com from 18 seconds to 2.75 seconds with no development work".

#pagespeed #webperf #techseo
Here is some more proof. Below you can see the before and after screenshots of my tests and times in the Chrome Network tab.

Caveat: the Finish time never stops on CSS due to external scripts constantly running. The screenshot was when it stabilised though. CNN BeforeCNN After
Post 3! The game is up! I didn’t really do this. :D

I’m going to show you how in DevTools you can measure the potential gains that can be had by removing bloated scripts. This method is great to get buy-in from other teams before going ahead deleting anything from the code.
Read 16 tweets
May 20, 2020
After yesterday's Lighthouse changes going live you probably want to know how to optimise for the new metrics which are

Largest contentful paint
Total Blocking Time / First Input Delay
Cumulative Layout Shift

Here is a thread with some quick pointers.

#sitespeed #webperf #ux
— Optimising Largest Contentful Paint

Reduce response times from the server - CDN's can help here

Reduce render blocking JS and CSS - try to only load the minimum on a per page basis. Minify, inline and defer are your friend. Check usage using code coverage tool in Dev Tools
— Optimising Largest Contentful Paint - cont.

Imagery - Make sure they are well optimised and compressed. Also keep an eye on those sizes. Look into image CDN's and lazyloading

Preloading - You can use preload the most important elements on your page
Read 9 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(