BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Books Manager
 Scripts
 AMAZON.COM fixes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

DiMoon
Starting Member

13 Posts

Posted - 04 Jan 2013 :  21:28:55  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.16 sec. Powered By: Snitz Forums 2000 Version 3.4.07