Zope Page Templates
I talked with Greg about refactoring Leigh's work on zope page templates and revived my code for indenting html to show its structure so I could better understand what Leigh had done.
Posted on Thu, 17 Aug 2006 Tags: zope html
Pagecheck Finished
I managed to get the html parsing code in pagecheck to work. There was a problem with the version of LWP on aten that through me a curveball. I had to write my own parsing code to work around it. But it (mostly) works now.
Posted on Tue, 15 Aug 2006 Tags: html pagecheck
Chugging Along
Once again I missed my target for getting the form converted to clean html. But I've finished the first 7 out of 9 pages and the rest should be pretty simple. I will be finished tomorrow morning. Greg has figured out how to set up permissions to restrict unauthorized access to the PAR. Since we're using LDAP to authenticate, there should be no need to create new user accounts.
Posted on Thu, 25 May 2006 Tags: ldap html
RSS Feed
I worked on the RSS feed today. It mostly works. There are two remaining problems. The computation of the base url for the localnews method is wrong (probably a simple fix) and I need to escape the html in the description (potentially harder.)
Posted on Wed, 12 Apr 2006 Tags: rss html
More Mechanize
More trouble installing WWW::Mechanize. First I looked up how to personalize CPAN so it installs a private copy. I separated out the installation of the Test modules, thinking this would solve part of the problem. That went well. However, installing WWW::Mechanize went South when it tried to install HTML::Forms. I'm not sure of the reason why.
The configuration of SAGEDB is going well and will probably be completed tomorrow.
Posted on Tue, 06 Dec 2005 Tags: html
Finishing Up
I made the LDAP authorization change to employeeType. Greg was given the job of testing my fix and his test uncovered a problem. The search and replace operations weren't global so only the first change got made. (I make this mistake a lot.) I fixed the problem, committed it to CVS, and asked for a retest. My previous metadata change has made it to production, so next week I will move my change for searching all folderish objects into Zope. I'll be on vacation Friday and Monday, so I'll see you later. And I hope you like the new html template from OSWD.
Posted on Thu, 13 Oct 2005 Tags: html ldap metadata zope
CVS Permissions Fix
We had a problem with our CVS permissions setup. Only the zope user could commit changes. I investigated the problem and made some fixes. John showed me that the employee type permissions change in ldap was not working. I asked Harry and he said the changes need to be installed on the ldap server. We did the install on doright as a test and will do the for real install tomorrow.
I looked for training opportunities. Two that I found are the:
Posted on Wed, 12 Oct 2005 Tags: html ldap python zope
Microsoft Cleaner
I revisited my Python code to clean up Word files and added code to convert the Windpws 1252 character set into html character entities. I tested the code and it seems to be stumbling over some unicode conversions. I'll have to investigate that before adding the code to STObject.
Posted on Mon, 26 Sep 2005 Tags: html python
Demoroniser
Mike got a problem report where a user had saved a Microsoft web document as html and uploaded it to our web site. The page displayed badly. Surprisingly this problem only happened in Microsoft IE. I pointed him to a Perl script called demoroniser that fixes various formatting problems in Microsoft Office documents. However, running the script on the page didn't fix the problem. I looked at the script and added another subroutine that does additional fixes, including stripping out Microsoft conditional comments and Microsoft specific tags. The resulting script fixed the original problem. I was interested in this problem because I'm thinking of rewriting the script in Python and incorporating it in STObjects.
Posted on Mon, 19 Sep 2005 Tags: html microsoft perl python web
On to Texis
I wrapped up my work on TWiki by backing out the changes I had made to the look and feel and then notifying Claus. I started my next assignment, interfacing the new Texis search engine to Zope. I reviewed the existing code, looked up some info on parsing xml in Python and started coding. So far I've coded two simple functions: buildquery and sendquery, which do what they say. The harder function is next: parsedoc. The code lives in ~/ubik/python/zope/texisquery.py.
Posted on Mon, 25 Jul 2005 Tags: html python twiki zope