Custom elements in meta

Asked by Nikola Malešević on 2011-09-23

Hi GEXF community,

Is it a valid practice to include custom elements inside meta element?

This is an example from Primer:

<meta lastmodifieddate="20090320">
  <creator>Gephi.org</creator>
  <description>A hello world! file</description>
  <keywords>basic, web</keywords>
</meta>

Is it OK to include some custom elements? For example:

<meta lastmodifieddate="20090320">
  <creator>Gephi.org</creator>
  <description>A hello world! file</description>
  <keywords>basic, web</keywords>
  <foo>foovalue</foo>
  <bar>barvalue</bar>
</meta>

Thank you in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
GEXF Edit question
Assignee:
No assignee Edit question
Solved by:
Sébastien Heymann
Solved:
2011-09-23
Last query:
2011-09-23
Last reply:
2011-09-23

Yes but you should use a custom namespace, e.g.:

<niko:foo>foovalue</niko:foo>

Sébastian, thank you very much for your answer, it was really helpful.

Thanks Sébastien Heymann, that solved my question.