Save 10% on our Pro WordPress plugins with discount code: 10PERCENT
Web Dev + WordPress + Security

WordPress Plugin: Export Blogroll for del.icio.us

[ Image: Export Blogroll Icon ] Announcing an easy way to export and automatically format your WordPress Blogroll for import into your del.icio.us social bookmarking account! The Export Blogroll plugin for del.icio.us simplifies the process of transferring your WordPress Blogroll to your del.icio.us account. del.icio.us now provides a way to import multiple links with a single file, however the file must emulate a specific (browser bookmark) format. The Export Blogroll plugin automatically formats your exported Blogroll content according to del.icio.us batch-upload specifications, making it super-easy to import and share your links.

Update: The Export Blogroll plugin is discontinued as Delicious has changed and no longer accepts imports from anything other than Twitter or Facebook. It was fun while it lasted!</update>

Options

The Export Blogroll for del.icio.us plugin provides several export options:

  • Export by category
  • Export only private links
  • Export only public links
  • Export all links (default)

Based on your selection, the Export Blogroll plugin automatically formats the exported Blogroll links with the markup required by del.icio.us for its bookmark upload/import feature. You simply save the exported Blogroll contents to a file, upload to del.icio.us, and enjoy!

Usage

Using the Export Blogroll plugin is relatively easy:

  1. Backup your WordPress database (just in case).
  2. Download the Export Blogroll plugin (below).
  3. Open the file and choose an export option.
  4. Save the file to your plugins directory.
  5. Upload the file to server and activate.
  6. Go to “Options” → “Export Blogroll”.
  7. Copy the exported Blogroll and save.

That’s all there is to it, really. Once you save the exported Blogroll to a text file, login to your del.icio.us account and upload the file. For more information about the entire Blogroll export/import process, check out our recent article. You may also want to read about the motivation behind the Blogroll Export plugin.

Jeff Starr
About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
The Tao of WordPress: Become your own WordPress guru.

9 responses to “WordPress Plugin: Export Blogroll for del.icio.us”

  1. I guess delicious is technically a book mark site. However, it’s more of a place for cool tricks and tips. Simply dumping your blog roll there seems kind of spammy.

  2. Not if you keep it to yourself ;)

  3. Thanks for sharing the plugin, i was looking for this since some time.

  4. houserocker 2007/12/14 7:04 pm

    thanks so much for this great and easy to use tool!!!

  5. My pleasure — thanks for the feedback :)

  6. thanks for that plugin!!! Really need it and now got it!!

  7. Perishable 2008/01/01 9:27 am

    Happy to help — thank you for the comment!

  8. One suggestion to import the names of categories as tags, test in 2.7.1

    function export2delicious(){
    	global $wpdb;
    	$tp = $wpdb->prefix;
    	// Cabecera
    	$log = "";
    	$log.= "n";
    	$log.= "n";
    	$log.= "Bookmarksn";
    	$log.= "";
    	$sql = "SELECT DISTINCTROW wp_terms.name, wp_term_taxonomy.term_taxonomy_id
    			FROM (wp_term_taxonomy INNER JOIN wp_terms ON wp_term_taxonomy.term_id = wp_terms.term_id) INNER JOIN wp_term_relationships ON wp_term_taxonomy.term_taxonomy_id = wp_term_relationships.term_taxonomy_id
    			WHERE (((wp_term_taxonomy.taxonomy)='link_category')) 
    			ORDER BY wp_terms.name;";
    	$rst = $wpdb->get_results($sql);
    	if ( is_array($rst) ) {
    		foreach ( $rst as $row ) {
    			$tags = str_replace(" ",",",$row->name);
    			$tags = str_replace("&",",",$tags);
    			//$log  .= "Tax:{$row->term_taxonomy_id} | {$row->name} ";
    			$links = ddmcl_generate_category($row->term_taxonomy_id,$row->name,false);
    			$sql = "SELECT link_url, link_name, link_description, link_image 
    					FROM {$tp}links INNER JOIN {$tp}term_relationships ON {$tp}links.link_id = {$tp}term_relationships.object_id
    					WHERE wp_term_relationships.term_taxonomy_id='{$row->term_taxonomy_id}' AND link_visible = 'Y' ORDER BY link_name";
    			$rst2 = $wpdb->get_results($sql);
    			if ( is_array($rst2) ) {		
    				foreach ( $rst2 as $row2 ) {
    					$log.= "<a>link_url}" TAGS="$tags">{$row2->link_name}</a>n";
    					if ($row2->link_description  ""){
    						$log.= "{$row2->link_description}n";
    					}
    				}
    			}
    		}
    	}
    	$log.= "n";
    	$log.= "";
    	return $log;
    }
  9. Awesome, thanks Alex. I will consult with this code during the next update of my plugin. It may also help others who are looking to import the names of categories as tags. Thanks for posting :)

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
The Tao of WordPress: Master the art of WordPress.
Thoughts
Working on a new book :)
LinkedIn decided to replace my highly rated video course on WP security. For a limited time the course is still available to *logged-in* users via direct URL.
I enjoy listening to original Star Trek and NG episodes while working online. After a while it feels like I’m working on the ship as part of the crew, going on adventures.
New version (2.6) of my shapeSpace starter theme now available! Always free & open source for everyone :)
Finished updating all of my books! As always, book owners can download the latest versions for FREE :)
W3C.org has a very thorough list of accessibility tools.
The more you wake up, the more you realize you are still asleep.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.