HTML::...okuWiki(3pm)

πŸ“¦
version 0.53 Β· 3 versions
, in debian bookworm, ubuntu jammy

✨ HTML::WikiConverter::DokuWiki β€” the NAME situation ✨

okay bestie, welcome to HTML::WikiConverter::DokuWiki πŸ’– β€” it's the Perl module that turns your HTML into DokuWiki markup. That's literally the whole job. It converts HTML ➑️ DokuWiki. No cap. πŸ¦‹

It lives in the HTML::...okuWiki(3pm) manual page (yes the title's abbreviated like that, it's a whole thing, don't worry about it πŸ’…).


🌈 SYNOPSIS 🌈

the vibes, in code form:

use HTML::WikiConverter;
my $wc = new HTML::WikiConverter( dialect => 'DokuWiki' );
print $wc->html2wiki( $html );

like. that's it. that's the whole ritual. ✨


πŸ’œ DESCRIPTION πŸ’œ

This module is the little treasure chest of rules for converting HTML into DokuWiki markup. πŸ“¦βœ¨

If you want the full usage tea β€” extra details, more context, the whole lore β€” go read HTML::WikiConverter. This page is just the DokuWiki-flavored part. 🫢


πŸŽ€ ATTRIBUTES πŸŽ€

So the HTML::WikiConverter constructor already recognizes a regular set of attributes, right? Well on top of that, this dialect also accepts these extra ones πŸ‘‡

πŸͺ camel_case πŸͺ

A boolean. It tells you whether CamelCase links are enabled in the target DokuWiki instance. 🧚

Turn CamelCase links on, and HTML like this:

<p><a href="/wiki:camelcase">CamelCase</a> links are fun.</p>

becomes this DokuWiki markup:

CamelCase links are fun.

Turn CamelCase links off β€” which is the default, btw, so if you don't say anything you get this β€” and that same HTML turns into:

[[CamelCase]] links are fun.

so basically: CamelCase on = bare word, CamelCase off (default) = wrapped in [[ ]]. iconic behavior honestly πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

David J. Iberri, "<diberri at cpan.org>" β€” the mastermind behind this whole thing, we stan πŸ«ΆπŸ’–


πŸ’€ BUGS πŸ’€

Found a bug? Got a feature request? Don't suffer in silence bestie, spill it 😭

Report it to "bug-html-wikiconverter-dokuwiki at rt.cpan.org", or slide in through the web interface at:

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter-DokuWiki>

and here's the deal: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. it's giving mutual commitment, it's giving healthy communication πŸ’…βœ¨


πŸ¦‹ SUPPORT πŸ¦‹

You can find the docs for this module with the perldoc command:

perldoc HTML::WikiConverter::DokuWiki

You can also go hunting for info at these spots πŸ‘‡

  • AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/HTML-WikiConverter-DokuWiki>

  • CPAN Ratings

<http://cpanratings.perl.org/d/HTML-WikiConverter-DokuWiki>

  • RT: CPAN's request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-DokuWiki>

  • Search CPAN

<http://search.cpan.org/dist/HTML-WikiConverter-DokuWiki>

go forth and lurk, queen 🌸


Copyright 2006 David J. Iberri, all rights reserved. 🫑

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–


okay that's the whole page!! this was HTML::...okuWiki(3pm) β€” a.k.a. HTML::WikiConverter::DokuWiki β€” and it came from perl v5.32.0, dated 2021-01-05. ty for reading bestie, go convert some HTML, ily, periodt πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from