Add to NewsBlur Bookmarklet

| 1 minute | Comments

I’m using NewsBlur.com for consuming RSS feeds. It’s a pretty cool service, however adding a new RSS feed from iOS proves to be a challenge and the “goodies” section provides no way for easily adding a bookmarklet for adding a feed.

The iPad itself makes it difficult to add bookmarklets, so here’s a tutorial:

  1. Go to NewsBlur.com and add it as a bookmark (click on the box with the arrow in it next to the Safari address bar)
  2. We need to edit the new bookmark: tap the address bar in Safari and you should see all bookmarks, press and hold on the new “NewsBlur.com” bookmark that you created and then tap “Edit
  3. Change the title to something like: “Add to NewsBlur
  4. Copy/paste the following text for the URL:

For the desktop you can also drag this link:

Add to NewsBlur

Here is the unencoded Javascript for your inspection:

(function () {
  var l = document.location+'';
  if (l.match(/^(?:https?:[/]{2}(?:www.)?)?newsblur.com/i))
    alert("Cannot add NewsBlur.com itself!");
  else
    window.location = 'https://www.newsblur.com/?url=' + encodeURIComponent(l);
})();void(0)

Enjoy!

| Written by
Tags: Web