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 DOCENGINE), 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
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial