PublicaMundi / ckanext-publicamundi

PublicaMundi main CKAN extension
http://publicamundi.eu
Other
13 stars 12 forks source link

Fix previews for compressed text-based resources #154

Open drmalex07 opened 9 years ago

drmalex07 commented 9 years ago

This is relevant to https://github.com/PublicaMundi/labs.geodata.gov.gr/issues/142.

We should review text_preview plugin and make it examine the mimetype and size fields (if available) before trying to preview anything. For small sizes we could unpack the resource on-the-fly.