Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nitesh Apte  >  PHP AJAX RSS News Reader  >  index.php  >  Download  
File: index.php
Role: Application script
Content type: text/plain
Description: INDEX
Class: PHP AJAX RSS News Reader
Convert RSS feeds into HTML links
Author: By
Last change: new GUI
Date: 2010-02-06 03:08
Size: 2,098 bytes
 

Contents

Class file image Download
<html>
<head>
<link href="css/rss_reader.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="js/ajaxReader.js"></script>
<title>@pte News Reader 2.0</title>
<script type="text/javascript">

function highlightLinks(obj) {
   var linkList = document.getElementById("feedList").getElementsByTagName("li");
    for (i = 0; i < linkList.length; i++) {
      linkList[i].className = "";
   }
     obj.className = "active";
}

</script>
</head>
<body>
<h1>@pte News Reader 2.0</h1>
<h3>For educational purpose only</h3>
<div align="right" style="margin-top:-25px">
  
</div>
   <div id="feeds">
      <h2>Feeds</h2>
      <ul id="feedList">
     
      <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('google', 'newsDisplay');">Google News</a></li>
      <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('bbc', 'newsDisplay');">BBC News</a></li>

       <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('reuters', 'newsDisplay');">Reuters</a></li>
        <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('rediff', 'newsDisplay');">Rediff News</a></li>
     <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('toi', 'newsDisplay');">The Times Of India</a> </li>
      <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('hindu', 'newsDisplay');">The Hindu</a></li>
       <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('pk', 'newsDisplay');">Prabhat Khabar</a></li>
        <li id="feed" onclick="highlightLinks(this)" class=""><a href="javascript:void(0)" onclick="makeRequest('et', 'newsDisplay');">Economic Times</a></li>

       
      </ul>
    </div>
    <div id="content">
<div id="newsDisplay" align="center"></div>
</div>
</body>

</html>