View Single Post
Old 05-26-2022, 02:29 PM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Code:
		if 
			$publisher=='Archive of Our Own' 
		then 		
			id = select($identifiers, 'ao3');
			urls_from_identifiers('ao3:id', 1)
		fi,
results in

Code:
<a href="https://archiveofourown.org/works/id" title="ao3:id">Archive of Our Own</a>
How do I get the results of id into the output, rather than literally 'id'?
Code:
urls_from_identifiers('ao3:' & id, 1)
or
Code:
urls_from_identifiers(strcat('ao3:',  id), 1)
chaley is offline   Reply With Quote