View Single Post
Old 04-22-2016, 08:48 AM  
JosephFM
Confirmed User
 
Industry Role:
Join Date: Feb 2010
Posts: 1,190
Quote:
Originally Posted by CyberSEO View Post
There are no livexam embeds in the feed. So you just want to generate blog-style posts with an image of cam model linked to imlive main page with your affiliate id? Plus some descriptions and bio below the image (like it shown on the screenshot in your initial post). Is that correct?
Yes, for this one I don't want the chat i-frames. I just can't figure out how to extract the other images.

To get the imlive/webcamwiz iframe you first have to make it here:

ImLive.com

Then, add this to the Custom Field:

Code:
BHID->BHID
and in the PHP something like this:

Code:
$post['guid'] = $post['custom_fields']['thumb'];
$post['post_title'] = '' . $post['custom_fields']['NickName'];
if (!cseo_post_exists($post)) {
    $post['post_content'] = '<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?&type_page=imlive&Big_Host_ID=NumHost&bhid=' . $post['custom_fields']['BHID'] .'&host_next=1&wid=123660334110&linkid=1036&&queryid=1&twidth=600&theight=660&lfwidth=100&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=120" width="600" height="660" frameborder="0" scrolling="no"></iframe>';
    $post['post_content'] .= '<p style="text-align: left;"><strong>Name:</strong> ' . $post['custom_fields']['NickName'] .'</p>';
    $post['post_content'] .= '<p style="text-align: left;"><strong>Gender:</strong> ' . $post['custom_fields']['Gender'] .'</p>';
    $post['post_content'] .= '<p style="text-align: left;"><strong>Turn-ons:</strong> ' . $post['custom_fields']['TurnsOn'] .'</p>';
    $post['post_content'] .= '<p style="text-align: left;"><strong>Turn-offs:</strong> ' . $post['custom_fields']['TurnsOff'] .'</p>';
} else {
    $post = false;
}


I have mine set up so that if the model is offline, another model will appear on cam. Maybe that's why you are getting random models, the iframe you are working with is probably set up the same way.

You can do that @ ImLive.com

Now, how do I extract those images?
JosephFM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote