How AI website owner format their article?

Sulphur

BANNED
Joined
Apr 3, 2020
Messages
849
Reaction score
229
I am still confused how AI web owners format their PAAs with bold tags, h1, h2 separating them apart? I need to know how they format their raw article give spacing and all.
 
Add something like “The article should have proper html tags and be seo friendly. I need to post it with my wysiwyg editor. Make sure it has a h1 tag as well. No need to explain, just respond with the article”.

If it doesn’t return html tags, immediately stop it and thumb down the response. It will try generating again and ask you which response is better. If the new response is ok, click “new one is better” or click “both are same”. Try a couple of times more if it doesn’t work for the first time (use a new session each time). It will eventually get it.
 
Add something like “The article should have proper html tags and be seo friendly. I need to post it with my wysiwyg editor. Make sure it has a h1 tag as well. No need to explain, just respond with the article”.

If it doesn’t return html tags, immediately stop it and thumb down the response. It will try generating again and ask you which response is better. If the new response is ok, click “new one is better” or click “both are same”. Try a couple of times more if it doesn’t work for the first time (use a new session each time).
I tried this but no success so far do not works at long articles too. quite time wasting after few articles. what about generating content on automation and formating is also on automation is what I want to know
 
Depending on what flavour of API you're working with, you can work formatting into your prompt eg.
Code:
Break up the article into sections and format the headers as h2 headers and the title as h1 in markdown formatting.

Programmatically you can take the first line of the article as a title or h1, the second non-paragraph line as h2, and subsequent non-paragraph lines as h3s
 
You could paste it raw and then format it back manually

If you use OpenAI API, generally multiple calls are involved, so texts results are just formatted as texts with paragraphs and sometimes, some images in between, with not much extra fuzz
 
Use something like this to get a well-structured article you might need to modify it based on your requirement:

Write a long, fully markdown formatted article in English that could rank for the target keyword {KEYWORD}. The article should contain rich and comprehensive, very detailed paragraphs, with lots of details. Do not echo my prompt. Do not remind me what I asked you for. Do not apologize. Do not self-reference. Do not use generic filler phrases. Do use useful subheadings with keyword-rich titles. Get to the point precisely and accurate. Do not explain what and why, just give me your best possible article. Use semantically related longtail keywords based on the target keyword use them wherever possible specifically in titles headings and subheadings.
 
Use something like this to get a well-structured article you might need to modify it based on your requirement:

Write a long, fully markdown formatted article in English that could rank for the target keyword {KEYWORD}. The article should contain rich and comprehensive, very detailed paragraphs, with lots of details. Do not echo my prompt. Do not remind me what I asked you for. Do not apologize. Do not self-reference. Do not use generic filler phrases. Do use useful subheadings with keyword-rich titles. Get to the point precisely and accurate. Do not explain what and why, just give me your best possible article. Use semantically related longtail keywords based on the target keyword use them wherever possible specifically in titles headings and subheadings.
Basically, do everything, but don't do everything :P
 
I tried this but no success so far do not works at long articles too. quite time wasting after few articles. what about generating content on automation and formating is also on automation is what I want to know
Hmmm may be because of the rest of the prompt. It works 90% of the times for me. The other 10% times it comes up with the full page html which I have to then downvote for.
 
GPT-3.5 is dumb as shit and basically has verbal diarrhea. It'll write stuff for days, but won't necessarily follow instructions correctly.
It can follow maybe 1 or 2 instructions at a time.
If you really want to have correctly formatted output with HTML, you can either break the steps up into multi stages:
1. Create article
2. Format article
Just make sure you do smaller chunks at a time or it will get confused and go off on a tangent.

The other option is to use some sort of logic elsewhere. Markdown to HTML, or your own logic. For example, a very short sentence wrapped in <strong> was probably meant to be a heading, so turn it into a heading.

This is a simplified approach and it takes a decent amount of experiments to get it nailed down.
 
Use something like this to get a well-structured article you might need to modify it based on your requirement:
But chat gpt has token limits so not that good.


Note:- I am not using chat gpt. It's something else but I get raw content with me so I need it to auto format.

If you can give any example of paa sites it will also be great
 
The way i did is through a custom code. I dont rely just on the API output but on my programming as well.
I expect from AI some basic formating like spaces, and based on expected output i can manage to do some html through python and apply it to the text. Sure its not perfect, but its reasonably well formatted.
 
The way i did is through a custom code. I dont rely just on the API output but on my programming as well.
I expect from AI some basic formating like spaces, and based on expected output i can manage to do some html through python and apply it to the text. Sure its not perfect, but its reasonably well formatted.
That is what I am asking how you do it with python?
 
But chat gpt has token limits so not that good.
I use similar prompts like the one I shared above in chatgpt.

For token issue you can ask ai to continue from where it left off in previous reply.
Note:- I am not using chat gpt. It's something else but I get raw content with me so I need it to auto format.
You will have try with different prompts to see what works.

Or just ask the ai you are using how to achieve it.

That's how I do it I give chatgpt an example output and ask it how can I get it show me the sample prompts.
 
Back
Top