-
-
Save mlncn/1190283 to your computer and use it in GitHub Desktop.
hrm...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <span property="dc:date dc:created" content="2011-08-30T17:01:12-04:00" datatype="xsd:dateTime"> | |
| <time datetime="2011-08-30T21:01:12" pubdate="pubdate">30 Aug 2011</time> | |
| </span> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scor's leprechauns do their work in:
http://api.drupal.org/api/drupal/modules--rdf--rdf.module/function/rdf_process/7
and in theme_rdf_template_variable_wrapper
"if you don't want an extra wrapper element, you can override this function to not wrap that variable and instead print the following inside your template file"
"instead print the following inside your template file: drupal_attributes($rdf_template_variable_attributes_array[$variable_name])"
Maybe date variables are being wrapped sorta by chance from this code:
$date_attributes_array = rdf_rdfa_attributes($variables['rdf_mapping']['created'], $variables['created']);
$variables['rdf_template_variable_attributes_array']['date'] = $date_attributes_array;