Permalink
Browse files

Tiny cleanup of sinatra app, and update TODO

  • Loading branch information...
1 parent 874674d commit 2f011128734d2d40f6eb2fbc5edde8c7af3bb3b9 @jschementi committed Jul 2, 2010
Showing with 2 additions and 10 deletions.
  1. +0 −3 TODO
  2. +2 −7 app.rb
View
3 TODO
@@ -1,13 +1,10 @@
-URGENT Resume page (styled, PDF download, and plain-text download)
-URGENT Rewrite flickr and blog feeds to not depend on feed2js
URGENT Twitter feed (last thing I said right under my name?)
URGENT About page
URGENT more thought-through sitemap
URGENT footer
Sub-navigation
Project pages
My "public" appearances / talking events
-Move to sinatra, but generate the HTML files to disk for deployment
theme for only main page? Should I pick black or white?
Switch from blogger to a self-hosted blog engine, or make new blogger template
Maybe use the "J" navigation from a old 2004-2005 design
View
9 app.rb
@@ -6,18 +6,13 @@
require 'json'
get '/' do
- File.open('public/index.html'){|f| f.read}
+ File.open('public/index.html'){ |f| f.read }
end
get '/blog.rss' do
content_type 'application/xml', :charset => 'utf-8'
- url = URI.parse('http://feeds.feedburner.com/jimmy-thinking')
- res = Net::HTTP.start(url.host, url.port) {|http|
+ res = Net::HTTP.start("feeds.feedburner.com", 80) { |http|
http.get('/jimmy-thinking')
}
res.body
-end
-
-get '/flickr.rss' do
-
end

0 comments on commit 2f01112

Please sign in to comment.