Skip to content

feat(core&cli): Integrate HTML filter & Add article selection#7

Merged
Qubik65536 merged 5 commits intomainfrom
feat/integrate-html-filter
Jul 11, 2024
Merged

feat(core&cli): Integrate HTML filter & Add article selection#7
Qubik65536 merged 5 commits intomainfrom
feat/integrate-html-filter

Conversation

@Qubik65536
Copy link
Contributor

@Qubik65536 Qubik65536 commented Jul 10, 2024

This PR adds the following features:

  • On the core part:
    • Add the HTML filter functionality, so the HTML content from web page is filtered before being processed by the HTML to MD parser.
    • HTML filter rules for HTML parser is now retrieved from resources files. If no corresponding file is found, a default rule is used.
    • The template for translating articles is now retrieved from a resources file.
  • On the CLI part:
    • Use the new article selector (with the HTML filter) for article selection method.

closes #6

@Qubik65536 Qubik65536 requested a review from cysnies July 10, 2024 21:43
@Qubik65536 Qubik65536 self-assigned this Jul 10, 2024
@Qubik65536 Qubik65536 marked this pull request as draft July 10, 2024 21:47
Signed-off-by: Qian Qian "Cubik"‎ <cubik65536@cubik65536.top>
@Qubik65536 Qubik65536 changed the title feat(cli): Integrate HTML filter & Add article selection feat(core): Integrate HTML filter & Add article selection Jul 11, 2024
@Qubik65536 Qubik65536 changed the title feat(core): Integrate HTML filter & Add article selection feat(core&cli): Integrate HTML filter & Add article selection Jul 11, 2024
Signed-off-by: Qian Qian "Cubik"‎ <cubik65536@cubik65536.top>
Signed-off-by: Qian Qian "Cubik"‎ <cubik65536@cubik65536.top>
@Qubik65536 Qubik65536 marked this pull request as ready for review July 11, 2024 02:17
@Qubik65536 Qubik65536 removed the request for review from cysnies July 11, 2024 17:23
@Qubik65536 Qubik65536 merged commit 1945c92 into main Jul 11, 2024
@Qubik65536 Qubik65536 deleted the feat/integrate-html-filter branch July 11, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] 将 HTML 过滤集成到工具箱中

1 participant