Identifiers?

Ok, so I'm working with the facebook Open Graph stuff working on the new plugin.

One of the things that you can pass is certain descriptive data for the like buttons etc, like page title, thumb image etc.

Running into a couple issues though. Not every page in zen uses the same identifiers etc. For instance, if I'm on a zenpage page I can use "getBarePageTitle" for the page title. If I'm on an image page, I would have to use getBarImageTitle. Is there a simple way to identify what type of page you're on?

For instance something like
if isImage then code
or
if isPage then code

Comments

Sign In or Register to comment.