class RSS::Category
- RSS::Category
- RSS::Element
- Reference
- Object
Defined in:
cryss/category.crConstructors
Instance Method Summary
-
#domain : URI | Nil
Optional attribute that identifies a categorization taxonomy.
-
#name : String
Includes the item in one or more categories.
-
#to_xml(xml : XML::Builder)
Writes the generated XML to the provided xml builder.
Instance methods inherited from class RSS::Element
ns(name : String, &)
ns,
to_s(io : IO)
to_s,
to_xml(io : IO)to_xml(xml : XML::Builder) to_xml
Constructor Detail
Instance Method Detail
def name : String
#
Includes the item in one or more categories.
The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories. Two examples are provided below:
def to_xml(xml : XML::Builder)
#
Description copied from class RSS::Element
Writes the generated XML to the provided xml builder.