To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 980
979  |  981
Subject: 
Re: Making the DAT links work in safari.
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Thu, 15 May 2008 16:26:36 GMT
Viewed: 
15510 times
  
In lugnet.cad.dev.mac, Don Heyse wrote:
In lugnet.cad.dev.mac, Travis Cobbs wrote:
My Cocoa LDView info.plist has this information, but it uses
x-application/ldraw.  Is application/x-ldraw the correct thing to use instead?

Yeah, it's been application/x-ldraw since like forever.  Hopefully you're
setting up the Bundle tags in your Info.plist and not the Risk assessment
keys from the safari prefs file.  But I could swear I saw only a few bits
inserted by QT and a warning not to disturb it when I poked around in the
LDView bundle.

OK, I'll update it.  (Actually I already updated it to have both types in the
array, but there's no point if x-application/ldraw never gets used.)  Note that
the Cocoa LDView hasn't been released yet.  The one you're looking at is the QT
LDView compiled for OS X.  If you grab LDView's source, look in the
MacOSX/LDView directory for the Cocoa version.  And yes, it's setting the bundle
tags (including icon info), not the risk tags.


Check out the make-ldglite-bundle.sh script from the ldglite sources
and compare. We should all be doing pretty much the same thing for
the file extensions and MIME types.  I'm curious how the Mac database
handles it when two apps stake claims on the same extensions and such.

Jim seems to have described that.  After adding the risk tags as you said,
Safari opened LDraw files on my Mac with L3Lab.

--Travis



Message has 1 Reply:
  Re: Making the DAT links work in safari.
 
(...) Excellent! I forgot about L3Lab for the Mac. I'll have to try that out. It's too bad there isn't a category between LSRiskCategoryNeutral and LSRiskCategorySafe that lets you decide right then if you want to open it, or just save it (like in (...) (17 years ago, 15-May-08, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: Making the DAT links work in safari.
 
(...) Yeah, it's been application/x-ldraw since like forever. Hopefully you're setting up the Bundle tags in your Info.plist and not the Risk assessment keys from the safari prefs file. But I could swear I saw only a few bits inserted by QT and a (...) (17 years ago, 15-May-08, to lugnet.cad.dev.mac)

15 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR