May 4, 2011

How can I pull the featured image? | 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
How can I pull the featured image?
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
October 20, 2012
3:22 am
Avatar
rcm
Guest
Guests

I am pulling posts just fine, except the featured image. Can I use custom fields to get it? I have thumbnails set to “generate from the thumb custom field.”

The featured image is contained in a div like the below. Please let me know. Thanks!

Login to see the code

October 20, 2012
10:00 am
Avatar
CyberSEO
Admin
Forum Posts: 3687
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

If the image is already contained in the post you are syndicating, you have to use the “Generate from the first post image” option.

October 20, 2012
8:21 pm
Avatar
rcm
Guest
Guests

Unfortunately it doesn’t work. If I choose the option you mentioned, it turns the first picture in the body of the post into a featured image, but it doesn’t get the real featured image from the original post.

How can I get the featured image from the original post? Thanks!

To make things clear, the post has the Featured Image then the post title then the body of the post.

Login to see the code

So it looks like the plugin starts pulling from post-content, and the featured image is just above that. If we can make it pull starting at blog-post, it will get the featured image.

October 21, 2012
9:04 am
Avatar
CyberSEO
Admin
Forum Posts: 3687
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

There is no featured image in your example. There is a just picture above the text. The plugin will use that first picture to create the featured image. So you will have both: a post with a featured image that duplicates the image from its body.

Actually I still can’t get your question. Do you want to create the featured image and then remove the first picture from the original post?

October 21, 2012
9:39 pm
Avatar
rcm
Guest
Guests

The featured image is right above <div class=”post-content”>, it’s on line 2

I sent you an example by email.

What I want is to get the featured image of the original post, which is

Login to see the code

October 21, 2012
10:41 pm
Avatar
CyberSEO
Admin
Forum Posts: 3687
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

You showed me an example of the blog post. The CyberSEO plugin does not parse blogs. It parses the XML (RSS) feeds. Thus let’s take a  take a look at any post in the RSS feed you are trying to pull. E.g.:

Login to see the code

I can’t see any “featured image” there. That’s just a text with a picture.

February 11, 2013
3:02 am
Avatar
dickdillinger
Guest
Guests

I have a question similar to the original poster.  I have an xml feed generated from a text file that outputs as:

               <title><![CDATA[Overcast]]></title>
               <link><![CDATA[http://fhg2.babes.com/index.php?fid=uxQDN0ojM&nats=MTQ3NDEuMTIxLjIuMTEuMC4zNjYuMC4wLjA]]></link>
               <guid><![CDATA[http://fhg2.babes.com/index.php?fid=uxQDN0ojM&nats=MTQ3NDEuMTIxLjIuMTEuMC4zNjYuMC4wLjA]]></guid>
               <tags><![CDATA[Babes Network, Jodi Taylor]]></tags>
               <thumb><![CDATA[http://static.bb.contentdef.com/scenes/4441/s240x135.jpg]]></thumb>

In this feed, the featured image is defined as thumb but there is no featured image set in the resulting post.  What am I doing wrong?  What tells CyberSEO which is the featured image?
February 11, 2013
3:06 am
Avatar
dickdillinger
Guest
Guests

Addendum:  for now, I have the feed set to generate thumb from first post image which works but it would be cool if it would use the image created just for that reason.

February 11, 2013
7:11 am
Avatar
CyberSEO
Admin
Forum Posts: 3687
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

1) Add the following line into the “Custom fields” box:

thumb->thumb

2) I set the “Post thumbnail” option to “Generate from the “thumb” custom field“.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
3 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: 2654

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1541

Posts: 7776

Newest Members:

pu.analytics.ee, frajaros, federico_pac, rexfordkent, nick.jtsevents, christophe.megaphone

Administrators: CyberSEO: 3687