Yeah so last Saturday I decided to learn ASP. Previously, I was working on a PHP/MySQL textboard, but I dumped that project so I could move my site to an Windows server. And this is what I've been working on for about 4 days: http://quivr.net/vip/index.asp
What it has:
What it needs:
So what do you guys think? I'll release it as open-source once all the bugs have been worked out.
>>3
I shall! Another thing I have to do is post numbering, forgot to add that to the list.
Looks like you forgot to escape ampersand-chars. Also, failed XHTML validation.
Escaping ampersands is impossible in many cases. HTML is just broken like that.
>>5
I can't win with XHTML due to having a body class.
Also, would anyone know how I can tackle tripcodes in ASP? There's no crypt function :/
Moved it over to http://tanasinn.net/beta/
>>6
replacing them all with &
works just fine in xhtml.
>>7
body can have a class attribute in xhtml.
here are the problems with your xhtml code and how to fix them:
<
, >
, and &
must be escaped, even in javascript. you have an unescaped <
in your script
tag. replace it with <
.body
tag inside a body
tag. also, you have two body
start tags but only one closing tag. remove one of the start tags.onLoad
. use onload
instead.tr
and td
tags must be closed. the first tr
in the new thread form and the second td
in that tr
are unclosed. close them.if you want to do tripcodes you'll probably have to implement crypt
yourself.
>>9
All errors were fixed, thanks for your help.
Only if you're using UTF-8 or some other full unicode encoding. Otherwise, characters outside of the character set are sent as numerical entities.
Also, there should be lots of implementations of crypt() out there. Perhaps even one for ASP, but you can likely also found one that can be easily ported.
>>13
I want a version of crypt that would produce the same tripcode as it would on any other image/textboard.
Now with capcodes and really crappy tripcodes.
>>12
Why would you not be using unicode in this day and age?
>>12
is there any reason not to use a full unicode encoding?
To force Japanese fonts by using Shift_JIS, for instance. Most Japanese sites use it.
>>18
Then you should be using <span lang="ja">
. Or, if the font itself is important, and not just any random font that the user has set up in their browser (e.g. if you're dealing with SJIS art, which I suspect is what you're referring to), <span style="japanese">
along with a .japanese { font-family: Mona, "MS PGothic" }
..
Next fake reason to use non-Unicode fonts?
Why exactly are you taking this as some kind of personal insult?
>>20
How do you read that as a personal insult? I'm just trying to remove people's false beliefs that there is any reason to cling to legacy encodings. There really isn't, and all you get out of attempting to support them are more complexities to handling incoming form data sanely and securely.
To try to get this thread back on topic before it's derailed entirely... >>15, what language are you actually using for the board? If I get some time I'll try hunting down a crypt() library for it.
With that confrontational attitude, you really come off as if you're somehow taking this personally. If you actually want to convince anyone of anything, you'd better cut that out.
>>22
ASP / vBScript
>>25
It does need some sort of markup, nonetheless.
Pretty much any other markup is better than BBcode. BBcode is about as difficult to use as HTML, but less familiar.