Skip to content

jeromegamez/pinboard-for-newsblur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinboard for NewsBlur

A proxy for pinboard.in feeds that fixes the keywords to be displayed correctly in NewsBlur, periodically published to GitHub Pages, so that I can subscribe to this feed instead of the original one.

Accompanying blog post: After more than 20 years as a professional developer, I published my first dirty Open Source project

Why?

pinboard.in is the bookmarking site that I use to store links I find interesting, you can find mine at pinboard.in/u:jeromegamez.

I also use it for its Popular Bookmarks - I subscribed to its RSS feed in NewsBlur and always have something interesting to read when my other feeds are empty (they rarely are).

NewsBlur is my RSS-Reader of choice, mostly because of its Site Intelligence Trainer, with which I can hide posts with certain keywords in their title and/or tags.

Unfortunately, Pinboard makes that hard by not publishing Story Tags so that NewsBlur can understand them. Instead of showing tags one by one, all tags are combined to one long keyword.

For example, if I weren't interested in Halloween, I would hide feed items with the Halloween keyword like this:

Screenshot of a NewsBlur story about Halloween cookies on the 'The Kids Should See This' website

In pinboard, when a story has multiple keywords, they aren't displayed correctly. Instead of them being separated, all keywords are shown as if they were one single keyword.

Screenshot of a NewsBlur story showing all story keywords as one combined keyword]

How?

This is my attempt to, for once, make something that isn't super-polished - in fact this is super-dirty. Okay, I lied: I first did try to make this a polished project, but when I realized that working with RDF feeds is a royal pain, I decided to make it easy for myself: Regular Expressions.

You shouldn't parse XML or HTML with Regular Expressions.

Feeds

License

This project is published under the ISC License.