May 4, 2011

Fixing the feed settings | Page 3 | 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

No permission to create posts
sp_TopicIcon
Fixing the feed settings
Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 Topic Rating: 5 (4 votes) 
January 20, 2024
12:18 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
41sp_Permalink sp_Print
5

There are no full-size images in your feed. They are only found on the web pages of the articles themselves. Therefore, your code that extracts the textual content of articles should also extract the HTML code containing the image. In your case, it looks like this:

Login to see the code

This needs to be extracted from the page code and added to the $post['post_content'] variable before the text.Login to see the code

January 20, 2024
12:53 pm
Avatar
2321324
Member
Members
Forum Posts: 6
Member Since:
January 19, 2024
sp_UserOfflineSmall Offline
42sp_Permalink sp_Print
0

Вот такой код получился, но картинка все равно маленькая:

Login to see the code

January 20, 2024
1:04 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
43sp_Permalink sp_Print
5

No. {URL} is a placeholder. This is where the address of the image for this article is located in your pages. You need to get it using preg_match(), just like you do with text, and substitute the found value instead of {URL} in <img src="{URL}">.

You probably didn't write the code yourself? I recommend you to use ChatGPT via this link, it will help you to write the code for CyberSEO Pro: Login to see this link.

January 20, 2024
1:18 pm
Avatar
2321324
Member
Members
Forum Posts: 6
Member Since:
January 19, 2024
sp_UserOfflineSmall Offline
44sp_Permalink sp_Print
0

CyberSEO said
No. {URL} is a placeholder. This is where the address of the image for this article is located in your pages. You need to get it using preg_match(), just like you do with text, and substitute the found value instead of {URL} in [Image Can Not Be Found].

You probably didn't write the code yourself? I recommend you to use ChatGPT via this link, it will help you to write the code for CyberSEO Pro: Login to see this link

Спасибо, я использовал Bard для помощи в написании и правках кода, попробую еще ChatGPT по вашей ссылке.

No permission to create posts
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
15 Guest(s)

Currently Browsing this Page:
3 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2820

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

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

Administrators: CyberSEO: 3913