Summary
Add a “Post List Selector” mode to Fluent Reader’s built-in browser. This lets users manually define which part of a webpage contains article links. Fluent Reader then uses that selector to create and update a custom feed.
How it works
- User enters a URL in the built-in browser.
- Click a new button: Select Post List.
- The page enters a highlight mode that shows hover outlines for all containers.
- User clicks the container that represents the list of posts (e.g., a
<div>, <ul>, or <section>).
- Fluent Reader captures the container’s CSS selector.
- For future updates:
- Fetch the page.
- Query the saved selector.
- Extract all
<a> tags inside it.
- Convert relative links to absolute URLs.
- Use link text as the item title; optionally extract timestamps if available.
- Feed updates automatically on the same schedule as normal feeds.
Technical notes
- Store one selector per domain.
- Fallback behavior if the selector breaks: notify the user and allow re-selection.
- Optional quality improvement: detect repeated patterns to highlight likely containers during selection.
This post created by the help of Chatgpt.
Summary
Add a “Post List Selector” mode to Fluent Reader’s built-in browser. This lets users manually define which part of a webpage contains article links. Fluent Reader then uses that selector to create and update a custom feed.
How it works
<div>,<ul>, or<section>).<a>tags inside it.Technical notes
This post created by the help of Chatgpt.