create a plist from script with iRev
Jim Ault
jimaultwins at yahoo.com
Wed Jan 6 06:05:36 EST 2010
Thomas McGrath: here are a couple Interesting web pages
http://www.dunnington.net/entry/data-driven-iphone-apps-with-property-lists-and-php
The plutil comes with Xcode development toolkit on Mac OS X. Erica
Sadun has ported it to iPhone. This is a neat tool to process
the .plist files.
The ported plutil is here: plutil for iPhone
http://george.insideiphone.com/index.php/2007/12/05/plutil-a-nifty-tool-to-edit-plist-files/
Google "plutil php"
and you will also find plutil.exe for windows on the listing.
Jim Ault
Las Vegas
On Jan 6, 2010, at 2:35 AM, Luis wrote:
> Hiya,
>
> If this is for On-Rev (which I believe can handle Perl) you could
> load plutil.pl on the server and have it convert to XML and Text:
>
> http://scw.us/iPhone/plutil/
>
> (Wikipedia 'Webarchive' for more infos).
>
> On 6 Jan 2010, at 09:41, Jim Ault wrote:
>
>> Idea:
>> You could send the plist file to a Rev cgi running on OSX and it
>> would return the result, or perhaps an iPhone app (as it might have
>> plutil in its operating system)
>>
>> On Jan 5, 2010, at 2:45 PM, Sarah Reichelt wrote:
>>
>>> On Wed, Jan 6, 2010 at 12:39 AM, Thomas McGrath III <mcgrath3 at mac.com
>>> > wrote:
>>>> Does anyone have a way or explanation on how to create a plist
>>>> file on
>>>> revOnline via script???
>>>>
>>>> It turns out that Apple recommends using a pList over json or xml
>>>> for
>>>> transferring data via NSUrl.
>>>>
>>>> There would be a lot of things I could do if I knew how to create
>>>> them.
>>>>
>>>> (on the desktop I can do them and upload manually but then I
>>>> would still
>>>> have to populate them online)
>>>
>>>
>>> Tom, I have a stack that I use for editing plist files:
>>> http://www.troz.net/rev/stacks/PlistEditor.rev
>>>
>>> Perhaps you could start with an existing plist and use the scripts
>>> in
>>> here to modify them.
>>> When you say revOnline, do you mean On-Rev? revOnline doesn't allow
>>> anything other than stack hosting does it?
>>> As regards On-Rev, the servers are Linux machines, so the plutil
>>> command will not be available, as it is OS X only.
>>>
More information about the use-livecode
mailing list