diff --git a/app/controllers/blogs_controller.rb b/app/controllers/blogs_controller.rb
deleted file mode 100644
index 4075e04ed..000000000
--- a/app/controllers/blogs_controller.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-class BlogsController < ApplicationController
- before_filter :authenticate_user!
-
- def index
- @blogs = Blog.paginate :page => params[:page], :order => 'created_at DESC'
-
- respond_to do |format|
- format.html
- end
-
-
- end
-
- def show
- @blog = Blog.find(params[:id])
- end
-
- def new
- @blog = Blog.new
- end
-
- def create
- @blog = current_user.post(:blog, params[:blog])
-
- if @blog.created_at
- flash[:notice] = "Successfully created blog."
- else
- render :action => 'new'
- end
- end
-
- def edit
- @blog = Blog.where(:id => params[:id]).first
- end
-
- def update
- @blog = Blog.where(:id => params[:id]).first
- if @blog.update_attributes(params[:blog])
- flash[:notice] = "Successfully updated blog."
- redirect_to @blog
- else
- render :action => 'edit'
- end
- end
-
- def destroy
- @blog = Blog.where(:id => params[:id]).first
- @blog.destroy
- flash[:notice] = "Successfully destroyed blog."
- redirect_to root_url
- end
-end
diff --git a/app/controllers/bookmarks_controller.rb b/app/controllers/bookmarks_controller.rb
deleted file mode 100644
index 5d9959732..000000000
--- a/app/controllers/bookmarks_controller.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-class BookmarksController < ApplicationController
- before_filter :authenticate_user!
-
- def index
- @bookmark = Bookmark.new
- @bookmarks = Bookmark.paginate :page => params[:page], :order => 'created_at DESC'
- end
-
- def edit
- @bookmark = Bookmark.first(:conditions => {:id => params[:id]})
- end
-
- def update
- @bookmark = Bookmark.first(:conditions => {:id => params[:id]})
- if @bookmark.update_attributes(params[:bookmark])
- flash[:notice] = "Successfully updated bookmark."
- redirect_to @bookmark
- else
- render :action => 'edit'
- end
- end
-
- def show
- @bookmark = Bookmark.first(:conditions => {:id => params[:id]})
- end
-
- def create
- @bookmark = current_user.post(:bookmark, params[:bookmark])
-
- if @bookmark.created_at
- flash[:notice] = "Successfully created bookmark."
- else
- render :action => 'new'
- end
- end
-
- def new
- @bookmark = Bookmark.new
- end
-
- def destroy
- @bookmark = Bookmark.first(:conditions => {:id => params[:id]})
- @bookmark.destroy
- flash[:notice] = "Successfully destroyed bookmark."
- redirect_to root_url
- end
-end
diff --git a/app/models/blog.rb b/app/models/blog.rb
deleted file mode 100644
index 3859cfa1e..000000000
--- a/app/models/blog.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-class Blog < Post
-
- xml_accessor :title
- xml_accessor :body
-
-
- key :title, String
- key :body, String
-
- validates_presence_of :title, :body
-
- def to_activity
- <<-XML
-
- http://activitystrea.ms/schema/1.0/post
- #{self.title}
- #{self.body}
-
- #{person.url}blogs/#{self.id}
- #{self.created_at.xmlschema}
- #{self.updated_at.xmlschema}
-
- XML
- end
-
-end
diff --git a/app/models/bookmark.rb b/app/models/bookmark.rb
deleted file mode 100644
index 677bfa126..000000000
--- a/app/models/bookmark.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-class Bookmark < Post
-
- xml_accessor :link
- xml_accessor :title
-
- key :link, String
- key :title, String
-
-
- validates_presence_of :link
-
- validates_format_of :link, :with =>
- /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/ix
-
- def to_activity
- <<-XML
-
- http://activitystrea.ms/schema/1.0/post
- #{self.title}
-
-
- #{person.url}bookmarks/#{self.id}
- #{self.created_at.xmlschema}
- #{self.updated_at.xmlschema}
-
- XML
- end
-
- def self.instantiate params
- params[:link] = clean_link(params[:link])
- create params
- end
-
- protected
- def self.clean_link link
- if link
- link = 'http://' + link unless link.match('https?://')
- link = link + '/' if link[-1,1] != '/'
- link
- end
- end
-end
diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml
deleted file mode 100644
index 0896d7d6b..000000000
--- a/app/views/blogs/_blog.html.haml
+++ /dev/null
@@ -1,20 +0,0 @@
-%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}
-
- = person_image_tag(post.person)
-
- %span.from
- = link_to post.person.real_name, post.person
- %b wrote a new blog post
- %br
- %b= post.title
- %br
- = raw post.body
- %div.time
- = link_to(how_long_ago(post), object_path(post))
- \--
- = link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
- = render "comments/comments", :post => post
-
- - if current_user.owns?(post)
- .destroy_link
- = link_to 'Delete', blog_path(post), :confirm => 'Are you sure?', :method => :delete, :remote=> true
diff --git a/app/views/blogs/_form.html.haml b/app/views/blogs/_form.html.haml
deleted file mode 100644
index 5628b602e..000000000
--- a/app/views/blogs/_form.html.haml
+++ /dev/null
@@ -1,12 +0,0 @@
-= form_for @blog do |f|
- = f.error_messages
- %p
- = f.label :title
- %br
- = f.text_field :title
- %p
- = f.label :body
- %br
- = f.text_area :body
- %p
- = f.submit
diff --git a/app/views/blogs/edit.html.haml b/app/views/blogs/edit.html.haml
deleted file mode 100644
index 29c83d2f4..000000000
--- a/app/views/blogs/edit.html.haml
+++ /dev/null
@@ -1,8 +0,0 @@
-- title "Edit Blog"
-
-= render 'form'
-
-%p
- = link_to "Show", blog_path(@blog)
- |
- = link_to "View All", blogs_path
diff --git a/app/views/blogs/index.html.haml b/app/views/blogs/index.html.haml
deleted file mode 100644
index 37cfb1f3c..000000000
--- a/app/views/blogs/index.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1= link_to "new blog", new_blog_path
-
-%ul#stream
- - for blog in @blogs
- = render "blog", :post => blog
-#pagination
- = will_paginate @blogs
diff --git a/app/views/blogs/new.html.haml b/app/views/blogs/new.html.haml
deleted file mode 100644
index 5f2a42ea5..000000000
--- a/app/views/blogs/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-- title "New Blog"
-
-= render 'form'
-
-%p= link_to "Back to List", blogs_path
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml
deleted file mode 100644
index 600ee6d0a..000000000
--- a/app/views/blogs/show.html.haml
+++ /dev/null
@@ -1,21 +0,0 @@
-- title "Blog"
-
-%p
- %strong Title:
- = @blog.title
-%p
- %strong Body:
- = raw @blog.body
-%p
- %strong Owner:
- = @blog.person.real_name
-
-%h4= "comments (#{@blog.comments.count})"
-= render "comments/comments", :post => @blog
-
-%p
- = link_to "Edit", edit_blog_path(@blog)
- |
- = link_to "Destroy", @blog, :confirm => 'Are you sure?', :method => :delete
- |
- = link_to "View All", blogs_path
diff --git a/app/views/bookmarks/_bookmark.html.haml b/app/views/bookmarks/_bookmark.html.haml
deleted file mode 100644
index 5df9f1a25..000000000
--- a/app/views/bookmarks/_bookmark.html.haml
+++ /dev/null
@@ -1,21 +0,0 @@
-%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}
-
- = person_image_tag(post.person)
-
- %span.from
- = link_to post.person.real_name, post.person
- %b shared a link
- %br
- = post.title
-
- %a{:href => "#{post.link}"}
- = post.link
- %div.time
- = link_to(how_long_ago(post), object_path(post))
- \--
- = link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
- = render "comments/comments", :post => post
-
- - if current_user.owns?(post)
- .destroy_link
- = link_to 'Delete', bookmark_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true
diff --git a/app/views/bookmarks/_form.html.haml b/app/views/bookmarks/_form.html.haml
deleted file mode 100644
index 0e02f4082..000000000
--- a/app/views/bookmarks/_form.html.haml
+++ /dev/null
@@ -1,12 +0,0 @@
-= form_for @bookmark do |f|
- = f.error_messages
- %p
- = f.label :title
- %br
- = f.text_field :title
- %p
- = f.label :link
- %br
- = f.text_field :link
- %p
- = f.submit
diff --git a/app/views/bookmarks/_new_bookmark.haml b/app/views/bookmarks/_new_bookmark.haml
deleted file mode 100644
index bea9ba7cc..000000000
--- a/app/views/bookmarks/_new_bookmark.haml
+++ /dev/null
@@ -1,6 +0,0 @@
-= form_for @bookmark, :remote => true do |f|
- = f.error_messages
- = f.text_field :title, :value => "Title"
- = f.text_field :link, :value => "URL"
- %p
- = f.submit
diff --git a/app/views/bookmarks/edit.html.haml b/app/views/bookmarks/edit.html.haml
deleted file mode 100644
index 11421d0ba..000000000
--- a/app/views/bookmarks/edit.html.haml
+++ /dev/null
@@ -1,8 +0,0 @@
-- title "Edit Bookmark"
-
-= render 'form'
-
-%p
- = link_to "Show", bookmark_path(@bookmark)
- |
- = link_to "View All", bookmarks_path
diff --git a/app/views/bookmarks/index.html.haml b/app/views/bookmarks/index.html.haml
deleted file mode 100644
index 321153e13..000000000
--- a/app/views/bookmarks/index.html.haml
+++ /dev/null
@@ -1,7 +0,0 @@
-%h1.big_text bookmarks
-= render "bookmarks/new_bookmark", :bookmark => @bookmark
-%ul#stream
- - for bookmark in @bookmarks
- = render "bookmark", :post => bookmark
-#pagination
- = will_paginate @bookmarks
diff --git a/app/views/bookmarks/new.html.haml b/app/views/bookmarks/new.html.haml
deleted file mode 100644
index f04d00838..000000000
--- a/app/views/bookmarks/new.html.haml
+++ /dev/null
@@ -1,5 +0,0 @@
-- title "New Bookmark"
-
-= render 'form'
-
-%p= link_to "Back to List", bookmarks_path
diff --git a/app/views/bookmarks/show.html.haml b/app/views/bookmarks/show.html.haml
deleted file mode 100644
index 8b0de0233..000000000
--- a/app/views/bookmarks/show.html.haml
+++ /dev/null
@@ -1,21 +0,0 @@
-- title "Bookmark"
-
-%p
- %strong Title:
- = @bookmark.title
-%p
- %strong Link:
- = link_to @bookmark.link
-%p
- %strong Owner:
- = @bookmark.person.real_name
-
-%h4= "comments (#{@bookmark.comments.count})"
-= render "comments/comments", :post => @bookmark
-
-%p
- = link_to "Edit", edit_bookmark_path(@bookmark)
- |
- = link_to "Destroy", @bookmark, :confirm => 'Are you sure?', :method => :delete
- |
- = link_to "View All", bookmarks_path
diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml
index bd43ee7cb..4d2f8640b 100644
--- a/app/views/shared/_publisher.haml
+++ b/app/views/shared/_publisher.haml
@@ -1,8 +1,4 @@
#publisher
- %ul#publisher_content_pickers
- %li{ :class => "status_message selected" }= link_to "status message", "#"
- %li{ :class => "bookmark" }= link_to "bookmark", "#"
- %li{ :class => "blog" }= link_to "blog", "#"
#publisher_form
= form_for StatusMessage.new, :remote => true do |f|
@@ -12,25 +8,3 @@
= f.text_area :message, :rows => 2
%p.right
= f.submit "Post"
-
- = form_for Bookmark.new, :remote => true do |f|
- = f.error_messages
- %p
- %label{:for => "bookmark_title"} Title
- = f.text_field :title
- %p
- %label{:for => "bookmark_link"} Link
- = f.text_field :link
- %p.right
- = f.submit "Post"
-
- = form_for Blog.new, :remote => true do |f|
- = f.error_messages
- %p
- %label{:for => "blog_title"} Title
- = f.text_field :title
- %p
- %label{:for => "blog_body"} Body
- = f.text_area :body
- %p.right
- = f.submit "Post"
diff --git a/config/routes.rb b/config/routes.rb
index 64dbb927e..d1bd38a5d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,4 @@
Diaspora::Application.routes.draw do |map|
- resources :blogs
- resources :bookmarks
resources :people
resources :users, :only => [:edit]
resources :status_messages