Skip to content

[Bug] Mark as read not working on tag generated from scraped content #6788

@prank-arum

Description

@prank-arum

Describe the bug

I am scraping the site https://magdalene.substack.com/archive. Although it does have a feed, there is no way to differentiate between paid and free content so I have included the following:
xpath for finding news items: //div[@Class='portable-archive-list']/div/div/div/div
xpath for item tags: concat("#paid_is_", boolean(descendant::svg[contains(@Class, 'lucide lucide-lock ')]))
This assigns #paid_is_true to articles that are paid, and #paid_is_false to articles that are free. It works as expected.

If I search on #paid_is_true, or use it as a user query, the paid articles are found correctly. However, if I put the same tag in Mark as Read, all of the articles come through. Is there some way to generate a tag via scraping and have it searched on when loading articles?

To Reproduce

Input feed as described.

Screenshot 2024-09-08 at 8 00 35 AM
Screenshot 2024-09-08 at 8 01 31 AM
Screenshot 2024-09-08 at 8 02 07 AM
Screenshot 2024-09-08 at 8 02 39 AM

Expected behavior

Paid articles should be marked as read but they are not. Additionally, I have tired negating the #paid_is_false tag. This marks all as read, which seems to suggest that FreshRSS does not see these tags.

FreshRSS version

1.24.3

Environment information

  • Database version: [e.g. Mysql 5.7, SQLite]
  • PHP version: [e.g. PHP 8.1]
  • Installation type: [e.g. Docker, Docker image source, git, Yunohost]
    -Web server type: [e.g. Apache, nginx]
  • Device: [e.g. iPhone13]
  • OS: [e.g. Ubuntu 22.04, Win10, MacOS14]
  • Browser: [e.g. Firefox 124]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions