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: 3635
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:
7 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2602

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 1518

Posts: 7666

Newest Members:

test.test, david_alija, paypal.orasmarketing, brad.lee.coates, Thatcham Town Radio, drew.jmediagroup

Administrators: CyberSEO: 3635