﻿var arbexpConfig = arbexpConfig || {};

arbexpConfig.dataProviders = [
    {
        type:"jstor",
//        url:"php/proxy.php?http://labs.arboretum.harvard.edu/aanavigator/cgi/gen?method=typespec&gen=${__genus}&sp=${__species}",
        url:"php/proxy.php?http://labs.arboretum.harvard.edu/arbinfo/?main=typespec&gen=${__genus}&sp=${__species}&format=html",
        key:"PlantCenterID",
        infoTemplateId:"plant",
        controlId:"jstorContent",
        disabled:false
    },
    {
        type:"facebook",
        url:"php/facebook/FacebookService.php",
        photoUploadUrl:"php/facebook/FacebookUpload.php",
        authenticationUrl:"./?dpaction=facebookAuthenticate",
        key:"PlantCenterID",
        likeUrlField:"__facebookLikeUrl",
        infoTemplateId:"plant",
        controlId:"facebookContainer"
    },
    {
        type:"flickr",
        url:"php/flickr/FlickrPhotos.php",
        photoUploadUrl:"php/flickr/FlickrUpload.php",
        authenticationUrl:"./?dpaction=flickrAuthenticate",
        key:"PlantCenterID",
        infoTemplateId:"plant",
        controlId:"flickrContainer"
    },
    {
        type:"twitter",
        url:"php/twitter/FlickrPhotos.php",
        authenticationUrl:"http://arboretum.harvard.edu/explorer/php/twitter/TwitterAuthenticate.php",
        defaultTweet:"#${PlantCenterID} #aarbexp @arnoldarboretum"
    }
];