I really like XRays way of storing things (flat, knowing which properties will be string or array, and the rels
list), and I wanted to use it with my reader. Having it as a library with #17 would be nice for that, but parsing the whole h-feed at once is also very handy.
So, allow me to brainstorm / share some h-feed stuff I learned with sebsel/lees :)
-
I agree: the feed does not have to have an author. It can be used to define the author of the posts, but the feed itself can be authorless. Example of a mixed h-feed is Twitter > HTML through Granary.
-
Different ways of presenting:
- have a
children
property with an array[]
of objects{}
that are just what you get indata
when you look at a h-entry - have a
children
property with an array[]
of urls, and put the h-entry objects inrefs
- have a
-
Some h-feeds have no
u-url
for each h-entry. This makes it impossible to do 2. in those cases. But it might not be XRays task to fix that.
(Same fordt-published
. A lot of WP sites havehentry
class with sometimes aarticle-name
class, but dropped the rest of the Mf1. Again: might not be XRays task to fix that.) -
what to do with
h-event
andh-review
within theh-feed
? -> have to detect type for each child. -
when looking at a home page (i.e. aaronparecki.com), I get a card, which is great because that's the main object on that page. But when using XRay in a /reader, I want a feed. Would be nice to have a
type=feed
parameter, to point XRay to the type of data you are looking for. - Once you go h-feed, should you go RSS/Atom?