public function getMIMEType()
    {
        switch ($this->version) {
            case Feed::RSS2 : $mimeType = "application/rss+xml";
                break;
            case Feed::RSS1 : $mimeType = "application/rdf+xml";
                break;
            case Feed::ATOM : $mimeType = "application/atom+xml";
                break;
            default : $mimeType = "text/xml";
        }

        return $mimeType;
    }
public function getMIMEType()
    {
        switch ($this->version) {
            case Feed::RSS2 : $mimeType = "application/rss+xml";
                break;
            case Feed::RSS1 : $mimeType = "application/rdf+xml";
                break;
            case Feed::ATOM : $mimeType = "application/atom+xml";
                break;
            default : $mimeType = "text/xml";
        }

        return $mimeType;
    }
public function getMIMEType ( ) { switch ( $ this -> version ) { case Feed :: RSS2 : $ mimeType = "application/rss+xml" ; break ; case Feed :: RSS1 : $ mimeType = "application/rdf+xml" ; break ; case Feed :: ATOM : $ mimeType = "application/atom+xml" ; break ; default : $ mimeType = "text/xml" ; } return $ mimeType ; }
Get the appropriate MIME type string for the current feed.

@access   public
@return   string  The MIME type string.
Get the appropriate MIME type string for the current feed .