|
@ -34,7 +34,7 @@ def rabbithole(entry): |
|
|
fieldsofinterest = getfieldsofinterest() |
|
|
fieldsofinterest = getfieldsofinterest() |
|
|
categories = [t.get('term') for t in entry.tags] |
|
|
categories = [t.get('term') for t in entry.tags] |
|
|
for id, fields in fieldsofinterest.items(): |
|
|
for id, fields in fieldsofinterest.items(): |
|
|
if [f for f in fields if(f.strip() in categories)]: |
|
|
if [f for f in fields if(f.lower().strip() in categories.lower())]: |
|
|
# print("book found") |
|
|
# print("book found") |
|
|
publicationinfo = getfullpublication(id) |
|
|
publicationinfo = getfullpublication(id) |
|
|
fulltitle = "{0} - {1}".format( |
|
|
fulltitle = "{0} - {1}".format( |
|
|