Activity Team: Difference between revisions

Line 158: Line 158:
You can associate your activity with mime types by including a mime_types entry in the activity/activity.info file; e.g.
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
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:
You can associate your activity with a file suffix by including a mimetypes.xml file in your activity subdirectory: