May 4, 2011

Extract one Link from post content | 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
Extract one Link from post content
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
August 5, 2011
11:13 pm
Avatar
Vadim
Guest
Guests

I want to extract a linked picture from the post content.

Or in other words: all of the content has to be removed, except the (only 1) picture with his link.

The link is something like that:

<a href="http://777livecams.com/?show=10679&amp;stid=rssfeed_10679_m&amp;id=XXXXX&amp;sc_id=1" target="_blank" title="Echte-19 (19)"><img src="http://mm.777-partner.com/images/1758022_320x240.jpg" border="2" alt="Echte-19" width="240" height="180" /></a>

 

There is only one link / one pic in the postcontent.

Hope you can help me

August 5, 2011
11:54 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The following code should do the trick:

Login to see the code

August 6, 2011
1:51 am
Avatar
Vadim
Guest
Guests

Thanks for that. It does the trick.

 

Greetings

Vadim

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
20 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