Topic Finder: My first shell Script
In any research and development one of the essential step is literature survey and for doing that we need to study a vast array of topics. Consider the example of PV modules, In order to begin and start with any developments in this area it is required that we have got an entire knowledge surrounding the topic of PV modules. This includes "partial shading", "soiling" etc. Now, ordinarily we would be opening a browser searching through google and surfing through a ton of pages. In order to simplify the process of finding related topics, I made a bash script that uses an external API called as core. core is an open source research article search engine and provides an API to search its database for journal articles. Sometimes it might so happen we might also not know the field of application of certain tools like regression which is being used in biological science for study, these types of insight might open new doors of thinking. Hence, decided to create a simple bash script to utilise the data and easily get fields of related topics.
Simplified summary diagram for representing relationships we want to highlight:
TOPIC A -------------> TOPIC B ------------> TOPIC C
Simplified Algorithm:
1. Encode the passed parameter to script.
2. Send a curl request to core having query parameter as the url encoded passed string.
3. echo the results
4. Parse this request to pick keywords
5. for each keyword:
5.1. Send a curl request with the query parameter having the keyword
5.2. echo the results
5.3. end for
6. end
Comments
Post a Comment