March 2, 2005

Announcing Word​Pre.​cio.us

As promised, I’ve released my custom script that imports del.​icio.us book­marks into your Word­Press blog.

Unlike other plu­g­ins, which dis­play your book­marks as a side­bar ele­ment, del.icio.us-to-WordPressWord​Pre.​cio.us actu­ally imports them as entries in your blog, so you can have some Kottke-​style inline remain­dered links.

It relies on Mag­pieRSS to parse any of your del.​icio.us RSS feeds, which means you can con­trol what book­marks get imported (some of the other plu­g­ins just yank in all your book­marks). I, for exam­ple, only pull in entries tagged with blog­marks.

The moti­va­tion behind this script was two-​fold:

  1. I liked Kottke’s way of pre­sent­ing links, and I couldn’t find any­thing like that for Word­Press.
  2. I thought it silly to have to post a blog­mark in both Word­Press and in del.​icio.us.

The plugin cre­ates a sane entry body out of each of your bookmarks/entries, plus it also attaches a blogmark_url and blogmark_description custom field to each post, so you can do all sorts of groovy things with your data.

The script both inserts, and updates book­marks from your del.​icio.us RSS feed, so del.​icio.us essen­tially becomes my blog­mark post­ing inter­face, which I think is cool.

The script is still in beta, seeing as I’m the only one using it at the moment, so please send any feed­back or trou­bles you might have to del2wp at heisel dot org.

So, with­out fur­ther ado, I give you del.icio.us-to-WordPressWord​Pre.​cio.us.

P.S. I’m all for a much cooler name, send sug­ges­tions to the same e-mail address or add it in a com­ment. Thanks to Michael Cald­well for this project’s name: Word​Pre.​cio.us.

Update: I fixed the broken down­load link on the projects page.

Update again: The script is only for Word­Press 1.5.

One more time: I just added a zip ver­sion of the script, for those with­out tar.gz capability.

Why not again: I’m look­ing for some help from folks expe­ri­enc­ing the time-​shift prob­lem with their blogmarks…

Last time: If you’d like to keep up with work on Word​Pre.​cio.us then sub­scribe to it’s RSS feed

Filed under: Projects, WordPre.cio.us

Next:
Previous:

Related

Comments

davidbisset.com » del.icio.us-to-WordPress – March 4, 2005 #

[...]

        davidbisset.com     

del.icio.us-to-WordPress heisel.org >Actually imports book­marks as entries in your blog, so you can have some Kottke-​style inlin [...]

John – March 5, 2005 #

I’m getting

Fatal error: Call to unde­fined func­tion: parse_w3cdtf() in /home/heschj/public_html/wp-content/del2wp/del2wp.lib.php on line 125

Chris – March 5, 2005 #

I should have clar­i­fied, del.icio.us-to-WordPress requires Word­Press 1.5. That fatal func­tion call is a 1.5 func­tion: parse_w3cdtf

N. – March 5, 2005 #

As for the cooler name, why not just “blogmarks?” It’s a lot easier to say than Del.icio.us-to-WordPress.

Michael Caldwell – March 5, 2005 #

Great script!

I dunno if it’s cooler, but how ’bout “WordPrecious.”

Chris – March 5, 2005 #

Hmmm…

Two good name suggestions.

I don’t want to name it blog­marks, as I think that’s a good gen­eral term for post­ing inter­est­ing links to your blog, regard­less of method/display.

But Word­Pre­cious is pretty damn cool. I think that’s its new name!

JD – March 5, 2005 #

Wow! Thanks! I was myself plan­ning to write some­thing similar.

JD

JD – March 5, 2005 #

I am unable to extract the zip file. Is zip file uploaded correctly?

JD

Ravi – March 5, 2005 #

More del.​icio.us tools at http://​pchere.​blogspot.​com/​2​0​0​5​/​0​2​/​a​b​s​o​l​u​t​e​l​y​-​d​e​l​i​c​i​o​u​s​-​c​o​m​p​l​e​t​e​-​t​o​o​l​.html

Chris – March 5, 2005 #

JD, the file isn’t a zip, it’s a gzipped-​compressed tar.

I just added a zip file of the script on the projects page, see if that works for you.

kris – March 5, 2005 #

hi there. thx for this. i’m trying to install. i get this error after upload­ing the file and trying to hit it.

Fatal error: Call to unde­fined func­tion: parse_w3cdtf() in /home/virtual/site191/fst/var/www/html/wp-content/plugins/del2wp.lib.php on line 125

do you know what the deal is? can ya help? thx!

kk+

Chris – March 5, 2005 #

Kris,

Are you using Word­Press 1.5? That func­tion, parse_w3cdtf() is a func­tion defined in wp-includes/rss-functions.php

If you are using Word­Press 1.5, make sure you’ve got your path to wp-config.php set up cor­rectly in del2wp.php. That func­tion is pulled into the name­space when wp-config.php is included.

If that’s all cor­rect, let me know and we can debug what’s happening…

Chris

bwana – March 5, 2005 #

hi. does this plugin work when my-hacks.php is being used? i’m get­ting this warn­ing when exe­cut­ing the page:

