• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: .webloc files and Safari (newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .webloc files and Safari (newbie)


  • Subject: Re: .webloc files and Safari (newbie)
  • From: Nicholas Riley <email@hidden>
  • Date: Tue, 9 Dec 2003 09:55:21 -0600
  • Mail-followup-to: Ed Watkeys <email@hidden>, Cocoa Developer List <email@hidden>

On Tue, Dec 09, 2003 at 10:15:22AM -0500, Ed Watkeys wrote:
> That is not strictly true. You can get to the resource fork from any
> Unix-y app. To get to the resource fork of the file "foo", simply open
> "foo/rsrc".

This syntax is deprecated, you want "foo/..namedfork/rsrc". Also, it
only works properly on filesystems with resource forks; it'll fail on
UFS, SMB, NFS, etc.

> If I were in your shoes, I'd simply pipe the contents of "strings
> foo/rsrc" through a perl script that grabs the URL.

Yuck, resource manipulation isn't -that- hard, and it's sure a lot
more efficient than all the property list stuff that Cocoa favors.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: .webloc files and Safari (newbie) (From: Gregory Weston <email@hidden>)
 >Re: .webloc files and Safari (newbie) (From: Jérome Foucher <email@hidden>)
 >Re: .webloc files and Safari (newbie) (From: Nicholas Riley <email@hidden>)
 >Re: .webloc files and Safari (newbie) (From: Jérome Foucher <email@hidden>)
 >Re: .webloc files and Safari (newbie) (From: Ed Watkeys <email@hidden>)

  • Prev by Date: Live update of NSTextField in tool bar
  • Next by Date: Re: Toolbars
  • Previous by thread: Re: .webloc files and Safari (newbie)
  • Next by thread: Re: .webloc files and Safari (newbie)
  • Index(es):
    • Date
    • Thread