473,390 Members | 1,476 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,390 software developers and data experts.

page link name

I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us">
<meta name="page directory" content="root">

***********
<meta name="page link" content="Info 1">
<meta name="page directory" content="Info">
##################

This would generate navigation something like this:

<ul style="display: inline">
<li>Info
<ul>
<li>Info 1<li>
<li>Info 2<li>
</ul>
</li>
<li>About Us</li>
</ul>

Surely something like this has been done before.

Ideas on embedding nav instructions???

Cheers,
Jeff

Jul 20 '05 #1
10 2220
Jeff Thies wrote:
I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us">
<meta name="page directory" content="root">

***********
<meta name="page link" content="Info 1">
<meta name="page directory" content="Info">
##################

This would generate navigation something like this:

<ul style="display: inline">
<li>Info
<ul>
<li>Info 1<li>
<li>Info 2<li>
</ul>
</li>
<li>About Us</li>
</ul>

Surely something like this has been done before.

Ideas on embedding nav instructions???

Cheers,
Jeff


See:

http://www.w3.org/TR/html401/struct/...html#edef-LINK

Or more specifically:

http://www.w3.org/TR/html401/struct/links.html#adef-rel
http://www.w3.org/TR/html401/struct/links.html#adef-rev

And:

http://www.w3.org/TR/html401/types.html#type-links
-Andy
Jul 20 '05 #2
Gazing into my crystal ball I observed "Jeff Thies" <no****@nospam.net>
writing in news:vL*******************@newsread2.news.atl.eart hlink.net:
I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us"> <meta name="page directory"
content="root">

***********
<meta name="page link" content="Info 1"> <meta name="page directory"
content="Info">
##################

This would generate navigation something like this:

<ul style="display: inline"> <li>Info <ul>
<li>Info 1<li>
<li>Info 2<li>
</ul>
</li>
<li>About Us</li>
</ul>

Surely something like this has been done before.

Ideas on embedding nav instructions???

Cheers,
Jeff


I think you might be looking for the LINK element -
http://www.w3.org/TR/html4/struct/links.html#edef-LINK


--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 20 '05 #3

"Andy Holmes" <ah***************@shaw.ca> wrote in message
news:HH***********************@news2.calgary.shaw. ca...
Jeff Thies wrote:
I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us">
<meta name="page directory" content="root">

***********
<meta name="page link" content="Info 1">
<meta name="page directory" content="Info">

<snip>
http://www.w3.org/TR/html401/struct/...html#edef-LINK

Or more specifically:

http://www.w3.org/TR/html401/struct/links.html#adef-rel
http://www.w3.org/TR/html401/struct/links.html#adef-rev

And:

http://www.w3.org/TR/html401/types.html#type-links
Thanks. I'm a bit confused about this though.

There's a wide range of attributes for link:

id, class (document-wide identifiers)
lang (language information), dir (text direction)
title (element title)
style (inline style information )
onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup (intrinsic events )
href, hreflang, type, rel, rev (links and anchors)
target (target frame information)
media (header style information)
charset(character encodings)

The style, event, title and dir are a bit puzzling. How would those be used?
What about type?

It looks like multiple attributes can be used in a link tag.And it looks
like you can add your own attributes on top of those. Is that right?

BTW, is the link tag getting much use? It seems like a wide open element!

Cheers,
Jeff

-Andy

Jul 20 '05 #4
"Jeff Thies" <no****@nospam.net> wrote in message news:<vL*******************@newsread2.news.atl.ear thlink.net>...
I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us">
<meta name="page directory" content="root">

***********
<meta name="page link" content="Info 1">
<meta name="page directory" content="Info">
##################

This would generate navigation something like this:

<ul style="display: inline">
<li>Info
<ul>
<li>Info 1<li>
<li>Info 2<li>
</ul>
</li>
<li>About Us</li>
</ul>

Surely something like this has been done before.

Ideas on embedding nav instructions???

Cheers,
Jeff

Take a look at xhtml

EC
..
Jul 20 '05 #5
Jeff Thies wrote:
"Andy Holmes" <ah***************@shaw.ca> wrote in message
news:HH***********************@news2.calgary.shaw. ca...
Jeff Thies wrote:
I'd like to embed navigation instructions in html.

This would be so that these pages could be spidered and page links name
could be extracted and navigation generated.

I'm thinking of something along these lines:

<meta name="page link" content="About Us">
<meta name="page directory" content="root">

***********
<meta name="page link" content="Info 1">
<meta name="page directory" content="Info">


