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
Uh . . . what’s changed?
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
@importit.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
divin 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
bodyelement:.postid-Xfor single posts,.pageid-Xfor pages.paged-X(also.single-paged-X,.category-paged-X, etc.) for paginations of the index, category archives, etc.For the post
divelement:.protectedand.privateclasses per post/page settingsThere are some class changes:
#globalnavand.access.category-linkis.cat-links,.comment-linkis.comments-linkand many other class name revisions for consistencycomments.php; fewer classes, but oddly many, many more optionsThere are also lots of Microformats-related improvements:
rel="home"andrel="me".hfeedclass, so tags/categories outside of.hentryget picked up as global tags/categories).authortoauthor.phpper hAtom specSo 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.
“… tentatively v8.0?” So this thing’ll basically win me a Pulitzer without my lifting a finger, yeah?
Precisely, Nate. Later on you can cite this very thread as your influence on Sandbox development.
Scott
Any chance of getting access to the source to try out ?
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-meis implicit when the link points to a sub directory, so my current use of this (seeauthor.phpandindex.php) isn’t appropriate and will be removed.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
What kind of hiccups? Do explain.
hmmm…. interesting changes.
losing the skins menu is not as big a deal as i was thinking it would be.
Template: sandboxFTW.paged-x is brilliant, i can imagine some cool uses for it.
.entry-authorwas nice for consistancy, but since.authorwas required, it’s good to see it gone.i don’t agree with using
.navigationfor 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.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 themeta-sepelements.The
entry-authorwas 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
hfeedelement containsrel="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.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
releases are good. SVN isn’t complicated, but it sure sounds scary.
meta-sep elements can be handled in CSS. the angled quotes can’t. maybe they should have their own
<span />?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?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.
Hey Zeo.
The whole
entry-authoris supposed to be just another hCard, and so just like any other hCard it should be in anaddresselement, 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
xoxoclass here and there.Totally off topic, but what text editor are you using?
Thanks,
Ben
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
[...] Call for input: Sandbox v0.8 · plaintxt.org valtas lesz a vege…
(tags: sandbox plaintxt blog theme wordpress) [...]
[...] 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. [...]
[…] 這個版本在 markup 上當然有所改動,其中一些改動�?�從 Andy 在�?計 0.8 版本的改動內的留言略知一二,最清楚的方法莫�?�於自行細讀 zip file 內的 readme,或 Scott 放出來的 Sandbox 0.9 readme。 […]