📜 ⬆️ ⬇️

HabroRSS Filter

Hello dear users.
I want to bring to your attention a small online utility that is designed for more convenient work with Habrahabr's RSS feeds.

Why do you need it:


The fact is that after Habr's reform, from the profile settings, such options as: “Slip topics from thematic blogs into the ribbon”, “Slip topics from the ribbon into the ribbon” disappeared, as a result I had to subscribe to 3 channels at once. ( I already wrote about this in more detail: http://kapustos.habrahabr.ru/blog/45249/ ). It was not possible to solve the problem using Yahoo Pipes and I wrote a small application for myself that solved my problems. I wanted to boast in front of the community, and after polishing and adding multi-user functionality, the HabroRSS Filter appeared.

What he can do and how useful it is:




Example:

I subscribed to RSS at Home, Thematic Blogs and Personal Feed. I added Podcasts to the list of ignored blogs (I don’t perceive it by ear), Design and several thematic blogs devoted to technologies that are not interesting to me at the moment. I do not ignore the authors.

Technical part:

PHP server side. For parsing RSS feeds of Habrahabr I used a wonderful library: SimplePie (if there is interest, I could write a survey topic) .
On the client side, jQuery and some AJAX.
The generated RSS-XML is identical to Habrahabrovsky, except that the title was changed, and in order to pass the validation (Habrahabrovsky xml did not pass it), we had to change the element to <dc: creator> </ dc: creator>.
To get a personal feed, you need Habrahabr RSS ID, I think that it does not provide secret information, if I'm wrong, please write.
I decided that authorization by type: “login: password” is too much, so users are authorized using a unique URL, which is issued when saving settings.

For habroadministration:

I hope by creating such a service I do not break the rules of Habrahabr. I read the “About Bots” memo and set the corresponding User-Agent. Also included is caching an RSS request for a unique GET sent no more than once every 5 minutes. I’m not going to get any benefit from the service and I promise not to insert advertising.
If the “Filter” still breaks something, please let me know and I will delete it.

I will be glad to your suggestions, error messages and criticism.

PS: I tried so hard when writing a post that I forgot to specify a link, here it is: HabroRSS Filter

UPD: I thought this, because 'I Habrahabr' is a closed blog - unregistered readers will not see the topic about the Filter in general, and he would have been very useful to them. Can it be moved to some open blog for 1-2 evenings and then returned back?

Source: https://habr.com/ru/post/48281/


All Articles