The structure of scientific collaboration networks.2007-11-10T14:38:49Z Entrez PubMedhttp://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids=11149952&query_hl=22&itool=pubmed_docsum111b2eeb65471b9866c833929901564b 888849From the Cover: The structure of scientific collaboration networks 2001-01-16T00:00:00Z212176 Proc Natl Acad Sci U S A409 doi:10.1073/pnas.021544898PMID: 11149952 #### use lib 'C:/Perl64/www-connotea-perl-0.1/lib/'; my $fn0="extracted-connotea-pubmedID-2.1.txt"; open (IN0, $fn0) or die "Can't open $fn0: $!\n"; open (FH, ">:utf8",'bookmarks_only_for_PubmedID.txt'); use lib '../lib'; use WWW::Connotea; my $currentURI; my $PMID; my $c = WWW::Connotea->new( user => 'myusername', password => '........' ); $c->authenticate; ### dies if log-in credentials are incorrect while () { my $currentURI = $_; chomp($currentURI); my @tags = $c->posts_for(uri =>"$currentURI"); die "No candidate related articles\n" unless @tags; print FH "$currentURI\n"; foreach my $tag (@tags) { print FH "PMID: "; my $boo = $tag->bookmark(); my $foo = $boo->citation(); print FH $foo->identifiers(), "\n"; my $bar = grep(/PMID:^/, $foo->identifiers()); print FH $bar, "\n"; # if ($foo->identifiers() =~ m/(PMID:^)^.(\d+^)^/) # { # print FH "$2\n"; # } } } close IN0; close FH; #### http://www.ncbi.nlm.nih.gov/pubmed/15754555 PMID: PMID: 15754555 http://www.ncbi.nlm.nih.gov/pubmed/4012367 PMID: PMID: 4012367 http://www.ncbi.nlm.nih.gov/pubmed/20215333 PMID: doi:10.1093/fampra/cmq003PMID: 20215333 http://www.ncbi.nlm.nih.gov/pubmed/20429974 PMID: PMID: 20429974 http://www.ncbi.nlm.nih.gov/pubmed/20338007 PMID: doi:10.1111/j.1600-0838.2009.01081.xPMID: 20338007 http://www.ncbi.nlm.nih.gov/pubmed/17438827 PMID: PMID: 17438827 http://www.ncbi.nlm.nih.gov/pubmed/17447555 PMID: PMID: 17447555 http://www.ncbi.nlm.nih.gov/pubmed/17450784 PMID: PMID: 17450784 #### http://www.ncbi.nlm.nih.gov/pubmed/15754555 PMID: 15754555 http://www.ncbi.nlm.nih.gov/pubmed/4012367 PMID: 4012367 http://www.ncbi.nlm.nih.gov/pubmed/20215333 PMID: 20215333 http://www.ncbi.nlm.nih.gov/pubmed/20429974 PMID: 20429974 http://www.ncbi.nlm.nih.gov/pubmed/20338007 PMID: 20338007 http://www.ncbi.nlm.nih.gov/pubmed/17438827 PMID: 17438827 http://www.ncbi.nlm.nih.gov/pubmed/17447555 PMID: 17447555 http://www.ncbi.nlm.nih.gov/pubmed/17450784 PMID: 17450784