473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Need Help With Semantic Markup

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.

I was wondering if someone would be kind enough to peek at the code and
see if they have any suggestions. I realize I am over using the list and
header elements. I am also in the process of shifting the content blocks
around in the code to get the meat of the site displayed first.

I'm not asking for help with the layout or the CSS, just looking for
advise from a purely HTML point of view.

Thanks for reading up to this point, I look forward to any help offered.

--
pr10n
w: pr10n.lowriderdog.com
e: pa**********@hotmail.com
Jul 23 '05 #1
3 1645
On Tue, 12 Oct 2004 04:47:40 GMT, pr10n <pa**********@hotmail.com> wrote:
Hello, all!
Hi
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.

I was wondering if someone would be kind enough to peek at the code and
see if they have any suggestions. I realize I am over using the list and
header elements.


Um...

Assuming http://pr10n.lowriderdog.com/ is the proper URL, no hx or list
elements there. At all.

What page are you referring to? All commentary suspended till this mess is
sorted out.
Jul 23 '05 #2
Neal <ne*****@yahoo.com> wrote in
news:op**************@news.individual.net:
On Tue, 12 Oct 2004 04:47:40 GMT, pr10n <pa**********@hotmail.com>
wrote:
Hello, all!


Hi
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.

I was wondering if someone would be kind enough to peek at the code
and see if they have any suggestions. I realize I am over using the
list and header elements.


Um...

Assuming http://pr10n.lowriderdog.com/ is the proper URL, no hx or
list elements there. At all.

What page are you referring to? All commentary suspended till this
mess is sorted out.


My apologies, clearly my mistake. The page in question is:

http://pr10n.lowriderdog.com/blog/

The markup for the others essentially stem from this page.

Thanks for taking the time to look.

pr10n
Jul 23 '05 #3
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
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ian Rastall | last post by:
I've been Googling for a couple days on this, without hitting the mark, and I'm wondering if anyone can help. I'm interested in building a personal knowledge base with XML (although "knowledge...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
29
by: Joseph Haig | last post by:
I am trying to use descriptive lists, <DL>, as shown in <http://www.maths.man.ac.uk/~jhaig/tmp/test.html> with a style sheet at <http://www.maths.man.ac.uk/~jhaig/tmp/default-2.css>. With Mozilla...
11
by: Patrick | last post by:
Hi I have what seems to be a simple problem but i can't figure it out. I need to make a header real big so i used the font-size with % and it gets my header to be the size i want, but right...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
2
by: lkrubner | last post by:
We are again going to try to do a public beta test of the PHP/MySql stuff we've been working on. We are looking for all kinds of criticism. We put a site up here: ...
7
by: Philippe Poulard | last post by:
Hi, RefleX 0.1.3, a general-purpose XML Virtual Machine, is available here : http://reflex.gforge.inria.fr/ In this release, you'll find tutorials for mapping SQL to arbitrary complex XML...
13
by: Adrienne Boswell | last post by:
In the site I am redoing, I am frequently running into this screnario: Tel: (818) 555-1212 Fax: (818) 555-1234 where the tel and fax should be bold to stand out. Currently, I am using span with...
9
by: David Trimboli | last post by:
In designing some of my pages (see http://www.trimboli.name/rune/goblinmagic.html for an example), I created a lot of markup to mimic the book upon which the pages are based. My thinking at the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.