<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mining Data from ISI Web of Science&#174; Reports</title>
	<atom:link href="http://journal.code4lib.org/articles/110/feed" rel="self" type="application/rss+xml" />
	<link>http://journal.code4lib.org/articles/110</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 13:30:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: tomkeays</title>
		<link>http://journal.code4lib.org/articles/110/comment-page-1#comment-3069</link>
		<dc:creator>tomkeays</dc:creator>
		<pubDate>Mon, 24 May 2010 03:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://journal.code4lib.org/?p=110#comment-3069</guid>
		<description>ISI Web of Science has changed their output format since the article was published, adding 14 new columns and requiring, therefore, that the Perl script be modified slightly. 

In each recordline array: 
&lt;ul&gt;
	&lt;li&gt;instances of @recordline[4], which reference the SO (journal source) column, need to be changed to @recordline[8]. &lt;/li&gt;
	&lt;li&gt;instances of @recordline[7], which reference the DT (document type) column, need to be changed to @recordline[11]. &lt;/li&gt;
	&lt;li&gt;instances of @recordline[14], which reference the CR (cited reference) column, need to be changed to @recordline[25]. &lt;/li&gt;
	&lt;li&gt;instances of @recordline[36], which reference the UT (ISI number) column, need to be changed to @recordline[50]. &lt;/li&gt;
&lt;/ul&gt;

The full revised script is:
&lt;code&gt;&lt;pre&gt;
# PROCESS THE SECTION BELOW THE SCRIPT (BELOW THE  __DATA__ TOKEN)
# RECORD BY RECORD

# file handle for output to a file:
$outfile=&quot;./isioutrefs2004.txt&quot;;
open (OUTPUT, &quot;&gt;$outfile&quot;);

while ( &lt;DATA&gt; ) {
    # remove trailing record separator if found:
    chomp;
    # split line by tab delimiter and put the result in an array:
    @recordline=split (/\t/,$_);
    $fullrec=$_ ;
    chomp (@recordline[11]);
    while ( &lt;DATA&gt; ) {
        # remove trailing record separator if found:
        chomp;
        # split line by tab delimiter and put the result in an array:
        @recordline=split (/\t/,$_);
        $fullrec=$_ ;
        # save the isinumber -the 37th element under a separate variable
        $isinumber=@recordline[50];
        $publishedinjournal=@recordline[8];
        chomp (@recordline[11]);
        foreach (@recordline[25]) {
            $count++;
            @citedrefs=split /;/, $_;
            foreach (@citedrefs) {
                # do for each cited reference               
                $countrefs++;
                @onecite=split /,/,$_;
                # add a line with running number, PubYear, #Title, and ISINumber to the output file
                print OUTPUT &quot;$countrefs\t$onecite[1]\t$onecite[2]\t$isinumber\n&quot;;
                # this line just echoes some fields to the screen #as the script runs.
                # it may be commented out.
                print &quot;$countrefs\t$onecite[1]\t$onecite[2]\t$isinumber\n&quot;;
            }
        }
    }
}
# the next two lines just echo some fields to the screen as the script finishes.
# they may be commented out.
print &quot;Total Refs: $countrefs\n&quot;;
print &quot;Total Number of Articles Authored/Co-Authored by MCW: $count&quot;;

# the data to be processed begins below the __DATA__ token.
__DATA__
&lt;/pre&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>ISI Web of Science has changed their output format since the article was published, adding 14 new columns and requiring, therefore, that the Perl script be modified slightly. </p>
<p>In each recordline array: </p>
<ul>
<li>instances of @recordline[4], which reference the SO (journal source) column, need to be changed to @recordline[8]. </li>
<li>instances of @recordline[7], which reference the DT (document type) column, need to be changed to @recordline[11]. </li>
<li>instances of @recordline[14], which reference the CR (cited reference) column, need to be changed to @recordline[25]. </li>
<li>instances of @recordline[36], which reference the UT (ISI number) column, need to be changed to @recordline[50]. </li>
</ul>
<p>The full revised script is:<br />
<code>
<pre>
# PROCESS THE SECTION BELOW THE SCRIPT (BELOW THE  __DATA__ TOKEN)
# RECORD BY RECORD

# file handle for output to a file:
$outfile="./isioutrefs2004.txt";
open (OUTPUT, "&gt;$outfile");

while ( &lt;DATA&gt; ) {
    # remove trailing record separator if found:
    chomp;
    # split line by tab delimiter and put the result in an array:
    @recordline=split (/\t/,$_);
    $fullrec=$_ ;
    chomp (@recordline[11]);
    while ( &lt;DATA&gt; ) {
        # remove trailing record separator if found:
        chomp;
        # split line by tab delimiter and put the result in an array:
        @recordline=split (/\t/,$_);
        $fullrec=$_ ;
        # save the isinumber -the 37th element under a separate variable
        $isinumber=@recordline[50];
        $publishedinjournal=@recordline[8];
        chomp (@recordline[11]);
        foreach (@recordline[25]) {
            $count++;
            @citedrefs=split /;/, $_;
            foreach (@citedrefs) {
                # do for each cited reference
                $countrefs++;
                @onecite=split /,/,$_;
                # add a line with running number, PubYear, #Title, and ISINumber to the output file
                print OUTPUT "$countrefs\t$onecite[1]\t$onecite[2]\t$isinumber\n";
                # this line just echoes some fields to the screen #as the script runs.
                # it may be commented out.
                print "$countrefs\t$onecite[1]\t$onecite[2]\t$isinumber\n";
            }
        }
    }
}
# the next two lines just echo some fields to the screen as the script finishes.
# they may be commented out.
print "Total Refs: $countrefs\n";
print "Total Number of Articles Authored/Co-Authored by MCW: $count";

# the data to be processed begins below the __DATA__ token.
__DATA__
</pre>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SmartiePants</title>
		<link>http://journal.code4lib.org/articles/110/comment-page-1#comment-983</link>
		<dc:creator>SmartiePants</dc:creator>
		<pubDate>Mon, 22 Sep 2008 21:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://journal.code4lib.org/?p=110#comment-983</guid>
		<description>Bravo Alfred, Bravo.</description>
		<content:encoded><![CDATA[<p>Bravo Alfred, Bravo.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

