Re: Creating Plists / How is the <data> value generated?
Re: Creating Plists / How is the <data> value generated?
- Subject: Re: Creating Plists / How is the <data> value generated?
- From: "aaron smith" <email@hidden>
- Date: Sat, 15 Sep 2007 14:47:32 -0700
Thanks ya'll for the help. I did realize that org.mozilla.firefox was just the key, but I thought maybe the data was somehow based off of that key. Guess not. Anyway, if you come across anymore information on this I would really appreciate it. I'll see what I can come up with with that hex dump. Do you have any suggesstions for other mailing lists? they're isn't really any general mac lists I've seen.
On 9/15/07, Anton Altaparmakov <email@hidden> wrote:
Hi,
On 15 Sep 2007, at 22:19, aaron smith wrote:
> Thanks for the reply, let me pick your braina little farther.
>
> Take this for example:
> <key>org.mozilla.firefox</key>
> <array>
> <data>
> AAAAAACiAAMAAQAAwXGNSQAASCsAAAAAAAAAFgAH3LUAAMGaoMwA
> AAAACSD//gAAAAAAAAAA/////wABAAQAAAAWAA4AGAALAEYAaQBy
> AGUAZgBvAHgALgBhAHAAcAAPABoADABNAGEAYwBpAG4AdABvAHMA
> aAAgAEgARAASABhBcHBsaWNhdGlvbnMvRmlyZWZveC5hcHAAEwAB
> LwD//wAA
> </data>
> </array>
>
> This is what is put in that file I mentioned in my first email.
> I've tried doing something like:
> Base64.encode64('org.mozilla.firefox
') #ruby
>
> Which ends up being: b3JnLm1vemlsbGEuZmlyZWZveA==
>
> So my question then becomes, what else is happening to generate
> this huge hash?
Er. You haven't gotten the point. The key is
org.mozilla.firefox
and the data associated with it is the data bit and that bit is
base64 encoded so you need to decode that! Doing that with an online
decode I just found with google (
http://makcoder.sourceforge.net/demo/
base64.php) I get:
<quote>
¢ à q IH+ Üµà š Ì ÿþÿÿÿÿ Firefox.app Macintosh
HD Applications/Firefox.app /ÿÿ
</quote>
So it is some binary data that I don't understand together with a
textual description and path...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk
> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden