#NEWLINE# def get_biblio_for_id( self , id , provider_url_template = None , cache_enabled = True ) : #NEWLINE# #INDENT# self . logger . debug ( ( '%s /biblio_print getting biblio for %s' % ( self . provider_name , id ) ) ) #NEWLINE# if ( not provider_url_template ) : #NEWLINE# #INDENT# provider_url_template = self . biblio_url_template #NEWLINE# #UNINDENT# url = ( provider_url_template % id ) #NEWLINE# self . logger . debug ( ( '%s /biblio_print _lookup_biblio_from_doi for %s' % ( self . provider_name , id ) ) ) #NEWLINE# biblio_dict = self . _lookup_biblio_from_doi ( id , url , cache_enabled ) #NEWLINE# self . logger . debug ( ( '%s /biblio_print _lookup_issn_from_doi for %s' % ( self . provider_name , id ) ) ) #NEWLINE# biblio_dict . update ( self . _lookup_issn_from_doi ( id , url , cache_enabled ) ) #NEWLINE# self . logger . debug ( ( '%s /biblio_print free_fulltext_fragments for %s' % ( self . provider_name , id ) ) ) #NEWLINE# free_fulltext_fragments = [ '/npre.' , '/peerj.preprints' ] #NEWLINE# if any ( ( ( doi_fragment in id ) for doi_fragment in free_fulltext_fragments ) ) : #NEWLINE# #INDENT# biblio_dict [ 'free_fulltext_url' ] = url #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( 'issn' in biblio_dict ) and provider . is_issn_in_doaj ( biblio_dict [ 'issn' ] ) ) : #NEWLINE# #INDENT# biblio_dict [ 'free_fulltext_url' ] = url #NEWLINE# #UNINDENT# #UNINDENT# return biblio_dict