1 rizwank 1.1 <?php
2 /* ---------------------------------------------------------------------------
3 Title: FlickrSSP 1.0
4 Author: Brian Sweeting (http://www.sweeting.net/)
5
6 FlickrSSP allows you to use Flickr (http://www.flickr.com) and SlideshowPro
7 (http://www.slideshowpro.net) to display all of your Flickr photosets on
8 your own website instead of just your recent photos via the RSS feed.
9
10 Based on the previous work of Moises Kirsch (http://www.moiblog.com/downloads)
11 --------------------------------------------------------------------------- */
12
13 // The user_id (nsid) used to access Flickr
14 // You can get this by viewing the source of any Flickr page, once you are
15 // logged in, it looks something like global_nsid = '69458533@N00';)
16 $flickrssp_config['user_id'] = '69458533@N00';
17
18 // The password used to access Flickr
19 // You can request one of these at: http://www.flickr.com/services/api/key.gne
20 $flickrssp_config['api_key'] = '64f9dc664e4e04f86efc2d3e6867bb23';
21
22 rizwank 1.1 // Your url to Flickr
23 // Get this by clicking the "Yours" link while you are logged into Flickr
24 $flickrssp_config['url'] = 'http://www.flickr.com/photos/rizwank/';
25
26 // Path and filename for the cached xml file
27 $flickrssp_config['xml'] = 'images.xml';
28
29 // How often should the update the xml file in seconds
30 // (86400 seconds = 1 day)
31 $flickrssp_config['cache_period'] = 600;
32
33
34
35
36 /* -----------------------------------------------
37 Do not edit below this point
38 ----------------------------------------------- */
39 include('inc/flickrssp.class.php');
40 $flickrssp = new flickrssp($flickrssp_config);
41 ?>
|