Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.devel > #101506
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Newsgroups | linux.debian.devel |
| Subject | Re: Ideas for a dh-privacy-helper |
| Date | 2021-09-03 03:10 +0200 |
| Message-ID | <CT5Sq-6s4-9@gated-at.bofh.it> (permalink) |
| References | <CSXi9-Q3-1@gated-at.bofh.it> <CSXBw-1cI-7@gated-at.bofh.it> <CT2KT-4kc-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Quoting Bastien Roucariès (2021-09-02 23:45:30) > Perl is an option I implemented the privacy breach test in perl. The > problem is I prefer to drop a debian/package.privacy.xslt file in the > package instead of asking maintainer to code the removal of privacy > problems... > > Generic one could be coded in perl, but for the end side I need > something like xslt2 If you are asking how to sloppily parse HTML5 files from upstream source and XSLT2 files provided by package maintainers, then with perl you could use HTML::HTML5::Parser for the first and XML::Saxon::XSLT2 for the second. > > I am sure Python/Ruby/PHP/Haskell/Scheme/Rust/etc. folks will argue > > that their pet language is the right for the task as well: I think > > it will help the conversation if you clarify what you are open to > > and what are constraints for you. > > > > E.g. do you mean that it *must* be JavaScript when you mention that? > > Or are you perhaps asking if someone else wants to take over the > > challenge from you, so it does not matter how it is done? > > No it must no be javascript, but using V8 or something like browser > internal in order to fail to get a dom tree in case of broken html > file, like a browser do. But may be I am overconcious If you are asking how to parse HTML5 files like a web browser, then with perl you could use Gtk3::WebKit2 for that. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
Back to linux.debian.devel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Ideas for a dh-privacy-helper "Bastien Roucariès" <roucaries.bastien@gmail.com> - 2021-09-02 18:00 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-02 18:20 +0200
Re: Ideas for a dh-privacy-helper "Bastien Roucariès" <roucaries.bastien@gmail.com> - 2021-09-02 23:50 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-03 03:10 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 20:10 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-04 20:50 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 23:00 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-05 00:00 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-05 00:40 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 23:00 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-09 00:20 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-04 20:10 +0200
Re: Ideas for a dh-privacy-helper Paul Wise <pabs@debian.org> - 2021-09-03 03:30 +0200
csiph-web