Welcome to Squishdot How-To Websites Squishdot Newbies
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Content type for attachments?
How-To Posted by Slef on Thursday May 10, 07:07AM, 2001
from the click-and-play-dept dept.
Does anyone know how I can set the content type of an attachment to, say, mp3, so that when the link is clicked, the correct app is called, or the quicktime plugin kicks in, rather than stupidly downloading the attachment?

<  |  >

 

Related Links
  • Articles on How-To
  • Also by Slef
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Content type for attachments?
    by Chris Withers on Thursday May 10, 09:44AM, 2001
    This should happen :-S

    Can you file this in the bug collector?

    cheers,

    Chris
    [ Reply to this ]
    • Re: How should this happen?
      by Slef on Thursday May 10, 05:51PM, 2001
      Thanks for the reply, but how should this happen? How is Squishdot supposed to know that the file is an mp3? just by the name?

      Otherwise, would it be possible to pop up a window with a quicktime plugin to play it when the link is clicked or something?

      Thanks,

      Slef.
      [ Reply to this ]
      • Re: How should this happen?
        by Darrick Wong on Thursday May 10, 09:09PM, 2001
        Well *theoretically* when you upload a file the MIME type gets sent along with the post, so Squishdot could just store that. Otherwise somebody goes and writes an interface to MIME type database?
        [ Reply to this ]
      • MIME Types
        by Chris Withers on Thursday May 10, 10:43PM, 2001

        Darrick was spot on :-)

        Squishdot should be able to pick up the MIME type when the file is uploaded. If it's not, then that's a bug :-S

        cheers,

        Chris


        [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.