?
Solved

Having trouble with my links?

Posted on 2006-11-27
5
Medium Priority
?
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 2000 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

762 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