Youtube Script Error Download Face Of

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    full script pls

    ya firemax, it will be good if you can post the whole edited script coz i did edit the simplexml_loadfile the way you posted, doesnt seem to work.

    Comment


      #17
      you must edit this code in all of pages in your script.. i'll give you my script for all after publish my wap site.. because it's my own edition.

      this is a more explain about how to that.

      1) Open your youtube script index.php page and find this location

      / for each category
      // set feed URL
      $feedURL = "http://gdata.youtube.com/feeds/mobile/videos/-/{$c['term']}?max-results=1&orderby=viewCount&format=1";

      // read feed into SimpleXML object
      $sxml = simplexml_load_file($feedURL);


      // get summary counts from opensearch: namespace
      $counts = $sxml->children('http://a9.com/-/spec/opensearchrss/1.0/');
      $total = $counts->totalResults;

      2) then add comment (recommend) or remove to red field, as follow

      / for each category
      // set feed URL
      $feedURL = "http://gdata.youtube.com/feeds/mobile/videos/-/{$c['term']}?max-results=1&orderby=viewCount&format=1";

      // read feed into SimpleXML object
      /* $sxml = simplexml_load_file($feedURL);
      */

      // get summary counts from opensearch: namespace
      $counts = $sxml->children('http://a9.com/-/spec/opensearchrss/1.0/');
      $total = $counts->totalResults;

      3) Ok, now ad do that, as follow code..

      / for each category
      // set feed URL
      $feedURL = "http://gdata.youtube.com/feeds/mobile/videos/-/{$c['term']}?max-results=1&orderby=viewCount&format=1";



      // read feed into SimpleXML object

      $ch = curl_init() or die ( curl_error() );
      curl_setopt( $ch, CURLOPT_URL, $feedURL );
      curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
      $data = curl_exec( $ch );
      curl_close( $ch );
      $sxml = new SimpleXMLElement($data);

      /*$sxml = simplexml_load_file($feedURL);
      */

      // get summary counts from opensearch: namespace
      $counts = $sxml->children('http://a9.com/-/spec/opensearchrss/1.0/');
      $total = $counts->totalResults;

      thats all, do that for whole your script.. please be sure bold and italic variables are same both curl and commented lines.. every free hosting providers are support for curl..

      Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
      PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
      Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

      Comment


        #18
        hi brother please tell me where is the sql for youtube script and please tell me how to make it to work can we put it in a wap site and associate with it?

        Comment


          #19
          Originally posted by murshid7 View Post
          hi brother please tell me where is the sql for youtube script and please tell me how to make it to work can we put it in a wap site and associate with it?
          Search for it and its in this topic lol

          Last edited by subzero; 23.11.09, 09:04.
          Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
          Visit: WapMasterz Coming Back Soon!
          _______
          SCRIPTS FOR SALE BY SUBZERO
          Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
          FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
          _______
          Info & Tips
          php.net
          w3schools.com

          Comment


            #20
            don't need sql for youtube clone. it's a simple feed service..

            Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
            PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
            Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

            Comment


              #21
              Thanks firemax for a detailed tutorial.
              Much appreciated buddy.

              Comment


                #22
                does any one know how to make a image post normally members can post on forums only text other than doing [img=imagesource] isnt there any way to upload image for forums? please some one expert post the codings for that in here

                Comment


                  #23
                  what for bro ? explain me more about your problem. sometimes i can help you..

                  Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
                  PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
                  Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

                  Comment


                    #24
                    No need to worry.
                    Just change the follwing on your youtube script (youtube/details.php).

                    <form action="details.php" method="get">

                    replace it by

                    <form action="http://yaaya.mobi/downloads/videos/details.php" method="get">

                    Now it will work fine.
                    Its for all........

                    Comment


                      #25
                      u mean this url to ur site detail page
                      Code:
                      http://yaaya.mobi/downloads/videos/details.php
                      why not just post ur detail.php page here?

                      Comment


                        #26
                        thanks wapmad.. it's mean more traffic for my site :-))

                        Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
                        PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
                        Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

                        Comment


                          #27
                          It doesn't mean you can get traffic to your site.
                          It works on details.php as a download link only.

                          Comment


                            #28
                            Originally posted by riderz View Post
                            u mean this url to ur site detail page
                            Code:
                            http://yaaya.mobi/downloads/videos/details.php
                            why not just post ur detail.php page here?
                            I told to change the action url only.
                            no need to change the whole codes of details.php.
                            your site visitors cannot get out of your site.

                            Comment


                              #29
                              Originally posted by wapmad View Post
                              I told to change the action url only.
                              no need to change the whole codes of details.php.
                              your site visitors cannot get out of your site.
                              the script has no errors really.its working fine.
                              she is beautifull than php.and i love her more than php.
                              sigpic

                              Comment


                                #30
                                yea first i use dis no error but aftr i change hosting the video unable to download lol

                                Comment

                                Working...
                                X