Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Website-based Data Analyser for Guardian newspaper healines

License

Notifications You must be signed in to change notification settings

BillyLjm/Guardian_Headline_Analyser

Repository files navigation

Guardian-Analyser

A web-page-based data analyser for the Guardian API.
Parses headlines' words, articles dates & articles' sections.
Written in HTML, PHP & JavaScript.
Created as my final project for CS50x, Winter 2012.

How to Use:

  1. Get Apache HTTP or any other similar programs.
    If unfamiliar with installing Apache HTTP, google for tutorials on how to install it.
    I used this tutorial to install Apache HTTP on my windows computer.

  2. Extract all the files in this repo to the directory which Apache HTTP reads from.

  3. Start Apache & go to "http://localhost" in your browser.

  4. Follow the instructions on the browser like you would with any other web app.

  5. Have Fun!

Note: This website doesn't seem to display properly in Internet Explorer. Use Chrome or Firefox.

File descriptions:

Index.php
Intro for the data anlyser, desciribes how to use & some credits to 3rd party codes.

Search.php
Page for the search form & also page where results will be rendered.

Render.php
PHP code to collect, analyse & render the data & results.

Guardian_Analyser.css
CSS for the entire web app.

includes
Contains all the relevant 3rd part codes used in the web app.

img
Contains the images used, namely the logo, the loading animation & my logo.

js
Contains the 2 .js files used. One is to create the search URL to be passed to Render.php.
The other is to ensure the middle container stretches to fill the window height on large screens.

Screenshots:

Intro screenshot
Search screenshot

**
Billy Lim Jun Ming
15 Feburary 2013

About

Website-based Data Analyser for Guardian newspaper healines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published