Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another alternative to consider: LODE #5

Closed
clange opened this issue Aug 31, 2014 · 1 comment
Closed

Another alternative to consider: LODE #5

clange opened this issue Aug 31, 2014 · 1 comment
Assignees

Comments

@clange
Copy link
Contributor

clange commented Aug 31, 2014

@kurzum thanks for pointing me to https://github.com/NLP2RDF/ontologies/blob/master/publish.sh. Indeed LODE is a great documentation tool to consider. As we do not yet have a web server in place I modified the invocation so as to upload a file to the server where LODE is running, but actually for our ontology (sources at https://github.com/mobivoc/mobivoc/), LODE's documentation generated from the uploaded file is empty, and right now I do not have time for debugging.

@jerdeb @badmotor the bad thing about LODE is that it relies on the ontology to be published somewhere, or uploaded, as it fetches it using JavaScript. Whereas SpecGen generates static HTML, which, I think, would fit better into an automated workflow. (However I checked the LODE sources; it should be possible to modify them.)

Parrot seems to be more promising: it allows for file upload and gives you a static HTML, so I'll continue with that.

Of course, when using LODE or Parrot, we should first upload our files somewhere, or modify them to generate static HTML offline, as uploading lots of files there is against the netiquette.

BTW here are some reasonable ways to invoke curl with a file upload:

curl -s -i -F "file=@mobivoc.rdf" -F "lang_label=en" -F "caller=http://www.essepuntato.it/lode" http://www.essepuntato.it/store.php

will tell you the URL where to retrieve the HTML documentation.

curl -s -L -o mobivoc.lode.html -F "file=@mobivoc.rdf" -F "lang_label=en" -F "caller=http://www.essepuntato.it/lode" http://www.essepuntato.it/store.php

will download the file (but it's not really useful as it's not static).

@clange
Copy link
Contributor Author

clange commented Feb 26, 2015

closing; see #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants