Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's probably worth doing some research on how to integrate with the Microdata module.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1438612-3-birthdays_schemaorg.patch | 7.44 KB | colette |
#2 | 1438612-2-birthdays_schemaorg.patch | 6.31 KB | colette |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedJust found this issue, feel free to ping me if you have any questions.
Comment #2
colette CreditAttribution: colette commentedI wrote a patch that integrates the module with Entity API, and outputs microdata for every possible display type. To make it compatible with the Schema.org format, the birthday is converted to ISO format, with the timezone set to 'Z':
However, I'm not sure whether microdata should be made available for all display types, like when showing just the star sign. What do you think?
Comment #3
colette CreditAttribution: colette commentedI updated the patch to give suggestions for the schema.org mapping.
Comment #4
klonos@linclark: ping?
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedWhen I said "feel free to ping me", that was meant for the maintainer to ping if he had any questions while working on the patch. Since then, colette posted a patch.
Feel free to test it. If you have any problems, you can post them here.
Comment #6
klonos...well colette had a question back in #2 and it was unanswered. Thus the ping. Didn't mean to be a nuisance.
I'll test the patch with the first chance I get.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedcolette is my GSOC student, so don't worry, she pings me personally when she has questions for me.
Testing this would be fantastic, thanks!