Mandag Morgen RSS – courtesy of Feed43

I consume through Google Reader.
I used to question the benefits of RSS.
That was then, and this is now.

And now I hardly read an online article unless it has somehow made its way through my RSS Reader. The work required to stay up to date otherwise is just too tedious.

Luckily it has now become customary to provide an RSS feeds along with ones content. But some, for some mysterious reason, still don’t follow this code of practice. For those rare instances Feed43 is a “free online service that converts any web page to an RSS feed on the fly.”

Using this service I created an RSS feed for respectively mm.dk and mandagmorgen.no:

The technical setup

I tried a couple of other services first. Some much easier to setup. But as fare as I could tell non of the other services could be customized (free of charge) to capture all the articles. On mm.dk The syntax for the top article and “ugens graf” is slightly different from the rest of the articles. And the URLs do not look similar enough. For those two reasons the other services came up short. If the page you want to convert is more uniform I would recommend using Ponyfish.

But using Feed43 was quite straight forward once you got the syntax: parameter and joker.

Global Search Pattern:

<div id="content">{%}<div id="sidebarLeft"

Item (repeatable) Search Pattern:

<h{*}><a href="{%}">{%}</a></h{*}>
{*}
<p class="content">{%}</p>

You use the Global Search Pattern to limit the area of interest, so to speak. In the case of mm.dk I toke advantage of the three column design. Limiting my search to the middle column. And you use Item Search Pattern to further limit so you left with only the parameters (title, url, describtion). The pattern is repeatedly searched for until there are no more matching items. I wanted the headings (<h1> and <h2>), and with the joker I was able to catch both. The paragraph was more straight forward because of the class name. And out comes:

{%1} = https://www.mm.dk/drejebog-til-et-dronningemord
{%2} = Drejebog til et&nbsp;dronningemord
{%3} = <strong>MM Perspektiv: </strong> <span>De danske medier</span> har med sine
       spinkelt underbyggede vedvarende angreb på Lene Espersen, undergravet
       deres&nbsp;troværdighed.

Beautiful.

Tags: , , , , , ,

Comments are closed.