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 12-18-2015, 04:01 PM   #51
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Are you still coding? sheesh.

Dammit. 50 dumb questions.
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:05 PM   #52
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
What's wrong with your eye?
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:15 PM   #53
Penny24Seven
So Fucking What
 
Penny24Seven's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 6,289
ever thought about changing your name, I always think you are a girl
__________________
Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny
Penny24Seven is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:19 PM   #54
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by Andreweb View Post
Hello sarettah , I saw some of your projects and I appreciate your skills ! Well now my question : first of all I must say that my programing skills are limited for example I am able to make a responsive site in php with text images , iframes etc but I am not able to parse cams from an xml api ... so I wonder if there is some place on internet where to learn how to do that how to build a cam site using apis(a kind of tutorial) or I just need to quit and stay with WLs and my sites were I use iframes ! Thanks !
I will still be getting back to this but I am having trouble typing. My left eye was dilated at the eye doctor and it is giving me fits right now. Might be tomorrow before I get back to this.

Sorry about that.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:22 PM   #55
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by clickity click View Post
Are you still coding? sheesh.

Dammit. 50 dumb questions.
I am always coding. Always behind on everything.

Quote:
Originally Posted by clickity click View Post
What's wrong with your eye?
I had a fairly major cataract removed about 3 weeks ago. Was caused by a reaction to a drug we think.

Quote:
Originally Posted by Brian837 View Post
ever thought about changing your name, I always think you are a girl
I am not responsible for your misconceptions so no I am not going to change it. If I did I would probably go with something even girlier like Sally, or Debbie or Brian.

,
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:34 PM   #56
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Where did your username come from?
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 04:37 PM   #57
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by clickity click View Post
Where did your username come from?
I lived in Buxton, NC for about 4 years. Buxton is on Cape Hatteras and while there I started my first company which was a graphic arts company called Hatteras Designs.

Sometime in the early 90's when I needed a unique user name for swbell I had one of my business cards in front of me and I proceeded to type Hatteras in backwards which is sarettah. I have used it since then.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 05:12 PM   #58
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Quote:
Originally Posted by sarettah View Post
I lived in Buxton, NC for about 4 years. Buxton is on Cape Hatteras and while there I started my first company which was a graphic arts company called Hatteras Designs.

Sometime in the early 90's when I needed a unique user name for swbell I had one of my business cards in front of me and I proceeded to type Hatteras in backwards which is sarettah. I have used it since then.

.
Good stuff
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 06:03 PM   #59
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Off for Friday night fun.

Every Friday several friends and I get together and do this:



I am one of the guys on guitar who is sitting. Not the lead, that's Billy. I am on the left of the screen. Big old ugly sucker.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 06:19 PM   #60
The Porn Nerd
Living The Dream
 
The Porn Nerd's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,490
Quote:
Originally Posted by sarettah View Post
Off for Friday night fun.

Every Friday several friends and I get together and do this:



I am one of the guys on guitar who is sitting. Not the lead, that's Billy. I am on the left of the screen. Big old ugly sucker.

.
Freebiiiiiiiiiiiiiiiiiird!!!!
__________________
My Affiliate Programs:
Porn Nerd Cash | Porn Showcase | Aggressive Gold

Over 90 paysites to promote!
Skype: peabodymedia
The Porn Nerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-18-2015, 06:33 PM   #61
bmwracer41
Confirmed User
 
Industry Role:
Join Date: May 2013
Posts: 1,526
Fucking great

I have to admit....Their is great comedy and wit on this forum

After a long day of work, nothing like a good laugh

anyway, I had a jewish Dilemma today

Ham on Sale

But I bought anyway

Peace
bmwracer41 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 02:55 AM   #62
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
Quote:
Originally Posted by sarettah View Post
I will still be getting back to this but I am having trouble typing. My left eye was dilated at the eye doctor and it is giving me fits right now. Might be tomorrow before I get back to this.

Sorry about that.

.
Ok ! I hope that your eye will be fine !
__________________
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 12-20-2015, 07:54 AM   #63
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by Andreweb View Post
Ok ! I hope that your eye will be fine !
Eye is great Sorry I did not make it basck here as planned. My daughter graduated from College (UMKC) yesterday. When I said I would be back I had kind of forgotten that that was going on.

I am back today though and trying to figure out what all to tell you about this stuff.

Camfoxes was originally created as an example of an xml driven site in answer to someone's question.

Simple Chaturbate XML Example is the original incarnation just showing a simple xml parse and display of the chaturbate models.

This is the code that is in there:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>Simple Chaturbate XML Example</title>
  <script type="text/javascript">
  function loadit(urlin, userin, chaturl)
  {
    currshow.innerHTML='Currently Showing: ' + userin + ' <input type=button value=Close onClick="currshow.innerHTML=\'\';currshow.style.display=\'none\';"><br><a onClick="currshow.innerHTML=\'\';currshow.style.display=\'none\';" target=_blank href="' + chaturl + '"><iframe frameborder=0 scrolling="no" src="' + urlin + '" height="440" width="503"></iframe><br>Click Here To Join The Chat!</a>';
    currshow.style.display='block';
    scroll(0,0);
  }
  </script>
  <style>
  body{text-align:center;}
  .main{width:100%;text-align:center;}
  .pushdown {width:800px;float:left;margin:auto;}
  .colhd {width:200px;float:left;}
  .telem {height:250px;}
  .spacer {height:20px;}
  #currshow {float:none;display:none;width:500px;height:540px;text-align:center;margin:auto;}
  </style>
  </head>
  <body>
    <div class="main">
    <h2>Chaturbate XML Example</h2>
