You are not logged in.
Hi!
I want to change my csv blinklist exported data to a html bookmarks format (to import it to delicious)
I installed ruby, and used this script: http://rubenlaguna.com/wp/2010/01/03/mi … v-to-html/
but it shows this error:
$ ruby change.rub
/usr/lib/ruby/1.9.1/csv.rb:1329:in `initialize': can't convert String into Integer (TypeError)
from /usr/lib/ruby/1.9.1/csv.rb:1329:in `open'
from /usr/lib/ruby/1.9.1/csv.rb:1329:in `open'
from change.rub:18:in `block in <main>'
from change.rub:6:in `open'
from change.rub:6:in `<main>'
the csv file looks like this:
http://pastebin.ca/1737483
any idea what is wrong?
friends, that do not uses arch, tested it and it worked in their machines...
Last edited by luuuciano (2010-01-04 19:15:35)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
Hi, the problem is that Arch Linux uses the newer Ruby 1.9.x version which is incompatible with that script. I have tried to fix the script for you, it seems to work but I don't even know what delicious is so you'll have to just try it and see
http://pastebin.ca/1737706
Offline
wow, thanks a lot Bralkein!
I have changed it a bit, to include the description field
http://pastebin.ca/1737736
Then I have tested it importing the bookmarks.html to delicious and it works!
thanks a lot!
now I can save all my blinks (blinklist service is dying)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline