Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTML::WikiConverter::Normalizer 0.68

    Download button

    No screenshots available
    Downloads: 322  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David J. Iberri | More programs
    Perl Artistic License / FREE
    August 10th, 2006, 03:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::WikiConverter::Normalizer description

    A Perl module to convert CSS styles to (roughly) corresponding HTML.

    SYNOPSIS

    use HTML::TreeBuilder;
    use HTML::WikiConverter::Normalizer;

    my $tree = new HTML::TreeBuilder();
    $tree->parse( '

    text

    ' );

    my $norm = new HTML::WikiConverter::Normalizer();
    $norm->normalize($tree);

    # Roughly gives "

     

    text

    "
    print $tree->as_HTML();


    HTML::WikiConverter dialects convert HTML into wiki markup. Most (if not all) know nothing about CSS, nor do they take it into consideration when performing html-to-wiki conversion. But there is no good reason for, say, text not to be converted into '''text''' in the MediaWiki dialect. The same is true of other dialects, all of which should be able to use CSS information to produce wiki markup.

    The issue becomes especially problematic when considering that several WYSIWYG HTML editors (e.g. Mozilla's) produce this sort of CSS-heavy HTML. Prior to HTML::WikiConverter::Normalizer, this HTML would have been essentially converted to text, the CSS information having been ignored by HTML::WikiConverter.

    HTML::WikiConverter::Normalizer avoids this with a few simple transformations that convert CSS styles into HTML tags.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl module | convert CSS styles | CSS to HTML | WikiConverter | Perl | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM