Solved

Having trouble with my links?

Posted on 2006-11-27
5
184 Views
Last Modified: 2012-05-05
I'm used to using includes but on my own site i don't have linux so i was trying to get things included using th code below, the css seems to work but the meta doesn't. As i don't really know how this works i can't figure it out.

<link href="includes/styles.css" rel="stylesheet" rev="1" type="text/css">
<link href="includes/nicetitle.css" rel="stylesheet" rev="1" type="text/css">
<link href="includes/meta_data.html" rel="metadata" rev="1" type="text/css">

The actual page is here. I just need this meta file to be displayed in the html but be pulled externally, if possible.

http://www.tidyup.co.uk/Testing/index.html

Thanks
0
Comment
Question by:Sideas
  • 3
5 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 18022923
Sideas,

That isn't the way to specify an include file.  Your server will actually need to support this and you may need to change the extension of the file name to have the server run the "include command."  Does your server support a server language?  If so, which?  If not, check if it allows SSI (server side includes).  If not server scripting is allowed then you might be able to do something with Javascript but there isn't a way to do it in just HTML.  Hopefully you can use a server side language or SSI because that is really easy.

Let me know if you have any questions or need more information.

b0lsc0tt
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 18022935
What is rel="metadata"

???

It is not defined in w3.org:

http://www.w3.org/TR/REC-html40/types.html#type-links
0
 
LVL 2

Author Comment

by:Sideas
ID: 18023144
mplungjan - thats me not knowing what i'm doing and just naming it!

b0lsc0tt - i am on shared server, there is no php it seems. I can just copy and past the meta data into the html file but i wanted to know if i could pull an external file like http://www.tidyup.co.uk/Testing/includes/meta_data.html
And have it load into
http://www.tidyup.co.uk/Testing/index.html

I guesss your saying without a server language like php or asp  cannot do this. I only have two files to do so i can manually so it, just wondering really if it was possible with just html and no ssi. If not let me know and i shall post points ad close question.

Thanks
0
 
LVL 54

Assisted Solution

by:b0lsc0tt
b0lsc0tt earned 500 total points
ID: 18023186
It isn't possible in just html.  Let me know if you have any other questions.

bol
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 18023340
I'm glad that I could help.  Thank you for the grade, the points and the fun question.

bol
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Make a query passing words with accent 16 82
How to run a side-by-side staging website 16 57
Microsoft Edge 9 81
Problem to file 3 48
Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now