diff --git a/html/fonts/Roboto-Thin.ttf b/html/fonts/Roboto-Thin.ttf deleted file mode 100755 index 861d63a..0000000 Binary files a/html/fonts/Roboto-Thin.ttf and /dev/null differ diff --git a/html/fonts/pixelHype.ttf b/html/fonts/pixelHype.ttf deleted file mode 100755 index dcca687..0000000 Binary files a/html/fonts/pixelHype.ttf and /dev/null differ diff --git a/html/images/cal/August.png b/html/images/cal/August.png deleted file mode 100644 index 540f7b8..0000000 Binary files a/html/images/cal/August.png and /dev/null differ diff --git a/html/images/cal/Elias.png b/html/images/cal/Elias.png deleted file mode 100644 index 3fc130a..0000000 Binary files a/html/images/cal/Elias.png and /dev/null differ diff --git a/html/images/cal/Kevin.png b/html/images/cal/Kevin.png deleted file mode 100644 index 9f3bf01..0000000 Binary files a/html/images/cal/Kevin.png and /dev/null differ diff --git a/html/images/day/Clear sky.png b/html/images/day/Clear sky.png deleted file mode 100644 index d3235e0..0000000 Binary files a/html/images/day/Clear sky.png and /dev/null differ diff --git a/html/images/day/Cloudy.png b/html/images/day/Cloudy.png deleted file mode 100644 index 68bc36f..0000000 Binary files a/html/images/day/Cloudy.png and /dev/null differ diff --git a/html/images/day/Fair.png b/html/images/day/Fair.png deleted file mode 100644 index 70aac99..0000000 Binary files a/html/images/day/Fair.png and /dev/null differ diff --git a/html/images/day/Fog.png b/html/images/day/Fog.png deleted file mode 100644 index 50d6439..0000000 Binary files a/html/images/day/Fog.png and /dev/null differ diff --git a/html/images/day/Heavy rain and thunder.png b/html/images/day/Heavy rain and thunder.png deleted file mode 100644 index fd36a6a..0000000 Binary files a/html/images/day/Heavy rain and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy rain showers and thunder.png b/html/images/day/Heavy rain showers and thunder.png deleted file mode 100644 index e94bf40..0000000 Binary files a/html/images/day/Heavy rain showers and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy rain showers.png b/html/images/day/Heavy rain showers.png deleted file mode 100644 index 69bc188..0000000 Binary files a/html/images/day/Heavy rain showers.png and /dev/null differ diff --git a/html/images/day/Heavy rain.png b/html/images/day/Heavy rain.png deleted file mode 100644 index 8f73dcc..0000000 Binary files a/html/images/day/Heavy rain.png and /dev/null differ diff --git a/html/images/day/Heavy sleet and thunder.png b/html/images/day/Heavy sleet and thunder.png deleted file mode 100644 index c9e6549..0000000 Binary files a/html/images/day/Heavy sleet and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy sleet showers and thunder.png b/html/images/day/Heavy sleet showers and thunder.png deleted file mode 100644 index cc371a8..0000000 Binary files a/html/images/day/Heavy sleet showers and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy sleet showers.png b/html/images/day/Heavy sleet showers.png deleted file mode 100644 index 20c74c0..0000000 Binary files a/html/images/day/Heavy sleet showers.png and /dev/null differ diff --git a/html/images/day/Heavy sleet.png b/html/images/day/Heavy sleet.png deleted file mode 100644 index b69a94b..0000000 Binary files a/html/images/day/Heavy sleet.png and /dev/null differ diff --git a/html/images/day/Heavy snow and thunder.png b/html/images/day/Heavy snow and thunder.png deleted file mode 100644 index ad20284..0000000 Binary files a/html/images/day/Heavy snow and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy snow showers and thunder.png b/html/images/day/Heavy snow showers and thunder.png deleted file mode 100644 index d658128..0000000 Binary files a/html/images/day/Heavy snow showers and thunder.png and /dev/null differ diff --git a/html/images/day/Heavy snow showers.png b/html/images/day/Heavy snow showers.png deleted file mode 100644 index f2a94f3..0000000 Binary files a/html/images/day/Heavy snow showers.png and /dev/null differ diff --git a/html/images/day/Heavy snow.png b/html/images/day/Heavy snow.png deleted file mode 100644 index 969090f..0000000 Binary files a/html/images/day/Heavy snow.png and /dev/null differ diff --git a/html/images/day/Light rain and thunder.png b/html/images/day/Light rain and thunder.png deleted file mode 100644 index dfcaafe..0000000 Binary files a/html/images/day/Light rain and thunder.png and /dev/null differ diff --git a/html/images/day/Light rain showers and thunder.png b/html/images/day/Light rain showers and thunder.png deleted file mode 100644 index 3cc2934..0000000 Binary files a/html/images/day/Light rain showers and thunder.png and /dev/null differ diff --git a/html/images/day/Light rain showers.png b/html/images/day/Light rain showers.png deleted file mode 100644 index 7d4f842..0000000 Binary files a/html/images/day/Light rain showers.png and /dev/null differ diff --git a/html/images/day/Light rain.png b/html/images/day/Light rain.png deleted file mode 100644 index 4698ced..0000000 Binary files a/html/images/day/Light rain.png and /dev/null differ diff --git a/html/images/day/Light sleet and thunder.png b/html/images/day/Light sleet and thunder.png deleted file mode 100644 index cefb4e4..0000000 Binary files a/html/images/day/Light sleet and thunder.png and /dev/null differ diff --git a/html/images/day/Light sleet showers and thunder.png b/html/images/day/Light sleet showers and thunder.png deleted file mode 100644 index 0a80c3a..0000000 Binary files a/html/images/day/Light sleet showers and thunder.png and /dev/null differ diff --git a/html/images/day/Light sleet showers.png b/html/images/day/Light sleet showers.png deleted file mode 100644 index e6891bc..0000000 Binary files a/html/images/day/Light sleet showers.png and /dev/null differ diff --git a/html/images/day/Light sleet.png b/html/images/day/Light sleet.png deleted file mode 100644 index cf44566..0000000 Binary files a/html/images/day/Light sleet.png and /dev/null differ diff --git a/html/images/day/Light snow and thunder.png b/html/images/day/Light snow and thunder.png deleted file mode 100644 index 0a6e2af..0000000 Binary files a/html/images/day/Light snow and thunder.png and /dev/null differ diff --git a/html/images/day/Light snow showers and thunder.png b/html/images/day/Light snow showers and thunder.png deleted file mode 100644 index 2b0f6e5..0000000 Binary files a/html/images/day/Light snow showers and thunder.png and /dev/null differ diff --git a/html/images/day/Light snow showers.png b/html/images/day/Light snow showers.png deleted file mode 100644 index 848f276..0000000 Binary files a/html/images/day/Light snow showers.png and /dev/null differ diff --git a/html/images/day/Light snow.png b/html/images/day/Light snow.png deleted file mode 100644 index 3b2f41b..0000000 Binary files a/html/images/day/Light snow.png and /dev/null differ diff --git a/html/images/day/Partly cloudy.png b/html/images/day/Partly cloudy.png deleted file mode 100644 index ca797cb..0000000 Binary files a/html/images/day/Partly cloudy.png and /dev/null differ diff --git a/html/images/day/Rain and thunder.png b/html/images/day/Rain and thunder.png deleted file mode 100644 index bba1c02..0000000 Binary files a/html/images/day/Rain and thunder.png and /dev/null differ diff --git a/html/images/day/Rain showers and thunder.png b/html/images/day/Rain showers and thunder.png deleted file mode 100644 index 4e43889..0000000 Binary files a/html/images/day/Rain showers and thunder.png and /dev/null differ diff --git a/html/images/day/Rain showers.png b/html/images/day/Rain showers.png deleted file mode 100644 index e1c322c..0000000 Binary files a/html/images/day/Rain showers.png and /dev/null differ diff --git a/html/images/day/Rain.png b/html/images/day/Rain.png deleted file mode 100644 index cd2449a..0000000 Binary files a/html/images/day/Rain.png and /dev/null differ diff --git a/html/images/day/Sleet and thunder.png b/html/images/day/Sleet and thunder.png deleted file mode 100644 index 8891a3c..0000000 Binary files a/html/images/day/Sleet and thunder.png and /dev/null differ diff --git a/html/images/day/Sleet showers and thunder.png b/html/images/day/Sleet showers and thunder.png deleted file mode 100644 index 5a00984..0000000 Binary files a/html/images/day/Sleet showers and thunder.png and /dev/null differ diff --git a/html/images/day/Sleet showers.png b/html/images/day/Sleet showers.png deleted file mode 100644 index 287d32f..0000000 Binary files a/html/images/day/Sleet showers.png and /dev/null differ diff --git a/html/images/day/Sleet.png b/html/images/day/Sleet.png deleted file mode 100644 index 46b3a48..0000000 Binary files a/html/images/day/Sleet.png and /dev/null differ diff --git a/html/images/day/Snow and thunder.png b/html/images/day/Snow and thunder.png deleted file mode 100644 index e410788..0000000 Binary files a/html/images/day/Snow and thunder.png and /dev/null differ diff --git a/html/images/day/Snow showers and thunder.png b/html/images/day/Snow showers and thunder.png deleted file mode 100644 index dea5e77..0000000 Binary files a/html/images/day/Snow showers and thunder.png and /dev/null differ diff --git a/html/images/day/Snow showers.png b/html/images/day/Snow showers.png deleted file mode 100644 index 617232f..0000000 Binary files a/html/images/day/Snow showers.png and /dev/null differ diff --git a/html/images/day/Snow.png b/html/images/day/Snow.png deleted file mode 100644 index eb5b799..0000000 Binary files a/html/images/day/Snow.png and /dev/null differ diff --git a/html/images/night/Clear sky.png b/html/images/night/Clear sky.png deleted file mode 100644 index 8b248ab..0000000 Binary files a/html/images/night/Clear sky.png and /dev/null differ diff --git a/html/images/night/Cloudy.png b/html/images/night/Cloudy.png deleted file mode 100644 index 68bc36f..0000000 Binary files a/html/images/night/Cloudy.png and /dev/null differ diff --git a/html/images/night/Fair.png b/html/images/night/Fair.png deleted file mode 100644 index 1bb2fbe..0000000 Binary files a/html/images/night/Fair.png and /dev/null differ diff --git a/html/images/night/Fog.png b/html/images/night/Fog.png deleted file mode 100644 index 50d6439..0000000 Binary files a/html/images/night/Fog.png and /dev/null differ diff --git a/html/images/night/Heavy rain showers and thunder.png b/html/images/night/Heavy rain showers and thunder.png deleted file mode 100644 index 6b71403..0000000 Binary files a/html/images/night/Heavy rain showers and thunder.png and /dev/null differ diff --git a/html/images/night/Heavy rain showers.png b/html/images/night/Heavy rain showers.png deleted file mode 100644 index 0e839df..0000000 Binary files a/html/images/night/Heavy rain showers.png and /dev/null differ diff --git a/html/images/night/Heavy rain.png b/html/images/night/Heavy rain.png deleted file mode 100644 index 8f73dcc..0000000 Binary files a/html/images/night/Heavy rain.png and /dev/null differ diff --git a/html/images/night/Heavy sleet and thunder.png b/html/images/night/Heavy sleet and thunder.png deleted file mode 100644 index c9e6549..0000000 Binary files a/html/images/night/Heavy sleet and thunder.png and /dev/null differ diff --git a/html/images/night/Heavy sleet showers and thunder.png b/html/images/night/Heavy sleet showers and thunder.png deleted file mode 100644 index b25d35a..0000000 Binary files a/html/images/night/Heavy sleet showers and thunder.png and /dev/null differ diff --git a/html/images/night/Heavy sleet showers.png b/html/images/night/Heavy sleet showers.png deleted file mode 100644 index 0615b66..0000000 Binary files a/html/images/night/Heavy sleet showers.png and /dev/null differ diff --git a/html/images/night/Heavy sleet.png b/html/images/night/Heavy sleet.png deleted file mode 100644 index b69a94b..0000000 Binary files a/html/images/night/Heavy sleet.png and /dev/null differ diff --git a/html/images/night/Heavy snow and thunder.png b/html/images/night/Heavy snow and thunder.png deleted file mode 100644 index ad20284..0000000 Binary files a/html/images/night/Heavy snow and thunder.png and /dev/null differ diff --git a/html/images/night/Heavy snow showers and thunder.png b/html/images/night/Heavy snow showers and thunder.png deleted file mode 100644 index 52696e9..0000000 Binary files a/html/images/night/Heavy snow showers and thunder.png and /dev/null differ diff --git a/html/images/night/Heavy snow showers.png b/html/images/night/Heavy snow showers.png deleted file mode 100644 index bad9006..0000000 Binary files a/html/images/night/Heavy snow showers.png and /dev/null differ diff --git a/html/images/night/Heavy snow.png b/html/images/night/Heavy snow.png deleted file mode 100644 index 969090f..0000000 Binary files a/html/images/night/Heavy snow.png and /dev/null differ diff --git a/html/images/night/Light rain and thunder.png b/html/images/night/Light rain and thunder.png deleted file mode 100644 index dfcaafe..0000000 Binary files a/html/images/night/Light rain and thunder.png and /dev/null differ diff --git a/html/images/night/Light rain showers and thunder.png b/html/images/night/Light rain showers and thunder.png deleted file mode 100644 index 9390893..0000000 Binary files a/html/images/night/Light rain showers and thunder.png and /dev/null differ diff --git a/html/images/night/Light rain showers.png b/html/images/night/Light rain showers.png deleted file mode 100644 index 4858870..0000000 Binary files a/html/images/night/Light rain showers.png and /dev/null differ diff --git a/html/images/night/Light rain.png b/html/images/night/Light rain.png deleted file mode 100644 index 4698ced..0000000 Binary files a/html/images/night/Light rain.png and /dev/null differ diff --git a/html/images/night/Light sleet and thunder.png b/html/images/night/Light sleet and thunder.png deleted file mode 100644 index cefb4e4..0000000 Binary files a/html/images/night/Light sleet and thunder.png and /dev/null differ diff --git a/html/images/night/Light sleet showers and thunder.png b/html/images/night/Light sleet showers and thunder.png deleted file mode 100644 index d3acad0..0000000 Binary files a/html/images/night/Light sleet showers and thunder.png and /dev/null differ diff --git a/html/images/night/Light sleet showers.png b/html/images/night/Light sleet showers.png deleted file mode 100644 index beb8c2a..0000000 Binary files a/html/images/night/Light sleet showers.png and /dev/null differ diff --git a/html/images/night/Light sleet.png b/html/images/night/Light sleet.png deleted file mode 100644 index cf44566..0000000 Binary files a/html/images/night/Light sleet.png and /dev/null differ diff --git a/html/images/night/Light snow and thunder.png b/html/images/night/Light snow and thunder.png deleted file mode 100644 index 0a6e2af..0000000 Binary files a/html/images/night/Light snow and thunder.png and /dev/null differ diff --git a/html/images/night/Light snow showers and thunder.png b/html/images/night/Light snow showers and thunder.png deleted file mode 100644 index 94d421a..0000000 Binary files a/html/images/night/Light snow showers and thunder.png and /dev/null differ diff --git a/html/images/night/Light snow showers.png b/html/images/night/Light snow showers.png deleted file mode 100644 index e2c1a2a..0000000 Binary files a/html/images/night/Light snow showers.png and /dev/null differ diff --git a/html/images/night/Light snow.png b/html/images/night/Light snow.png deleted file mode 100644 index 3b2f41b..0000000 Binary files a/html/images/night/Light snow.png and /dev/null differ diff --git a/html/images/night/Partly cloudy.png b/html/images/night/Partly cloudy.png deleted file mode 100644 index 6f36de3..0000000 Binary files a/html/images/night/Partly cloudy.png and /dev/null differ diff --git a/html/images/night/Rain and thunder.png b/html/images/night/Rain and thunder.png deleted file mode 100644 index bba1c02..0000000 Binary files a/html/images/night/Rain and thunder.png and /dev/null differ diff --git a/html/images/night/Rain showers and thunder.png b/html/images/night/Rain showers and thunder.png deleted file mode 100644 index a410c39..0000000 Binary files a/html/images/night/Rain showers and thunder.png and /dev/null differ diff --git a/html/images/night/Rain showers.png b/html/images/night/Rain showers.png deleted file mode 100644 index ad714ba..0000000 Binary files a/html/images/night/Rain showers.png and /dev/null differ diff --git a/html/images/night/Rain.png b/html/images/night/Rain.png deleted file mode 100644 index cd2449a..0000000 Binary files a/html/images/night/Rain.png and /dev/null differ diff --git a/html/images/night/Sleet and thunder.png b/html/images/night/Sleet and thunder.png deleted file mode 100644 index 8891a3c..0000000 Binary files a/html/images/night/Sleet and thunder.png and /dev/null differ diff --git a/html/images/night/Sleet showers and thunder.png b/html/images/night/Sleet showers and thunder.png deleted file mode 100644 index 9b985c0..0000000 Binary files a/html/images/night/Sleet showers and thunder.png and /dev/null differ diff --git a/html/images/night/Sleet showers.png b/html/images/night/Sleet showers.png deleted file mode 100644 index e13dfee..0000000 Binary files a/html/images/night/Sleet showers.png and /dev/null differ diff --git a/html/images/night/Sleet.png b/html/images/night/Sleet.png deleted file mode 100644 index 46b3a48..0000000 Binary files a/html/images/night/Sleet.png and /dev/null differ diff --git a/html/images/night/Snow and thunder.png b/html/images/night/Snow and thunder.png deleted file mode 100644 index e410788..0000000 Binary files a/html/images/night/Snow and thunder.png and /dev/null differ diff --git a/html/images/night/Snow showers and thunder.png b/html/images/night/Snow showers and thunder.png deleted file mode 100644 index 4af772d..0000000 Binary files a/html/images/night/Snow showers and thunder.png and /dev/null differ diff --git a/html/images/night/Snow showers.png b/html/images/night/Snow showers.png deleted file mode 100644 index d82665f..0000000 Binary files a/html/images/night/Snow showers.png and /dev/null differ diff --git a/html/images/night/Snow.png b/html/images/night/Snow.png deleted file mode 100644 index eb5b799..0000000 Binary files a/html/images/night/Snow.png and /dev/null differ diff --git a/html/index.php b/html/index.php deleted file mode 100644 index 6dec001..0000000 --- a/html/index.php +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - RPi Home Hub v0.1 - - -
-
-
-

