fadmaa / RDF-faceted-browser

a faceted browser on top of RDF data available through SPARQL endpoints that support COUNT/GROUP BY queries
MIT License
36 stars 2 forks source link

can not read endpoint_url value in rdf-browsing-engine.js #13

Closed fils closed 12 years ago

fils commented 12 years ago

Getting Uncaught TypeError: Cannot read property 'endpoint_url' of null rdf-browsing-engine.js:210

It read the configuration.json file in, but is not parsing or passing it along?

my config file

{ endpoint_url: "http://data.oceandrilling.org/sparql", main_resource_selector: "?x a http://data.oceandrilling.org/core/1/taxa ", namespaces: [ [ "dcat", "http://www.w3.org/ns/dcat#" ], [ "rdf", "http://www.w3.org/2000/01/rdf-schema# " ], [ "dct", "http://purl.org/dc/terms/" ] ], template: "

" }

fadmaa commented 12 years ago

there was a bug in the way the configuration files are read. it should be corrected now! thanks for reporting!