Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?PHP
2
/**
3
 * example that fetches product finder XSL
4
 *
5
 * $Id: example_GetProductFinderXSL.php,v 1.1 2005/01/01 15:48:47 schst Exp $
6
 *
7
 * @package     Services_Ebay
8
 * @subpackage  Examples
9
 * @author      Stephan Schmidt
10
 */
11
error_reporting(E_ALL);
12
require_once '../Ebay.php';
13
require_once 'config.php';
14
 
15
$session = Services_Ebay::getSession($devId, $appId, $certId);
16
 
17
$session->setToken($token);
18
 
19
$ebay = new Services_Ebay($session);
20
 
21
// get one file, including XSL
22
$xslFiles = $ebay->GetProductFinderXSL('product_finder.xsl', 2);
23
 
24
echo '<pre>';
25
echo htmlentities($xslFiles[0]['Xsl']);
26
echo '</pre>';
27
?>