Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-21-2016, 08:30 PM   #1
JosephFM
Confirmed User
 
Industry Role:
Join Date: Feb 2010
Posts: 1,190
ImLive/Webcamwiz + CyberSEO

I managed to extract the contents of the Webcamwiz XML file but I can only get 1 image to show, the one enclosed in <HostPicture></HostPicture>.



I want to extract all the images and they are enclosed like such:

Code:
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i2.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1458161905.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i8.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1458161961.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i1.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1455225034.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
Here's the XML feed: http://feeds.webcamwiz.com/Live-Sex....am.com&ptype=1

What's the solution?

BTW, they have 2 options for the feed, XML Structure and Node.

The one I'm using is Node.

Here's the one for the XML Structure just in case it's easier:

http://feeds.webcamwiz.com/Live-Sex....am.com&ptype=1
JosephFM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 06:19 AM   #2
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by JosephFM View Post
I managed to extract the contents of the Webcamwiz XML file but I can only get 1 image to show, the one enclosed in <HostPicture></HostPicture>.



I want to extract all the images and they are enclosed like such:

Code:
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i2.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1458161905.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i8.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1458161961.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
<Image>
<Height>240</Height>
<Width>320</Width>
<URL>
http://i1.pc20160301.com/imagesrv/imp_getimage?is=IMLFOH&qu=77&wm=0&fn=0915/1149915/1149915O1455225034.jpg&cctrl=public,max-age%3d2592000&wi=320&hi=240
</URL>
</Image>
Here's the XML feed: http://feeds.webcamwiz.com/Live-Sex....am.com&ptype=1

What's the solution?

BTW, they have 2 options for the feed, XML Structure and Node.

The one I'm using is Node.

Here's the one for the XML Structure just in case it's easier:

http://feeds.webcamwiz.com/Live-Sex....am.com&ptype=1
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?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 06:51 AM   #3
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Maybe the same as chaturbate / bonga / acwm (hope you can manage that) if we also have webcamwiz would be awesome.
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 07:04 AM   #4
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
If I am not wrong if you want to creat the models chat room embeding liver feeds from imlive you need to use this (at least this I use for my websites )
Code:
<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?type_page=white_label&domain=YOUR-DOMAIN-NAME&Big_Host_ID=NumHost&bhid=BHI-HERE&host_next=1&wid=YOUR-WID&ptype=1&queryid=&twidth=900&theight=560&lfwidth=70&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=45" width="900" height="560" frameborder="0" scrolling="no"></iframe>
You need to change in that code : your domain name , the host id and you wid , I wrote with caps in the code what need to be changed! I hope that will help Cyberseo to creat the chat room page for you !
__________________
Make Money With: Chaturbate
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 07:20 AM   #5
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by Andreweb View Post
If I am not wrong if you want to creat the models chat room embeding liver feeds from imlive you need to use this (at least this I use for my websites )
Code:
<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?type_page=white_label&domain=YOUR-DOMAIN-NAME&Big_Host_ID=NumHost&bhid=BHI-HERE&host_next=1&wid=YOUR-WID&ptype=1&queryid=&twidth=900&theight=560&lfwidth=70&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=45" width="900" height="560" frameborder="0" scrolling="no"></iframe>
You need to change in that code : your domain name , the host id and you wid , I wrote with caps in the code what need to be changed! I hope that will help Cyberseo to creat the chat room page for you !

Thx, but where is the webcam model name should be placed at?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 08:18 AM   #6
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
Not her screen name but her id (BHID) and goes here : " Big_Host_ID=NumHost&bhid=BHID-HERE " ! You need to change only three things in that iframe : WL domain name , Model ID and affiliate WID !
So for OP's feed the iframe for the first model in the list will be :
Code:
<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?type_page=white_label&domain=livemilfwebcam.com&Big_Host_ID=NumHost&bhid=8843525925&host_next=1&wid=12345&ptype=1&queryid=&twidth=900&theight=560&lfwidth=70&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=45" width="900" height="560" frameborder="0" scrolling="no"></iframe>
__________________
Make Money With: Chaturbate
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 08:32 AM   #7
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by Andreweb View Post
Not her screen name but her id (BHID) and goes here : " Big_Host_ID=NumHost&bhid=BHID-HERE " ! You need to change only three things in that iframe : WL domain name , Model ID and affiliate WID !
So for OP's feed the iframe for the first model in the list will be :
Code:
<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?type_page=white_label&domain=livemilfwebcam.com&Big_Host_ID=NumHost&bhid=8843525925&host_next=1&wid=12345&ptype=1&queryid=&twidth=900&theight=560&lfwidth=70&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=45" width="900" height="560" frameborder="0" scrolling="no"></iframe>
Still can't get it working. E.g. this iframe always shows random cams (note bhid=8843525925 which should be linked to <NickName>YourNaughtyAnnX</NickName>, according the the XML feed):

Code:
<iframe src="http://pcash.imlive.com/releasese/activepage7139.asp?&type_page=imlive&bhid=&host_next=1&wid=&linkid=1036&&queryid=&twidth=800&theight=480&lfwidth=70&bgcolor=&tcolor=&seccolor=&btntext=&btnt_size=&btnt_clr=&btnbg_clr=&offtext=&ptext=&etext=&msgt_size=&msgt_clr=&msgbg_clr=&timer=3600&bhid=8843525925" width="800" height="480" frameborder="0" scrolling="no"></iframe>
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 08:48 AM   #8
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
Old 04-22-2016, 09:05 AM   #9
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by JosephFM View Post
Now, how do I extract those images?
That's easy. Just add this to the "Custom Field":

Code:
url->url
and all images will be placed into the $post['custom_fields']['url'] array. You can access them in your PHP code like this:

Code:
$post['post_content'] = '<img src="' . $post['custom_fields']['url'][0] . '" />';
or like this to display a random image:

Code:
$post['post_content'] = '<img src="' . $post['custom_fields']['url'][rand(0, count($post['custom_fields']['url']) - 1)] . '" />';
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2016, 09:06 AM   #10
JosephFM
Confirmed User
 
Industry Role:
Join Date: Feb 2010
Posts: 1,190
You the man!

Thanks!
JosephFM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
xml, enclosed, structure, feed, node, extract, options, managed, solution, cyberseo, btw, easier, contents, image, images, file, webcamwiz, imlive/webcamwiz



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.