]> _ Git - cubeextranet.git/commitdiff
#1982 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 22 Oct 2018 13:15:34 +0000 (13:15 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 22 Oct 2018 13:15:34 +0000 (13:15 +0000)
inc/ws/Controlleur/class.ws.services.php

index 46f09764d340aa76de5044a551064f036243d27f..77106e171951be12781d68b8cf93ab6a405db3c0 100644 (file)
@@ -1300,6 +1300,18 @@ class wsServices extends cubeFlashGateway
                }
        }
 
+       public function proxypinterest()
+       {
+               $this->outputXML = false;
+
+               header('Content-type: application/rss+xml');
+               $url = 'https://www.pinterest.com/' . urlencode($this->args['url']);
+               ob_end_clean();
+               $c = file_get_contents($url);
+               echo $c;
+               exit;
+       }
+
        public static function _subscribeAvery()
        {
                $api = new CubeIT_Services_Mailchimp('5d00b7e601cf1948cb95de06630878ae-us19');