Warn­ing: session_start(): Cannot send ses­sion cache lim­iter – head­ers already sent (output started at del2wp.php:17) in my-hacks.php on line 19

I have a session_start(); state­ment in my my-hacks.php for another plugin i use.

thanks for a great idea for a plugin

  • bwana
Chris – March 5, 2005 #

Bwana,

Nope, there’s an errant white­space in the code that was caus­ing the car­riage return to be sent, and thus pre­vent send­ing any headers…

Try re-​downloading it and see if that helps.

Jack Cheng » WordPre.cio.us – March 6, 2005 #

[...] ” title=”Permanent Link: WordPre.cio.us”>Posted at 12:56 am in asides | heisel.org > Word​Pre.​cio.us thanks to this, my del.​icio.us links are now a part of the main blog and rs [...]

Meredith – March 6, 2005 #

Wow thanks for this! Just saved my coding life for an upcom­ing project. I’ll link you to it when it’s done :)

-M

seyd – March 6, 2005 #

Error: Fatal error: Call to unde­fined func­tion: parse_w3cdtf() in /home/.zachy/seyd/seyd.com/blog/del2wp.lib.php on line 125

Using WP 1.5 and path to wp-config.php is cor­rect. What’s wrong?

Rogier – March 6, 2005 #

Dif­fer­ent parse_w3cdtf error here:

Fatal error: Cannot rede­clare parse_w3cdtf() (pre­vi­ously declared in /Users/Rogier/Sites/hivemind/blog/wordprecious/del2wp.lib.php:8) in /Users/Rogier/Sites/magpierss-0.71.1/rss_utils.inc on line 25

Any tips? Using WP 1.5 and (obvi­ously) magpie 0.71.1

Chris – March 6, 2005 #

Rogier,

Try down­load­ing the file again… I dupli­cated the func­tion but gave it a new name and changed all ref­er­ences to it.

Chris

Rogier – March 6, 2005 #

Thanks, it works now!

Elaine – March 6, 2005 #

Very cool! How hard do you think it would be to have the entries go automag­i­cally into cat­e­gories with the same names as the sub­ject tags? (I’m think­ing about hack­ing it off of your plugin, but I’d be curi­ous to get your POV first.) Thanks. :)

Jeremy’s Little Corner Of The Web… » Blog Archive » Asides changes – March 7, 2005 #

[...] y didn’t have the time. If anyone’s inter­ested, this can be achieved using the Word​Pre.​cio.us plugin. There’s also an RSS feed. [...]

Chris – March 7, 2005 #

Elaine,

That’s a great idea. I think I want to sta­bi­lize 1.0 so I can remove the ‘beta’ label.

It won’t be too dif­fi­cult to accom­plish, but since it’ll require touch­ing the Blog­mark­Fac­tory and Word­Pres­sIm­porter classes, I’d prefer to save it for a ver­sion 1.1 release.

Obvi­ously, you’ve got Free­dom 0, with Word​Pre.​cio.us so I won’t stop you :-)

Tamara – March 7, 2005 #

Can you give us an exam­ple of how you for­mat­ted the links in your blog?

Jack – March 7, 2005 #

The del.​icio.us book­marks aren’t show­ing up in my blog for a full 5 hours… do I have to change the time zone offset somewhere?

Clark – March 7, 2005 #

As long as we are making requests like “del.icio.us tags categories” how about ditch­ing RSS for API. That way we could grab more than 30 deli­cious links. There is a limit when using del.​icio.us and RSS. See this post form the del.​icio.us mail­ing list! Wait­ing axoiusly lick­ing my chops for 1.1!!

Chris – March 8, 2005 #

Tamara,

I’ve posted the rel­e­vant theme code that con­trols my blog­mark dis­play

If you’d like to have a sim­i­lar presentation…

Chris – March 8, 2005 #

Jack,

You shouldn’t have to change any time­zone offsets… the Word­Press post based off your del.​icio.us book­mark should have the same time as the bookmark.

Look at the entry in Word­Press and the entry in del.​icio.us is there a time mis­match there?

Chris – March 8, 2005 #

Also, for those inter­ested in the devel­op­ment and future fea­tures of Word​Pre.​cio.us, I’ve got a roadmap page up, with com­ment­ing turned on.

So please file all fea­ture requests/comments to that page…

le blog à Ollie » WordPre.cio.us – June 22, 2005 #

[...] e.cio.us heisel.org >WordPre.cio.us est un bout de script (en ver­sion beta) réalisé par Chris Heisel et qui s& [...]

greg.chittim.net » Blog Archive » links for 2005-06-22 – June 22, 2005 #

[...] uality the QA blog for Mozilla (tags: blog _daily mozilla fire­fox qa soft­ware work) Word​Pre.​cio.us maybe I will inves­ti­gate using this instead of the slightly wonky Daily Blog Post­ing bu [...]

Join the Digirati » Blog Archive » Announcing WordPre.cio.us – June 23, 2005 #

[...] o.us A custom script that imports deli­cious book­marks into your Word­press blog Announc­ing Word​Pre.​cio.us This entry was posted on Wednes­day, [...]