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
 asin for amazon scripts if no isbn found
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mibu
Starting Member

15 Posts

Posted - 17 Dec 2012 :  22:23:05  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
If the page for a book did not have an ISBN included the field in the DB will stay empty, even if an ASIN is presented.

Exchange the Block ISBNCODE to have the ASIN in the DB, if no ISBN is on the bookpage.

#ISBNCODE#
    #STARTREADWEB#
    #PUT#=0#15#
    #PUT#=1#16#
		
    #FINDLINE#=<li><b>ISBN#15##ONERROR#=*OK*

    #IF# #15#<>#16#  
 	#STARTREADWEB#
    	#PUT#=0#15#
    	#FINDLINE#=<li><b>ASIN#15##ONERROR#=*STOP*
    #ENDIF#

    #FIND#=</b> #11# #ONERROR#=*STOP*
    #COMPUTEVAR#=#11#+4
    #FIND#=</li>#12# #ONERROR#=*STOP*
    #TAKEWORD#=#20#,#11#,#12#
    #CHECKVARIABLE#=#20#
    #TAKEISBN#=#20# #ONERROR#=*OK*
#ENDISBNCODE#

good luck
michael

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 18 Dec 2012 :  15:48:51  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you!!

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page
  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.23 sec. Powered By: Snitz Forums 2000 Version 3.4.07