Module: RSS::DublinCoreModel

Constant Summary collapse

TEXT_ELEMENTS =
{
  "title" => nil,
  "description" => nil,
  "creator" => nil,
  "subject" => nil,
  "publisher" => nil,
  "contributor" => nil,
  "type" => nil,
  "format" => nil,
  "identifier" => nil,
  "source" => nil,
  "language" => nil,
  "relation" => nil,
  "coverage" => nil,
  "rights" => "rights_list"
}
DATE_ELEMENTS =
{
  "date" => "w3cdtf",
}
ELEMENT_NAME_INFOS =
DublinCoreModel::TEXT_ELEMENTS.to_a
ELEMENTS =
TEXT_ELEMENTS.keys + DATE_ELEMENTS.keys

Method Summary

Methods included from BaseModel

install_date_element, install_have_child_element, install_have_children_element, install_text_element

Methods included from Utils

element_initialize_arguments?, get_file_and_line_from_caller, new_with_value_if_need, to_class_name

Methods included from BaseDublinCoreModel

append_features