Permalink
Browse files

Add a couple more comments

  • Loading branch information...
1 parent d09f110 commit 9e567dc3d0c6cb960f5d7ef0ec2e5dc28f22d25d @gfontenot committed Feb 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 wishboard.rb
View
@@ -18,6 +18,7 @@
# Render the user's content based on the username supplied
get '/:user/?*' do |user, filter_tags|
+ # Set up our markdown processor for later
@markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, :autolink => true)
# Build the base title. We will add tag info to it later
@@ -63,6 +64,7 @@ def get_json_content(user, filter_tags)
end
end
+ # Get the data from the API
data = Net::HTTP.get_response(URI.parse(url)).body
# If the data is empty, the user doesn't exist on Pinboard,

0 comments on commit 9e567dc

Please sign in to comment.