<snip>
http://www.w3.org/TR/html401/struct/...html#edef-LINK

Or more specifically:

http://www.w3.org/TR/html401/struct/links.html#adef-rel
http://www.w3.org/TR/html401/struct/links.html#adef-rev

And:

http://www.w3.org/TR/html401/types.html#type-links

Thanks. I'm a bit confused about this though.

There's a wide range of attributes for link:

id, class (document-wide identifiers)
lang (language information), dir (text direction)
title (element title)
style (inline style information )
onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup (intrinsic events )
href, hreflang, type, rel, rev (links and anchors)
target (target frame information)
media (header style information)
charset(character encodings)

The style, event, title and dir are a bit puzzling. How would those be used?
What about type?

It looks like multiple attributes can be used in a link tag.And it looks
like you can add your own attributes on top of those. Is that right?

BTW, is the link tag getting much use? It seems like a wide open element!


Well, a person could write an article on just those attributes and how
they're used, but what you're looking for is something like this:

<link href="index.html" rel="index.html" rev="section" type="text/html"
media="screen">

But I've found the definitions of link-types to be pretty ambiguous and
don't often use them for that purpose. This is what you were asking for
though, I believe, so I'll leave it up to you to interpret the
link-types ( http://www.w3.org/TR/html401/types.html#type-links ).

What you will find <link> used most for however is including
stylesheets, like so:

<link href="style.css" rel="stylesheet" type="text/css">
-Andy

Jul 20 '05 #6
<link href="index.html" rel="index.html" rev="section" type="text/html"
media="screen">


should be infact:

<link href="index.html" rel="index" rev="section" type="text/html"
media="screen">

Sorry, for the late night typo.

-Andy

Jul 20 '05 #7
Jeff Thies wrote:
There's a wide range of attributes for link:

id, class (document-wide identifiers)
lang (language information), dir (text direction)
title (element title)
style (inline style information )
onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout,
onkeypress, onkeydown, onkeyup (intrinsic events )
href, hreflang, type, rel, rev (links and anchors)
target (target frame information)
media (header style information)
charset(character encodings)


You probably only want to worry about:

href - the URL for the document you are linking to.
rel - the relation that URL has to this one (e.g. Next)
title - the title of that page.

Others that may come in handy:

media - use this especially f you're linking to a non-(X)HTML page.
hreflang - the language of the page you're linking to.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?id=132

Jul 20 '05 #8
Eric Cartman wrote:
Ideas on embedding nav instructions???
Take a look at xhtml


Why? The 1.x series offers nothing (in the way of navigation) that isn't in
HTML 4.0, and the draft 2.0 with navigation lists won't be usable for about
a decade.

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #9
David Dorward wrote:
Why? The 1.x series offers nothing (in the way of navigation) that isn't in
HTML 4.0, and the draft 2.0 with navigation lists won't be usable for about
a decade.


The XHTML 2.0 draft is *already* usable in Opera and Gecko if an
appropriate style sheet is provided.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?id=132
playing://counting_crows/hard_candy_uk_edition/02_american_girls.ogg
Jul 20 '05 #10
EC
Toby A Inkster wrote:
David Dorward wrote:
Why? The 1.x series offers nothing (in the way of navigation) that isn't in HTML 4.0, and the draft 2.0 with navigation lists won't be usable for about a decade.


The XHTML 2.0 draft is *already* usable in Opera and Gecko if an
appropriate style sheet is provided.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?id=132
playing://counting_crows/hard_candy_uk_edition/02_american_girls.ogg


Jul 23 '05 #11

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

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
1
by: Andrew V. Romero | last post by:
I have a script that I am working on for an intranet tool and in this script I have a form, which when submitted the onSubmit command calls calculate(). In this calculate function, I have it do...
9
by: tshad | last post by:
This is from my previous post, but a different issue. I have the following Javascript routine that opens a popup page, but doesn't seem to work if called from an asp.net button. It seems to work...
6
by: Dariusz Tomon | last post by:
Hi How can I get url of page so taht I can pass it to string varaible. I have got several urls in my IIS under one folder. I want to have one default.aspx where code under it recognize which...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
1
by: vj | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file? I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to...
0
by: vijendra | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file?I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to...
17
by: =?Utf-8?B?Y2F0aGFyaW51cyB2YW4gZGVyIHdlcmY=?= | last post by:
Hello, I have build a website with approximately 30 html-pages. When I search this website in Google, I see the index.html or home.html on this website, but also other html-pages on this...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...

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.