Blogger Hacks, Categories, Tips & Tricks

Wednesday, August 16, 2006
Beta Templates, Layouts, & Tags
Pete leaves a comment clarifying some of the new tools, and the situation re: existing templates etc. I've reposted in full since this explains the labels, layouts and existing templates issue, which was on my "have to figure this out asap" list. Thanks once again, Pete, for the insights:
If you migrate your blog, your template will be preserved as-is. It's in what we call "Classic" template mode. It will be dynamically served, but you won't get the drag-and-drop customization. You also won't get labels.

New blogs have Layouts by default, but can switch to Classic mode (there's a button on the Edit HTML subtab page).

You will be able to upgrade from Classic to Layouts, but, as the Layouts template language is completely different (but significantly improved), you'll lose your prodigious customizations. We make a best effort to save straightforward changes (sidebar lists, for the most part) but your milege will decrease the further you have gone from the stock templates.

You can see that there's a "View Classic Template" button on the Edit page, which is there to make it easier to copy over anything that the upgrade missed. (I'm going to a have a fun time w/ my blog... might just take the opportunity to design a new one.)

I'm excited to see what folks will come up with when Layouts's Edit HTML is available. Dragging and dropping in the official templates is fun, but doing it with your own template design is even better.

Oh, and as for mass-labeling, there's no interface for that. You can, however, use the new Gdata API (based on Atom 1.0) support to change labels. Atom categories === Blogger labels.
It seems, then, that dynamic loading works w? your old template after migration, & that what we're looking if we want to access labels and drag & drop is the eventual need to re-create a template in the new format. No immeditate pressure to do so, though, which is grand, & methinks the labels will be worth it, esp. given that there's an existing layout insert for custom blocks of HTML / Scripts & a way to view your existing template to grab the goodies.

Filed in:

See also:
Posted at 8:13 AM by John.
7 Comments:
<    >
Blogger Unknown said...
So, we are only allowed to modify Blogger Beta blogs from outside client using the Gdata API? How about the in-template hacks that depended on Blogger tags ? For example, native blog search that takes $BlogURL$. No way to get them working with Blogger Beta blogs?

<    >
Blogger John said...
Richard's experience suggests that we shouldn't get too excited about the labels 'til we have the ability to configure our templates....

<    >
Blogger Greg said...
Yeah, that's a pretty big hurdle to clear for me too: no mods, no migration.

Ramani, I guess we'll have to develop new methods. There's a paucity of serious class/id attributes, and it seems even walking the DOM is going to be tricky.

<    >
Blogger Tarun said...
Does that mean we can use other blog templates?

<    >
Blogger John said...
Tarun,

As things stand now, you can either keep your template, in "classic" mode (dynamic serving but no layouts, and therefore no labels), you can use a new beta default template, or you can wait a while to migrate 'til the HTML editor goes live on the beta, & (hopefully) re-create your template as closely as possible w/ added "layouts". This will involve migrating individual customisations & widgets from current to beta... & testing each one to see whether they fall over.

I'm optimistic that once the HTML editor goes live in beta, this will be a useful & interesting process, and that a second generation of mods will emerge that can live with the new platform.

<    >
Blogger Avatar X said...
@john: not only that, we will have to start covering ports.....heh

<    >
Blogger Singpolyma said...
Oooh, an API! Hmm... scrape rel=tag from post page, send to tagging API... convert old tags to labels... promising...


eXTReMe Tracker