[WordPress] Pressmark: Bookmarks with WordPress CMS

Par défaut

Pressmark with a WordPress installation with all you need to start a social bookmarking website (like del.icio.us, sabros.us, …).


You can see a demo of Pressmark installation on bookmark.alexgirard.com

Pressmark includes WordPress Prologue theme, which has been used by WordPress team to have a twitter-like dev-blog.
Prologue include Gravatar support, so go to upload your avatar on gravatar.com to have a nicer output!

If you feel like adding your own modification to the code, you can clone/fork the project on Github: http://github.com/alx/pressmark/. All contributions will be welcomed!

Ideas to extend Pressmark:

  • Bookmarlet, Jabber bot for easy posting;
  • Import from bigger social-bookmark accounts (delicious, magnolia, …)
  • Cross-blogging to decentralized bookmark management in various blog spaces

Installation

  • Get Pressmark sources:
    • Download it from Github
    • If you’ve got git installed, clone it from Github (to easily get last updated)

      git clone git://github.com/alx/pressmark.git pressmark
  • Move the source to your webserver, ask a geek how to do it if you don’t know 🙂
  • WordPress configuration: copy ‘wp-config-sample.php‘ to ‘wp-config.php‘ and fill up the MySQL database information.
  • Access to the website where you’ve installed Pressmark, and begin the « 2 min. installation » from WordPress
  • Now that your website is ready, go in the administration pages and activate the following options:
    • In ‘Design‘: select ‘Prologue‘ theme;
    • In ‘Setting‘: select ‘Anyone can register‘ and set the ‘New User Default Role‘ to ‘Author‘ if you want your users to post links;
    • In ‘Plugins‘: activate ‘WP-OpenID‘ plugin

[Ruby] Delicious gem to play with bookmarks

Par défaut

One of my favorite tool is Del.icio.us, simply adding list of bookmarks to be shared with anybody, it’s easy enough to scrap a big list of HTML links to quickly make something more shareable, like Freeduino.org becoming http://del.icio.us/freeduino

So here is a quick ruby gem to play even more, just install it:

sudo gem install rdelicious

Then play with it:

require 'rubygems'
require 'rdelicious'

@delicious = Rdelicious.new("delicious_login", "delicious_password")

print "Correct login" if @delicious.is_connected?

@delicious.add("http://rdelicious.rubyforge.net/", "Rdelicious Gem")

if @delicious.url_exists?("http://rdelicious.rubyforge.net/")
	print "Url inserted into delicious"
end

@delicious.delete("http://rdelicious.rubyforge.net")

unless @delicious.url_exists?("http://rdelicious.rubyforge.net/")
	print "Url deleted from delicious"
end