Posts by timmylogue

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

Thanks for the reply, I’m using http://codecanyon.net/item/youtube-channel-video-grabber/2658178 It’s a nice class file and I can pretty much get anything from the YouTube API easily…. but! the only issue i’m having is getting PHP to just output an xml structure I need it to do. Which is this:

<playlist title="">
        <item title="" id=""/>
</playlist>

... and after the XML structure is correct to just place the YouTube videos (titles and YouTube ID).

So if that class file outputs 10 youtube videos on the page because that’s what the user has uploaded, I need it to show like this inside the new XML file:

<playlist title="">
     <item title="Video Title 1" id="1vdW3452"/>
     <item title="Video Title 2" id="dSw3435"/>
     <item title="Video Title 3" id="SSDQIRsd"/>
     <item title="Video Title 4" id="SsUq230qqQ"/>
     <item title="Video Title 5" id="MmIy02eEr"/>
     <item title="Video Title 6" id="1vdW3452"/>
     <item title="Video Title 7" id="dSw3435"/>
     <item title="Video Title 8" id="SSDQIRsd"/>
     <item title="Video Title 9" id="SsUq230qqQ"/>
     <item title="Video Title 10" id="MmIy02eEr"/>
</playlist>

I know I probably keep asking the same thing, but It’s literally just the stupidest and probably the simplest issue by just having php getting to output the XML correctly and getting all YouTube videos (titles and ID’s) into the XML. All of them and not just one.

It’s giving me a HUGE headache.

Thanks!

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

OK… i thought I had it working, but I don’t . This is giving me a headache. How much would you charged to knock this out for me?

Anyone else…

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

haha I pretty much got it like 30 mins before you posted that, but I will save your code snippet for further coding.

Thanks for your help!

Tim

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

I agree haha Thanks buddy.

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

Hey, thanks for the speedy reply.

I always try to keep it simple by using SimpleXML. I just can’t figure out attributes with SimpleXML for some reason. Trial and error! Thats how I roll! haha

I’ll get it one way or another, if any other feedback you can provide me, that would be awesome :)

Thanks again, Timothy

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

Hey guys, i’m trying to put together a script that will display a YouTube user’s uploaded videos. I have the script working, but what I need it to do now is generate an xml based off what the php spits out.

The php script below shows the uploaded videos.

PHP code: http://pastebin.com/HWBNyyTz

Here is the XML structure

<playlist title=" ">
            <item title="" id=""/>
</playlist>

So…. i’m trying to get the YouTube ID of the videos inside the “id” attribute value and of course get the YouTube title inside the “title” attribute value.

and also, of course the more video’s the user have uploaded the more the xml would be, For example- if they have 10 videos uploaded it would show like this:

<playlist title=" ">
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
    <item title="" id=""/>
</playlist>

Any help would be greatly appreciated, Thanks.

Timothy

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

I’m bored… So I’ll be happy to figure this out for you ha. Shoot me an email if you want.

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

haha it’s all good. If you want to shoot me an email here , I can help you inside WordPress. If not I would just contact Denoizzed

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

I looked at your source-code. Now, I’m not sure how you are editing the .html or .php files, or if you using the WordPress version King Size. Anyways…

If your not using WordPress version you can just replace your kiddos page with this code: http://pastie.org/pastes/5685765/text?key=rtjkmkmm3zevltygpwfw2q

Easy fix, if you are just using straight up html.

Tim

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

How should we know? it’s not like we are sitting on a regular day base and testing the Chromeless Player for 7-9 straight hours and see if its crashing, you know man… you should try to open the window sometime an pop your head out and look for some hot girls instead trying figure weirdo things :P .

Always busting my balls lol. It’s not like I sit down and wait 5-7 hours lol. Trust me I do have a life. I didn’t mean it like that.

I developed a Flash Based Application, and there is YouTube built into the app. YouTube plays all day (7-9 hours roughly) on my users end.

That’s what I meant. I guess I could of been a little more better than explaining it, but I kinda was in a rush to head out. My fault.

by
by
by
by
by
by