May 4, 2011

Remove specific content on import. | CyberSEO Pro | Support Forums

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
Remove specific content on import.
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
January 11, 2021
1:11 pm
Avatar
Member
Members
Forum Posts: 6
Member Since:
January 11, 2021
sp_userofflinesmall Offline

Hi, i will try write again, been writing this question 3 times now since some plugin blocks me for posting, i will add the code in a jpg file.

We talked on chat about this question and you told me to post on forum for show me how to do

The text in this jpg, i want to remove several places, the class is “Embed Article”, but all the text before this class and after i still need to import from the fetched page so its this intire block (content of the inside of the block can change).

Login to see this link.

You said something about doing it in PHP?

Also i see some things missing on import from the original article, im guessing to add class specific content works the same way? small example maybe on include some specific classes? :)

Overall impressed with this plugin, alot better then the other one i had with bugs :)

Thanks :)

January 11, 2021
4:47 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

In general your code (the one you should copy/paste into the “PHP code ” box on the “Advanced” tab of the feed settings) will look like this:

Login to see the code.

Login to see the code.

January 11, 2021
11:42 pm
Avatar
Member
Members
Forum Posts: 6
Member Since:
January 11, 2021
sp_userofflinesmall Offline

Ok i just tried another code, can see whats wrong?

this is what i want to remove:

Login to see the code.

Login to see the code.

January 11, 2021
11:58 pm
Avatar
Member
Members
Forum Posts: 6
Member Since:
January 11, 2021
sp_userofflinesmall Offline

So just to say, it does remove the data i wrote in it, but not the stuff in between, it leaves this in the post

Login to see the code.

January 11, 2021
11:58 pm
Avatar
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

Here is the correct code:

Login to see the code.

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

Freedom: 61

B8europe: 54

saviulisse67: 45

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 350

Members: 1928

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1331

Posts: 6637

Administrators: CyberSEO: 3102