Skip to content

Ability to modify title and URL before saving #471

@lesensei

Description

@lesensei

Hi !
I'm trying to use wallabag in conjunction with a press archival service called Europress. This service stores the content of many articles from mainstream newspapers that is normally paywalled. It is legal and paid for, and simply avoids the need to subscribe to each and every newspaper. Its is used in many universities and libraries in France.
When saving an article from the Europress website, Wallabag gets the content without any issue. However, due to the way Europress serves content, the title and URL are always the same (respectively "Europress" and "https://europress-instance-url/Search/ResultMobile/0"). I can manually fix the title from the popup, but due to the URL thing, every article I "bag" overwrites the previous one :-(
The correct title and original URL are present in the page (div.titreArticle as CSS select for the div element containing the title, //a[starts-with(., 'Cet article est paru dans') as XPath for the link element that has the URL when language is set to french).
Would there be a way to allow a user of this extension to configure how the title and URL are retrieved with CSS and/or XPath values ? Or to allow one to manually change them before the article is "bagged" ? This would be amazing.
Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions