Put the textile fair calendar on your website
Show your members, students or customers the fairs coming up in their country or sector, kept current for you. Paste two lines into any web page. The list updates itself as organisers announce and move their dates; there is nothing to maintain and no account to create.
The code
<div class="ts-events-widget" data-feed="https://www.textileschool.com/events/events.json" data-limit="8"></div>
<script src="https://www.textileschool.com/wp-content/plugins/ts-calculators/assets/js/ts-events-widget.js?ver=2.4.0.1791305655" async></script>Choosing what it shows
- data-country — one or more two-letter country codes, separated by commas: data-country="IN,BD".
- data-sector — one or more sector codes from the list below: data-sector="nonwovens".
- data-limit — how many fairs to list, up to 50. The default is 10.
Sectors: apparel-and-sewn-products (Apparel and sewn products), composites (Composites), dyeing-and-finishing (Dyeing and finishing), fibres-and-yarns (Fibres and yarns), filtration (Filtration), home-textiles (Home textiles), natural-fibres (Natural fibres), nonwovens (Nonwovens), protective-textiles (Protective textiles), sourcing (Sourcing), technical-textiles (Technical textiles), testing-and-standards (Testing and standards), textile-machinery (Textile machinery)
Countries with fairs listed: AR (Argentina), AU (Australia), AT (Austria), BD (Bangladesh), BE (Belgium), BR (Brazil), KH (Cambodia), CA (Canada), CN (China), CO (Colombia), EG (Egypt), ET (Ethiopia), FR (France), DE (Germany), GT (Guatemala), HK (Hong Kong), IN (India), ID (Indonesia), IR (Iran), IT (Italy), JP (Japan), KZ (Kazakhstan), KE (Kenya), MY (Malaysia), MX (Mexico), MA (Morocco), MM (Myanmar), NL (Netherlands), NG (Nigeria), PK (Pakistan), PE (Peru), PH (Philippines), PL (Poland), PT (Portugal), RU (Russia), SA (Saudi Arabia), ZA (South Africa), KR (South Korea), ES (Spain), LK (Sri Lanka), CH (Switzerland), TW (Taiwan), TJ (Tajikistan), TH (Thailand), TN (Tunisia), TR (Turkey), TM (Turkmenistan), GB (United Kingdom), US (United States), UZ (Uzbekistan), VN (Vietnam)
What it looks like
This is the widget itself, running on this page with the code above. It takes your page's own fonts and colours.
The terms
Free to use, including commercially, under CC BY 4.0. Keep the credit link at the foot of the list; that is the whole of the price.
Building something of your own? The same data is published as open JSON and as an iCalendar feed.