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

Feature Request: Provide an HTML formatted TimeMap endpoint #131

Open
machawk1 opened this issue Mar 24, 2020 · 3 comments
Open

Feature Request: Provide an HTML formatted TimeMap endpoint #131

machawk1 opened this issue Mar 24, 2020 · 3 comments

Comments

@machawk1
Copy link
Member

Perma.cc offers one, e.g., https://perma.cc/timemap/html/http://www.example.org

The use case is for a more human readable format alternative to the currently supported formats.

@ibnesayeed
Copy link
Member

We discussed this matter offline in the early days of MemGator development. While implementing this would be easy, one issue that needs to be resolved is the structure and attributes of the markup. HTML is for documents, not for data, so any structure would be ad-hoc in nature. On the contrary, XML can be more strict and well suited to transport data. Another issue with HTML is, should we provide a complete HTML document along with header and body elements or just the fragment which contains the TimeMap data.

@machawk1
Copy link
Member Author

With regard to structure, Custom Elements would provide a basis for semantics entries to be displayed.

@ibnesayeed
Copy link
Member

I don't see Custom Elements being any helpful in this case, instead it will bring an added overhead of the element definition. We should not be after a specific rendition of the data, but semantically carrying the data while meaningful consumption and styling decisions should be left to the consumer of the data.

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