This week was to be my first week of coding, I was to create a function that would take a search term as an input and output an array of paragraphs. The aim of this function is to cycle through the available journal articles on trove, select a random article and return its full-text. My first step was to emulate an article search similiar to that of the Trove ultra basic search API provided to us on our UQ-cloud site.
I have wrangled with Trove for a while and determined the easiest way to strip article text will be to slice out the href link to the free article and use PHP to access the page and retrieve the text.
No comments :
Post a Comment