sdmp / sdmp.github.io

The main front-page and docs for the sdmp project.
https://sdmp.io
2 stars 2 forks source link

Question & Proposal: Resource Type Identification #7

Closed jmhobbs closed 9 years ago

jmhobbs commented 9 years ago

Since there are very specific resource types, why are they not specified in the sdmp object somewhere?

I feel an sdmp.type or the like would be very useful for disambiguating resources, rather than relying on attribute detection, which seems to be the only option right now.

Additionally, if that is implemented, how do you feel about a namespace for general document extensions?

For instance, my type could be sdmp.velvetcache.org/0.9/blog and there could be some sort of document required specifying the purpose and presentation options there.

Kind of smells like XML, for better or worse.

saibotsivad commented 9 years ago

I originally had that thought as well, and based on some reading and thinking discarded it. Unfortunately, I didn't write down notes as to why it would be one way and not another, so I am thinking I will add some sort of sdmp.type property that is then extendable. I'm working on it now, but I probably won't have it done until mid-week.

saibotsivad commented 9 years ago

Closed via #14.