A Phylotastic 2 project to autocomplete species names over the web. This project consists of three components:
-
The
initfolder contains the files necessary to set up the SQLite database.init.sqlis the initialization script for the database. You can then rundemo-data.sqlfor really basic starting data, or you can add the names you want into thenamestable. Finally, runregen-index.phpto regenerate the names index. This takes a LONG time; I hope to look into faster approaches at some point. -
The
importersfolder contains files which can help you add data from various sources. A generic DarwinCSV to SQLite script is provided, which converts a DarwinCSV file into a pipe-delimited file for input into SQLite. It's designed around http://gaurav.github.com/itis-dwca/, which requires two important processing steps:- AcceptedNameUsageIDs need to be translated into AcceptedNameUsages.
- ParentNameUsageIDs need to be translated into Family.
-
The
distfolder contains the files you need to incorporate into your website:index.html, which displays the drop-down list, andautocomplete.php, which searches a local SQLite database for the autocomplete names.
For more information, please get in touch.