<?php
$userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=XXXXX');
if(empty($userlist))
{
  die('Danger Will Robinson...xml load failed...aborting');
}

$fcnt=0;
foreach ($userlist as $user) 
{
   if($user->gender=='f')
   {
      $fcnt++;
   }
}
$itemcnt=intval($fcnt/6);
if($fcnt/6-$itemcnt>0)
{
  $itemcnt++;
}
$colcnt=0;
$itmcnt=0;
foreach ($userlist as $user) 
{
   if($user->gender=='f')
   {
      if($itmcnt==0 || $itmcnt==$itemcnt)
      {
        $colcnt++;
        if($itmcnt>0)
        {
        ?>
        </div>
        <?php
        }
        if($colcnt==2)
        {
        ?>    
        <div class="pushdown">
        <div name="currshow" id="currshow" ></div>
        <?php
        }
        if($colcnt==6)
        {
        ?>
        </div>
        <?php
        }
        ?>
        <div name=col' . $colcnt . ' id=col' . $colcnt . ' class="colhd">
        <?php
        $itmcnt=0;
      }
      $itmcnt++;
      $iframe=substr($user->iframe_embed,strpos($user->iframe_embed,'http'));
      $iframe=substr($iframe,0,strpos($iframe,"'"));
      ?>
      <div class="telem">
      Host: <?php echo substr($user->username,0,20); ?><br>
      <img src="<?php echo $user->image_url; ?>" onClick="loadit(<?php echo "'$iframe','$user->username','$user->chat_room_url'"; ?>);"><br>   
      Time on line: <?php echo number_format($user->seconds_online/60,2); ?> minutes<br>
      Language(s) spoken: <?php echo substr(trim($user->spoken_languages),0,18); ?><br>
      <?php
      if(substr_count(strtolower($user->location),'http')==0 && substr_count(strtolower($user->location),'@')==0)
      {
      ?>
        Location: <?php echo substr(trim($user->location),0,18); ?>
      <?php        
      }
      ?>
      </div>
      <div class="spacer"></div>
      <?php
  }
}
?>
</div>
</div>
</body>
</html>
I have to go eat some breakfast. Will be back.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 08:34 AM   #64
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
The load and parse of the xml feed in there is:

Code:
$userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/?
format=xml&wm=XXXXX');

if(empty($userlist))
{
  die('Danger Will Robinson...xml load failed...aborting');
}

foreach ($userlist as $user) 
{
  Do something here
}
This opens the xml feed and loads it into a soimplexml object:
$userlist = simplexml_load_file('https://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=JkjyU');

If we don't get anything back then lets just kill the routine
if(empty($userlist))
{
die('Danger Will Robinson...xml load failed...aborting');
}

Otherwise we read through the list of nodes returned and do something with the information:

foreach ($userlist as $user)
{
Do something here
}


So, that is a basic parse. There are other ways to pull this off. I usually use a curl routine to grab the xml feed. I do that because with curl I can control the connection timeout and process timeout. You could also use a file_get_contents to open the file and then load it to a simplexml object.

The main thing is that you want to get the data from the xml feed into the simplexml object to make it easier to read by just being able to loop through it.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 08:37 AM   #65
Penny24Seven
So Fucking What
 
Penny24Seven's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: USA
Posts: 6,289
Quote:
Originally Posted by sarettah View Post
I am always coding. Always behind on everything.



I had a fairly major cataract removed about 3 weeks ago. Was caused by a reaction to a drug we think.



I am not responsible for your misconceptions so no I am not going to change it. If I did I would probably go with something even girlier like Sally, or Debbie or Brian.

,
oh snap that was funny. point you LOL. but come on it has come up. I know you are a dude because it has been mentioned. Just trying to help the others.
__________________
Our site is coming soon. It will be one of the best ever! I know so. Brian and Penny
Penny24Seven is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 10:54 AM   #66
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
Thank you for the answer ! You rock ! I will try to play with that and maybe I will succeed to build something !
__________________
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 12-20-2015, 11:28 AM   #67
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 92,988
Don't have any questions ...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller
Buy Traffic Spots on a High-Quality Network

1 Year or Lifetime — That’s Right, Until the Internet Explodes!
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 11:34 AM   #68
The Porn Nerd
Living The Dream
 
The Porn Nerd's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,490
Quote:
Originally Posted by CaptainHowdy View Post
Don't have any questions ...
I question your lack of questions...
__________________
My Affiliate Programs:
Porn Nerd Cash | Porn Showcase | Aggressive Gold

Over 90 paysites to promote!
Skype: peabodymedia
The Porn Nerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2015, 12:56 PM   #69
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by Andreweb View Post
Thank you for the answer ! You rock ! I will try to play with that and maybe I will succeed to build something !
You're welcome.

Here are a couple of threads with some good discussions regarding accessing the xml feed and caching it in order to speed up a site:

https://gfy.com/webmaster-q-and-fucki...light=camfoxes

https://gfy.com/webmaster-q-and-fucki...light=camfoxes

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2015, 08:57 AM   #70
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Coding coding coding.

Listening to some Lou Reed this morning to get started



.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2015, 01:19 PM   #71
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
Starting from what you gave me I played a bit to see if I can make something and I created this page : http://www.webfreecams.info/Sample/ , ofcourse I'll take it down its just a sample to understand how it works , but starting from that I want to build something custom , I will try to grab cams from more sponsors in a single site , I hope I will succed , I will start after the Hollydays and I will share the results ! Thanks again !
__________________
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
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
real, check, morning, errands, hour, computer, coding, front, sitting, afternoon, day, bullshit, fun, ahead, thread



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.