Sun, 25 Mar 2012 14:01:25 +0200
Rewrote the reader for HTML bookmark files to cope with the various dates.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.Helpviewer.Bookmarks.NsHtmlReader</title> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric5.Helpviewer.Bookmarks.NsHtmlReader</h1> <p> Module implementing a class to read Netscape HTML bookmark files. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#NsHtmlReader">NsHtmlReader</a></td> <td>Class implementing a reader object for Netscape HTML bookmark files.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="NsHtmlReader" ID="NsHtmlReader"></a> <h2>NsHtmlReader</h2> <p> Class implementing a reader object for Netscape HTML bookmark files. </p> <h3>Derived from</h3> QObject <h3>Class Attributes</h3> <table> <tr><td>indentSize</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#NsHtmlReader.__init__">NsHtmlReader</a></td> <td>Constructor</td> </tr><tr> <td><a href="#NsHtmlReader.read">read</a></td> <td>Public method to read a Netscape HTML bookmark file.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="NsHtmlReader.__init__" ID="NsHtmlReader.__init__"></a> <h4>NsHtmlReader (Constructor)</h4> <b>NsHtmlReader</b>(<i></i>) <p> Constructor </p><a NAME="NsHtmlReader.read" ID="NsHtmlReader.read"></a> <h4>NsHtmlReader.read</h4> <b>read</b>(<i>fileNameOrDevice</i>) <p> Public method to read a Netscape HTML bookmark file. </p><dl> <dt><i>fileNameOrDevice</i></dt> <dd> name of the file to read (string) or reference to the device to read (QIODevice) </dd> </dl><dl> <dt>Returns:</dt> <dd> reference to the root node (BookmarkNode) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>