Parse multiple articles on one page #2

Closed
opened 2024-03-15 20:29:40 +00:00 by yequari · 1 comment
Owner

This is a requested feature. For pages with multiple <article> elements, each article should be parsed as it's own item, rather than just the first one. There are two cases to support:

  1. An aggregate page, such as a blog page, with each article being a preview of another page which is linked. In this case the feed generator should try to find a link to the post itself, rather than using the aggregate page as the URL.
  2. A page containing multiple, non-hyperlinked articles, such as a site update log. Each article should be a separate item, but the URL will be the same for each. Perhaps the URL can include a section (like /updates.html#Mar15, for example)
This is a requested feature. For pages with multiple `<article>` elements, each article should be parsed as it's own item, rather than just the first one. There are two cases to support: 1. An aggregate page, such as a blog page, with each article being a preview of another page which is linked. In this case the feed generator should try to find a link to the post itself, rather than using the aggregate page as the URL. 2. A page containing multiple, non-hyperlinked articles, such as a site update log. Each article should be a separate item, but the URL will be the same for each. Perhaps the URL can include a section (like /updates.html#Mar15, for example)
Author
Owner

Implemented in #5

Implemented in https://git.32bit.cafe/yequari/webweav.ing/pulls/5
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: yequari/webweav.ing#2
No description provided.