Bug 513998
Summary: | Review Request: html2txt - Produces a text-only file from an HTML file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hugo Cisneiros <hugo> |
Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | bruno, fedora-package-review, hugo, itamar, notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-07-28 19:48:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 485401 |
Description
Hugo Cisneiros
2009-07-27 15:35:23 UTC
Koji scratch build on dist-f11: http://koji.fedoraproject.org/koji/taskinfo?taskID=1541252 html2txt doesn't seem to be a very good tool for converting html to plain text. Could you use some other tool that is already in Fedora to do that? lynx will do it, but there are probably other tools that could do it as well. You can test "lynx -force_html -dump" and see if it does what you need. There's also html2text, already in Fedora. I could also use sed to do it, but since the KyaPanel (goal) upstream does not use it in the current version, I can't create a package for it. For this, one question: what do you think of creating a patch for not using this tool on the main package, even when upstream didn't use the patch? I ask this because I'll sure push a patch like that to him in the future :) If using a patch is a good thing, I'll just dump this package. I think the typical solution for this kind of thing is to have a way to configure it at run time. Either read a file (global and/or local) and/or look at an environment variable that says what command to use to change html to plain text. There should also be a fallback. The fallback is the only thing you would need to change for Fedora if you can get the general scheme upstreamed. Ok, since nobody wants this package included, I'll dump it and use another approach. If anyone changes opinion, re-open ticket. Thanks. |