Giter VIP home page Giter VIP logo

Comments (3)

ldodds avatar ldodds commented on June 1, 2024

One issue we're going to have here is that we have a number of different descriptive properties: description, attendeeInstructions, meetingPoint, accessibilitySupport, accessibilityInformation all of which could reasonably include markup that might be useful to users. So we need to agree on a pattern for doing this.

Rather than multiply properties, I'd suggest that these properties should only be plain text, to support their use in the widest possible range of environments where markup might not be useful. Related content like videos and images can already be referenced as media.

This also avoids setting expectations with data publishers that their data will be consistently formatted and displayed everywhere, avoids potential issues with broken markup and embedded styles, as well as security loopholes (a consuming application should sanitise this type of markup before displaying to users).

from modelling-opportunity-data.

nickevansuk avatar nickevansuk commented on June 1, 2024

Perhaps supporting markdown or similar is a halfway house on this? The challenge we have is that publishers often want to include hyperlinks and bullet points in their descriptions. Though most publishers store rich text in HTML format, so they'll all need to use HTML -> Markdown libraries to achieve this...

from modelling-opportunity-data.

nickevansuk avatar nickevansuk commented on June 1, 2024

Updating this issue to match the common use of the beta:formattedDescription property: this beta property must contain HTML. See clarification commit: openactive/ns-beta@05223d2.

from modelling-opportunity-data.

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.