/r/showerthoughts

-

- -

-
-
- -
-

- - - - -
- -
-
- -
-

-

-

-

-
- -
- -
-

@Politiet

-
- -
-
- -
-

Siste fra ap.no

- - - -
- -
-

Siste fra db.no

- - - -
- - - - - - - - - - - diff --git a/html/phpFiles/apRss.php b/html/phpFiles/apRss.php deleted file mode 100644 index 988d0e9..0000000 --- a/html/phpFiles/apRss.php +++ /dev/null @@ -1,21 +0,0 @@ -load('http://www.aftenposten.no/eksport/rss-1_0/'); - $feed = array(); - foreach ($rss->getElementsByTagName('item') as $node) { - $item = array ( - 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, - 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, - 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, - ); - array_push($feed, $item); - } - $limit = 4; - for($x=0;$x<$limit;$x++) { - $title = str_replace(' & ', ' & ', $feed[$x]['title']); - $link = $feed[$x]['link']; - $description = $feed[$x]['desc']; - echo '

'.$title.'
'; - echo '

'.$description.'

'; - } -?> \ No newline at end of file diff --git a/html/phpFiles/dbRss.php b/html/phpFiles/dbRss.php deleted file mode 100644 index aea8057..0000000 --- a/html/phpFiles/dbRss.php +++ /dev/null @@ -1,21 +0,0 @@ -load('http://www.dagbladet.no/rss/nyheter/'); - $feed = array(); - foreach ($rss->getElementsByTagName('item') as $node) { - $item = array ( - 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, - 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, - 'link' => $node->getElementsByTagName('link')->item(0)->nodeValue, - ); - array_push($feed, $item); - } - $limit = 4; - for($x=0;$x<$limit;$x++) { - $title = str_replace(' & ', ' & ', $feed[$x]['title']); - $link = $feed[$x]['link']; - $description = $feed[$x]['desc']; - echo '

'.$title.'
'; - echo '

'.$description.'

'; - } -?> diff --git a/html/scripts/3minReload.js b/html/scripts/3minReload.js deleted file mode 100644 index 6232a2b..0000000 --- a/html/scripts/3minReload.js +++ /dev/null @@ -1,3 +0,0 @@ -setInterval(function() { - window.location.reload(); -}, 300000); \ No newline at end of file diff --git a/html/scripts/addWeatherInfo.js b/html/scripts/addWeatherInfo.js deleted file mode 100644 index 786b773..0000000 --- a/html/scripts/addWeatherInfo.js +++ /dev/null @@ -1,15 +0,0 @@ -var weatherData = []; -$.get('weatherData.txt', function(data) { - weatherData = data.split("\n"); - var elem = document.createElement("img"); - elem.setAttribute("src", 'images/' + weatherData[0] + '/' + weatherData[1]); - elem.setAttribute("height", "180"); - elem.setAttribute("width", "180"); - elem.setAttribute("alt", weatherData[1]); - document.getElementById("weatherImg").appendChild(elem); - - document.getElementById("weatherTempValue").innerHTML = "

Temperatur

" + weatherData[2] + '°

'; - document.getElementById("weatherRainfall").innerHTML = "

Nedbør

" + weatherData[3] + '

'; - document.getElementById("weatherWind").innerHTML = "

Vind

" + weatherData[5] + '

'; - document.getElementById("weatherWindDirection").innerHTML = "

Vind rettning

" + weatherData[6] + '

'; -}); \ No newline at end of file diff --git a/html/scripts/cycleTimeplaner.js b/html/scripts/cycleTimeplaner.js deleted file mode 100644 index 95e94cc..0000000 --- a/html/scripts/cycleTimeplaner.js +++ /dev/null @@ -1,28 +0,0 @@ -var imageIndex = 0; -changeBanner(); - function changeBanner(){ - var img = []; - - var timetableImages = document.getElementById('timetables'); - img[0] = timetableImages.getElementsByTagName('img')[0]; - img[1] = timetableImages.getElementsByTagName('img')[1]; - img[2] = timetableImages.getElementsByTagName('img')[2]; - - for (var i = 0; i < img.length; i++) { - img[i].style.display = 'none'; - } - img[imageIndex].style.display = 'block'; - var src = img[imageIndex].src; - - if(src.indexOf('/') >= 0) { - src = src.substring(src.lastIndexOf('/')+1); - src = src.replace('.png', ' sin timeplan'); - document.getElementById('calTitle').innerHTML = src; - } - - if (imageIndex == img.length - 1) { - imageIndex = 0; - } else { imageIndex++; } - } - - setInterval('changeBanner()', 5000); \ No newline at end of file diff --git a/html/scripts/timeDateDisplay.js b/html/scripts/timeDateDisplay.js deleted file mode 100644 index 0db2e37..0000000 --- a/html/scripts/timeDateDisplay.js +++ /dev/null @@ -1,31 +0,0 @@ -var weekday = new Array(7); - weekday[0]= "Søndag"; - weekday[1] = "Mandag"; - weekday[2] = "Tirsdag"; - weekday[3] = "Onsdag"; - weekday[4] = "Torsdag"; - weekday[5] = "Fredag"; - weekday[6] = "Lørdag"; - -(function () { - function checkTime(i) { - return (i < 10) ? "0" + i : i; - } - - function startTime() { - var today = new Date(), - h = checkTime(today.getHours()), - m = checkTime(today.getMinutes()), - s = checkTime(today.getSeconds()); - dn = weekday[today.getDay()]; - d = checkTime(today.getDate()); - mon = checkTime(today.getMonth() + 1); - y = checkTime(today.getFullYear()); - document.getElementById('currTime').innerHTML = - "

" + h + ":" + m + ":" + s + "

" + dn + " " + d + "." + mon + "." + y + "

"; - t = setTimeout(function () { - startTime() - }, 500); - } - startTime(); -})(); \ No newline at end of file diff --git a/html/style.css b/html/style.css deleted file mode 100644 index df661d3..0000000 --- a/html/style.css +++ /dev/null @@ -1,121 +0,0 @@ -@font-face { font-family: pixelHype; src: url('fonts/Roboto-Thin.ttf');} - -html, body { - font-family: pixelHype; - font-size: 24px; - padding: 20px; -} - -#time { - border: solid; - border-width: 1.5px; - border-color: black; - border-radius: 8px; - background-color: black; - color: white; - padding: 3px; - font-size: 58px; -} - -#showerthoughts h3 { - border: solid; - border-width: 1.5px; - border-color: black; - border-radius: 8px; - background-color: black; - color: white; - clear:both; - float:left; - padding: 3px; -} - -#showerthoughts p { - text-align: left; - clear: both; - float: left; -} - -.weatherReport { - margin-right: -30px; - margin-left: -30px; -} - -.weatherTitle { - width: 50%; - float: left; - text-align: right; - padding-right: 15px; -} - -.weatherData { - width: 50%; - float:right; - text-align: left; - padding-left: 15px; -} - -#rssTitle { - border: solid; - border-width: 1.5px; - border-color: black; - border-radius: 8px; - background-color: black; - color: white; - width: 165px; - padding: 3px; -} - -#rssFeed { - font-size: 15px; -} - -#twitterTitle { - border: solid; - border-width: 1.5px; - border-color: black; - border-radius: 8px; - background-color: black; - color: white; - clear:both; - float:left; - padding: 3px; - margin-left: 8px; -} - -.twitterFeed { - border: solid; - border-width: 1px; - border-color: black; - border-radius: 8px; - - padding-left: 8px; -} - -#calTitle { - border: solid; - border-width: 1.5px; - border-color: black; - border-radius: 8px; - background-color: black; - color: white; - clear:both; - float:left; - padding: 3px; -} - -#timetables { - width: 735px; - padding-bottom: 20px; - margin-left: 20px; - margin-right: 45px; - margin-bottom: 20px; - - border: solid; - border-width: 1px; - border-color: black; - border-radius: 8px; -} - -#timetables img { - display: none; -} diff --git a/html/topRedditPost.py b/html/topRedditPost.py deleted file mode 100644 index 29ad04a..0000000 --- a/html/topRedditPost.py +++ /dev/null @@ -1,83 +0,0 @@ -import praw -import ephem -import requests - -user_agent = ("topRedditPost pyMachine 0.1") -submissionArray = [] - -weatherURL = 'http://www.yr.no/place/Norway/Oslo/Oslo/Ljabru/hour_by_hour.html' -weatherURL1 = 'http://www.yr.no/place/Norway/Sør-Trøndelag/Trondheim/Utleirvegen/hour_by_hour.html' -stringId = '') - 2] - forcastList = forcastDescription.split(', ') - - # Get the worded weather state - weatherState = forcastList[0] - while True: - try: - weatherState.index(':') - weatherState = weatherState[weatherState.index(':') + 2:] - pass - except ValueError: - forcastList[0] = weatherState + '.png' - break - - # Get the temp value - tempValue = forcastList[1] - forcastList[1] = tempValue[12:] - - # Clean up any errors in the downpour - try: - forcastList[2] = forcastList[2].replace("\\xe2\\x80\\x93", "-") - except ValueError: - pass - - # Get the wind value and append the direction of the wind - windValue = windDir = forcastList[4] - windValue = windValue[:windValue.index('from') - 1] - windDir = windDir[windDir.index('from') + len('from') + 1:] - forcastList[4] = windValue - forcastList.append(windDir) - - # Get the time of day - forcastList.insert(0,timeOfDay()) - - print(forcastList) - with open('weatherData.txt', 'w') as outputFile: - for element in forcastList: - outputFile.write(str(element) + '\n') - -def main(): - getShowerThought() - getWeatherReport() - -main() \ No newline at end of file diff --git a/html/topSubPost.txt b/html/topSubPost.txt deleted file mode 100644 index 33c0152..0000000 --- a/html/topSubPost.txt +++ /dev/null @@ -1 +0,0 @@ -"No Man's Land" is a great name for a lesbian bar \ No newline at end of file diff --git a/html/weatherData.txt b/html/weatherData.txt deleted file mode 100644 index 857d910..0000000 --- a/html/weatherData.txt +++ /dev/null @@ -1,7 +0,0 @@ -day -Snow.png --6 -0.4 - 0.7 mm -Gentle breeze -6 m/s -northeast