227 reputation
17
bio website debiki.com
location Oslo, Norway
age 34
visits member for 3 years, 3 months
seen Jan 8 at 23:26

Software developer. On my spare time I'm sometimes building a hopefully better discussion system for blogs and forums:

About: http://www.debiki.com
Demo: http://www.debiki.com/demo/-71cs1-demo-page-1

All original source snippets that I post on StackOverflow and StackExchange sites are licensed under Creative Common's CC0 (in addition to the license prescribed by StackOverflow.)


Sep
26
comment How can I hide whois information?
How did they realize that the address is incorrect? (Or why else would they have sent you the letter?) Didn't you specify a seemingly correct address?
Aug
29
comment SEO: do we need to redirect also pages with final slash?
I think it depents on which Web server you use, and your particular application, whether or not the trailing slash helps in the manner you describe. In my case, with the Scala / Lift-Web application I'm building, the trailing slash does not matter at all, w.r.t. performance: I store the documents in a database not in the filesystem.
Aug
25
comment Letting hosted forum users design their own forums?
Adapting a free CMS is a really good idea. Actually I did that: I started with implementing a plugin to JSP Wiki (a Java Wiki). However there were lots of legacy code that I didn't need so I thought I might as well build my own stuff. Now I've done that, and I'm fairly happy with having everything written in Scala, and having no code to understand or worry about (w.r.t. security issues) that isn't related to what I want to build. (I'm planning to build a plugin to e.g. WordPress :-) )
Aug
25
comment Letting hosted forum users design their own forums?
The priority list is a good idea. I'd guess a few percent of the users would appreciate the possibility to configure HTML and CSS themselves -- but those few percent would be very valuable users I guess :-) The other users? Well, initially perhaps I could help them configuring their pages, so a few of them would benefit too. Later on I'd implement a click-and-choose CSS/html-layout for everyone (based on my experiences from the initial trivial implementation).
Jun
30
comment Can I use asterisks in URLs?
When I read the URI spec, my interpretation is that in the HTTP scheme it's fine for a webapp to use !*+ etc as it sees fit. The HTTP scheme isn't very strict (in comparison to the other schemes listed), as far as I can tell from Wikipedia. Well perhaps I should open another question about the HTTP scheme and the URI spec. Anyway, I'll probably have to accept the other answer, which argues from an end user's point of view, since I don't understand whether or not this URI spec answer is correct.
Jun
30
comment Can I use asterisks in URLs?
Hashbangs were new to me, an interesting read :-) There was a link to another interesting article too: Cool URLs never change.
Jun
30
comment When to reply 400 Bad Request
Why not a custom 400 page sometimes, and a custom 404 sometimes? (I just tested in my webapp and, on my computer, Chrome & Firefox shows the plain text message in the status 400 page)
Jun
27
comment Can I use asterisks in URLs?
I don't know if I agree with that general answer. A way to learn new stuff, is to do something that you don't know how it works, and then you'll learn and find out. How would our future be if people in general did only things that they knew exactly how they were working? (It's a pre-alpha-version that I'd be releasing, so it's not meant for production :-)) -- Thanks for the info and links anyway :-)
Jun
25
comment Can I use asterisks in URLs?
(In case anyone wonders about the reference to Asterix: I misspelled Asterisk, I thought it was Asterix :-))
Jun
25
comment Can I use asterisks in URLs?
Here's another similar SO question: Can a URL have an asterisk?. I didn't find them, because I spelled Asterisk with Asterix :-/ until I was corrected (see the Asterix reply below :-)).
Jun
25
comment Can I use asterisks in URLs?
For what it's worth, here someone says Wikipedia allows asterisks in URLs and someone else says it's okay: Can a URL have an asterisk?
Jun
25
comment Can I use asterisks in URLs?
Thanks for the info on how end users probably would perceive the asterisks. Now I will most likely prefer query strings instead.
Jun
25
comment Can I use asterisks in URLs?
W.r.t. Asterix: Oh that's why I didn't find any relevant pages on StackOverflow or Webmasters. Now I found 2 related pages on S.O.: Allowing asterisk in URL and Can a URL have an asterisk? -- thanks :-)
Jun
25
comment Can I use asterisks in URLs?
W.r.t. Asterix: What! Did you think I meant "Asterisk"?
Jun
25
comment Can I use asterisks in URLs?
I'm confused by the phrase "are reserved for use as having special significance within specific schemes". Can I not define my own application specific scheme? Could that be intention, with sub-delims, that web apps use them in a web app specific manner?
Jun
25
comment Can I use asterisks in URLs?
Hmm, * is a reserved character, yes. But it's a sub-delimiter, and when I read the URI spec it seems to me that it's fine to use sub-delims in an application specific manner, in the path component of the URI. -- Doesn't this mean it's OK to use * (and also e.g. @, :, +, ,) in the way I did?
Mar
30
comment Is this safe? <a href=http://javascript:…>
Actually, I run JsHtmlSanitizer on both the client and server. On the server I using the Rhino JavaScript engine. I just read about HTML Purifier and I got the impression that running JsHtmlSanitizer on the server would do roughly the same thing, as HTML Purifier? Except for the fact that JsHtmlSanitizer only sanitizes, doesn't purify. (Thanks for the tip :-))
Jan
14
comment Can prefixing a dash reduce the search engine rating?
@John Mueller: I'll use <link rel='canonical'...> to mitigate duplicated contents problems. But it's almost not an issue anyway in my case: Some pages will be accessed almost only via some/path/page-name (e.g. blog and wiki pages), whereas other pages will be accessed exclusively via GUID (e.g. forum pages -- I'd like 2 people to be able to create questions with the same name (but different GUID)).
Jan
14
comment Can prefixing a dash reduce the search engine rating?
@John Conde: Okay. In my webapp, I've removed the "id-..." code I added a few hours ago and changed to "-..." which I like better :-)