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

meta tags

Hi,

I'm trying to use standard meta tags in an xsl doc and using cocoon as my
processor. The problem is that cocoon changes for example:

<meta name="keywords" content="test, test, test" />

to <meta content="test, test, test" name="keywords">

I hope that makes sense. The problem is that I am running some adds on my
site which don't understand the keywords when the tags are reversed like
this. Is there any way to get cocoon to just leave the tags alone. Any help
on this would be appreciated as I have been at this silly little thing for
hte last 7 hours now!!! :)

Brian.
--
get rid of the obvious if replying by mail
Jul 20 '05 #1
4 3694
Brian <br***@theobviousdotnet.ie> wrote:
I'm trying to use standard meta tags

What "standard" are you referring to?

It cannot be the XML standard, as it does not define _any_ elements.

You probably meant one of the HTML "standards" ? Which one?

XHTML maybe?

in an xsl doc and using cocoon as my
processor. The problem is that cocoon changes for example:

<meta name="keywords" content="test, test, test" />

to <meta content="test, test, test" name="keywords">

I hope it doesn't really do that, as it is no longer XML.

Did you mean in outputs:

<meta content="test, test, test" name="keywords"></meta>
or
<meta content="test, test, test" name="keywords" />

instead?

Or did you mean that the output is not XML (maybe it is SGML)?

I hope that makes sense. The problem is that I am running some adds on my

What are "adds"?

site which don't understand the keywords when the tags are reversed like
this.

The tags are not reversed, in fact, there are not plural "tags"
in the data you've shown, there is only a single "tag".
http://www.ucc.ie:8080/cocoon/xmlfaq#makeup

Is there any way to get cocoon to just leave the tags alone.

"content" and "name" are not tags, they are attributes.

Attributes can be in any order in XML, so

<gi x="X" y="Y">
and
<gi y="Y" x="X">

are *exactly equivalent* in XML.

Applications that depend on the order of attributes do not
comply with the XML standard (ie. they contain a bug).

Any help
on this would be appreciated

Fix the bug in your "adds".

as I have been at this silly little thing for
hte last 7 hours now!!! :)

That can happen with bugs. :-)
--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas
Jul 20 '05 #2
>
What "standard" are you referring to?
I just meant normal meta tags. You must excuse my ignorance I have been
dropped in at the deepend by a web designer that has gone AWOL!.

Did you mean in outputs:

<meta content="test, test, test" name="keywords"></meta>
or
<meta content="test, test, test" name="keywords" />


I meant

<meta name="keywords" content="test, test, test" />

gets parsed into my HTML doc as

<meta content="test, test, test" name="keywords">

I hope that makes sense. The problem is that I am running some adds on
my

What are "adds"?
The tags are not reversed, in fact, there are not plural "tags"
in the data you've shown, there is only a single "tag".

Attributes can be in any order in XML, so

<gi x="X" y="Y">
and
<gi y="Y" x="X">

are *exactly equivalent* in XML.

i understand this now after many hours however it does not seem to be
particularly helpful to me as any raw HTML doc i put the tag on it works
fine. However when parsed and the attributes are reversed then they seem to
be ignored.

Applications that depend on the order of attributes do not
comply with the XML standard (ie. they contain a bug).
This one is way out of my hands!

Fix the bug in your "adds".

Ditto!
as I have been at this silly little thing for
hte last 7 hours now!!! :)

That can happen with bugs. :-)


I know! Tell me is it possible to send cocoon a html stream or string and
instruct it just to leave it alone? This would be a workaround as I can
never see the add publisher ever fixing their bug.

--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas



I appreciate the reply.

Thanks.
brian.
--
get rid of the obvious if replying by mail
Jul 20 '05 #3
Brian wrote:
Hi,

I'm trying to use standard meta tags in an xsl doc and using cocoon
as my processor. The problem is that cocoon changes for example:

<meta name="keywords" content="test, test, test" />

to <meta content="test, test, test" name="keywords">

I hope that makes sense. The problem is that I am running some adds
on my site which don't understand the keywords when the tags are
reversed like this. Is there any way to get cocoon to just leave the
tags alone. Any help on this would be appreciated as I have been at
this silly little thing for hte last 7 hours now!!! :)

Brian.

I understand what you are saying.

