Saturday, December 18, 2010

Import Delicious bookmarks to Evernote including tags

It is unfortunate to know that Yahoo is going to shutdown/transfer the awesome Delicious bookmarking service.

Evernote does not support direct import of bookmarks from delicious as it does with Google notebook.  I wrote this script to move my delicious bookmarks to evernote for my use.

It should be working for you as well, give a try without losing the tags.



Step 1: Backup your delicious bookmarks

If you are using unix/osx, fire up your terminal and run the command

curl https://USERNAME:PASSWORD@api.del.icio.us/v1/posts/all > backup.xml
replace the username and password with yours.





If you are running windows, open browser and hit the url

https://USERNAME:PASSWORD@api.del.icio.us/v1/posts/all
with your username and password. Please read the Update at the bottom of this post.

It will display the output as xml, save the file as XML.




Step 1.1: Accounts tied to Yahoo!

If your delicious account tied to Yahoo!, then please use the awesome http://deliciousxml.com/ to login and download your xml and proceed to step 2 below. My sincere thanks to Anonymous who gave me the link in the comments.


Step 2: Use Delicious-2-Evernote v2


Goto Delicious-2-Evernote v2 paste the contents of the .xml you just downloaded to the text box and hit the Evernote xml button.

Mac users (use v2.1) - http://jsdo.it/palaniraja/uphW/fullscreen
Windows users (use v2.2) - http://jsdo.it/palaniraja/aNtf/fullscreen

It will give you evernote xml in a textbook which you again need to copy and save it as delicious.enex (DO NOT forgot to change the extension as .enex)




Step 3: Import .enex with Evernote 

Create new notebook in your Evernote and import the file you had just created (delicious.enex)







Thats it. Enjoy Evernote service.

P.S: Code is available at jsdo.it, updates are welcome.



Update (Windows users):

It seems to be an issue with Windows version of Evernote with the output generated by the script. I'll test my delicious bookmarks with windows version and update soon.

Windows users please use this link

There are two issues with Windows version of Evernote as mentioned in the comments. I have fixed the following issue



the other one is due to special characters (that are not htmlentities) in the title.



The temporary fix is to open the .enex created in the process with Firefox and identify and replace the special chars manually (find all & replace all should do)



Fix is to select the encoding type as "UTF-8" aNotepad saves the file in ANSI as default. Kindly refer the img below. My sincere thanks to Florian on sharing the solution.




Good news: Code is available at GitHub for more easier way to submit/fix the code.

Tuesday, December 14, 2010

Idea Vault: When is that?

I guess like me there will be many people often confuse appointments/client calls due to timezone differences.

I am not talking about people who send/receive schedules from Outlook (or similar apps).

Trust me there are many number of appointments are fixed in a call or over IM. Eg., Your client msg you "9am Friday my time".

Yes, there are solutions available. My point is I think I've a simple way to solve it.

So how do I solve this now?

I use the fantastic gmail labs tool called "Sender Time Zone" which helps me to figure out his local time with timezone difference. Yes you can do this by viewing "show original message" as well.

And I Google for current time of my client timezone. And do math to find the time and off the record: I am not very good at math and need calc 99.999% of the time, unless it is an addition of 1 or multiples of 10 ;)

Now you know why I didn't work with MNC's IT companies as I have not cleared any of the aptitude exams after my college.

Other tools I use

  1. Recently I found a nice HTML5 app www.everytimezone.com which shows you most of the timezones and you can use the slider to align it any particular time of a timezone to find your local time.
  2. Google Calendar: Setup an Event in client timezone and Gcal view will let you know your local time.
  3. Wolframalpha comes very very close to my idea, but I still think my idea is better.  Wolframalpha is very slow, because it process your input to guess the best use-case match. It has to identify the inputs you provide are actually a time/date before even generating/computing the output.

My Version of this idea
















P.S:-

I had this idea with me for almost half a decade and I didn't take any action to bring it live like 99.99% of all my ideas. I am planning to publish all my ideas from my vault to web. I am not here to claim my ideas or copyrights. 

I guess some posts may help few people looking to learn by developing an idea. 

Monday, December 6, 2010

Pure Reader for Chrome

I love the theme of the Pure Reader for Safari (http://nadesign.net/safari/). I've ported the CSS as a userscript to use it with Google Chrome. Firefox need some css modification pls find the css here.

http://userscripts.org/scripts/show/92064

Sunday, December 5, 2010

Custom UISplitViewController now available on GitHub

I created this custom UISplitViewController as one of my iPad project required Split view for only one screen. The default UISplitViewController provided by Apple can only be added to UIWindow which means you can't use it with normal UINavigation based project with only one splitview screen.

You can add/remove UINavigationController and UISplitViewController from AppDelegate, but that doesn't help in giving you the smooth pushtoviewcontroller animation or the default navigation stack in order to go forward and backward.

https://github.com/palaniraja/cUISplitViewController