Call for input: Sandbox v0.8

It’s been a while. Sorry.

Have a look at the working copy of the source, tentatively for version 8.0, in the Subversion project home on Google Code.

I’m aiming to simplify things, but perhaps am a bit snow blind at this point. So how’s the markup? Let me know.

17 Comments

  1. johnson
    Posted May 10, 2007 at 12:37 am | Permalink

    Uh . . . what’s changed?

  2. Posted May 10, 2007 at 12:56 am | Permalink

    Fine question. Probably shouldn’t have had to ask.

    The major change is that the skins menu is gone. Just copy and paste the style.css file. Or @import it.

    Also, fixed some bugs like the home link not working when a static page was being displayed. And also fixed required fields not showing as required when not required (thanks, Adam.)

    There was a missing closing div in the comments.php when it was password-protected. Fixed.

    Added language_attributes() function, but parsed it so it works in WordPress versions 2.0.x through 2.2.x.

    There are some new classes.

    For the body element:

    • .postid-X for single posts, .pageid-X for pages
    • .paged-X (also .single-paged-X, .category-paged-X, etc.) for paginations of the index, category archives, etc.
    • author name-based classes now work consistently across WP 2.0.x through 2.2.x

    For the post div element:

    • .protected and .private classes per post/page settings
    • author name-based classes now work consistently across WP 2.0.x through 2.2.x

    There are some class changes:

    • revised the structure and classes for what was #globalnav and .access
    • .category-link is .cat-links, .comment-link is .comments-link and many other class name revisions for consistency
    • Reworked the structure of comments.php; fewer classes, but oddly many, many more options

    There are also lots of Microformats-related improvements:

    • use/appropriate use of rel="home" and rel="me"
    • improved hCard support that parses correctly throughout, e.g., post and comment authors
    • improved hAtom support (moved .hfeed class, so tags/categories outside of .hentry get picked up as global tags/categories)
    • added .author to author.php per hAtom spec

    So I’d be grateful for any suggestions for semantic-improvement of the Sandbox. I’m really interested in making this the best possible markup. And perhaps I’ve been piddling in the code too long now. ;-)

  3. Nate
    Posted May 10, 2007 at 12:42 pm | Permalink

    “… tentatively v8.0?” So this thing’ll basically win me a Pulitzer without my lifting a finger, yeah? :)

  4. Posted May 10, 2007 at 12:50 pm | Permalink

    Precisely, Nate. Later on you can cite this very thread as your influence on Sandbox development. ;-)

  5. mackrick
    Posted May 10, 2007 at 3:55 pm | Permalink

    Scott
    Any chance of getting access to the source to try out ?

  6. Posted May 10, 2007 at 3:58 pm | Permalink

    Yes, the link to the source is above. And now, below:

    Sandbox source

    I eagerly await input. After all, the Sandbox is the “themers’ theme”, so it’s best that I get their feedback.

    I’ve already made one decision that isn’t reflected in that source. According to XFN, rel-me is implicit when the link points to a sub directory, so my current use of this (see author.php and index.php) isn’t appropriate and will be removed.

  7. mackrick
    Posted May 11, 2007 at 2:40 pm | Permalink

    Scott
    Nice work as always.
    Thanks for the link earlier.
    Droped it staright into the test site, tweaked the css and it all works as I would expect.
    Couple of hicups with the header.php and the menu calls (not sure what happened)

    Rick

  8. Posted May 11, 2007 at 2:41 pm | Permalink

    What kind of hiccups? Do explain.

  9. Posted May 12, 2007 at 1:50 am | Permalink

    hmmm…. interesting changes.

    losing the skins menu is not as big a deal as i was thinking it would be. Template: sandbox FTW.

    paged-x is brilliant, i can imagine some cool uses for it. .entry-author was nice for consistancy, but since .author was required, it’s good to see it gone.

    i don’t agree with using .navigation for both the menu and the older/newer post stuff. i think it’s pretty rare that someone will want to style them the same, and having to code around it is going to to cause bloat in stylesheets.

    i thought you were talking about getting rid of the » characters? if you weren’t, then i must have imagined it. i think they should go. they were trendy when kubrick came out, they’re not semantic (→would be), and i’d still rather add flourishes via :before, or background images, than be stuck with a default that has such personality.

  10. Posted May 12, 2007 at 12:23 pm | Permalink

    I think you’re right, Adam. I did delete a few » (like in the submit button) but I’m hesitant to remove them all. I’m on the fence about them. If I zap those, then I really should zap the meta-sep elements.

    The entry-author was completely unnecessary. I decided to make all those ‘post meta’ classes more semantic and I really was out to trim as much fat as possible.

    I’m also going to make another class for trackback comments, eg, t[n], for counting trackbacks. You’ll see it in the readme.html, but it hasn’t made its way to the theme files yet.

    Also, there’s also category-paged-[n], date-paged-[n], etc., for paginated indexes.

    I’ve been reading up on hAtom, and I found out that if the hfeed element contains rel="tag" elements outside an hentry, then those are considered like category feed for the whole blog, semantically. I think that change is really promising.

    Also, I haven’t bothered to update any of the skins yet, which I will do this weekend. Look for a release in the next few days. It’s almost there.

    I have also removed most hardcoded rel="me", because I read that they are implicit when pointing to a subdirectory.

  11. mackrick
    Posted May 12, 2007 at 12:38 pm | Permalink

    It was my skin more than anything. Moving the skin css across messed up the header. I had extra menus in the title. Just removed the offending line from header.php and all was ok.

    Rick

  12. Posted May 12, 2007 at 1:30 pm | Permalink

    releases are good. SVN isn’t complicated, but it sure sounds scary. :D

    meta-sep elements can be handled in CSS. the angled quotes can’t. maybe they should have their own <span />?

  13. Posted May 12, 2007 at 2:05 pm | Permalink

    Yes, maybe that’s the best approach, span.nav-meta. One note on your previous comment, Adam: body.single div.navigation . I like to reuse selectors. ;-)

    Maybe even div.navigation span.meta-sep?

  14. Posted May 13, 2007 at 9:18 pm | Permalink

    I see xoxo :)

    Did you notice that it’s required that Entry Author (hAtom) to be encoded with address.

    Anyway, right on time. Let me know when the new version is release.

  15. Posted May 13, 2007 at 10:17 pm | Permalink

    Hey Zeo.

    The whole entry-author is supposed to be just another hCard, and so just like any other hCard it should be in an address element, but it’s not required (link).

    I did take your advice, Zeo, from an earlier comment you made about XOXO. You’ll notice I’ve thrown in the xoxo class here and there. ;-)

  16. Posted May 16, 2007 at 6:51 am | Permalink

    Totally off topic, but what text editor are you using?

    Thanks,
    Ben

  17. Posted May 16, 2007 at 8:50 am | Permalink

    My text editor of choice is Notepad++, though I often use TopStyle Light for hashing out CSS. I honestly don’t care much for the full-fledged TopStyle program.

3 Trackbacks

  1. By kobak pont org » links for 2007-05-10 on May 9, 2007 at 9:24 pm

    [...] Call for input: Sandbox v0.8 · plaintxt.org valtas lesz a vege… :-) (tags: sandbox plaintxt blog theme wordpress) [...]

  2. By Sandbox v0.9 Released · plaintxt.org on May 29, 2007 at 1:55 am

    [...] So what’s changed? Well, a great deal has. To get a taste you can read my comment in regards to the proposed 0.8 release. [...]

  3. By Sandbox 0.9 Released @ 天佑的自由天地 on May 29, 2007 at 2:40 am

    […] 這個版本在 markup 上當然有所改動,其中一些改動�?�從 Andy 在�?計 0.8 版本的改動內的留言略知一二,最清楚的方法莫�?�於自行細讀 zip file 內的 readme,或 Scott 放出來的 Sandbox 0.9 readme。 […]

Post a Comment

Your email is never shared. Required fields are marked *

*
*
By submitting a comment, you hereby grant perpetual license to reproduce your words, name, and/or Web site in attribution.