KBD

Keith Devens .com

Tuesday, October 7, 2008 Flag waving
Men never do evil so completely and cheerfully as when they do it from religious conviction. – Blaise Pascal (attributed)
← LinksLinks →

Daily link icon Friday, January 16, 2004

del.icio.us

I just had to try out del.icio.us, especially while the username "keith" was still available. Just like I power my blogroll through blo.gs, I've wondered whether I could power my link-filled posts with del.icio.us, like Matthew does. For now, at least, there's no way to credit where you found a link, so that's a major showstopper for me.

If I were going to do it, the way I'd probably implement it would be to have a cron job run a script once an hour (or two or three). If it was the first time running that day, the script would check the last day's as well as the current day's del.icio.us archive for new links, and otherwise just check the current day's[1]. Posts made up of links from del.icio.us would have a unique name within the day, such as "del.icio.us/keith" (which would require me to update my blog software to allow slashes in my post names...), and if the content had changed from the last time it was retrieved, the post would be updated. And obviously the links from del.icio.us would be StructuredText-ized to work correctly in my weblog.

Footnotes:
[1]: or if, for whatever reason, it didn't run for a while, it should be robust enough to do something to keep track of the last day it checked and get everything until it was current

← LinksLinks →

Comments XML gif

Matthew Trentacoste (http://squarewithin.com) wrote:

You can put any commentary you want in the "extended" field. I choose not to display it just to make the list a little more uniform, but you could easily put html source in there to credit people. I'm not positive whether they strip HTML or not, but you could probably work something out. I obviously generate one post a day for my site (conveniently chosen to happen at 1 minute before midnight so the chances of missing a link posted in that timeframe is very small).

I use Movable Type, so I am considering making links into a side-blog type deal, so each one would have its own entry and generate the groups through templates. This would take a little work of looping through the recent ones to check if the URL had been seen before, but it wouldn't be that hard.

Just some thoughts.

∴ Matthew Trentacoste | 16-Jan-2004 4:23am est | http://squarewithin.com | #3763

Keith (http://keithdevens.com/) wrote:

I'm not positive whether they strip HTML or not, but you could probably work something out

You obviously didn't check out my del.icio.us page. That's the first thing I tested.

conveniently chosen to happen at 1 minute before midnight

Why not do it one minute after midnight and get the previous day's links?

Keith | 16-Jan-2004 4:31am est | http://keithdevens.com/ | #3764

M. Bean wrote:

hehe. I grabbed the username "matt" (though I usually go for "bean") and went poking around, but I have no idea what this thing is supposed to do. Maybe it's late and I'm not getting it, but I don't understand the site, and the about page isn't much help.

∴ M. Bean | 16-Jan-2004 6:20am est | #3765

l.m. orchard (http://www.decafbad.com/blog/) wrote:

Actually, I use del.icio.us now for all my Quick Links entries:

http://www.decafbad.com/blog/tech/delicious_quicklinks

Also, you may have already seen it, but the /about page at del.icio.us lists all kinds of hacks for getting links from there and into a blog. Fun stuff!

∴ l.m. orchard | 16-Jan-2004 7:14am est | http://www.decafbad.com/blog/ | #3766

Matthew Trentacoste (http://squarewithin.com) wrote:

Why not do it one minute after midnight and get the previous day's links?

That would work also. I was just lazy and did the minimal modifications. I'm insanely busy working on a paper for submittal for publication next week. I made some mistakes (including that) in the current iteration of my site which I plan to go back and fix after I am done with this and have slept a while.

∴ Matthew Trentacoste | 16-Jan-2004 4:58pm est | http://squarewithin.com | #3769

Keith (http://keithdevens.com/) wrote:

You know, I could use the "extended" field for HTML or even my variant of StructuredText, and work "via" links and such out that way. Though, it obviously wouldn't work right within the del.icio.us system itself (HTML or StructuredText would be displayed raw, for instance), so it may be inconsiderate to post text there that's inappropriate for the system.

Keith | 17-Jan-2004 6:46pm est | http://keithdevens.com/ | #3774

Revence 27 (http://www.revence27.faithweb.com) wrote:

Man, Keith, you must be seated there thinking: "I am the geek around..." but I would like to challenge you to a Geekhood contest. And all your buddies. I have this buzzer im my head going: He must be a Computer Science Student..." I am not a CS student, but I wanna beat you to tour trade.

Revence 27, the Hacker.

∴ Revence 27 | 24-Jan-2004 5:25am est | http://www.revence27.faithweb.com | #3804

Revence 27 (http://www.revence27.faithweb.com) wrote:

You know I used to think you are some grown-up guy! Until I saw your photo, that is.

∴ Revence 27 | 24-Jan-2004 5:30am est | http://www.revence27.faithweb.com | #3805

Ericka (http://eralon.com) wrote:

Keith isn't as young as he looks!

∴ Ericka | 24-Jan-2004 1:54pm est | http://eralon.com | #3807

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

new⇒Timesheet Calculator

Hadn't seen it before now, but my​company already uses a time​tracking prog...

Keith: Oct 7, 10:44am

Girls, please don't get breast implants

Hey everyone, 

I am new to this​blog and I have enjoyed reading all​your...

Sarah.M.: Oct 6, 9:45am

obout inc - ASP.NET controls

I like there components. I've got​it to work locally on my pc.​However I'm ...

Jeff: Oct 2, 4:43pm

Dumb substring behavior in C# (and Java)

Yes, the Substring function is not​helpful when you hit the length​problem,...

Mike Irving: Oct 2, 7:56am

Generated in about 0.106s.

(Used 8 db queries)

mobile phone