Re: PyBlosxom 1.3 release candidate 1
Michael Guntsche <mike-Z92qn3yYq0hWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
I updated my blog to 1.3 and did some preliminary testing. While testing the Atom flavour I noticed that the feedvalidator gave an error, because the "self" link was not correct. I added ?flav=atom to it and the problem disappeared. During this testing I noticed a problem though. One of the plugins I use (folksonomy) uses data['url'] in cb_fileist. The problem is that data['url'] changed between 1.2 and 1.3. 1.2 pyblosxom.py: data['url'] = '%s/%s' % (config['base_url'], data ['pi_bl']) 1.3 pyblosxom.py: data['url'] = '%s%s' % (config['base_url'], data ['pi_bl']) So the "/" was missing leaving my with a broken link. Looking at the code, I changed the base_url and everything seemed to be working fine. Then I tried to validate my Atom feed and I got the "self" error again. Looking at the html source I noticed that $url now produced two slashes at the end which made $url?flav=atom look like http:// www.servername.com//flav?atom. So I am kind of stuck right now. It looks like data['url'] and $url are not in sync right now, since either data['url'] is missing a slash or $url has one too much. Kind regards, Mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click