2 messages in com.googlegroups.bloggerdevRe: [bloggerDev] Validating a Blog-Id...
FromSent OnAttachments
Marcelo Calbucci23 Aug 2006 14:52 
Pete Hopkins ☠23 Aug 2006 15:06 
Subject:Re: [bloggerDev] Validating a Blog-Id, Post-Id and Comment-Id
From:Pete Hopkins ☠ (phop@google.com)
Date:08/23/2006 03:06:25 PM
List:com.googlegroups.bloggerdev

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"?