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

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.

Replies are listed 'Best First'.
Re^5: Use perl script to get google scholar results for a query
by karlgoethebier (Abbot) on Apr 08, 2014 at 16:27 UTC
    "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»

      Can you elaborate how you got access to "My::Google::Scholar" to use it? I'm new to downloading Perl modules off Google Code. Installing off of CPAN didn't work. The source code file isn't availible for downnload from Google Code. When I checked it out with svn and did the whole perl/make install process I got the error that I didn't have write permissions. So, what were the steps you did to use it this module?
        "Can you elaborate how you got access to "My::Google::Scholar" to use it?..."

        Mmh, as far as i remember i downloaded My::Google::Scholar, put it somewhere in my @INC, installed many, many dependencies and after a while it worked.

        Regards, Karl

        «The Crux of the Biscuit is the Apostrophe»