Skip to content
Boris Fritscher edited this page Jul 12, 2016 · 4 revisions

Fablabs.ch Documentation

Site Admin User Guide

The admin site is at https://fablabs.ch/admin/

Adding a Space (FabLab)

  1. Fill in the standard attributes as accurately as possible.
  2. Upload logo
  3. Save
  4. Generate marker from logo

Special Attributes

  • Images: Provide a square logo to "Logo", don't upload a Background, don't upload Marker
  • Custom data: A JSON file, currently supported keys by frontend
{
    "members": 30,
    "fablabsio": 321,
    "fablabis": "FabLab La Cte",
    "events_ics_filter": "#\\w*"
}

Sometimes the admin breaks the json format by adding escapes reload the page

Generating marker log for map

Select the spaces in the list view and then on the bottom choose "Generate marker from logo"

Adding a Resource (machine)

  1. Check if already available -> got to add to space
  2. Fill in the standard attributes as accurately as possible.
  3. Upload Image (dimensions should be compatible with a ratio of 320x250)
  4. Save
  • Type:: Type supported by frontend: 3d_printing, laser, cnc_miling, vinyl_cutting, (must match exactly! to be in the machine table)

  • Custom data: A JSON file, currently supported keys by frontend

{
    "work_size": "320mm x 580mm x 75mm"
}

Adding ad Resource to Space (machine to a fablab)

  1. Choose a Space
  2. Choose a Resource
  3. Optionally provide custom data
  • Custom data: A JSON file, currently supported keys by frontend for type "laser"
{
    "power": "90W"
}

*Power is instance specific since the same machine can have different laser, whereas dimensions are the same for the identical model"

Import of external data

News

Provide a facebook page name or a twitter username in the space attribut's (no # or url, only name!)

  1. Optionally specify a filter regex in custom data "twitter_filter": "#\\w*"
  2. Optionally specify a filter regex in custom data "facebook_filter": "#\\w*"

Events

  1. Provide a URL to an ics file in the space
  2. Optionally specify a filter regex in custom data "events_ics_filter": "#\\w*"

If the filter is present, then only events which's "description" content match the regex will be imported.

Mapping between iCal format

  • dates, summary, description
  • description is parsed for #tags and url
  • first url found in description becomes the official link to the event
  • one image is supported, first attachment link (icalendar ATTACH)
Clone this wiki locally