May 4, 2011

html Appearing in articles | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
html Appearing in articles
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
April 19, 2024
1:16 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

Hey, I have issue with <pre> , <code> html appearing in articles. It seems like GPT4 is giving it. But I can’t find a way to remove these. And they are making posts horizontally long and with wrong format.
Do you have any solution?

April 19, 2024
1:39 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

If GPT-4 outputs <pre> and <code> tags, it means your prompt is intended to generate an article with code, returning the results in HTML format. Please supply the text of your prompt and your Syndicator log.

April 19, 2024
7:08 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

CyberSEO said
If GPT-4 outputs <pre> and <code> tags, it means your prompt is intended to generate an article with code, returning the results in HTML format. Please supply the text of your prompt and your Syndicator log.  

I have sent you an email with prompt and log. Thanks

April 20, 2024
9:18 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

As you've mentioned in your email, sometimes you see these tags in GPT output and sometimes you do not. I've checked your settings and noticed two things:

1. You are using the obsolete settings located on the "AI article generation" to generate content. As the manual states, you should use the "new" Login to see this link method, which gives you full control over the GPT.

2. The GPT engine is not a robot, so it is rather unpredictable and you must specify your task as clearly as possible. Since AI has no idea which HTML tags should be used, you must specify them explicitly.

You ask it to "return the result in HTML format to be used in a WordPress post", but don't specify the actual format. Look at the suggested prompt for the Login to see this link shortcode. It says: "Format the text for embedding in a WordPress post, using only the <p> tag. Exclude any other HTML tags."

The shortcode indicates that you want to have only <p> tags in the generated text and no other tags should be used there. This simple prompt helps ensure that the generated content will not contain <pre>, <code>, or any other unwanted tags.

April 21, 2024
11:15 pm
Avatar
mediasf1231
Member
Members
Forum Posts: 26
Member Since:
April 9, 2024
sp_UserOfflineSmall Offline

CyberSEO said
As you've mentioned in your email, sometimes you see these tags in GPT output and sometimes you do not. I've checked your settings and noticed two things:

1. You are using the obsolete settings located on the "AI article generation" to generate content. As the manual states, you should use the "new" Login to see this link method, which gives you full control over the GPT.

2. The GPT engine is not a robot, so it is rather unpredictable and you must specify your task as clearly as possible. Since AI has no idea which HTML tags should be used, you must specify them explicitly.

You ask it to "return the result in HTML format to be used in a WordPress post", but don't specify the actual format. Look at the suggested prompt for the Login to see this link shortcode. It says: "Format the text for embedding in a WordPress post, using only the <p> tag. Exclude any other HTML tags."

The shortcode indicates that you want to have only <p> tags in the generated text and no other tags should be used there. This simple prompt helps ensure that the generated content will not contain <pre>, <code>, or any other unwanted tags.  

Thanks! Seems working now.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2819

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

sneakpeachagency, bkc.tessier, igor.buzaev, jeremyboucher, lthompson2709, MAC

Administrators: CyberSEO: 3913