You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(22) |
Apr
(10) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(23) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
(1) |
May
|
Jun
|
Jul
(10) |
Aug
|
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(1) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
(15) |
Jul
(10) |
Aug
|
Sep
(2) |
Oct
(10) |
Nov
(1) |
Dec
(4) |
2005 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <bo...@gm...> - 2005-06-24 11:36:40
|
SGVsbG8hCgpJIGFtIHRyeWluZyB0byB1c2UgaHQyaHRtbCBzY3JpcHQgYnV0IGhhdmUgbm8gaWRl YSBob3cgdG8gY2hhbmdlCmNoYXJzZXQgaW4gbWV0YSBwYXJ0IG9mIHRoZSBodG1sIHBhZ2UuCklm IEkgdXNlIGh0Mmh0bWwgZGlyZWN0bHkgSSBnZXQgdXMtYXNjaWkgY2hhcnNldCwgYnV0IEkgbmVl ZCBpc28tODg1OS0yIGNoYXJzZXQuCkNoZWNraW5nIFNrZWxldG9uLnB5IHNob3dzIEkgaGF2ZSB0 byBzZXQgY2hhcnNldCB2YXJpYWJsZSwgYnV0IEkgZG9uJ3Qga25vdyBob3cuCgpUaGFua3MsCgpC b5p0amFuIEplcmtvCg== |
From: Barry A. W. <bw...@us...> - 2005-03-29 13:38:18
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17079 Modified Files: BAWGenerator.py Log Message: Change my address. Index: BAWGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/BAWGenerator.py,v retrieving revision 2.5 retrieving revision 2.6 diff -C2 -d -r2.5 -r2.6 *** BAWGenerator.py 24 Oct 2004 22:24:05 -0000 2.5 --- BAWGenerator.py 29 Mar 2005 13:38:03 -0000 2.6 *************** *** 30,34 **** html = root + '.html' p = self.__parser = HTParser(file, 'Barry A. Warsaw', ! 'ba...@wa...') f = self.__linkfixer = LinkFixer(html, rootdir, relthis) p.process_sidebar() --- 30,34 ---- html = root + '.html' p = self.__parser = HTParser(file, 'Barry A. Warsaw', ! 'ba...@py...') f = self.__linkfixer = LinkFixer(html, rootdir, relthis) p.process_sidebar() |
From: SourceForge.net <no...@so...> - 2005-03-17 11:47:18
|
Patches item #1165166, was opened at 2005-03-17 06:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1165166&group_id=46757 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ned Batchelder (nedbat) Assigned to: Nobody/Anonymous (nobody) Summary: Make Windows produce forward slashes Initial Comment: When run on Windows, ht2html puts backslashes in URLs, which don't work. This fix forces them all to be forward slashes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1165166&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:53:46
|
Patches item #1043945, was opened at 2004-10-10 07:10 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 Category: None Group: None >Status: Open >Resolution: None Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Simple test case Initial Comment: Tha patch contains a directory "test" with a simple test case using unittest. It just creates a very simple Skeleton, initializes it with a small .ht file, makes a page, and compares the result with a precooked result from the index.html. Requires my previous path for __private names. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-02-15 12:53 Message: Logged In: YES user_id=3066 Undeleted and re-opening. Tests are good to have. ---------------------------------------------------------------------- Comment By: Oleg Broytmann (phd) Date: 2005-02-15 12:19 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:52:24
|
Patches item #1039985, was opened at 2004-10-04 11:15 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 Category: None Group: None >Status: Open >Resolution: None Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) >Summary: A patch to make __private names _not_so_private Initial Comment: The patch makes private names no so private. It renames almost all __vars to_vars (with some exception, most notably LinkFixer, because there are rootdir/relthis/myurl accessors), and all __method_names to _method_names. I need this because I want to override Skeleton._do_head() and so on but I can't - they are overprotected. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-02-15 12:52 Message: Logged In: YES user_id=3066 Un-deleting and re-opening; we don't normally "delete" closed items, and this is a good idea. Fixed typo in summary. ---------------------------------------------------------------------- Comment By: Oleg Broytmann (phd) Date: 2005-02-15 12:20 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:50:16
|
Patches item #1047782, was opened at 2004-10-15 09:40 Message generated for change (Settings changed) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 Category: None Group: None >Status: Closed Resolution: Wont Fix Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Add get_searchbar() to Skeleton Initial Comment: This patch adds get_searchbar() to Skeleton so a user doesn't need to always override it. It also removes get_searchbar() from test.py. Could be applied after my 2 previous patches. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-02-15 12:50 Message: Logged In: YES user_id=3066 Un-deleting; we don't normally delete closed items. ---------------------------------------------------------------------- Comment By: Oleg Broytmann (phd) Date: 2005-02-15 12:19 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:20:20
|
Patches item #1039985, was opened at 2004-10-04 19:15 Message generated for change (Comment added) made by phd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 Category: None Group: None >Status: Deleted >Resolution: Wont Fix Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: A patch to make __private names _no_so_private Initial Comment: The patch makes private names no so private. It renames almost all __vars to_vars (with some exception, most notably LinkFixer, because there are rootdir/relthis/myurl accessors), and all __method_names to _method_names. I need this because I want to override Skeleton._do_head() and so on but I can't - they are overprotected. ---------------------------------------------------------------------- >Comment By: Oleg Broytmann (phd) Date: 2005-02-15 20:20 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:19:56
|
Patches item #1043945, was opened at 2004-10-10 15:10 Message generated for change (Comment added) made by phd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 Category: None Group: None >Status: Deleted >Resolution: Wont Fix Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Simple test case Initial Comment: Tha patch contains a directory "test" with a simple test case using unittest. It just creates a very simple Skeleton, initializes it with a small .ht file, makes a page, and compares the result with a precooked result from the index.html. Requires my previous path for __private names. ---------------------------------------------------------------------- >Comment By: Oleg Broytmann (phd) Date: 2005-02-15 20:19 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 |
From: SourceForge.net <no...@so...> - 2005-02-15 17:19:30
|
Patches item #1047782, was opened at 2004-10-15 17:40 Message generated for change (Comment added) made by phd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 Category: None Group: None >Status: Deleted >Resolution: Wont Fix Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Add get_searchbar() to Skeleton Initial Comment: This patch adds get_searchbar() to Skeleton so a user doesn't need to always override it. It also removes get_searchbar() from test.py. Could be applied after my 2 previous patches. ---------------------------------------------------------------------- >Comment By: Oleg Broytmann (phd) Date: 2005-02-15 20:19 Message: Logged In: YES user_id=4799 I've stopped using ht2html. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 |
From: Nolan C. <ncl...@cs...> - 2005-01-19 07:57:29
|
Mine... http://www.cs.nmsu.edu/~nclayton/index.html This has not been made the official Unicon website (www.unicon.org) so don't post link to it, I am still working on convincing my professor that it is more user friendly and easier to maintain. Thought you might like the use of the table background images though. http://www.cs.nmsu.edu/~nclayton/unicondoc/ Thanks, Nolan Clayton |
From: Paul W. <pw_...@sl...> - 2004-12-30 19:39:07
|
Hiya folks, For pycon this year we are talking about moving the current zope-based pycon.org content into the pydotorg cvs repository, and using ht2html. BUT... we need the right-hand sidebar for showing sponsor logos. So: Has anyone done any work on adding a right sidebar? All I see is a stub get_right_sidebar in Skeleton.py. Would it be terribly difficult to add? Any chance I can get someone other than me to do the work? :-) -- Paul Winkler http://www.slinkp.com |
From: <eng...@ss...> - 2004-12-21 16:49:53
|
hello, i want to change some things. 1. my version prdouces tables without </td> in sidebar 2. move sidebar colors into css 3. collapsed subentries <li> from links.h only visible on the pages under the parent h3. any objections, comments ? cheers -- BINGO: next-generation Outsourcing --- Engelbert Gruber -------+ SSG Fintl,Gruber,Lassnig / A6170 Zirl Innweg 5b / Tel. ++43-5238-93535 ---+ |
From: kuokuo <ku...@cc...> - 2004-12-16 04:08:54
|
Hi! I use ht2html to create my company's web page. I want to put a picture on the Banner , but always can't success. Could you tell me how to do it more detail ? Many thanks! -- ku...@si... |
From: Fred L. D. Jr. <fd...@us...> - 2004-12-01 02:11:36
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7069 Modified Files: DocsPDOGenerator.py Log Message: - use the same top-level navbar and search box used on the rest of python.org - re-write the links to the main site so they work (these can't be relative across sites) Index: DocsPDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/DocsPDOGenerator.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DocsPDOGenerator.py 9 Sep 2004 00:17:04 -0000 1.6 --- DocsPDOGenerator.py 1 Dec 2004 02:11:27 -0000 1.7 *************** *** 11,25 **** AUTHOR = 'do...@py...' ! sitelinks = [ ! ('http://www.python.org/', 'Python Home'), ! ('%(rootdir)s/download.html', 'Download'), ! ('%(rootdir)s/', 'Documentation'), ! ] ! ! def get_banner(self): ! return PDOGenerator.SEARCHBOX ! ! def get_banner_bgcolor(self): ! return self.get_darkshade() ! ! --- 11,15 ---- AUTHOR = 'do...@py...' ! sitelinks = map( ! lambda (k,v): ((k % {"rootdir": "http://www.python.org"}), v), ! PDOGenerator.sitelinks) |
From: A.M. K. <aku...@us...> - 2004-11-03 10:36:33
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8828 Modified Files: HTParser.py PDOGenerator.py Log Message: Add parameter for not using default values from the index.html; don't use defaults for content-type. (Arguably other fields, such as title & encoding, also shouldn't get default values from the index.ht.) Index: HTParser.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/HTParser.py,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -d -r2.1 -r2.2 *** HTParser.py 29 Jul 2003 15:34:26 -0000 2.1 --- HTParser.py 3 Nov 2004 10:36:23 -0000 2.2 *************** *** 60,67 **** # might be using an older rfc822 ! def get(self, name, default=None): if rfc822.Message.has_key(self, name): return self.getheader(name) ! elif self.__extraheaders.has_key(name): return self.__extraheaders[name] else: --- 60,67 ---- # might be using an older rfc822 ! def get(self, name, default=None, use_defaults=True): if rfc822.Message.has_key(self, name): return self.getheader(name) ! elif use_defaults and self.__extraheaders.has_key(name): return self.__extraheaders[name] else: Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.25 retrieving revision 2.26 diff -C2 -d -r2.25 -r2.26 *** PDOGenerator.py 15 Oct 2004 18:03:57 -0000 2.25 --- PDOGenerator.py 3 Nov 2004 10:36:23 -0000 2.26 *************** *** 119,123 **** def get_content_type(self): ! return self.__parser.get('content-type') def get_encoding(self): --- 119,123 ---- def get_content_type(self): ! return self.__parser.get('content-type', use_defaults=False) def get_encoding(self): |
From: Barry A. W. <bw...@us...> - 2004-10-24 22:24:45
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9483 Modified Files: Skeleton.py Log Message: Add a get_searchbar() default. Index: Skeleton.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/Skeleton.py,v retrieving revision 2.13 retrieving revision 2.14 diff -C2 -d -r2.13 -r2.14 *** Skeleton.py 15 Oct 2004 18:03:57 -0000 2.13 --- Skeleton.py 24 Oct 2004 22:24:33 -0000 2.14 *************** *** 23,26 **** --- 23,31 ---- return None + def get_searchbar(self): + """Returns HTML for a search bar, or None if no searchbar. + """ + return None + def get_left_sidebar(self): """Returns HTML for the left sidebar or None. |
From: Barry A. W. <bw...@us...> - 2004-10-24 22:24:15
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9334 Modified Files: BAWGenerator.py Log Message: Add a link and a column. Index: BAWGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/BAWGenerator.py,v retrieving revision 2.4 retrieving revision 2.5 diff -C2 -d -r2.4 -r2.5 *** BAWGenerator.py 27 Oct 2003 20:03:01 -0000 2.4 --- BAWGenerator.py 24 Oct 2004 22:24:05 -0000 2.5 *************** *** 17,20 **** --- 17,21 ---- ('%(rootdir)s/software/index.html', 'My Software'), ('%(rootdir)s/papers.html', 'My Papers'), + ('%(rootdir)s/music.html', 'My Music'), ('%(rootdir)s/bass/index.html', 'My Basses'), ('%(rootdir)s/poems/index.html', 'My Poems'), *************** *** 54,58 **** sitelink_fixer = LinkFixer(f.myurl(), rootdir) sitelink_fixer.massage(sitelinks, self.__d, aboves=1) ! Banner.__init__(self, sitelinks, cols=2) # kludge! for i in range(len(p.sidebar)-1, -1, -1): --- 55,59 ---- sitelink_fixer = LinkFixer(f.myurl(), rootdir) sitelink_fixer.massage(sitelinks, self.__d, aboves=1) ! Banner.__init__(self, sitelinks, cols=3) # kludge! for i in range(len(p.sidebar)-1, -1, -1): |
From: A.M. K. <aku...@us...> - 2004-10-15 18:04:26
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22577 Modified Files: PDOGenerator.py Skeleton.py Log Message: Turn <img /> into just <img>; it's unlikely python.org will ever use true XHTML, and the slash breaks HTML 4.01 validity (according to validator.w3.org) Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.24 retrieving revision 2.25 diff -C2 -d -r2.24 -r2.25 *** PDOGenerator.py 15 Oct 2004 18:01:58 -0000 2.24 --- PDOGenerator.py 15 Oct 2004 18:03:57 -0000 2.25 *************** *** 69,73 **** <center> <img alt="" border="0" ! src="%(rootdir)s/pics/PythonPoweredSmall.gif" /></center> ''' % self.__d)) p.sidebar.append(BLANKCELL) --- 69,73 ---- <center> <img alt="" border="0" ! src="%(rootdir)s/pics/PythonPoweredSmall.gif" ></center> ''' % self.__d)) p.sidebar.append(BLANKCELL) *************** *** 93,97 **** def get_meta(self): ! favicon = '\n<link rel="SHORTCUT ICON" href="/pics/pyfav.gif" />' s1 = Skeleton.get_meta(self) s2 = self.__parser.get('meta', '') --- 93,97 ---- def get_meta(self): ! favicon = '\n<link rel="SHORTCUT ICON" href="/pics/pyfav.gif" >' s1 = Skeleton.get_meta(self) s2 = self.__parser.get('meta', '') *************** *** 149,153 **** <a href="%(rootdir)s/"> <img alt="" border="0" ! src="%(banner)s" /></a></center>''' % \ self.__d --- 149,153 ---- <a href="%(rootdir)s/"> <img alt="" border="0" ! src="%(banner)s" ></a></center>''' % \ self.__d Index: Skeleton.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/Skeleton.py,v retrieving revision 2.12 retrieving revision 2.13 diff -C2 -d -r2.12 -r2.13 *** Skeleton.py 3 Oct 2004 00:01:32 -0000 2.12 --- Skeleton.py 15 Oct 2004 18:03:57 -0000 2.13 *************** *** 80,84 **** """Return extra meta-data. Must be a string.""" import __main__ ! return '<meta name="generator" content="HT2HTML/%s" />' \ % __main__.__version__ --- 80,84 ---- """Return extra meta-data. Must be a string.""" import __main__ ! return '<meta name="generator" content="HT2HTML/%s" >' \ % __main__.__version__ *************** *** 262,266 **** def __do_body(self, body): print '<!-- start of body cell -->' ! print '<td valign="top" width="%s%%" class="body"><br />' % ( self.get_banner_width()) print body --- 262,266 ---- def __do_body(self, body): print '<!-- start of body cell -->' ! print '<td valign="top" width="%s%%" class="body"><br>' % ( self.get_banner_width()) print body *************** *** 293,297 **** <head> <title>%(title)s</title> ! <meta http-equiv="Content-Type" content="text/html; charset=%(charset)s" /> %(meta)s %(style)s --- 293,297 ---- <head> <title>%(title)s</title> ! <meta http-equiv="Content-Type" content="text/html; charset=%(charset)s" > %(meta)s %(style)s *************** *** 315,319 **** stylesheet = stylesheet.strip() type = self.get_stylesheet_type(stylesheet) ! s = '<link rel="STYLESHEET" href="%s" type="%s" />' \ % (stylesheet, type) if localstyle and localstyle.strip(): --- 315,319 ---- stylesheet = stylesheet.strip() type = self.get_stylesheet_type(stylesheet) ! s = '<link rel="STYLESHEET" href="%s" type="%s" >' \ % (stylesheet, type) if localstyle and localstyle.strip(): |
From: A.M. K. <aku...@us...> - 2004-10-15 18:02:25
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22083 Modified Files: PDOGenerator.py Log Message: Remove duplicated ID Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.23 retrieving revision 2.24 diff -C2 -d -r2.23 -r2.24 *** PDOGenerator.py 3 Oct 2004 00:01:32 -0000 2.23 --- PDOGenerator.py 15 Oct 2004 18:01:58 -0000 2.24 *************** *** 24,28 **** SEARCHBAR = \ '''<!-- start of search bar --> ! <div class="google" id="search"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> --- 24,28 ---- SEARCHBAR = \ '''<!-- start of search bar --> ! <div class="google"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> |
From: SourceForge.net <no...@so...> - 2004-10-15 13:40:36
|
Patches item #1047782, was opened at 2004-10-15 17:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Add get_searchbar() to Skeleton Initial Comment: This patch adds get_searchbar() to Skeleton so a user doesn't need to always override it. It also removes get_searchbar() from test.py. Could be applied after my 2 previous patches. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1047782&group_id=46757 |
From: Oleg B. <ph...@ph...> - 2004-10-10 11:15:51
|
Hello! Anybody's here? https://sourceforge.net/tracker/index.php?func=detail&aid=1043945&group_id=46757&atid=447267 The patch contains a directory "test" with a simple test case using unittest. It just creates a very simple Skeleton, initializes it with a small .ht file, makes a page, and compares the result with a precooked result from the index.html. Requires my previous path for __private names: https://sourceforge.net/tracker/index.php?func=detail&aid=1039985&group_id=46757&atid=447267 Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: SourceForge.net <no...@so...> - 2004-10-10 11:10:30
|
Patches item #1043945, was opened at 2004-10-10 15:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: Simple test case Initial Comment: Tha patch contains a directory "test" with a simple test case using unittest. It just creates a very simple Skeleton, initializes it with a small .ht file, makes a page, and compares the result with a precooked result from the index.html. Requires my previous path for __private names. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1043945&group_id=46757 |
From: SourceForge.net <no...@so...> - 2004-10-04 17:02:12
|
Patches item #1039985, was opened at 2004-10-04 19:15 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Oleg Broytmann (phd) Assigned to: Nobody/Anonymous (nobody) Summary: A patch to make __private names _no_so_private Initial Comment: The patch makes private names no so private. It renames almost all __vars to_vars (with some exception, most notably LinkFixer, because there are rootdir/relthis/myurl accessors), and all __method_names to _method_names. I need this because I want to override Skeleton._do_head() and so on but I can't - they are overprotected. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=447267&aid=1039985&group_id=46757 |
From: Oleg B. <ph...@ph...> - 2004-10-04 15:28:49
|
Hello! I am new here, but not new to Python. I am going to try to use ht2html to generate a small static site from templates. I need to override many methods in Skeleton/Sidebar, but I cannot - they are mangled because they are __private. So here is the patch to fix it: https://sourceforge.net/tracker/index.php?func=detail&aid=1039985&group_id=46757&atid=447267 The patch makes private names no so private. I renamed almost all __vars to _vars (with some exception, most notably LinkFixer, because there are rootdir/relthis/myurl accessors), and all __method_names to _method_names. The patch is against the CVS version. Any opinion? objection? I'd like to provide a test case, but I cannot even start without this patch, because Skeleton._do_head() inserts timestamps in the HTML header, which is a nuisance. PS. Also I am considering other approaches. I've tried Website DocBook stylesheet and found that 4Suite is too weak to handle it... may be I'll try libxml2 later. Also I think I can create a "master" site using a dynamic framework (Quixote, Zope, etc.) and use wget to generate a static copy; this approach seems a bit overkill for me, because it recreates the entire site with wget, where with ht2html I can update only those files whose templates was changed. If anyone has an opinion on this or other approaches - please don't hesitate to tell me. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: A.M. K. <aku...@us...> - 2004-10-03 00:02:30
|
Update of /cvsroot/ht2html/ht2html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31404 Modified Files: Skeleton.py PDOGenerator.py Log Message: Make search bar match www.python.org/alt/ Index: Skeleton.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/Skeleton.py,v retrieving revision 2.11 retrieving revision 2.12 diff -C2 -d -r2.11 -r2.12 *** Skeleton.py 8 Apr 2004 18:24:49 -0000 2.11 --- Skeleton.py 3 Oct 2004 00:01:32 -0000 2.12 *************** *** 192,195 **** --- 192,198 ---- self.__do_head() self.__start_body() + bar = self.get_searchbar() + if bar: + print bar print '<!-- start of page table -->' print ('<table width="100%" border="0"' *************** *** 347,350 **** --- 350,356 ---- return '<b>The Banner</b>' + def get_searchbar(self): + return "" + def get_sidebar(self): return '''<ul><li>Sidebar line 1 Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.22 retrieving revision 2.23 diff -C2 -d -r2.22 -r2.23 *** PDOGenerator.py 24 Sep 2004 12:28:58 -0000 2.22 --- PDOGenerator.py 3 Oct 2004 00:01:32 -0000 2.23 *************** *** 22,39 **** rst_html = None ! SEARCHBOX = \ '''<!-- start of search bar --> ! <div id="search"> ! <form method="get" action="http://www.google.com/search"> ! Search: <input id="q" name="q" size="30" value=""> ! <input type="hidden" id="domains" name="domains" ! value="docs.python.org" /> ! <input type="hidden" id="sitesearch" name="sitesearch" ! value="docs.python.org" /> ! <input type="hidden" id="sourceid" name="sourceid" ! value="google-search" /> ! <input type="submit" id="submit" name="submit" value="submit" /> </form> ! </div><!-- end of search bar --> ''' --- 22,38 ---- rst_html = None ! SEARCHBAR = \ '''<!-- start of search bar --> ! <div class="google" id="search"> ! <table width="100%" cellspacing="0" cellpadding="0"> ! <tr> ! <td id="search"> ! <form method="get" action="http://www.google.com/search">Search: <input id="q" name="q" size="30" value=""><input type="hidden" id="domains" name="domains" value="www.python.org"><input type="hidden" id="sitesearch" name="sitesearch" value="www.python.org"><input type="hidden" id="sourceid" name="sourceid" value="google-search"><input type="submit" id="submit" name="submit" value="submit"> </form> ! </td> ! </tr> ! </table> ! </div> ! <!-- end of search bar --> ''' *************** *** 130,137 **** return Sidebar.get_sidebar(self) def get_banner(self): banner = Banner.get_banner(self) - if self.__parser.get('search-box', 'yes').lower() == 'yes': - banner = SEARCHBOX + banner return banner --- 129,140 ---- return Sidebar.get_sidebar(self) + def get_searchbar (self): + if self.__parser.get('search-box', 'yes').lower() == 'yes': + return SEARCHBAR + else: + return "" + def get_banner(self): banner = Banner.get_banner(self) return banner |