Profiling with NSDictionary in URL

Asked by Georg Wacker

I'm developing http://discrotate.sourceforge.net/ which sets drive speeds for optical media.

To guide the user which devices are supported I want to build a device-matrix using profiling.

I wonder how I could submit multiple datasets if the user has multiple optical drives.

If I set key:@"MATSHITA DVD-R UJ-857D" value:@"supported", the php-script can't parse the parameter.

If I just use key:@"drive" value:@"MATSHITA..." and omit the ones which are not supported, I would only have positive submissions.

Could I somehow encode a NSDictionary into the appcast-URL?

So I would set key:@"drives" value:[NSDictionary withDriveKeyValueObjects]

Question information

Language:
English Edit question
Status:
Answered
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Define an encoding of your own. Like:

key:@"drive" value:"DRIVE1NAME:::supported+++DRIVE2NAME:::unsupported"

Then update the PHP script to be able to parse that stuff.

Can you help with this problem?

Provide an answer of your own, or ask Georg Wacker for more information if necessary.

To post a message you must log in.