Custom elements in meta

Asked by Nikola Malešević

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:
Last query:
Last reply:
Revision history for this message
Best Sébastien Heymann (sebastien.heymann) said :
#1

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

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

Revision history for this message
Nikola Malešević (nikola-malesevic) said :
#2

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

Revision history for this message
Nikola Malešević (nikola-malesevic) said :
#3

Thanks Sébastien Heymann, that solved my question.