20021107 Thursday November 07, 2002

Weblog Validator For anyone who attempts to maintain a valid XHTML site, you know that it's a fair amount of work to make sure your site is valid all the time - especially if you're linking to other sites. You learn to hate ampersands (&). To solve this problem in Roller, I think we need a validator built into the posting of new content. It'd be a sweet feature, maybe we can start with a dirty URL cleaner such as the Hivelogic URL Cleaner. Further comments on this topic can be found at web-graphics.com. Interesting tidbit from Dave:

If you are using XHTML (and you should be!) you could try to incorporate my JavaScript XML parser. You’d have to tweak it to wrap the post in a fake "root" element, but then it could tell whether or not the particular post is well-formed XML. It could not, however, tell you whether or not your post is valid (i.e. conforms to a particular DOCTYPE), but it would catch things like misplaced ampersands, unknown entities, tags that aren’t closed, etc.

Better yet, if you use IE for your posts, you could do the same thing using its built-in XML parser.

Posted in Roller at Nov 07 2002, 06:22:54 PM MST Add a Comment

Comments:

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries

Tag Cloud