Gagliem
11-23-2006, 09:03 AM
With the new version of OCD v6.0.4.10714 one of my JavaScript functions in my theme, which assign authors to a track with this display
TrackName: (Name/Name1: Authors; Name2: producer; etc.)
gets a JS error when the variable gets the trackname in this form
VarTNAME = ("<dax:tracktitle/>")
now this happens when a track name has double quotes like U2's "40" and I cannot use
VarTNAME = ('<dax:tracktitle/>')
because of titles like U2's 11 O'Clock Tick Tock.
THIS DIDN'T HAPPEN WITH PREVIOUS VERSIONS of OCD, it happened only with <dax:membername/>, <dax:guestname/> while other
fields like <dax:trackrecordingcity/> and <dax:tracktitle/> seemed parsed by OCD before being stored in Javascript variables (<dax:trackrecordingcity/> still works fine).
To be sure I've installed again OCD v6.0.3.10631 and my theme worked fine again.
Andrei, please can you tell me another way to gets tags data without getting error if they contain single or double quotes or both (I won't use /symbols in the text field in order to get my DBase compliant with other themes)?
Or can you parse again <dax:tracktitle/> like previous versions of OCD and fix also <dax:membername/> and <dax:guestname/> the same way (I have commented some of my JS functions because of this behaviour)?
Thanks
Emanuele
TrackName: (Name/Name1: Authors; Name2: producer; etc.)
gets a JS error when the variable gets the trackname in this form
VarTNAME = ("<dax:tracktitle/>")
now this happens when a track name has double quotes like U2's "40" and I cannot use
VarTNAME = ('<dax:tracktitle/>')
because of titles like U2's 11 O'Clock Tick Tock.
THIS DIDN'T HAPPEN WITH PREVIOUS VERSIONS of OCD, it happened only with <dax:membername/>, <dax:guestname/> while other
fields like <dax:trackrecordingcity/> and <dax:tracktitle/> seemed parsed by OCD before being stored in Javascript variables (<dax:trackrecordingcity/> still works fine).
To be sure I've installed again OCD v6.0.3.10631 and my theme worked fine again.
Andrei, please can you tell me another way to gets tags data without getting error if they contain single or double quotes or both (I won't use /symbols in the text field in order to get my DBase compliant with other themes)?
Or can you parse again <dax:tracktitle/> like previous versions of OCD and fix also <dax:membername/> and <dax:guestname/> the same way (I have commented some of my JS functions because of this behaviour)?
Thanks
Emanuele