Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use 5.008;
- use warnings;
- use strict;
- use utf8;
- # Directory where photocatalog is installed.
- $settings->{cwd} = "/var/www/www.north-winds.org/cgi-bin/andblog";
- # Backend for data storage. Only working type is 'file'.
- $settings->{backend} = "file";
- # Settings for database backend.
- $settings->{dataSource} = "DBI:Pg:dbname=photocatalog;host=localhost";
- $settings->{dbUser} = "user";
- $settings->{dbPass} = "S3cr3t!";
- # Location where photocatalog is hosted.
- $settings->{website} = "http://www.north-winds.org/andblog";
- $settings->{sources} = [
- {
- id => 1,
- type => 'WWW',
- name => 'Android',
- kml => {
- position => 'loc',
- line => 'path',
- location => 'place',
- },
- },
- {
- id => 2,
- type => 'InstaMapper',
- name => 'InstaMapper',
- deviceKey => '222',
- apiKey => '11111',
- kml => {
- position => 'loc',
- line => 'path',
- location => 'place',
- },
- },
- {
- id => 3,
- type => 'RSS',
- name => 'Twitter RSS',
- deviceKey => 10,
- file => 'http://twitter.com/statuses/user_timeline/23379034.rss',
- kml => {
- container => 'rss',
- },
- },
- {
- id => 4,
- type => 'Twitter',
- name => 'Twitter Native',
- screenName => 'penguin359',
- kml => {
- container => 'twitter',
- },
- },
- {
- id => 5,
- type => 'FourSquare',
- name => 'FourSquare',
- token => 'jfdakjfldajlk',
- tokenSecret => 'r3j2kl3rj2ljw',
- kml => {
- container => 'foursquare',
- },
- },
- {
- id => 6,
- type => 'Facebook',
- name => 'Facebook',
- tokenSecret => 'jdfkajlkfda',
- kml => {
- container => 'facebook',
- },
- },
- ];
- 1;
Advertisement
Add Comment
Please, Sign In to add comment