Many people store (and view) bookmarks in a DEVONthink database. Often these have the generic bookmark icon which makes it more difficult to visually identify the site they’re from. However, with a little automation, you can use the site’s favicon.
If you have existing bookmarks, you can use a batch process to select and update their thumbnails to a favicon.
- Select your database in the Navigate sidebar. Then create a new local smart group via Data > New > Smart Group, with a criterion Kind is Bookmark.
- Double-click the smart group in the item list to show all the matches.
- Select one or more bookmarks. If there are hundreds of them (or more), it’s best to select smaller batches, e.g., 50 or so, as this process has to make a query for the favicon for each bookmark.
- Choose Tools > Batch Process > Batch Process or press ⌃⌘B.
- Press the plus (+) button to create a new configuration.
- Set the action to: Apply Script > External > Add Favicons and press Apply.
If you’d like to use the favicon for future bookmarks, you can create a smart rule.
- Select your database in the Navigate sidebar. At the bottom of the sidebar, press the plus (+) button and choose New Smart Rule.
- The Search in popup will target the current database. You can change this to Databases but make sure you want this to affect all bookmarks added to all databases before you do.
- Add criteria: Kind is Bookmark and Item does not contain Thumbnail.
- Add the On Import event trigger.
- Set the Apply Script > External > Add Favicons action and press OK.
Add a bookmark to the database and the smart rule will attempt to change the thumbnail to the site’s favicon. But note: Not every site will return its favicon so this isn’t a 100% solution.
