Here are a couple of custom columns I added that link to the LT website. (See attached images for configuration.)
LT Find: Direct link to your book on librarything.com, or search if it doesn't exist.
Template
Code:
program:
id = select(field('identifiers'), 'ltid');
if id then
strcat('<a href="https://www.librarything.com/work/book/', id , '">', field('title'), '</a>')
else
strcat('<a href="https://www.librarything.com/title/', field('title'), ' ', field('author'), '">', field('title'), '</a>')
fi;
LT Add: Direct link to your book on librarything.com, or an "add books" search using Title + Author.
Template
Code:
program:
id = select(field('identifiers'), 'ltid');
if id then
strcat('<a href="https://www.librarything.com/work/book/', id , '">', field('title'), '</a>')
else
strcat('<a href="https://www.librarything.com/addbooks?search=', field('title'), ' ', field('author'), '">', field('title'), '</a>')
fi;
If you add tags when adding books you need to enter the tags and re-search.