DiMoon
Starting Member
13 Posts |
Posted - 04 Jan 2013 : 21:28:55
|
Hi,
I fixed the following problems in the AMAZON.COM script:
1. Release Year is not imported #RELEASEYEAR# #STARTREADWEB# #PUT#=0#20# #FINDLINE#=<b>Publisher:</b>#15##ONERROR#=*STOP* #FIND#=(#11# #ONERROR#=*STOP* #FIND#=)#02# #ONERROR#=*STOP* #FINDPREVIOUS#= #01# #ONERROR#=*STOP* #TAKEWORD#=#20#,#01#,#02# #CHECKVARIABLE#=#20# #TAKERELEASEYEAR#=#20# #ONERROR#=*OK* #ENDRELEASEYEAR#
2. Publisher is imported together with edition info #PUBLISHER# #STARTREADWEB# #PUT#=0#20# #FINDLINE#=<b>Publisher:</b>#15##ONERROR#=*STOP* #FIND#=</b>#11# #ONERROR#=*STOP* #FIND#=>#01# #ONERROR#=*STOP* #FIND#=;#02# #ONERROR#=*OK* #IF# #02#==#00# #FIND#=(#02# #ONERROR#=*STOP* #ENDIF# #TAKEWORD#=#20#,#01#,#02# #CHECKVARIABLE#=#20# #TAKEPUBLISHER#=#20# #ONERROR#=*OK* #ENDPUBLISHER#
3. Edition import #EDITION# #STARTREADWEB# #PUT#=0#20# #FINDLINE#=<b>Publisher:</b>#15##ONERROR#=*STOP* #FIND#=</b>#11# #ONERROR#=*STOP* #FIND#=;#01# #ONERROR#=*STOP* #FIND#=(#02# #ONERROR#=*STOP* #FINDPREVIOUS#=edition#02# #ONERROR#=*STOP* #TAKEWORD#=#20#,#01#,#02# #CHECKVARIABLE#=#20# #TAKEEDITION#=#20# #ONERROR#=*OK* #ENDEDITION#
4. Format is imported with semicolon #FORMAT# #STARTREADWEB# #PUT#=0#20# #FINDLINE#=pages</li>#15##ONERROR#=*STOP* #RESETCURSOR# #FIND#=<b>#11# #ONERROR#=*STOP* #FIND#=>#01# #ONERROR#=*STOP* #FIND#=:<#02# #ONERROR#=*OK* #IF# #02#==#00# #FIND#=<#02# #ONERROR#=*STOP* #ENDIF# #TAKEWORD#=#20#,#01#,#02# #CHECKVARIABLE#=#20# #TAKEFORMAT#=#20# #ONERROR#=*OK* #ENDFORMAT#
BTW, I think problems that I faced while I was writing script for audio books are general ones: i.e. AMAZON.COM script doesn't replace existng title with the imported one too.
With best regards, DiMoon. |
Edited by - DiMoon on 04 Jan 2013 21:29:17 |
|