Skip to content

Instantly share code, notes, and snippets.

View jpmckinney's full-sized avatar

James McKinney jpmckinney

View GitHub Profile
@jpmckinney
jpmckinney / proxy.php
Created March 19, 2012 18:34 — forked from evolvingweb/proxy.php
An AJAX-Solr proxy written in PHP.
<?php
/**
* @file
* Implements a Solr proxy.
*
* Currently requires json_decode which is bundled with PHP >= 5.2.0.
*
* You must download the SolrPhpClient and store it in the same directory as this file.
*
{
"language": "en",
"title": "Paris Data",
"description": "City of Paris Open Data portal",
"homepage": "http://opendata.paris.fr/",
"modified": "2016-03-04T13:44:44+00:00",
"conformsTo": "https://example.com/v1.0/schema",
"number_of_datasets": 176,
"publisher":{
"name": "City of Paris",