private MIME type

  • Hi folks,
    I need to set up a private MIME type to launch my in-house application
    while clicking link from browser. Does anyone know how to do it and
    can point me to the right direction?

    Thanks
    Robert
  • on 11/12/07 6:00 AM, <cocoa-dev-request...> at
    <cocoa-dev-request...> wrote:

    > Hi folks,
    > I need to set up a private MIME type to launch my in-house application
    > while clicking link from browser. Does anyone know how to do it and
    > can point me to the right direction?

    http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/
    A

    rticles/PListKeys.html#//apple_ref/doc/uid/20001431-102207

    Here's my latest sample how (PList Compiler source excerpt):

    key "CFBundleURLTypes" value array
    [
        dictionary
        {
            key "CFBundleURLName" value string "MPE Player URL"
            key "CFBundleTypeIconFile" value string "PlayMPE"
            key "CFBundleTypeRole" value string "Viewer"
            key "CFBundleURLSchemes" value array
            [
                string "destinympe"
            ]
          key "LSIsAppleDefaultForScheme" value boolean true
        }
    ]

    Unfortunately, I forget now what the problem was that I added
    "LSIsAppleDefaultForScheme" to the official keys to fix, but there was some
    good reason at the time.

    --
    Alex Curylo -- <alex...> -- http://www.alexcurylo.com/

    thump MEOW! thump MEOW! thump MEOW! thump MEOW! thump MEOW!
    You're right -- there ISN'T enough room to swing a cat in here.
  • On 12.11.2007, at 16:25, Alex Curylo wrote:

    > on 11/12/07 6:00 AM, <cocoa-dev-request...> at
    > <cocoa-dev-request...> wrote:
    >
    >> Hi folks,
    >> I need to set up a private MIME type to launch my in-house
    >> application
    >> while clicking link from browser. Does anyone know how to do it and
    >> can point me to the right direction?
    >
    > http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/
    A

    > rticles/PListKeys.html#//apple_ref/doc/uid/20001431-102207
    >
    > Here's my latest sample how (PList Compiler source excerpt):
    >
    > key "CFBundleURLTypes" value array
    > [
    > dictionary
    > {
    > key "CFBundleURLName" value string "MPE Player URL"
    > key "CFBundleTypeIconFile" value string "PlayMPE"
    > key "CFBundleTypeRole" value string "Viewer"
    > key "CFBundleURLSchemes" value array
    > [
    > string "destinympe"
    > ]
    > key "LSIsAppleDefaultForScheme" value boolean true
    > }
    > ]
    >
    > Unfortunately, I forget now what the problem was that I added
    > "LSIsAppleDefaultForScheme" to the official keys to fix, but there
    > was some
    > good reason at the time.
    >
    > --
    > Alex Curylo -- <alex...> -- http://www.alexcurylo.com/
    >
    > thump MEOW! thump MEOW! thump MEOW! thump MEOW! thump MEOW!
    > You're right -- there ISN'T enough room to swing a cat in here.
    >
    >

    Thanks a lot.

    Robert
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today