May 4, 2011

Remove from syndicated posts | 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_Related Related Topics sp_TopicIcon
Remove from syndicated posts
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
December 27, 2011
10:56 pm
Avatar
Dimitrisfme
Guest
Guests

In my syndicated posts i see some :

<div style="text-align: justify;" dir="ltr">
<div style="text-align: center;" dir="ltr">

</div>
</div>
</div>

These div fields make problems. It creates useless space or shows "23229484822445/223.xxx.com" in the post content.

How can we "tell" cyberseo to remove <div> fields from the syndicated posts?

December 27, 2011
11:31 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

E.g.:

Login to see the code

You'll find more info on preg_replace() here: Login to see this link

December 28, 2011
12:04 am
Avatar
cyber1
Guest
Guests

Dimitrisfme, here's a tip on how i handle this;

I use the php "strip_tags" function and then add in the 'hml' tags to keep. for example if you want to only keep img tags;

strip_tags($post['post_content'],'<img>') , you can specify multiple tags to leave in the content.

regards..

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
34 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: 2817

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

igor.buzaev, jeremyboucher, lthompson2709, MAC, duty3canada, backlinkmorocco

Administrators: CyberSEO: 3913