Developers > Standards we use
Standards we use
-
Almost all classes we use in HTML are prefixed with 'loh_'. Exceptions are
used only in <input> and other <form> tags for validation, in particular:
"required", "digits".
-
Our JS functions are also prefixed like that or, as is almost always the case, in a
separate namespace ('loh').
- All attributes have HTML form field names prefixed with 'loh:', to avoid clashes
in HTTP operations and to easily sort out which fields belong to LikeOrHate.
- We try to use existing ontologies as often as we can, both in HTML and XML. In
particular, we support FOAF, XFN, OpenSocial, DC and others -- just check the
namespaces.
Back to main developers page