hello when there is a lot of videos on the channel it give me these errors and only a part of the videos is show.
Ex:on the channel there is 75 video
under autoyoutube only 10 are show
Warning: simplexml_load_file() [function.simplexml-load-file]: https://gdata.youtube.com/feeds/api/users/DoCuTube93/favorites:1: parser error : Start tag expected, '<' not found in /home/*****/public_html/*****/wp-content/plugins/wp-autoyoutube/wp-autoyoutube.php on line 428
Warning: simplexml_load_file() [function.simplexml-load-file]: Not allowed. in /home/*****/public_html/*****/wp-content/plugins/wp-autoyoutube/wp-autoyoutube.php on line 428
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/*****/public_html/*****/wp-content/plugins/wp-autoyoutube/wp-autoyoutube.php on line 428
Warning: Invalid argument supplied for foreach() in /home/*****/public_html/*****/wp-content/plugins/wp-autoyoutube/wp-autoyoutube.php on line 432
Any idea ?
]]>I’m using your plugin and would like to assign it to custom post type named “auto_post” – I’ve already set this custom post type up and it’s working properly on its own, how can I configure the posts created from WP-AutoYouTube to be assigned to this custom post type? I added:?
? ? ? 'post_type' => $_POST['auto_post']
to
? ?`$my_post = array(
? ? ? ‘post_title’ => $v[‘title’],
? ? ? ‘post_content’ => $content,
? ? ? ‘post_category’ => array($autoyoutube[‘category’]),
? ? ? ‘tags_input’ => ($autoyoutube[‘tags’] == 1 ? $v[‘tags’] : ”),
? ? ? ‘post_status’ => $autoyoutube[‘status’],
? ? ? ‘post_type’ => $_POST[‘auto_post’] ?// Use a custom post type
? ?);?`
The posts aren’t showing in my Auto Posts section and when I go to Posts > Auto YouTube the only option under the post is “Import”
]]>The plugin works fine so far, but I was wondering if it was possible to get it to work with a custom post type as opposed to just appearing in and working for the general post type?
Thanks!
]]>When I went to the AutoYouTube page under posts, I saw 6 simple_xml errors, and no uploads or favorites!
]]>