This was reported to http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16093
but was dismissed.

You will have to, as Tad said, fix your "adds" to handle this behaviour.

Thanks
Jul 20 '05 #4
Brian <br***@theobviousdotnet.ie> wrote:

What "standard" are you referring to?
I just meant normal meta tags.

My point is that there *is no* "normal meta tags".

This is the XML newsgroup, XML does not define a <meta> element (!tag).

("normal meta tag" probably _would_ be precise enough in a newsgroup
about a markup language that defines a meta element (!tag),
such as comp.infosystems.www.authoring.html though.
)

If you want us to know what you mean when you say "meta tag"
then you should mention where/how/who defined the element, or
provide its definition or something.

You must excuse my ignorance I have been
dropped in at the deepend by a web designer that has gone AWOL!.

XML is a meta-language, it does not define _any_ elements.

XML (or SGML) is used to specify _other_ markup languages.

The w3c decided to define their language named "HTML" using SGML.
They decided to define their language named "XHTML" using XML.

Did you mean in outputs:

<meta content="test, test, test" name="keywords"></meta>
or
<meta content="test, test, test" name="keywords" />


I meant

<meta name="keywords" content="test, test, test" />

Then you are not working with HTML, as that is not valid there.

(are you sure you're not working with XHTML?)

gets parsed into my HTML doc as

But here you say you _are_ working with HTML.

If we don't know what language you need to speak, we cannot
help tell you what to say...

<meta content="test, test, test" name="keywords">

> I hope that makes sense.


It doesn't (yet), sorry.

The problem is that I am running some adds on
my


What are "adds"?


What are "adds"?

i understand this now after many hours however it does not seem to be
particularly helpful to me as any raw HTML doc i put the tag on it works
fine. However when parsed and the attributes are reversed then they seem to
be ignored.

The order of attributes does not matter in XML applications.

If the order of attributes matters in your application, then
it is not an XML application, and your posts are off-topic here.

Applications that depend on the order of attributes do not
comply with the XML standard (ie. they contain a bug).


This one is way out of my hands!

It is out of our hands too. Thread ends.

Fix the bug in your "adds".


Ditto!

Bummer. Looks like you are on an impossible mission then.

I know! Tell me is it possible to send cocoon a html stream or string and
instruct it just to leave it alone?

I do not know how to tell an XML processor to stop being
an XML processor.

If it did what you are asking for, then it would no longer
be an XML processor.
--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas

You're not supposed to quote .sigs you know.
--
Tad McClellan SGML consulting
ta***@augustmail.com Perl programming
Fort Worth, Texas
Jul 20 '05 #5

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

Similar topics

1
by: Cezary | last post by:
Hello. I was read PHP manual, but i'm not sure yet. Here is my meta tags in html: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2"> <META HTTP-EQUIV="Expires"...
1
by: Darren Blackley | last post by:
Hi there I have documents that I want to automatically add additional meta tags to. The documents already have some meta tags and I want to keep them all together, so I want to add my new meta tags...
19
by: Christian Hvid | last post by:
Hello groups. I have a series of applet computer games on my homepage: http://vredungmand.dk/games/erik-spillet/index.html http://vredungmand.dk/games/nohats/index.html...
24
by: Day Bird Loft | last post by:
Web Authoring | Meta-Tags The first thing to understand in regard to Meta Tags is the three most important tags placed in the head of your html documents. They are the title, description, and...
23
by: Fast Eddie | last post by:
What's the benefit to coding <meta name="author"...> and such? Thanks.
4
by: clintonG | last post by:
Anybody know how to dynamically write the meta tags using code so they are formatted on a separate line in the HTML source? Preferred or optimal framework classes that may be used in this regard? ...
16
by: Edward | last post by:
Hi All, I am having huge problems with a very simple dotnet framework web page (www.gbab.net/ztest3.aspx) , it does NOT render correctly under Apple's Safari. The DIV's do not align amd float as...
3
by: Jordan S. | last post by:
I'm looking to localize an ASP.NET Web application for English, Spanish, and French (fr-CA), and was just considering the possibility of localizing the meta tags (e.g., keywords, title, and...
4
by: King Coffee | last post by:
Hi, If I use master pages with META tags in the head section... can I still use META tag on the child pages (child pages reference the master page). I ask this question because I heard the more...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.