Re: Two suggestions on comments
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <1062991666.17827.20.camel@minisync> |
On Sat, 2003-09-06 at 21:38, Joseph Reagle wrote:
> 1. It'd be nice if comments had IDs (instead of names, which are being
> deprecated in XHTML), but unfortunately IDs can't begin with numbers, I
> suggest starting it with a underscore "_" or "c" (for comment).
This is a flavour thing, there's no reason you can't do:
<div class="comments" id="comment_$tb_id$cmt_time">
for XHTML compliant links (does browsers support that?)
> 2. Normalize their URL if they don't provide "http://" . Something like:
> # Check if the form has a URL
> url = (form.has_key('url') and [form['url'].value] or [''])[0]
> if url[:7] != 'http://': url = 'http://' + url
I'll get Ted to deal with this. What if a fella has ftp:// or gopher://
as his url (though unlikely).
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf