Comments (3)
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.
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.
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)
- "2nd Thursday of the month" is unrepresentable
- Add lastModifed (or similar) attribute to Opportunity data HOT 1
- `startDate` and `endDate` should never be inherited
- Addition of a what3words field HOT 2
- Making idTemplate a required property
- Adding Space Hire to the Activity List
- Clubs information as open data. HOT 3
- Properties specifically for social prescribing HOT 3
- Proposal: Support for Block Bookings HOT 3
- Ticketing / Density Party / High Frequency sessions HOT 10
- Proposal: Property to showcase inclusive sessions HOT 1
- Clarification on EventSeries vs SessionSeries HOT 1
- Proposal to switch from ISO 8601 to IETF RFC 3339
- Reconsider use of ISO 8601 in OpenActive standards HOT 2
- Virtual Tours HOT 1
- Places feed HOT 3
- `email` should be included alongside `telephone` in `Place`
- Sellers feed HOT 1
- Constrain `containsPlace`
- Proposal: Enabling 'Club Finder' capability HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelling-opportunity-data.