Coder Social home page Coder Social logo

serve namespace files about valueflo.ws HOT 6 CLOSED

valueflows avatar valueflows commented on July 29, 2024
serve namespace files

from valueflo.ws.

Comments (6)

elf-pavlik avatar elf-pavlik commented on July 29, 2024

In the end we should support Content Negotiation, but that goes into how we serve content. So for now I think enough if content of Person.md from agent repo will appear rendered to HTML on https://valueflo.ws/ns/Person
No sure if that answers your question....

from valueflo.ws.

ahdinosaur avatar ahdinosaur commented on July 29, 2024

a better way to ask my question: what should be returned by:

curl -L https://w3id.org/valueflows/ -H "Accept: application/ld+json"

and similarly:

curl -L https://w3id.org/valueflows/Person -H "Accept: application/ld+json"

?

from valueflo.ws.

fosterlynn avatar fosterlynn commented on July 29, 2024

so a push to anywhere deploys the namespace files at https://valueflo.ws (so we can migrate away from using rawgit)

@ahdinosaur awesome!

Maybe a question for later when we have enough to be "production": how do we best keep "development" and "production" versions separate? I think a lot of things will be pushed that are not ready for prime time.

from valueflo.ws.

ahdinosaur avatar ahdinosaur commented on July 29, 2024

@fosterlynn for that i recommend we version our vocabs with semver, so each version (including separate branches for latest 'production' versus new 'development') can be retrieved independently, but yeah that's probably a detail for later.

from valueflo.ws.

elf-pavlik avatar elf-pavlik commented on July 29, 2024

this part already works

curl -iL https://w3id.org/valueflows/Person -H "Accept: application/ld+json"
HTTP/1.1 303 See Other
Location: http://valueflo.ws/Person

BTW we should to change it to HTTPS in next PR to w3id.org!

Next step

curl -iL https://velueflo.ws/Person -H "Accept: application/ld+json"
HTTP/1.1 303 See Other
Location: http://valueflo.ws/

Which IMO if "application/ld+json" requested should return the JSON-LD contex which currently also includes all the RDFS/OWL definitions of vf vocabulary (which includes also vf:Person) 😄

if "text/html" requested it will not do another 303 but simply 200 for human to enjoy jolly text, well formatted examples and colorful diagrams

Before we go 1.0 I'll ask around about recommendations for chaining 303 or 302 redirects.

from valueflo.ws.

almereyda avatar almereyda commented on July 29, 2024

We have moved the ValueFlows organization from GitHub to https://lab.allmende.io/valueflows.

This issue has been closed here, and all further discussion on this issue can be done at

https://lab.allmende.io/valueflows/valueflo-ws/-/issues/10.

If you have not done so, you are very welcome to register at https://lab.allmende.io and join the ValueFlows organization there.

from valueflo.ws.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.