我有一个创建HTML输出的模块。是否需要支持Drupal 7 RDF模块？
I have a module that creates HTML output. Does it need to support the Drupal 7 RDF module?
What are the functions made available from the RDF module that allows a module to integrate with it? What hooks does the module use?
Themes will work with the RDF module if they use the proper attributes variables.
If you are generating HTML outside of the core theming (which seems unusual) system you will need to get this information yourself. The RDF mapping api is quite well documented. Essentially there is a mapping between fields and RDF. So a title field could have a mapping of dc:title.
You can then add rdfa markup to the fields as you output them.
If you are using standard theme functions, then so long as you stick to the D7 guidelines all of the RDF magic should be done for you. Specifically make sure that you use
If you want to know how to define RDF mappings, then please ask more questions.