Friday, May 26, 2017

System Maintenance

The Bookmark Ninja service will be temporarily unavailable due to system maintenance (storage upgrade).

The site will be down from 2:00 AM until 2:15 AM (EDT) on May 27, 2017.

Feel free to contact me if you have any questions:

Monday, May 15, 2017

New Feature: Find and Delete Duplicates

This is an old post. Please check the updated post about the improved version of the "Find and delete duplicates" tool here: Improved "Find and delete duplicates"

If you already have collected a large number of bookmarks, the chance is high that you have duplicated bookmarks. This new feature makes possible to find and delete the duplicates.

The feature is accessible on the My Bookmarks page (only in desktop browser, not available in mobile browser).
Make sure  "All" is selected and no tag is selected from the Available tags list. This is the default state when you click on the "My Bookmarks" menu and the page loads. The "Find Duplicates" menu will be accessible only when the these conditions are met.

Click on the "Find Duplicates" menu to bring up the "Find Duplicates" dialog.
A bookmark is considered to be duplicated if it has the same URL as another bookmark.
Enter a tag (default tag: "duplicate") that you want to add to one of each duplicate pairs.
For example if 5 bookmarks have the same URL then the tag will be added to 4 of them.
To start the search click on the "Find Duplicates" button.

When the search is complete, click on OK to close the message box then click on the "Duplicate" tag in the Available tags list to see the duplicated bookmarks.

Now select all the bookmarks (click on "Select All") and delete them (click on "Delete").
Before deleting the bookmarks always make sure that the "Duplicate" tag has been selected.

New Feature: Duplicate Bookmark

Use the Duplicate Bookmark feature if you want to access the same bookmark in different Categories. After you duplicated the bookmark move it to the desired Category.
It can be also useful if you want to create bookmarks manually by duplicating an existing bookmark and editing its url.

The feature is accessible on the Dashboard. To duplicate a bookmark, right mouse click on the bookmark and select "Duplicate" (on a mobile device tap and hold on the bookmark to active the context menu).

Monday, May 1, 2017

Emojis in the Website Titles

It's not very common, but website titles might contain emojis. Until now if you wanted to add such a webpage to Ninja, it failed, you couldn't add the link. Now it has been fixed.

Technical background

The Bookmark Ninja MySQL database is configured for UTF8 encoding, that supports a maximum of 3 bytes per character. Emojis are stored in 4 bytes. This was the problem.

An obvious fix could have been to change the encoding in the database from UTF8 to UTF8MB4, that supports a maximum of 4 bytes per character. But the performance of 4-byte UTF8MB4 is slower than for 3-byte UTF8. I didn't want to sacrifice the performance just because there are a very few websites out there with titles including emojis.
Instead I made a fix, that replaces the emojis in the title with a � character.