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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 05-12-2016, 12:14 PM   #1
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Cyberseo xml

Guys,

I'm trying to pull some data from this feed but I cant get it to pull any info.. what am I doing wrong here?

feed:

custom fields:

profilePictureUrl->thumb
performerId->name
chatRoomUrl->chat_link
details->categories

php:

$post['guid'] = $post['custom_fields']['thumb'];
$post['post_title'] = 'Chat with ' . $post['custom_fields']['name'];
if (!cseo_post_exists($post)) {
$post['post_content'] .= '<h2 style="text-align: center;"><a href="' . $post['custom_fields']['chat_link'] . '">Click to Chat and get the best Discounts!</a></h2>';
$post['post_content'] .= '<p style="text-align: left;"><strong>Name:</strong> ' . $post['custom_fields']['name'] .'</p>';
$post['post_content'] .= '<p style="text-align: left;"><strong>Categories:</strong> ' . $post['custom_fields']['categories'] .'</p>';

} else {
$post = false;
}

Section tag: data,models,model ?
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-13-2016, 09:41 AM   #2
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,350
Section tag is "MODEL". Also you should change

profilePictureUrl->thumb
details->categories


to

size320x240->thumb
willingness->categories
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-14-2016, 12:23 PM   #3
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Cyberseo,

No luck with the settings you mentioned. Any other ideas?
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-16-2016, 09:48 AM   #4
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,350
Quote:
Originally Posted by levd View Post
Cyberseo,

No luck with the settings you mentioned. Any other ideas?
Need more info on the issue. Any error messages or so?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-16-2016, 11:41 AM   #5
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
No nothing no error just imported 0
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-16-2016, 04:04 PM   #6
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,350
Quote:
Originally Posted by levd View Post
No nothing no error just imported 0
Because you are doing something wrong. I've just tested the code above, including my own corrections (note my 1st post in this thread) and got the following result on my local-hosted site:

__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-17-2016, 12:04 PM   #7
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Got it working thanks!
Somehow i needed to delete all xml section tags and only add MODEL for this feed. Then it worked ;-)
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
$post[post_content], feed, chat, pull, cseo_post_exists$post, section, false;, tag, data, models, model, $post[post_title], click, $post, categories, $post[guid], discounts;, chatroomurl-chat_link, data, guys, xml, info, profilepictureurl-thumb, fields, performerid-name, cyberseo, details-categories



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.