May 4, 2011

Remove Feedburner URL links being pulled from syndicated blog | 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_TopicIcon
Remove Feedburner URL links being pulled from syndicated blog
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
January 31, 2015
11:43 pm
Avatar
xcolor
Member
Members
Forum Posts: 15
Member Since:
February 1, 2015
sp_UserOfflineSmall Offline

I have purchased CyberSEO specifically to save time from having to manually remove Feedburner url’s & additional promotional text (Need hosting? etc.) from the footer of the syndicated blog. Link to example: Login to see this link

I did a lot of research around the forum before purchasing the plugin and can’t seem to find the answer. I also tried using the PHP code box feature, with no success. Assistance with this issue would be greatly appreciated.

Thank you in advance.

February 1, 2015
6:37 pm
Avatar
xcolor
Member
Members
Forum Posts: 15
Member Since:
February 1, 2015
sp_UserOfflineSmall Offline

EDIT:

Found the answer removing the feedburner footer links: Login to see this link

Though, I can’t seem to remove:

<img src=”feeds.feedburner.com/~r/xx/~4/2jnWJnA6zIo” height=”1″ width=”1″ alt=”” />

via preg_replace. The src url is dynamic and changes after each post. How can I go about remove the HTML element? It also outputs in several variations with “alt=” alternating sometimes from the blog being syndicated

(e.g. <img src=”feeds.feedburner.com/~r/xx/~4/2jnWJnA6zIo” alt=”” height=”1″ width=”1″  />)

alt=”” will be in another position.

Thanks

February 3, 2015
4:51 am
Avatar
CyberSEO
Admin
Forum Posts: 3667
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Use this pattern in preg_replaqce: ‘/<img src=”feeds\.feedburner\.com.*?>/’

February 3, 2015
7:06 am
Avatar
xcolor
Member
Members
Forum Posts: 15
Member Since:
February 1, 2015
sp_UserOfflineSmall Offline

Login to see the quote

Thank you for the reply! I gave it a try and it broke the syndication and stalled on the “Syndicating feed title” loading page. This goes the same with the “Tool” feature.

My code looks like this:

$post[‘post_excerpt’] = preg_replace(‘/<img src=”//feeds\.feedburner\.com.*?>/’, ”, $post[‘post_excerpt’]);
$post[‘post_content’] = preg_replace(‘/<img src=”//feeds\.feedburner\.com.*?>/’, ”, $post[‘post_content’]);

Perhaps it has something to do with the two backslashes (//) from the original element, that I failed to mention in the previous post:

<img src=”//feeds.feedburner.com/~r/xx/~4/2jnWJnA6zIo” height=”1″ width=”1″ alt=”” />

I can’t seem to get the pattern correct.

February 3, 2015
7:17 am
Avatar
CyberSEO
Admin
Forum Posts: 3667
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Because your code is wrong (note “//“). If you can’t make the proper code, you can order it as a custom job. Email me for details.

February 5, 2015
5:47 am
Avatar
xcolor
Member
Members
Forum Posts: 15
Member Since:
February 1, 2015
sp_UserOfflineSmall Offline

Login to see the quote

Emailedsmile

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online: motorsportprospects
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2633

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 1529

Posts: 7736

Newest Members:

t.schleiser, worldnetsites, janodamek, socialbiz4themasses, suren.manvelyan.sv, Darick

Administrators: CyberSEO: 3667