Skip to content

Commit

Permalink
Tiny cleanup of sinatra app, and update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jschementi committed Jul 2, 2010
1 parent 874674d commit 2f01112
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
3 changes: 0 additions & 3 deletions 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
Expand Down
9 changes: 2 additions & 7 deletions app.rb
Expand Up @@ -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.