You should treat all blog, post, and comment IDs as strings. It is
likely that they will never contain anything except numerals, but
there's no guarantee on that.
And yes, there are small blog IDs, too. (See http://evhead.com for example.)
-- Pete
On 8/23/06, Marcelo Calbucci <marc...@sampa.com> wrote:
Is there a simple formula to validate a blog-id, post-id and comment-id?
From what I can see, the blog-id used to be an 32-bit integer and now is
64-bit integer, and the post-id and comment-id look like a 64-bit integer.
Is there any guarantee that a blog-id, post-id and comment-id will only be
numbers and not letters? (A base-10 value instead of a base-16)
Are there blog-ids with very low numbers, like "1732"?