Permalink
Browse files

Merge pull request #12 from REI-Systems/master

csv-to-api minor changes from REI Systems, props @cman81.
  • Loading branch information...
2 parents b991f79 + fa96dbc commit acd962f6253e3ee567a141d8ff3aa79b76e8af91 @benbalter benbalter committed Jan 22, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 index.php
View
@@ -26,7 +26,7 @@ Requirements
Usage
-----
-1. Copy `class.csv-to-api.inc.php` and `index.php` to your web server.
+1. Copy `class.csv-to-api.php` and `index.php` to your web server.
2. Load a CSV file via the URL `index.php`, using the arguments below.
Arguments
@@ -44,7 +44,7 @@ Example Usage
-------------
### Get CSV as JSONP (default behavior)
-http://example.gov/csv-to-api/?source=https://explore.data.gov/download/7tag-iwnu/CSV
+http://example.gov/csv-to-api/?source=https://explore.data.gov/download/7tag-iwnu/CSV&source_format=csv
### Get results as XML
View
@@ -6,7 +6,7 @@
# No Source file is given, just show documentation
if ( !isset( $_REQUEST['source'] ) ) {
echo "<PRE>";
- require "readme.md";
+ require "README.md";
die();
}

0 comments on commit acd962f

Please sign in to comment.