
HabroRSS Filter
Hello dear Habrauserov.
I want to bring to your attention a small online utility that is designed to more conveniently work with Habrahabr RSS feeds.
The fact is that after the Habr’s reform, options such as: “Feed topics from topic blogs”, “Feed topics from top” into the feed disappeared from the profile settings, as a result I had to subscribe to 3 channels right away. ( 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 for myself a small application that solved my problems. I wanted to boast in front of the community, and after putting gloss and adding multi-user functionality, the “ HabroRSS Filter ” appeared.
On the client side, jQuery and a bit of AJAX.
The generated RSS-XML is identical to the Habrahabr one, except that the header is changed, and in order to pass the validation (the Habrahabr xml does not pass it), we had to change the element to .
To receive a personal feed, Habrahabr RSS ID is required, 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 logged in using a unique URL that is issued when saving the settings.
If the “Filter” nevertheless breaks something, please let me know and Iwill remove it.
I welcome your suggestions, bug reports and criticism.
PS: So I tried when writing a post that I forgot to specify the link, here it is: HabroRSS Filter
UPD: That's what I thought, because 'I Habrahabr' is a closed blog - unregistered readers of the topic about Filtrator will not see it at all, and it would be very useful for them. Can it be transferred to some open blog for 1-2 pm, and then brought back?
I want to bring to your attention a small online utility that is designed to more conveniently work with Habrahabr RSS feeds.
Why is this needed:
The fact is that after the Habr’s reform, options such as: “Feed topics from topic blogs”, “Feed topics from top” into the feed disappeared from the profile settings, as a result I had to subscribe to 3 channels right away. ( 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 for myself a small application that solved my problems. I wanted to boast in front of the community, and after putting gloss and adding multi-user functionality, the “ HabroRSS Filter ” appeared.
What he can do and how useful it is:
- Make one of several Habr feeds, while deleting duplicates and sorting the list by date.
For the experiment, I subscribed to 2 feeds: Personal and Home in the RSS reader, and on them in the Filter. After 7 near New Year's Eve, in the RSS reader there is 156 news, in the Filtrator 126. - Remove news feed from a feed from a specific blog.
I remember how the Habr’s authors were offered to add the option “Receive all posts, with the exception of the xxx blog”. This can be configured in the Filter. By the way, I think this may be useful to Habr’s readers who do not have an account on the site, and accordingly they don’t have a personal RSS feed. With this option, they will be able to receive less unnecessary / uninteresting news. - Remove news items written by a specific author from the feed.
You on spirit do not take out someone on Habré? His posts cause you anger and aggression? Add his nickname to the ignore list and your RSS feed will not be desecrated. - Trim news that is longer than a certain length.
If you belong to those users who first write "Habrakat", then the next opportunity is for you: determine the maximum length of messages that fall into your feed - longer messages will be truncated.
Example:
I subscribed to RSS on the Main, Subject blogs and Personal feed. I added Podcasts to the list of ignored blogs (I don’t perceive information by ear), Design and several thematic blogs dedicated to technologies that are currently not interesting to me. I don’t ignore the authors.Technical part:
Server side in PHP. For parsing Habrahabr RSS feeds, I used a wonderful library: SimplePie (if there is any interest, I could write a review topic) .On the client side, jQuery and a bit of AJAX.
The generated RSS-XML is identical to the Habrahabr one, except that the header is changed, and in order to pass the validation (the Habrahabr xml does not pass it), we had to change the element to
To receive a personal feed, Habrahabr RSS ID is required, 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 logged in using a unique URL that is issued when saving the settings.
For Habroadministration:
I hope that by creating such a service I do not violate the rules of Habrahabr. I read the memo “About Bots” and set up the corresponding User-Agent. RSS caching is also included - a request for a unique GET is sent no more than once every 5 minutes. I’m not going to get any benefits from the service and promise not to insert ads.If the “Filter” nevertheless breaks something, please let me know and I
I welcome your suggestions, bug reports and criticism.
PS: So I tried when writing a post that I forgot to specify the link, here it is: HabroRSS Filter
UPD: That's what I thought, because 'I Habrahabr' is a closed blog - unregistered readers of the topic about Filtrator will not see it at all, and it would be very useful for them. Can it be transferred to some open blog for 1-2 pm, and then brought back?