Plugin Directory

Changeset 967792


Ignore:
Timestamp:
08/18/2014 06:10:26 PM (11 years ago)
Author:
logonike
Message:

Change v

Location:
goodfidelity
Files:
48 added
4 edited

Legend:

Unmodified
Added
Removed
  • goodfidelity/trunk/ext/related-face.php

    r946609 r967792  
    44        $IDtube = $_GET["ID"];
    55       
    6         $ch = curl_init();
    7         curl_setopt($ch,CURLOPT_URL,"http://www.youtube.com/watch?v=".$IDtube."");
    8         curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
    9         curl_setopt($ch,CURLOPT_MAXREDIRS,10);
    10         curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,100);
    11         curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10');
    12         curl_setopt($ch,CURLOPT_HTTP_VERSION,'CURLOPT_HTTP_VERSION_1_1');
    13         $data = curl_exec($ch);
    14         $error = curl_error($ch);
    15         curl_close($ch);
     6        $data = file_get_contents("http://www.youtube.com/watch?v=".$IDtube."");
    167       
    178        preg_match_all("(<title>(.*)</title>)siU", $data, $matches1);
  • goodfidelity/trunk/ext/related-good.php

    r946609 r967792  
    66        $IDtube = $atributes['myvideo'];
    77       
    8         $ch = curl_init();
    9         curl_setopt($ch,CURLOPT_URL,"http://www.youtube.com/watch?v=".$IDtube."");
    10         curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
    11         curl_setopt($ch,CURLOPT_MAXREDIRS,10);
    12         curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,100);
    13         curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10');
    14         curl_setopt($ch,CURLOPT_HTTP_VERSION,'CURLOPT_HTTP_VERSION_1_1');
    15         $data = curl_exec($ch);
    16         $error = curl_error($ch);
    17         curl_close($ch);
     8        $data = file_get_contents("http://www.youtube.com/watch?v=".$IDtube."");
    189       
    1910        preg_match_all("(<title>(.*)</title>)siU", $data, $matches1);
  • goodfidelity/trunk/goodfidelity.php

    r967165 r967792  
    22/*
    33Plugin Name: GoodFidelity Bar Music
    4 Version: 1.2
     4Version: 1.3
    55Plugin URI: http://www.goodfidelity.com
    66Author: David Lozano Medina
  • goodfidelity/trunk/readme.txt

    r967165 r967792  
    44Requires at least: 3.9
    55Tested up to: 3.9
    6 Stable tag: 1.2
     6Stable tag: 1.3
    77
    88Description: Complements your website with a administrator of videos and music. Your users will be able to create one or more playlist, you be able to listen music without interruption, may share in facebook and more. Millions of music videos at your fingertips. It offers a powerful search engine.
     
    2525- Fits all languages.
    2626
    27 NOTA.- The plugin automatically creates a page type entry with the name "GoodFidelity 'and a permalink to" GoodFidelity ". No change those names.
     27NOTA.- The plugin automatically creates a page type entry with the name "GoodFidelity" and a permalink to "/goodFidelity". No change those names.
    2828
    2929== Installation ==
     
    5454
    5555== Changelog ==
     56= 1.3 =
     57* Change curl to file_get_contents in related-face and related-good
    5658= 1.2 =
    5759* More info
Note: See TracChangeset for help on using the changeset viewer.