473,574 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.lowriderd og.com
e: pa**********@ho tmail.com
Jul 23 '05 #1
3 1660
On Tue, 12 Oct 2004 04:47:40 GMT, pr10n <pa**********@h otmail.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.ind ividual.net:
On Tue, 12 Oct 2004 04:47:40 GMT, pr10n <pa**********@h otmail.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**********@h otmail.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">Bl og</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="contenti tem">
<h2 class="contenth eading"> [...] </h2>
<h3 class="contents ubheading"> [...] </h3>
<h4 class="contentn odisplay">Poste d by pr10n</h4>

could quite easily be normalised to
<li class="contenti tem">
<h2 class="heading" > [...] </h2>
<h3 class="subheadi ng"> [...] </h3>
<h4 class="nodispla y">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
1924
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 base" may not be the right term). For example, if I'm at a site about tea, and I want to briefly note down the history of Russian Caravan tea, and then...
61
24424
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 'stretch'</td> <td valign="top" width="300">some data that won't 'stetch'</td> </tr> </table>
29
3034
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 and Opera they appear correctly, with a border round both the <DT> and <DD> parts but in Internet Explorer the borders are messed up. Can anyone...
11
1837
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 under it i want a <HR>. It all works fine in I.E. 6.0 and Opera but not in Mozilla or of course N.N. Run the code below in I.E. and then in either...
47
9107
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
1574
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: http://www.publicpen.com/designer/ On the left you'll see a link that says "login". You can click that to get to the control panel. Use this username and password to log in: ...
7
1991
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 structures, and for experimenting the Active Schema Language : express constraints on XML documents that you can't achieve with DTD, W3C XML Schema,...
13
1478
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 a class, eg: <span class="fields"> and fields is font- weight:bold. I am wondering whether it would better just to use <b>, as it is for...
9
1990
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 time was that even if one turned off styles one should see the words "Narration," "Background," or "Closer Inspection" in a boldface font, or at least...
0
7719
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8044
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7808
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5616
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5299
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3739
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1055
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.