tweeper.php: support "application/pdf" as an enclosure content type
[tweeper.git] / tweeper.php
index 94ea05f..fc3a3ef 100644 (file)
@@ -121,7 +121,9 @@ class Tweeper {
    */
   public static function generateEnclosure($url) {
     $supported_content_types = array(
    */
   public static function generateEnclosure($url) {
     $supported_content_types = array(
+      "application/octet-stream",
       "application/ogg",
       "application/ogg",
+      "application/pdf",
       "audio/aac",
       "audio/mp4",
       "audio/mpeg",
       "audio/aac",
       "audio/mp4",
       "audio/mpeg",