function rdf_example_help in Examples for Developers 7
Implements hook_help().
Related topics
File
- rdf_example/
rdf_example.module, line 71 - This is an example outlining how a module can be used to define RDF mappings. We define mappings for a node type defined in this module. We also customize mappings for a node type that is defined in another module, node_example.
Code
function rdf_example_help($path, $arg) {
switch ($path) {
case 'examples/rdf_example':
return "<p>" . t("The RDF Example module provides RDF mappings for a custom node type and\n alters another node type's RDF mapping.\n You can check your RDF using a <a href='!parser'>parser</a> by copying\n and pasting your HTML source code into the box. For clearest results,\n use Turtle as your output format.", array(
'!parser' => url('http://www.w3.org/2007/08/pyRdfa/#distill_by_input'),
)) . "</p>";
}
}