diff --git a/handlers.c b/handlers.c index 5eb3eac..da3899a 100644 --- a/handlers.c +++ b/handlers.c @@ -53,7 +53,7 @@ atomLink(itemStruct *item, xmlNodePtr node) return 1; } - if (!rel) { + if (!rel || propIs(rel, "alternate")) { copyField(item, FIELD_LINK, (char *)href); } else if (propIs(rel, "enclosure")) { copyField(item, FIELD_ENCLOSURE_URL, (char *)href);