[Bug 1654664] Review Request: perl-Authen-U2F - Authen::U2F Perl module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1654664



--- Comment #11 from Xavier Bachelot <xavier@xxxxxxxxxxxx> ---
Would a script massaging the HTML into a readable text file be ok ?

Something alike :
```
#!/usr/bin/perl

use warnings;
use strict;
use HTML::TreeBuilder;
use LWP::UserAgent;
use LWP::Protocol::https;
use HTML::Element;
use Text::Format;

my $tree =
HTML::TreeBuilder->new_from_url("https://developers.google.com/open-source/licenses/bsd";);
my $div = $tree->look_down(
  _tag => "div",
  class => qr/devsite-article-body.*/);
my $text = Text::Format->new (
  {
    columns    => 80,
    leftMargin => 0,
  }
);
foreach ( $div->descendants() ) { print $text->format( $_->as_text() )."\n"; };
$tree->delete;
```


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=1654664

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%201654664%23c11
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux