asx file creation
asx file creation
- Subject: asx file creation
- From: nate <email@hidden>
- Date: Mon, 28 Mar 2005 14:49:26 -0800
Hello, I currently have a web server up and running on osx and I want to use applescript or maybe perl? I'm not sure which yet to perform a sort of file conversion if you will. I am looking to have it parse a text file and output it in other format, basically it's coming from a text file and going to an asx file (which is really just an xml output).
here is a brief input file with 2x records.
----
000 Manufacturer Ascent No. 999 Equip AM-LOG Version 7.51 FLEx 1007
010 Title ALIAS
011 Client Facility
012 Shoot Date Transfer Date 02-14-05 Opr PDD Asst Bay
100 Edit 0001 to V1234 Field A1 NTSC Split Delay
110 Scene 11 Take 1 Cam Roll A1064 Sound 241 19:45:57:05.0
201 Rnk-X 3P 23.98 A1064 007021+00 000001280 Key EASTM KR292763 007021+00 P1
300 VTR-A Assemble 416R04 At 04:00:00:00.0 For 00:00:53:10.0 Using LTC
400 SOUND Playback 241 At 19:45:57:05.0 For 00:00:53:10.0 Using LTC
100 Edit 0002 to V1234 Field A1 NTSC Split Delay
110 Scene 11 Take 2 Cam Roll A1064 Sound 241 19:49:13:14.0
201 Rnk-X 3P 23.98 A1064 007080+00 000001148 Key EASTM KR292763 007080+00 P3
300 VTR-A Assemble 416R04 At 04:00:53:10.0 For 00:00:47:25.0 Using LTC
400 SOUND Playback 241 At 19:49:13:14.0 For 00:00:47:25.0 Using LTC
----
the output would need to look like:
----
<ASX version="3.0">
<TITLE>Alias</TITLE>
<ENTRY>
<TITLE>Edit 0001 to V1234</TITLE>
<REF href="Alias.WMV"/>
<STARTTIME VALUE="00:00:00" />
<DURATION VALUE = "00:00:53"/>
</ENTRY>
<ENTRY>
<TITLE>Edit 0002 to V1234</TITLE>
<REF href="Alias.WMV"/>
<STARTTIME VALUE="00:00:53" />
<DURATION VALUE = "00:00:47"/>
</ENTRY></ASX>
----
So what I am asking I guess, is, is this even doable? If so, how do I even begin? O.O
Any help is much appreciated.
Thanx, in advance,
-Nate
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden