Thread: Business Cyberseo xml
View Single Post
Old 05-12-2016, 12:14 PM  
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