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

Multi-line template in configuration.json #18

Closed fils closed 12 years ago

fils commented 12 years ago

I am having issues with the template line.

If I try and use multiple lines in the template entry either with just returns or with \ at the end of line I can't seem to get it to work.

Is there a way to have the template entry span multiple lines to make creating more interesting templates easier to do.

thanks!

fadmaa commented 12 years ago

now you can... pull and update and let me know if you encounter any problem

Cheers, Fadi

fils commented 12 years ago

Sorry for my delay.. took a work trip to Edinburg and back.. busy time...

I tried this and got an error near where you made the edits...

Uncaught TypeError: Object # has no method 'replace' rdf-browsing-engine.js:210 (anonymous function) rdf-browsing-engine.js:210 b jquery-1.4.2.min.js:124 c.extend.ajax.x.onreadystatechange

fadmaa commented 12 years ago

Hi, thanks for the details. It looks that the result of the ajax call is erroneously not treated as text, I wasn't able to re-produce the error though. I think it has to do with the browser and the operating system may be. what are you using?

I added an extra parameter to the ajax call causing the error to enforce casting the result as text. Give it a try, it might help.

fils commented 12 years ago

looks like that did it! thanks...

Mac OS X Lion with Chrome version 21 was what I was using...

Thanks!