Comments (5)
@sidvishnoi, we probably only need to add the relevant ones (probably just the WICG... most CGs are dead). The W3C is working on adding human readable IDs.
from respec-web-services.
There are 330 CGs according to https://www.w3.org/community/groups/, so wish everyone luck in adding shortname->ID mapping 😄
from respec-web-services.
another option is catch it them from the name... they all end with "community group" or "business group" or whatever.
from respec-web-services.
Sending request to https://api.w3.org/groups?items=400&embed=true&apikey=APIKEY, and then processing response as:
Object.fromEntries(
data._embedded.groups
.filter((group) => !group._is_closed && group.type === "community group")
.map((group) => [
group._links.homepage.href.split("/community/")[1].replace(/\/$/, ""),
group.id,
])
);
returned 330 CGs in a format we needed.
Might replace current group fetching logic with above API endpoint to get all groups with needed details at once, instead of sending 360 (or less) HTTP requests! The embed=true
parameter returns all details we need.
from respec-web-services.
Nice one!
from respec-web-services.
Related Issues (20)
- Wrong patent link for i18n WG HOT 4
- Ambiguous last updated date
- Webref not longer using "master" HOT 1
- Support for TAG and AB in conf.group
- Include or link to developer's guide HOT 2
- Allow empty searches (when other things are given)
- Auto-update list of W3C groups HOT 1
- Adding closed WG-s to the "supported" list HOT 12
- Disambiguate groups
- xref: include http-headers
- respec.org certificate expired HOT 10
- Support CSS terms in API HOT 1
- Impossible to link to camelCase elements
- Migrate to Node 18
- respec.org is down HOT 1
- Groups not responding
- Docs are broken
- respec.org/xref suggests ambiguous linking text for overloaded functions
- Support linking "http-header" types
- w3c/groups: auto-update list of working groups HOT 2
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 respec-web-services.