View Single Post
Old 05-15-2014, 06:01 AM   #1
daw
Junior Member
daw began at the beginning.
 
Posts: 1
Karma: 20
Join Date: May 2014
Device: kobo touch/ android
Qr codes to download books

Hi I just added qr codes to my calibre library and thought I would share
how I did it as I did not find any way on the forums

first I added a custom column and named it "qr code"
then set type to "column built from other columns"
then in template insert "
Code:
<img  src="https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=192.168.0.102:8080/get/{format}/{id}.{format}" alt="Qr"/>
where 192.168.0.102:8080 is your servers address
tick show as html
click OK then apply it will ask to restart then you will see the qr codes

this will display a qr code in "book details" that will download the book on my android devices that are on the same network alternatively if you use this code it will take you to the details page

Code:
<img  src="https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=192.168.0.102:8080/browse/book/{id}" alt="Qr"/>
Hope this helps someone, if you have any suggestions I would like to hear them
daw is offline   Reply With Quote