HDV Bucks embed feed | CyberSEO Pro
May 4, 2011

HDV Bucks embed feed | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Related Related Topics sp_TopicIcon
HDV Bucks embed feed
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
November 4, 2011
7:27 pm
Avatar
tonyparra
Guest
Guests

For reason cyber seo is not pulling post from this feed. When i paste it in my browser i see content but when i syndicate it, it returns zero post.

Login to see this link?’sid=16’program=7’tour=18’tour_cat=19’tracker=0’etemplate=9’uid=1428’type=all’cat=4’csv=2’spec=0’emb_code=1’emb_desc=1’emb_thumb=1’emb_model=1’emb_cat=1’emb_small_th=1’emb_start=0’emb_limit=0’linkto=join’enc=true

November 5, 2011
2:02 pm
Avatar
CyberSEO
Admin
Forum Posts: 3365
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Perhaps you are using wrong code for that. Can you show me the contents of “Custom Fields” and “PHP Code <?php .. ?>” from the feed settings page?

November 5, 2011
11:39 pm
Avatar
tonyparra
Guest
Guests

This is what i use i think its pretty much standard:

$post ['custom_fields'] ['banner'] = '';
$post ['custom_fields'] ['type'] = 'Tube Video';
$post ['custom_fields'] ['embed'] = '';
$post ['custom_fields'] ['duration'] = date ( 'i:s', $post ['custom_fields'] ['duration'] );
// fake random time from 0:20:00 to 2:00:00
$post ['custom_fields'] ['time'] = date ( 'i:s', rand ( 1200, 72000 ) );
// create an URL of thumb from it's path and file name
$screen = $post ['custom_fields'] ['screen'];
if (is_array ( $screen )) {
$post ['custom_fields'] ['thumbnail'] = $post ['custom_fields'] ['screen_url'] . $screen [rand ( 0, count ( $screen ) – 1 )];
} else {
$post ['custom_fields'] ['thumbnail'] = $post ['custom_fields'] ['screen_url'] . $screen;
}
// uncomment the line below to store thumbnails on your server
cseo_store_image ('thumbnail', $post ['post_title']);
// since FLV videos have no unique GUID's let's use their URL's as post GUID's
$post ['custom_fields'] ['hostedflv'] = $post ['guid'] = $post ['custom_fields'] ['clip_url'] . $post ['custom_fields'] ['flv'];
// now let's delete all useless custom fields
unset ( $post ['custom_fields'] ['screen_url'] );
unset ( $post ['custom_fields'] ['screen'] );
unset ( $post ['custom_fields'] ['clip_url'] );
unset ( $post ['custom_fields'] ['flv'] );

November 6, 2011
4:04 pm
Avatar
CyberSEO
Admin
Forum Posts: 3365
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

It seems the feed is broken:

XML Parsing Error: junk after document element
Line Number 2, Column 1:<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/hdpartner/www/tools/xmlembed.php</b> on line <b>144</b><br />
^

BTW, what does mean the following line in your code above?

Login to see the code

November 8, 2011
12:58 pm
Avatar
tonyparra
Guest
Guests

I think i was trying to add the embed to a custom field for embeds but now that i look at it again i kind of see how that wouldnt work, Im not suprised their feed is broken ill try to ask them to fix it.

I think with their embed i was trying to add it directly to the page, instead of in a player.

November 8, 2011
2:47 pm
Avatar
CyberSEO
Admin
Forum Posts: 3365
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Yes you can do that. But only when they get the feed fixed.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

s.baryshev.aoasp: 62

Freedom: 61

MediFormatica: 49

saviulisse67: 45

B8europe: 38

Member Stats:

Guest Posters: 338

Members: 2390

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1431

Posts: 7106

Newest Members:

samfitza, laur_012, chevon.goldenbricksevents, info.listenic, gfynicky, thebfr

Administrators: CyberSEO: 3365