Skip Menu |
 

This queue is for tickets about the HTML-WikiConverter-MediaWiki CPAN distribution.

Report information
The Basics
Id: 24602
Status: resolved
Worked: 20 min
Priority: 0/
Queue: HTML-WikiConverter-MediaWiki

People
Owner: diberri [...] cpan.org
Requestors: ghofman [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Converter ignores zeros in html tables
Date: Fri, 26 Jan 2007 09:01:03 -0800
To: bug-HTML-WikiConverter [...] rt.cpan.org
From: "gertjan hofman" <ghofman [...] gmail.com>
Download (untitled) / with headers
text/plain 1.2k
Hi there, I found your very handy html to wiki converter at http://diberri.dyndns.org/wikipedia/html2wiki/index.html Alas, after submitting a couple of things I realized it wasnt working properly. I create tables in Excel (there are several, unfortunate reasons for this). Excel exports to html. The result html file display fine in Firefox etc. I then open the file in Emacs and paste into your converter. It seems to work fine...except when entries in the table contain the number zero. The error is easy to reproduce - create a small table in Excel: 0 0 1 1 1 1 1 1 1 0 0 1 Export to HTML. Check the file and all elements will be there. Convert, and the resulting wiki code has lost all the cells containing zero: 1 1 1 1 1 1 1 1 will be the result. Is this fixable ? Cheers Gertjan -- ================================================== Gertjan Hofman ghofman [at] gmail.com gertjan.hofman [at] honeywell.com http://koslx1.triumf.ca/gertjan 604-982-3574 ================================================== -- ================================================== Gertjan Hofman ghofman [at] gmail.com gertjan.hofman [at] honeywell.com http://koslx1.triumf.ca/gertjan 604-982-3574 ==================================================
From: engarin [...] yandex.ru
Download (untitled) / with headers
text/plain 946b
Bugs Table: Zero "0" and Space " " !!! <b>HTML source</b>: <code> <table border=1 cellpadding=3 cellspacing=0 style="border: solid" width=700> <tr> <td class="pn-normal">space-></td> <td class="pn-normal"> </td> <td align="right" class="pn-normal">zero-></td> <td align="right" class="pn-normal">0</td> <td align="right" class="pn-normal">1</td> </tr> </table> </code> <b>Parsed HTML</b>: <code> <html> <body> <table border=1 cellpadding=3 cellspacing=0 style="border: solid" width=700> <tr> <td class="pn-normal">space-></td> <td align="right" class="pn-normal">zero-></td> <td align="right" class="pn-normal">1</td> </tr> </table> </body> </html> <b>MediaWiki markup</b>: <code> {| style="border: solid" width="700" border="1" cellpadding="3" | class="pn-normal" | space-> | class="pn-normal" align="right" | zero-> | class="pn-normal" align="right" | 1 |} </code>
Thanks for the report. Yes, this is a problem. It will be resolved in 0.63. -- Dave
Download (untitled) / with headers
text/plain 138b
This is fixed in the current release of H::WC and H::WC::MediaWiki. A formal test will be added to H::WC::MediaWiki 0.57. -- David Iberri
Subject: Re: [rt.cpan.org #24602] Converter ignores zeros in html tables
Date: Thu, 13 Nov 2008 20:37:52 -0800
To: bug-HTML-WikiConverter-MediaWiki [...] rt.cpan.org
From: "gertjan hofman" <ghofman [...] gmail.com>
Download (untitled) / with headers
text/plain 651b
boy, that was a while ago. But I still occasionally have a need for the converter, so it would be good if it worked. Thanks Gertjan On Thu, Nov 13, 2008 at 8:20 PM, David Iberri via RT < bug-HTML-WikiConverter-MediaWiki@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=24602 > > > This is fixed in the current release of H::WC and H::WC::MediaWiki. A > formal test will be added to H::WC::MediaWiki 0.57. > > -- David Iberri >
-- ================================================== Gertjan Hofman ghofman [at] gmail.com gertjan.hofman [at] honeywell.com 604-982-3574 ==================================================
Download (untitled) / with headers
text/plain 250b
On Thu Nov 13 23:38:28 2008, ghofman@gmail.com wrote: Show quoted text
> boy, that was a while ago.
True story. :-) Show quoted text
> But I still occasionally have a need for the > converter, so it would be good if it worked.
Well, great. Hope you find it useful. -- David Iberri


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.