A Note for Developers
When you write external code for 2channel, bear in mind that some languages (including Java and PHP) cannot handle variable names that start with a number.
If you write purely in CSDL, you do not need to take any special precautions. If you write external code using DataSift's client libraries, the libraries will handle the issue for you (as they use the array notation) so, again, you do not need to take any additional action.
However, if you write external code that hits a DataSift API directly, be aware that you must take extra care. For example, in PHP you might avoid the problem by changing this code:
to this code:
$xyz = "2ch";
or this code:
An alternative approach is to work in array notation rather than object notation, to ensure that you avoid problems:
The real name supplied by the author of a post.
The text of a 2ch post.
Currently this is always set to "HTML".
A link to an original post.
A link to a complete message board thread.
The title of a post.
Indicates whether a post contains the first message in a new thread.