Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeromegamez/pinboard-for-newsblur

Fixing pinboard.in keywords to be displayed correctly in NewsBlur
https://github.com/jeromegamez/pinboard-for-newsblur

newsblur php pinboard rdf

Last synced: 3 months ago
JSON representation

Fixing pinboard.in keywords to be displayed correctly in NewsBlur

Awesome Lists containing this project

README

        

# 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][dev]_

## Why?

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

I also use it for its [Popular Bookmarks][popular] - I subscribed to its [RSS feed][rss] in
[NewsBlur][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](tksst-halloween)

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](stack-overflow).

## Feeds

* Pinboard Popular
* Source: https://feeds.pinboard.in/rss/popular/
* NewsBlured: https://jeromegamez.github.io/pinboard-for-newsblur/popular.xml

## License

This project is published under the [ISC License](LICENSE).

[dev]: https://dev.to/jeromegamez/after-more-then-20-years-i-published-my-first-dirty-project-1amn
[pinboard]: https://pinboard.in
[mine]: https://pinboard.in/u:jeromegamez
[popular]: https://pinboard.in/popular/
[rss]: http://feeds.pinboard.in/rss/popular/
[newsblur]: https://newsblur.com
[tksst-halloween]: https://thekidshouldseethis.com/post/decorating-20-different-halloween-cookies-with-royal-icing
[stack-overflow]: https://stackoverflow.com/a/1732454/284325