Re: .webloc files and Safari (newbie)
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.