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

Add schema browser to schemas.isotc211.org #8

Closed
PeterParslow opened this issue May 21, 2019 · 15 comments
Closed

Add schema browser to schemas.isotc211.org #8

PeterParslow opened this issue May 21, 2019 · 15 comments
Assignees
Labels
enhancement New feature or request

Comments

@PeterParslow
Copy link

Looking good.

The default page at https://schemas.isotc211.org/ means I can no longer browse the available schemas, in the way I can at https://standards.iso.org/ittf/PubliclyAvailableStandards, which means I need to be well prepared before trying to find one.

Similarly, you can't browse to find parts or namespaces, e.g. https://schemas.isotc211.org/19110/ and https://schemas.isotc211.org/19110/fcc/ both give 404s.

For example, I just looked for 19139, forgetting it is -1 (even though I was the editor!) - and doesn't have a schema anyway.

Perhaps all this is deliberate, to ensure the schemas are only found by people coming from the (paid for) standards documents?

Also, the 404 isn't working "An Error Occurred While Attempting to Retrieve a Custom Error Document" 404.html

@jetgeo
Copy link

jetgeo commented May 21, 2019

Yes, we have talked about this before @ronaldtse.
We should be able to browse through the folders. E.g. https://schemas.isotc211.org/19110/fcc/1.0/ works, but if I want to see what namespaces exist for 19110, I get a 404 for https://schemas.isotc211.org/19110/. Instead, I should get a list of folders as I do on https://standards.iso.org/iso/19110.

@ronaldtse ronaldtse changed the title The new https://schemas.isotc211.org/ Make schema/resources browsable on all resource sites Aug 13, 2019
@ronaldtse
Copy link
Contributor

Sorry to have kept this hanging, we have been doing lots of enhancements on Geolexica lately.

This issue is to make schema/resources browsable. This applies to these sites:

This shall come in a form of a plugin so it applies across the board. We will create a new task at https://github.com/ISO-TC211/jekyll-theme-isotc211/ to handle this.

@strogonoff strogonoff self-assigned this Aug 14, 2019
@strogonoff strogonoff changed the title Make schema/resources browsable on all resource sites Add schema browser to schemas.isotc211.org Aug 14, 2019
@strogonoff strogonoff transferred this issue from ISO-TC211/isotc211.github.io Aug 14, 2019
@strogonoff strogonoff added the enhancement New feature or request label Aug 14, 2019
@strogonoff
Copy link
Contributor

Moved under the schemas website repository, since the original request is about the schemas. This will be closed when ISO-TC211/jekyll-theme-isotc211#6 is done.

@ronaldtse
Copy link
Contributor

Cool, thanks for handling this @strogonoff !

@strogonoff
Copy link
Contributor

strogonoff commented Aug 14, 2019

@ronaldtse are there some shared traits among formats of different schemas?

E.g., 19115 and a few others (but not all of them) contain a “resources” subdirectory, which appears to provide some metadata.

@strogonoff
Copy link
Contributor

strogonoff commented Aug 14, 2019

First (imperfect) pass is live at https://schemas.isotc211.org/, to be continued.

  • Don’t forget to refresh browser cache to ensure updated stylesheets
  • Per-filetype viewers may be implemented eventually, but there are a lot of unknowns here
  • Since certain XML files are displayed as nothing by certain browsers, a download button may be added in near future to reduce confusion
  • Browsing UI is planned to be improved upon, may be unwieldy with schemas containing many files

@ronaldtse
Copy link
Contributor

@strogonoff this is an awesome start! Please continue with the issues mentioned 👍

@strogonoff
Copy link
Contributor

strogonoff commented Aug 15, 2019 via email

@ronaldtse
Copy link
Contributor

@strogonoff the schemas are organized by ISO numbers, not sure if we could provide metadata for each. We could rely on Relaton to fetch the metadata of ISO documents, but they're still one step away from the schemas themselves.

But yes, I suppose we could supply extra information in a metadata file?

@strogonoff
Copy link
Contributor

strogonoff commented Aug 15, 2019 via email

@ronaldtse
Copy link
Contributor

@PeterParslow forgot to let you know that the schema browser is now completed.

If you go to this page: https://schemas.isotc211.org/schemas/
Screen Shot 2019-12-10 at 3 13 22 PM

Click on any schema, and you will see the schema browser:
Screen Shot 2019-12-10 at 3 13 46 PM

Closing this issue now -- for feedback and improvement suggestions, please file new issues. Thanks!

@PeterParslow
Copy link
Author

OK - I'll open a new issue: this allows us to browse, but not in the way @jetgeo or I described - i.e. use a web browser to dereference URIs built on the expected pattern, in the way I can at https://standards.iso.org.

For example, I can't GET https://schemas.isotc211.org/schemas/19135/-2; I have to browse from the root, from https://schemas.isotc211.org/schemas/19135.

@ronaldtse
Copy link
Contributor

@PeterParslow I see, you would like to still see the browser at: https://schemas.isotc211.org/schemas/19135/-2 . Correct?

@ronaldtse
Copy link
Contributor

If so, we should be able to extend and handle that.

@PeterParslow
Copy link
Author

That might solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants