March 2, 2005
Announcing WordPre.cio.us
As promised, I’ve released my custom script that imports del.icio.us bookmarks into your WordPress blog.
Unlike other plugins, which display your bookmarks as a sidebar element, del.icio.us-to-WordPressWordPre.cio.us actually imports them as entries in your blog, so you can have some Kottke-style inline remaindered links.
It relies on MagpieRSS to parse any of your del.icio.us RSS feeds, which means you can control what bookmarks get imported (some of the other plugins just yank in all your bookmarks). I, for example, only pull in entries tagged with blogmarks.
The motivation behind this script was two-fold:
- I liked Kottke’s way of presenting links, and I couldn’t find anything like that for WordPress.
- I thought it silly to have to post a blogmark in both WordPress and in del.icio.us.
The plugin creates 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 bookmarks from your del.icio.us RSS feed, so del.icio.us essentially becomes my blogmark posting interface, 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 feedback or troubles you might have to del2wp at heisel dot org.
So, without further ado, I give you del.icio.us-to-WordPressWordPre.cio.us.
P.S. I’m all for a much cooler name, send suggestions to the same e-mail address or add it in a comment. Thanks to Michael Caldwell for this project’s name: WordPre.cio.us.
Update: I fixed the broken download link on the projects page.
Update again: The script is only for WordPress 1.5.
One more time: I just added a zip version of the script, for those without tar.gz capability.
Why not again: I’m looking for some help from folks experiencing the time-shift problem with their blogmarks…
Last time: If you’d like to keep up with work on WordPre.cio.us then subscribe to it’s RSS feed
Filed under: Projects, WordPre.cio.us
Next: Looking for WordPrec.icio.us?
Previous: (Word)Pressed into service
Comments
davidbisset.com » del.icio.us-to-WordPress – March 4, 2005 #
[...]
del.icio.us-to-WordPress heisel.org >Actually imports bookmarks as entries in your blog, so you can have some Kottke-style inlin [...]
John – March 5, 2005 #
I’m getting
Fatal error: Call to undefined function: parse_w3cdtf() in /home/heschj/public_html/wp-content/del2wp/del2wp.lib.php on line 125
Chris – March 5, 2005 #
I should have clarified, del.icio.us-to-WordPress requires WordPress 1.5. That fatal function call is a 1.5 function: 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 blogmarks, as I think that’s a good general term for posting interesting links to your blog, regardless of method/display.
But WordPrecious is pretty damn cool. I think that’s its new name!
JD – March 5, 2005 #
Wow! Thanks! I was myself planning to write something 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/2005/02/absolutely-delicious-complete-tool.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 uploading the file and trying to hit it.
Fatal error: Call to undefined function: 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 WordPress 1.5? That function, parse_w3cdtf() is a function defined in wp-includes/rss-functions.php
If you are using WordPress 1.5, make sure you’ve got your path to wp-config.php set up correctly in del2wp.php. That function is pulled into the namespace when wp-config.php is included.
If that’s all correct, 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 getting this warning when executing the page:
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at del2wp.php:17) in my-hacks.php on line 19
I have a session_start(); statement in my my-hacks.php for another plugin i use.
thanks for a great idea for a plugin
Chris – March 5, 2005 #
Bwana,
Nope, there’s an errant whitespace in the code that was causing the carriage return to be sent, and thus prevent sending 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 > WordPre.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 upcoming project. I’ll link you to it when it’s done :)
-M
seyd – March 6, 2005 #
Error: Fatal error: Call to undefined function: 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 correct. What’s wrong?
Rogier – March 6, 2005 #
Different parse_w3cdtf error here:
Fatal error: Cannot redeclare parse_w3cdtf() (previously 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 (obviously) magpie 0.71.1
Chris – March 6, 2005 #
Rogier,
Try downloading the file again… I duplicated the function but gave it a new name and changed all references 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 automagically into categories with the same names as the subject tags? (I’m thinking about hacking it off of your plugin, but I’d be curious 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 interested, this can be achieved using the WordPre.cio.us plugin. There’s also an RSS feed. [...]
Chris – March 7, 2005 #
Elaine,
That’s a great idea. I think I want to stabilize 1.0 so I can remove the ‘beta’ label.
It won’t be too difficult to accomplish, but since it’ll require touching the BlogmarkFactory and WordPressImporter classes, I’d prefer to save it for a version 1.1 release.
Obviously, you’ve got Freedom 0, with WordPre.cio.us so I won’t stop you :-)
Tamara – March 7, 2005 #
Can you give us an example of how you formatted the links in your blog?
Jack – March 7, 2005 #
The del.icio.us bookmarks aren’t showing 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 ditching RSS for API. That way we could grab more than 30 delicious links. There is a limit when using del.icio.us and RSS. See this post form the del.icio.us mailing list! Waiting axoiusly licking my chops for 1.1!!
Chris – March 8, 2005 #
Tamara,
I’ve posted the relevant theme code that controls my blogmark display
If you’d like to have a similar presentation…
Chris – March 8, 2005 #
Jack,
You shouldn’t have to change any timezone offsets… the WordPress post based off your del.icio.us bookmark should have the same time as the bookmark.
Look at the entry in WordPress and the entry in del.icio.us is there a time mismatch there?
Chris – March 8, 2005 #
Also, for those interested in the development and future features of WordPre.cio.us, I’ve got a roadmap page up, with commenting turned on.
So please file all feature 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 version 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 firefox qa software work) WordPre.cio.us maybe I will investigate using this instead of the slightly wonky Daily Blog Posting bu [...]
Join the Digirati » Blog Archive » Announcing WordPre.cio.us – June 23, 2005 #
[...] o.us A custom script that imports delicious bookmarks into your Wordpress blog Announcing WordPre.cio.us This entry was posted on Wednesday, [...]