kianschmalenbach / rdf-browser

A Firefox Add-on that requests RDF files and renders RDF files as Turtle documents with clickable links
MIT License
16 stars 6 forks source link

Add custom extensions? #31

Closed Potherca closed 1 year ago

Potherca commented 2 years ago

First of all: great plugin! I love how much easier this has made my life!

Now, my issue... In the settings, I can select "Considered File Extensions"

image

One of the projects I am currently working with uses the .n3 file extension for Turtle/N3.

Is there a way I could add this as an extension to be considered by the plugin?

aharth commented 1 year ago

The N3 syntax (and data model) goes beyond Turtle.

If the RDF Browser would claim to support N3 but choke on variables ("?") and quoted graphs ("{ }"), we would have another problem.

Potherca commented 10 months ago

I thought that, because the n3 package is used, N3 would also be supported :shrug:

But my original point still stand. I have, once again, run into a project that uses custom extension. Because the MIME type is not set (it just servers everything as plain-text) the file is not enhanced by this plugin. Being able to add a custom file extension would be of much help...