📜 ⬆️ ⬇️

Feed43 service now speaks Russian

So, it happened. Service Feed43 , the creator of which I am, is translated into Russian. In this connection, I would like to tell you more about the service itself, and also give an example of creating an RSS feed using it that monitors habrakarma.

Why do I need Feed43?

Our service allows you to create your own RSS feeds from any web pages. In fact, Feed43 provides a universal RSS-based API to any site, any page and even any part of the page.
All this is now possible.
')
Analogs / Competitors

Dapper, Yahoo Pipes, Feedity, FeedYes

The main advantages of Feed43 over competitors
  1. Flexible ability to customize the appearance of the channel based on regular expression analogs
  2. Convenient channel setup interface
  3. Registration is not required to create channels. The service can be used completely anonymously.
  4. Now the Russian interface

Creating an RSS feed using Feed43

Below, I'll show you how to create feeds using Feed43. I took the simplest example - monitoring karma (it's simple because it uses the official API of the site, which produces XML convenient for parsing).

So, on the website, click the button “Create a new channel” and see the first step of the channel creation wizard. Enter the address habrahabr.ru/api/profile/afan , click "Update" and get the following picture:

9.78 KB

So, XML is received, now we need to set up a template to extract the information we need. In our case, the template will be very simple:

<karma> {%} </karma> {*} <rating> {%} </rating>

{%} means any sequence of characters to be extracted; equivalent in regular expressions: (.*?)
{*} means any sequence of characters to skip; equivalent in regular expressions:. .*?


Click "Extract" and see the following:

9.42 KB

So, we received two parameters {% 1} and {% 2}, which we can now insert into the body of the news. Fill in the channel properties and click "View":

20.42 KB

Things are easy: we give the channel a more digestible name and get a link to the finished channel:

11.03 KB

Everything. We received the channel http://feed43.com/habrahabr-api-afan.xml , which can be used in any RSS-reader. This is how this channel will be displayed in Google Reader:

8.86 KB

Now, as soon as the channel text changes, Google Reader will display this as a new separate entry.

You can make a similar channel for yourself by specifying your username instead of " afan ".

Here is a service. Comments and wishes are welcome (you can leave them here or via the feedback form on the site. If someone is interested in the technical side of the project, then I can write more about it.

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


All Articles