anantn / slurp Goto Github PK
View Code? Open in Web Editor NEWImport del.icio.us bookmarks into Firefox 4
Import del.icio.us bookmarks into Firefox 4
Slurp is a Firefox extension built using the Add-on SDK that lets you import your del.icio.us bookmarks into Firefox 4 (Go get the latest beta: http://firefox.com/beta/). No restart required - just install the XPI and head to http://del.icio.us/ - you will be prompted with instructions. You can already export your bookmarks as a HTML file on del.icio.us, but importing that directly will not preserve your tags and notes. Slurp makes sure you don't lose data. Once your bookmarks have been imported to Firefox, you can securely synchronize them and take your data wherever you go; thanks to Firefox Sync (http://firefox.com/sync/). You'll find them in the 'del.icio.us' directory in your bookmarks menu. Give it a sip.
loading delicious.com, I get prompted to export my bookmarks, which I do and save the HTML file.
then what?
Doesn't work with new delicious.... it would be cool if the plugin just accept a exported files from delicious because the format didn't change.
Thanks!
But I found that added and modified date of bookmark items are wrong.
Sorry, I am not good at English to describe details.
But you can understand my code.
places.js @@ -32,6 +32,8 @@ try { - bmsvc.setItemDateAdded(bmkid, bmk['date']); + bmsvc.setItemDateAdded(bmkid, bmk['date'] * 1000000); if ('modified' in bmk) { - bmsvc.setItemLastModified(bmkid, bmk['modified']); - } + bmsvc.setItemLastModified(bmkid, bmk['modified'] * 1000000); + } else { + bmsvc.setItemLastModified(bmkid, bmk['date'] * 1000000); + } if ('desc' in bmk) {
Anyway, How did you make xpi from js?
(I have no experience in xpi development.)
looks like it won't import any delicious bookmark for which there is an existing firefox bookmark. I'm not sure this is the desirable action. the delicious item may be the the one you want to retain, shouldn't just discard them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.