Del.icio.us bookmarks imported

I’ve imported my bookmarks from del.icio.us using the excellent node_import.module for Drupal. I’ve got a special type for links called, unoriginally, “Links.” You can see the latest links that I’ve added in the “Latest Links” block on the right, and in the “Recently Updated Content” block, as they get added and sorted.

Right now, all the links are unsorted and not put into any categories, which means they won’t show in the “One Inch Frames” block on the right. I’ve just put the delicious tags into the “Notes” field, and will work on getting the links sorted slowly based on those tags, but I certainly don’t want to create a category for every unique tag that I had in del.icio.us. I also need a good way to present the links, other than the “One Inch Frames” block which shows them, as well as all other content, by category. I suppose the table view would be one way, but that shows them as one big list (with paging), not taking their categories into account. hmm.

Update: Well, I suppose I should have used the weblinks.module for the links, rather than an flexinode type, since there’s a linkattach.module for attaching the weblinks content type to other pieces of content. That’s really close to what I envision. So there’s at least a mass delete of the existing links and a re-import into weblinks in order. But linkattach.module needs some work; the API for taxonomy has changed as has weblinks.module since linkattach was written. Time to get into some custom coding and roll a patch. But I think this is what I want. It will basically allow me to keep links as separate content, but still keep them inline with the other content, the bulk of which will be my “wikinode” flexinode type where I’m keeping all of my reference material. So that means that the “Resources” section that accompanies most (should be all, I suppose) wikinode content should be generated from attached links.

Getting in to this some more, I’ve become very enamoured with some of the changes made to Drupal CVS, like freetagging of taxonomy and the collapsible form_group() areas. Really cleans the content entry forms up. It’s tempting to move this site off of the blog.al code base and onto a CVS HEAD installation somewhere.

Update #2: Yes, this is what I want. I’ve got linkattach.module patched, and am slowly converting my links from the custom flexinode type into the weblinks type. A little custom programming in my theme file overrides how linkattach shows links by default. Very, very nice. viva la Drupal. Still unsure about whether I should move to CVS or not, man, it’s nice. Drupal 4.7 is gonna rock.

Update #3: All of the “Resources” sections have been converted to weblinks and are now being shown by the linkattach.module. I am aware that the freelinks are showing up as raw code, I need to tweak my theme functions to run that stuff through the input formats. Minor problem. Now, it’s on to the del.icio.us bookmarks…

Tagged as:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.