bitsoffreedom / newspeak

Newspeak van de Nederlandse overheid.
https://rejo.zenger.nl/inzicht/newspeak-van-de-nederlandse-overheid
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Automatic enclosure mime type detection #26

Open dokterbob opened 11 years ago

dokterbob commented 11 years ago

If no mimetype is specified for enclosure extraction, use the filename extension to determine it. As very often it's either .html or .pdf, it should work.