diff --git a/home/index.html b/home/index.html index 9b72a91..423607c 100644 --- a/home/index.html +++ b/home/index.html @@ -47,49 +47,14 @@ -
-
-
-
-
-

- - -

-
-

Student - Tinkerer - Programmer - (aspiring) Engineer

-
-
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
-
-
-
-
- + @@ -176,22 +117,20 @@
-

About E.N.Paul

- -

-

- EN Paul is a Mechanical Engineering student at Worcester Polytechnic Institute in Worcester Massachusets with way too much time on his hands. He works at WPI Network Operations, plays around with 3DS SolidWorks, and runs this website when he's bored. -

- He doesn't want donations, but asks that if you have a joke or funny story to share that you send it to him. -
-

+

News

+ + + + +
feedwidget @ Surfing Waves
+
diff --git a/home/rss.css b/home/rss.css new file mode 100644 index 0000000..8a38999 --- /dev/null +++ b/home/rss.css @@ -0,0 +1,3 @@ +#feed-body { + width: 80%; +} diff --git a/home/rss.js b/home/rss.js new file mode 100644 index 0000000..4cd9eed --- /dev/null +++ b/home/rss.js @@ -0,0 +1,36 @@ +rssfeed_url = new Array(); +rssfeed_url[0]="http://www.providencejournal.com/news?template=rss&mime=xml"; +rssfeed_frame_width="600"; +rssfeed_frame_height="600"; +rssfeed_scroll="off"; +rssfeed_scroll_step="6"; +rssfeed_scroll_bar="on"; +rssfeed_target="_blank"; +rssfeed_font_size="12"; +rssfeed_font_face="Verdana"; +rssfeed_border="on"; +rssfeed_css_url="https://enpaul.net/home/rss.css"; +rssfeed_title="off"; +rssfeed_title_name=""; +rssfeed_title_bgcolor="#3366ff"; +rssfeed_title_color="#fff"; +rssfeed_title_bgimage=""; +rssfeed_footer="off"; +rssfeed_footer_name="rss feed"; +rssfeed_footer_bgcolor="#fff"; +rssfeed_footer_color="#333"; +rssfeed_footer_bgimage=""; +rssfeed_item_title_length="50"; +rssfeed_item_title_color="#666"; +rssfeed_item_bgcolor="#fff"; +rssfeed_item_bgimage=""; +rssfeed_item_border_bottom="on"; +rssfeed_item_source_icon="off"; +rssfeed_item_date="on"; +rssfeed_item_description="on"; +rssfeed_item_description_length="120"; +rssfeed_item_description_color="#fff"; +rssfeed_item_description_link_color="#55a0ff"; +rssfeed_item_description_tag="on"; +rssfeed_no_items="0"; +rssfeed_cache = "d2784bb4425b8c06320755ef158eb796"; diff --git a/home/weather.js b/home/weather.js deleted file mode 100644 index b878a98..0000000 --- a/home/weather.js +++ /dev/null @@ -1,58 +0,0 @@ -$(document).ready(function () { - data = []; - navigator.geolocation.getCurrentPosition(positionSet, positionError); - if (data['location']['error'] == null) { - weatherCurrent(); - weatherForecast(); - } - else { - weatherError(); - } -}); - -function positionSet(position) { - data['location']['error'] = null; - data['location']['lat'] = position.coords.latitude; - data['location']['long'] = position.coords.longitude; -} - -function positionError(error) { - switch(error.code) { - case error.PERMISSION_DENIED: - data['location']['error'] = 'GEOLOCATION DENIED'; - break; - case error.POSITION_UNAVAILABLE: - data['location']['error'] = 'GEOLOCATION UNAVAILABLE'; - break; - case error.TIMEOUT: - data['location']['error'] = 'GEOLOCATION TIMEOUT'; - break; - case error.UNKNOWN_ERROR: - data['location']['error'] = 'GEOLOCATION UNKNOWN ERROR'; - break; - } -} - -function weatherCurrent() { - $.ajax({ - method: 'GET', - url: 'https://api.openweathermap.org/data/2.5/weather?lat=' + data['location']['lat'] + '&lon=' + data['location']['long'], - dataType: json, - crossDomain: true, - success: function (data) { - - }, - error: function (error) { - - } - }); - -} - -function weatherForecast() { - -} - -function weatherError() { - -}