juust ~ php oddities

Unordered list of one element
  • rss
  • begin
  • about
    • vcard
    • WTF is BroJesus
  • php scripts
    • flickr wp widget
    • google multi key serp tool, php script
    • gwt plugin
  • php classes
    • php pagerank class
    • fibonacci class
    • robots.txt parser php class
  • serp
    • serp dashboard wordpress plugin
  • services

pressmark – the social bookmarking fork of wordpress

juust | 25/09/2008

Pressmark :
a 5 minute install social bookmarking website : go check it out on the authors site, or my new subdomain pressmark install).

Why Pressmark ? Because its a social bookmarking fork on Wordpress.

I tried Pligg and I just sat there thinking “this is horrible, I want my Wordpress backend!”. And after scouting around what do I find : Pressmark, a wordpress fork. With Pressmark I get the Wordpress backend and all my favorite plugins and all these thingies I love about Wordpress as CMS, just now for a social bookmarking site.

The strong point is the use of OpenId, where a URL pointing to either a blog or website is your ‘identity’ on the net. If sites use an OpenID plugin your entire profile is readily available (name, email, etc.) on every blog or form you care to place your comments.

OpenID lowers user frustration by letting users have control of their login.

For geeks, OpenId is an open, decentralized, free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing URIs into an account which can be used at sites which support OpenID logins.

OpenID is still in the adoption phase and is becoming more and more popular, as large organizations like AOL, Microsoft, Sun, Novell, etc. begin to accept and provide OpenIDs. Today it is estimated that there are over 160-million OpenID enabled URIs with nearly ten-thousand sites supporting OpenID logins.

In Pressmark, by using a ’submit’ bookmarklet to drag on your browser bar, you can enter any site bookmark into your author’s page with 2 clicks.

Fast, sweet.

Sadly in the current pressmark download there is one function missing which causes a code break in the index.php (I hope the author fixes it in the download), causing it to show only an entry form for bookmarks as front-page and leaves you to figure out what the hell the package is about. If you downloaded it and get the “prologue_get_avatar() is missing” error on your front page, add this function in the themes ‘function.php’ file :

  1. function prologue_get_avatar( $wpcom_user_id, $email, $size, $rating = '', $default = 'http://s.wordpress.com/i/mu.gif' ) {
  2.  if( !empty( $wpcom_user_id ) && $wpcom_user_id !== false && function_exists( 'get_avatar' ) ) {
  3.   return get_avatar( $wpcom_user_id, $size );
  4.  }
  5.  elseif( !empty( $email ) && $email !== false ) {
  6.   $default = urlencode( $default );
  7.  
  8.   $out = 'http://www.gravatar.com/avatar.php?gravatar_id=';
  9.   $out .= md5( $email );
  10.   $out .= "&size={$size}";
  11.   $out .= "&default={$default}";
  12.  
  13.   if( !empty( $rating ) ) {
  14.    $out .= "&rating={$rating}";
  15.   }
  16.  
  17.   return "<img alt='' src='{$out}' class='avatar avatar-{$size}' height='{$size}' width='{$size}' />";
  18.  }
  19.  else {
  20.   return "<img alt='' src='{$default}' />";
  21.  }
  22. }

…or sooner grab it from automattic svn, bottom of the file.
(cutting and pasting code from blogs can cause problems with quotes and html markup in php code fragments).

After that it renders a proper index page.

Ofcourse the main advantage : wordpress is a seo killer, nothing performs in google as wordpress does, so a social bookmarking site with a wordpress frame is gonna be a strong competitor for the smaller site segment. It won’t outperform Technorati, but normal people don’t usually want to start Technorati-II, a small well performing easy to maintain bookmarking site will do for most of us :)

[Post to Twitter] Tweet This  [Post to Plurk] Plurk This  [Post to Yahoo Buzz] Buzz This  [Post to Delicious] Delicious This  [Post to Reddit] Reddit This 

Categories
links, seo, wordpress
Tags
links, php, wordpress
Comments rss
Comments rss
Trackback
Trackback

« serp tool 2008 seo tricks : old wine in new bags… »

4 Responses to “pressmark – the social bookmarking fork of wordpress”

  1. Alex says:
    11/10/2008 at 12:35 am

    Thanks for your post, I’ve just corrected the bug you mentionned ;)

    Reply
  2. mupet says:
    13/05/2009 at 8:45 pm

    I same with you, I have tryng to install plig and swcms, but both cms is hard to configure, because i dont realy understand about smarty. I thing with wordpress backend make pressmark more configurable

    Reply
    • juust says:
      14/05/2009 at 12:42 am

      I tried Pligg as well, and arrived at the same conclusion :)

      Reply
  3. The War Room: a paratrooper's personal thinktank says:
    02/08/2009 at 7:02 pm

    [...] » pressmark – the social bookmarking fork of wordpress Filed in blogging. pressmark install via juust ~ php oddities » pressmark – the social bookmarking fork of wordpress. No [...]

    Reply

Leave a Reply

Click here to cancel reply.

Recent Posts

  • p2p with wordpress xml-rpc
  • Tweets on Google’s frontpage
  • happy new year
  • metaWeblog.newPost posting to Wordpress from Word
  • IE is retarded

click me!
rss
Comments rss
Blog Directory
Web Developement Blogs - BlogCatalog Blog Directory
Listed in LS Blogs the Blog Directory and Blog Search Engine
Blog Flux Directory
joopita.com free web directory and search engine
design by jide
sitemap
8227 confirmed spam kills