Activity Team: Difference between revisions
| Line 153: | Line 153: | ||
== Misc. == | == Misc. == | ||
===Mime types and file suffixes=== | |||
You can associate your activity with mime types by including a mime_types entry in the activity/activity.info file; e.g. | |||
mime_types = text/plain;text/x-python;text/x-logo;text/x-svg;application/xml;text/html;text/xml;image/svg+xml | |||
You can associate your activity with a file suffix by including a mimetypes.xml file in your activity subdirectory: | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> | |||
<mime-type type="application/x-turtle-art"> | |||
<comment xml:lang="en">Turtle Art</comment> | |||
<glob pattern="*.ta"/> | |||
</mime-type> | |||
</mime-info> | |||
=== Activity Team users on activities.sugarlabs.org === | === Activity Team users on activities.sugarlabs.org === | ||