in reply to Re: Use perl script to get google scholar results for a query
in thread Use perl script to get google scholar results for a query

Thanks for the quick response.... I'm afraid I need a little more help... While I got it installed, I'm not sure how to use this module to get what I want. I tried to tweak the examples to figure out how it works but haven't really gotten very far. Do you know which subroutine I need to call or have any ideas on something that is documented a little bit more? I'm pretty new ( only finished the camel book ). Thanks so much !
  • Comment on Re^2: Use perl script to get google scholar results for a query

Replies are listed 'Best First'.
Re^3: Use perl script to get google scholar results for a query
by karlgoethebier (Abbot) on Apr 08, 2014 at 11:21 UTC

    Do you want mean something like this? This is from the examples folder of the module, except search_generic..

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      Thats extremely helpful and now the module makes a lot more sense to me. The one last night I would like to do is to print the "preview" of the text that matches the query from within the articles. On google scholar output HTML I think that this is the

      <div class="gs_rs"

      For example, on the top hit for the query 'p53' in google scholar this preview text appears (below title and authors and above the 'Cited by etc links) as Abstract The ability of p53 to activate transcription from specific sequences suggests that genes induced by p53 may mediate its biological role as a tumor suppressor. Using a subtractive hybridization approach, we identified a gene, named WAF1, whose induction ...

      Would you recommend just going for a regex approach or is there a better way using the module. Thanks again, this has help a ton.

        "Would you recommend just going for a regex approach or is there a better way using the module?"

        To be honest: I don't know or i'm not sure - as you like :-(

        Before reading your post i wasn't even aware didn't know anything about Google_Scholar.

        I searched a little bit and then played around with My::Google::Scholar.

        I also needed to install the dependencies of the module as well as the right Perl version.

        I would recommend that you write some code and come back when you run into problems.

        If so, help is guaranteed ;-)

        Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»