On Tue, 12 Oct 2004 04:47:40 GMT, pr10n <pa**********@hotmail.com>
wrote:
Hello, all! I'm working on a personal blog and I'm trying to make it's
markup more semantic, using the right elements, removing needless div's
and so on.
Looks pretty good so far.
I'm not sure what you're after for semantics here. It's a blog in HTML
- tiny little snippets, so there's no scope for structuring them, and
it's already in human-readable HTML so there's little need or
opportunity for descriptive markup or classification of elements.
If you're looking at RSS, _then_ you want to think about semantic
markup on the items - primarily categorisation, because once again the
content is too short to really be worth structuring.
You could take your RSS semantic descriptions and embed them in the
HTML, especially if they're in something like Dublin Core and you can
just namespace them into invisibility. But this doesn't add all that
much - if something is going to scrape your content and machine
process it, it would go straight for the RSS version.
Site is slow. Judging from the hit counter comment in the source,
you're regenerating it for every view - I'd ditch that and allow
caching to reduce load and hopefully speed things up a little. Caching
is your _friend_. Put sensible times on things and let the machinery
do its job.
<ul id="navlist">
<li id="blogsmall" class="navitem"><a class="navlink"
href="/blog/" title="Blog">Blog</a></li>
An id of "navsmall-blog" now will make content management easier in
the future. What if you put these icons in the footer later on? What
would you use for an id value then ?
You're already doing this with the classes. As they can be duplicated,
that's less necessary
<li class="contentitem">
<h2 class="contentheading"> [...] </h2>
<h3 class="contentsubheading"> [...] </h3>
<h4 class="contentnodisplay">Posted by pr10n</h4>
could quite easily be normalised to
<li class="contentitem">
<h2 class="heading"> [...] </h2>
<h3 class="subheading"> [...] </h3>
<h4 class="nodisplay">Posted by pr10n</h4>
But this has no tangible benefits and isn't really worth changing.
Keywords as
"Jennifer Rovero, Keith Flint"
not
"Jennifer, Rovero, Keith, Flint"
You can't do semantics in RSS 0.91 Go for RSS 1.0 or (Bob forbid)
even RSS 2.0
--
Smert' spamionam