FreederTeam / Freeder

An easy-to-use free feed reader
Other
5 stars 1 forks source link

Handle h-entries #32

Open eliemichel opened 9 years ago

eliemichel commented 9 years ago

h-entries are another way of web syndication. This is in particular used by IndieWeb so it should be handled by Freeder!

tmos commented 9 years ago

Is it a format like RSS, ATOM, etc. ?

eliemichel commented 9 years ago

In some way yes, in some other no. ^^ It is a micro-format embedded inside a page.

Phyks commented 9 years ago

http://microformats.org/wiki/h-entry

@eliemichel :+1:

eliemichel commented 9 years ago

The link was in the first post. ;) Example websites using h-entries:

Phyks commented 9 years ago

Oups, I did not get it in the mail notification :/ My bad.

This imposes to parse the blog main HTML code however, no ?

eliemichel commented 9 years ago

Yep I'll start testing about that. I may start by using xslt and try to avoid using it after. If I can't, it will be an additionnal feature.

eliemichel commented 9 years ago

Acutally I should have said h-feed.

Phyks commented 9 years ago

Not sure this code is enough, but it's nice and looks quite small: https://github.com/indieweb/php-mf2.

And as far as I saw, it only uses the DOMDocument class and no XSLT.