The Hindu Newspaper Collection: Archive from Jan 1st,2000-today

I recently found myself very (I mean really very) much interested in reading the Editorial Section of the Hindu Newspaper (Opinion Section). So I tried searching for those pages in the Hindu page, but they only have ported some pages from the old site to the new site (although the new dates are also launched in the old site). I went to their archive page and found a form for searching through their archives.

I found that it was not sufficient for my needs, so I started modifying it and came up with my own version of the Archive Searching mechanism. And I ended up with the code you see below :). Instead of opening the Hindu page of the corresponding page in a new window, I put it up in a popup so that it is easy to maintain and light too.

I designed a blogger Gadget to boot, and added it to ECEROCKS.com. You can now see it the right column (the last one) in the site. Go on, give it a go.

I developed one extra feature of opening a particular date’s Opinion’s page directly along with the pre-existing feature of opening that dates newspaper (I know its lame and useless, but I use it like hell)

The Hindu archives is available from 1st January, 2000 till today on the Hindu’s legacy site at http://www.hindu.com and from 1st June, 2010 onwards in the new website. Please use the archiver given on the right to explore the Hindu’s archives.

LEGACY ARCHIVE (1ST JANUARY 2000 - Today)

The Hindu Archive - Felix

This is how it looks

This is the Javascript to be included along with the HTML Code give below this.
The script below is very easy to understand as you can see. It just checks the values that are selected once a submit button is clicked, then validates over a few basic conditions, and generates a URL, that follows the hindu legacy site’s format.

JAVASCRIPT:

<script javascript="JavaScript">  
<!--
function getHinduOpinionsforDate(){
if( document.archives.YEAR1.options[document.archives.YEAR1.selectedIndex].value == "2000" && document.archives.MONTH1.options[document.archives.MONTH1.selectedIndex].value <= 00)
{
alert("Year 2000 archives are available from January only");
}
else
{

window.open('http://www.hindu.com/'+document.archives.YEAR1.options[document.archives.YEAR1.selectedIndex].value+'/'+document.archives.MONTH1.options[document.archives.MONTH1.selectedIndex].value+'/'+document.archives.DAY1.options[document.archives.DAY1.selectedIndex].value+'/05hdline.htm','theHinduOpinion.blogspot.com','toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=1,resizable=1,width=800,height=600,left=0,top=0,url=0') ;
window.status="Going to archives...";
}
}

function getHinduIssueforDate(){
if( document.archives.YEAR2.options[document.archives.YEAR2.selectedIndex].value == "2000" && document.archives.MONTH2.options[document.archives.MONTH2.selectedIndex].value <= 00)
{
alert("Year 2000 archives are available from January only");
}
else
{

window.open('http://www.hindu.com/thehindu/'+document.archives.YEAR2.options[document.archives.YEAR2.selectedIndex].value+'/'+document.archives.MONTH2.options[document.archives.MONTH2.selectedIndex].value+'/'+document.archives.DAY2.options[document.archives.DAY2.selectedIndex].value+'/','theHinduOpinion.blogspot.com','toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=1,resizable=1,width=800,height=600,left=0,top=0,url=0') ;
window.status="Going to archives...";
}
}
//-->
</script>





HTML (Generates the required Drop-Downs, Buttons and OnClick functions for Javascript):




<form name="archives" method="POST">
<center>
Select Date to get Opinions Page
<table>
<tr>
<td><select name="MONTH1">
<option value="01" />Jan
<option value="02" />Feb
<option value="03" />Mar
<option value="04" />Apr
<option value="05" />May
<option value="06" />Jun
<option value="07" />Jul
<option value="08" />Aug
<option value="09" />Sep
<option value="10" />Oct
<option value="11" />Nov
<option value="12" />Dec
</select></td>
<td><select name="DAY1">
<option value="01" />01
<option value="02" />02
<option value="03" />03
<option value="04" />04
<option value="05" />05
<option value="06" />06
<option value="07" />07
<option value="08" />08
<option value="09" />09
<option value="10" />10
<option value="11" />11
<option value="12" />12
<option value="13" />13
<option value="14" />14
<option value="15" />15
<option value="16" />16
<option value="17" />17
<option value="18" />18
<option value="19" />19
<option value="20" />20
<option value="21" />21
<option value="22" />22
<option value="23" />23
<option value="24" />24
<option value="25" />25
<option value="26" />26
<option value="27" />27
<option value="28" />28
<option value="29" />29
<option value="30" />30
<option value="31" />31
</select></td>
<td><select name="YEAR1">

<option value="2010" />2010
<option value="2009" />2009
<option value="2008" />2008
<option value="2007" />2007
<option value="2006" />2006
<option value="2005" />2005
<option value="2004" />2004
<option value="2003" />2003
<option value="2002" />2002
<option value="2001" />2001
<option value="2000" />2000 <!--
<option value = '1999'> 1999
<option value = '1998'> 1998
<option value = '1997'> 1997
<option value = '1996'> 1996
<option value = '1995'> 1995-->
</select></td>
</tr>
<tr>
<td colspan="3" align="center"><input name="submit" type="button"
value="Get Hindu Opinion" onclick="getHinduOpinionsforDate()" /></td>
</tr>
</table>
<br />
Select Date to get Issue Page
<table>
<tr>
<td><select name="MONTH2">
<option value="01" />Jan
<option value="02" />Feb
<option value="03" />Mar
<option value="04" />Apr
<option value="05" />May
<option value="06" />Jun
<option value="07" />Jul
<option value="08" />Aug
<option value="09" />Sep
<option value="10" />Oct
<option value="11" />Nov
<option value="12" />Dec
</select></td>
<td><select name="DAY2">
<option value="01" />01
<option value="02" />02
<option value="03" />03
<option value="04" />04
<option value="05" />05
<option value="06" />06
<option value="07" />07
<option value="08" />08
<option value="09" />09
<option value="10" />10
<option value="11" />11
<option value="12" />12
<option value="13" />13
<option value="14" />14
<option value="15" />15
<option value="16" />16
<option value="17" />17
<option value="18" />18
<option value="19" />19
<option value="20" />20
<option value="21" />21
<option value="22" />22
<option value="23" />23
<option value="24" />24
<option value="25" />25
<option value="26" />26
<option value="27" />27
<option value="28" />28
<option value="29" />29
<option value="30" />30
<option value="31" />31
</select></td>
<td><select name="YEAR2">

<option value="2010" />2010
<option value="2009" />2009
<option value="2008" />2008
<option value="2007" />2007
<option value="2006" />2006
<option value="2005" />2005
<option value="2004" />2004
<option value="2003" />2003
<option value="2002" />2002
<option value="2001" />2001
<option value="2000" />2000 <!--
<option value = '1999'> 1999
<option value = '1998'> 1998
<option value = '1997'> 1997
<option value = '1996'> 1996
<option value = '1995'> 1995-->
</select></td>
</tr>
<tr>
<td colspan="3" align="center"><input name="submit" type="button"
value="Get Hindu Issue" onclick="getHinduIssueforDate()" /></td>
</tr>
</table>
</center>
</form>





P.S.: Just check out the new blog I started - http://thehinduopinion.blogspot.com/, with the aim of creating an organized Opinion section of the Hindu Newspaper. Updated Daily.

1 Comments:

John Barness said...

Thank you for the article.
I like your method. As for my work on collecting historical documents and newspapers, this method is the best to collect and put all the stuff into the secure data room.