Skip Menu |

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

Report information
The Basics
Id: 72858
Status: open
Priority: 0/
Queue: HTML-WikiConverter-Confluence

People
Owner: Nobody in particular
Requestors: chrisr [...] ca.ibm.com
Cc:
AdminCc:

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



Subject: problems converting table html to confluence wiki markup
I am running perl on windows XP, version 5.10.1 . I used PPM to install HTML::WikiConverter (.68) as well as HTML::WikiConverter::Confluence (.01) . I am trying to use the tool to convert some generated HTML into confluence wiki markup. Here is an examples of the html: <table border='1'> <tr> <td bgcolor=#98FB98>Subject:</td> <td colspan='2' bgcolor=#98FB98>SDI IMCS ClearQuest Schema Upgrade and Outage</td> <tr> <td>Audience:</td> <td colspan='2'>All CQ users of the ClearQuest Common Schema databases (wsdbu,idsdb,ecmdb,ipsdb,imit)</td> <tr> <td>Change or Purpose:</td> <td colspan='2'>Upgrade of the Common Schema with some bug fixes and features</td> <tr> <td>Start Date/Time:</td> <td> <table border=1> <tr> <td>Time Zone</td> <td>Start Time</td> </tr> <tr> <td>Pacific Standard Time (i.e. SVL, Costa Mesa, and Irvine, California)</td> <td bgcolor="#FFFF00">Dec 3, 2011 12:00:00 AM</td> </tr> <tr> <td class=oddistrue bgcolor=#dfdfdf>Brasilia Summer Time (i.e. Sao Paulo, Brazil)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 6:00:00 AM</td> </tr> <tr> <td class=oddisfalse bgcolor=>Central European Time (i.e. Boeblingen, Germany)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 9:00:00 AM</td> </tr> <tr> <td class=oddistrue bgcolor=#dfdfdf>Central Standard Time (i.e. Lenexa, Kansas; Austin, Texas; Chicago, Illinois)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 2:00:00 AM</td> </tr> <tr> <td class=oddisfalse bgcolor=>China Standard Time (i.e. Beijing, China; Xi'an, China)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 4:00:00 PM</td> </tr> <tr> <td class=oddistrue bgcolor=#dfdfdf>Coordinated Universal Time (Reference Time Zone)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 8:00:00 AM</td> </tr> <tr> <td class=oddisfalse bgcolor=>Eastern European Time (i.e. Helsinki, Finland)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 10:00:00 AM</td> </tr> <tr> <td class=oddistrue bgcolor=#dfdfdf>Eastern Standard Time (i.e. Toronto, Canada)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 3:00:00 AM</td> </tr> <tr> <td class=oddisfalse bgcolor=>Greenwich Mean Time (i.e. Dublin, Ireland)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 8:00:00 AM</td> </tr> <tr> <td class=oddistrue bgcolor=#dfdfdf>Indian Standard Time (i.e. Bangalore, India)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 1:30:00 PM</td> </tr> <tr> <td class=oddisfalse bgcolor=>Japan Standard Time (i.e. Yamato, Japan)</td> <td bgcolor='#FFFF00'>Dec 3, 2011 5:00:00 PM</td> </tr> </table></td> <tr> <tr> <td>Duration:</td> <td colspan='2'>2.5 hours</td> <tr> <td>Action taken by SDI team:</td> <td colspan='2'>1. The ClearQuest web servers will be taken offline, and the backend database server will be moved to restricted mode (no CQ access for regular users) <br /> 2. The new schema changes will be applied to the user databases at all sites. <br /> 3. Sanity testing of the databases will be performed. <br /> 4. The backend databases will be re-enabled for regular user access, and the ClearQuest web servers will be brought back online.</td> <tr> <td>Action required from users:</td> <td colspan='2'>Ensure you are logged off of ClearQuest at least a 1/2 hour before the upgrade, and avoid starting any ClearCase actions that involved ClearQuest integration, such as delivers or rebases that may still be running at the time of the upgrade.</td> <tr> <td>Benefits:</td> <td colspan='2'>A number of bug fixes and features will be applied to the schema. See below for details.</td> <tr> <td>Support/Contact:</td> <td colspan='2'>Any questions should be posted to the ClearQuest Common Schema Forum : <a href="http://ibmforums.ibm.com/forums/forum.jspa?forumID=3507">http://ibmforums.ibm.com/forums/forum.jspa?forumID=3507</a> </td> <tr> <td>Additional Information:</td> <td colspan='2'>SDI ClearQuest Support : <a href="http://vortex.svl.ibm.com/sditweb/index.php?q=node/55">http://vortex.svl.ibm.com/sditweb/index.php?q=node/55</a> </td> </tr> </table> When I run it through the converter, it doesn't do much in the way of adding wiki markup at all, except for a couple of URLs. It mostly just strips out the HTML tags, and concatenates all of the text together. Here is the output: Subject:SDI IMCS ClearQuest Schema Upgrade and OutageAudience:All CQ users of the ClearQuest Common Schema databases (wsdbu,idsdb,ecmdb,ipsdb,imit)Change or Purpose:Upgrade of the Common Schema with some bug fixes and featuresStart Date/Time:Time ZoneStart TimePacific Standard Time (i.e. SVL, Costa Mesa, and Irvine, California)Dec 3, 2011 12:00:00 AMBrasilia Summer Time (i.e. Sao Paulo, Brazil)Dec 3, 2011 6:00:00 AMCentral European Time (i.e. Boeblingen, Germany)Dec 3, 2011 9:00:00 AMCentral Standard Time (i.e. Lenexa, Kansas; Austin, Texas; Chicago, Illinois)Dec 3, 2011 2:00:00 AMChina Standard Time (i.e. Beijing, China; Xi'an, China)Dec 3, 2011 4:00:00 PMCoordinated Universal Time (Reference Time Zone)Dec 3, 2011 8:00:00 AMEastern European Time (i.e. Helsinki, Finland)Dec 3, 2011 10:00:00 AMEastern Standard Time (i.e. Toronto, Canada)Dec 3, 2011 3:00:00 AMGreenwich Mean Time (i.e. Dublin, Ireland)Dec 3, 2011 8:00:00 AMIndian Standard Time (i.e. Bangalore, India)Dec 3, 2011 1:30:00 PMJapan Standard Time (i.e. Yamato, Japan)Dec 3, 2011 5:00:00 PMDuration:2.5 hoursAction taken by SDI team:1. The ClearQuest web servers will be taken offline, and the backend database server will be moved to restricted mode (no CQ access for regular users) \\ 2. The new schema changes will be applied to the user databases at all sites. \\ 3. Sanity testing of the databases will be performed. \\ 4. The backend databases will be re-enabled for regular user access, and the ClearQuest web servers will be brought back online.Action required from users:Ensure you are logged off of ClearQuest at least a 1/2 hour before the upgrade, and avoid starting any ClearCase actions that involved ClearQuest integration, such as delivers or rebases that may still be running at the time of the upgrade.Benefits:A number of bug fixes and features will be applied to the schema. See below for details.Support/Contact:Any questions should be posted to the ClearQuest Common Schema Forum : [http://ibmforums.ibm.com/forums/forum.jspa?forumID=3507]Additional Information:SDI ClearQuest Support : [http://vortex.svl.ibm.com/sditweb/index.php?q=node/55] Is this expected to work, or is the confluence dialect just not that well supported yet? Thanks, Chris
From: hpai [...] broadcom.com
I too am getting similar error . My html table code is not coverted to markup. Also I would like to ask if there is option of forms to use post or get method to post the options from url to backend scripts? The below code dont work! ================================================================== <html> <body> <table border="1"> <tr> <th> FirstField </th> <th> SecondFIELD </th> </tr> <tr><th> FirstField </th> <th> SecondFIELD </th></tr> </table> </body> </html> ================================================================== also <form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user"> <input type="submit" value="Submit"> </form> This doesnot work too! Please help mw to understand if these are supported and if yes how to impliment them I saw your source code I find these statements after __END__ pre => { line_prefix => $pre_prefix, block => 1 }, table => { start => \&_table_start, end => "|}", block => 1, line_format => 'blocks' }, tr => { start => \&_tr_start }, td => { start => \&_td_start, end => "\n", trim => 'both', line_format => 'blocks' }, th => { start => \&_td_start, end => "\n", trim => 'both', line_format => 'single' }, caption => { start => \&_caption_start, end => "\n", line_format => 'single' }, Why have they been ignored in rules. Is there any way for FORMS too?