GithubHelp home page GithubHelp logo

Allow multiple values for homepage about trc HOT 5 OPEN

tomcrane avatar tomcrane commented on July 21, 2024 36
Allow multiple values for homepage

from trc.

Comments (5)

azaroth42 avatar azaroth42 commented on July 21, 2024 1

In 3 there's a new property called homepage that replaces related, to tidy up the linking properties. Homepage is foaf:homepage, a web page where you'll find out about this thing. In 2 you would follow related, in 3 you would follow homepage. In the current draft the cardinality is 0-1, you can have one or none, and internationalization came up. There could be multiple different URLs for different languages of a homepage for the thing, and hence you couldn't record english and welsh home pages separately. Proposal is just to allow multiple values for homepage. The underlying definition it becomes a set, or json array, and you can attach properties to each such as language.

from trc.

scossu avatar scossu commented on July 21, 2024

AS per meeting discussion, we should allow multiple home pages but the spec should recommend using one as a good practice.

from trc.

ahankinson avatar ahankinson commented on July 21, 2024

Is language: [en, cy] not acceptable to achieve the same result?

from trc.

tomcrane avatar tomcrane commented on July 21, 2024

In this example there are two separate resources, with different ids.

Would language: [en, cy] be the right value of language on a single resource that could do conneg or presented appropriate text in response to the user's browser locale setting? That's different from the case where if I send you https://example.org/objects/3456/cy you're going to be looking at a page of Welsh no matter what additional information you send with your request; the English page is somewhere else.

from trc.

azaroth42 avatar azaroth42 commented on July 21, 2024

Issue 4 (Allow multiple values for homepage)

+1: 29 [Siani81 ahankinson andrewgunther awead azaroth42 beaudet dismorfo emulatingkat gigamorph glenrobson hadro irv jbhoward-dublin jonhartzler jronallo jtweed julsraemy jwd markpatton mattmcgrattan mcwhitaker mikeapp regisrob rentonsa rsinghal scossu tomcrane tpendragon zimeon]
0: 7 [aisaac cubap joshuago78 kzhr mejackreed mixterj sredick]
-1: 0 []

Result

Super majority is in favor, issue is approved

from trc.

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.