Coder Social home page Coder Social logo

Comments (6)

danielpeintner avatar danielpeintner commented on August 23, 2024 1

Thanks @fatadel

from website.

fatadel avatar fatadel commented on August 23, 2024

@danielpeintner
We definitely can update the tutorial and the respective files with your suggestion, but I was relying on the description of the title field from W3C TD document (https://www.w3.org/TR/wot-thing-description/#thing), which says:
"Provides a human-readable title (e.g., display a text for UI representation) based on a default language."
So, if I had a UI I would rather like to see "Smart Coffee Machine" on it, than "Smart-Coffee-Machine", since the former is more "human-readable title" for me. But I do also understand your point here. Should we maybe discuss the way the URIs are generated?

from website.

danielpeintner avatar danielpeintner commented on August 23, 2024

@sebastiankb any opinion?

Should we maybe discuss the way the URIs are generated?

I think the URI generation is fine. A space gets turned into %20 on each URI (see https://www.urlencoder.org/).

My argument was just that it looks silly for the first tutorial people might look at.

from website.

sebastiankb avatar sebastiankb commented on August 23, 2024

I can understand both sides. Indeed, when it comes to the URL it looks quite strange and maybe needs more explanation. If it is not so much effort, lets follow Daniel's suggestion and have the whitespaces replaced with -.

from website.

fatadel avatar fatadel commented on August 23, 2024

Okay, I will do it today.

from website.

fatadel avatar fatadel commented on August 23, 2024

eclipse-thingweb/node-wot#227
#14

from website.

Related Issues (20)

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.