Class: RDF::Vocab::RSS

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/vocab/rss.rb

Overview

Vocabulary for <purl.org/rss/1.0/>

Instance Attribute Summary collapse

Instance Attribute Details

#channelRDF::Vocabulary::Term (readonly)

An RSS information channel.

Returns:

  • (RDF::Vocabulary::Term)


6
7
8
# File 'lib/rdf/vocab/rss.rb', line 6

def channel
  @channel
end

#descriptionRDF::Vocabulary::Term (readonly)

A short text description of the subject.

Returns:

  • (RDF::Vocabulary::Term)


22
23
24
# File 'lib/rdf/vocab/rss.rb', line 22

def description
  @description
end

#imageRDF::Vocabulary::Term (readonly)

An RSS image.

Returns:

  • (RDF::Vocabulary::Term)


10
11
12
# File 'lib/rdf/vocab/rss.rb', line 10

def image
  @image
end

#itemRDF::Vocabulary::Term (readonly)

An RSS item.

Returns:

  • (RDF::Vocabulary::Term)


14
15
16
# File 'lib/rdf/vocab/rss.rb', line 14

def item
  @item
end

#itemsRDF::Vocabulary::Term (readonly)

Points to a list of rss:item elements that are members of the subject channel.

Returns:

  • (RDF::Vocabulary::Term)


26
27
28
# File 'lib/rdf/vocab/rss.rb', line 26

def items
  @items
end

The URL to which an HTML rendering of the subject will link.

Returns:

  • (RDF::Vocabulary::Term)


30
31
32
# File 'lib/rdf/vocab/rss.rb', line 30

def link
  @link
end

#nameRDF::Vocabulary::Term (readonly)

The text input field’s (variable) name.

Returns:

  • (RDF::Vocabulary::Term)


34
35
36
# File 'lib/rdf/vocab/rss.rb', line 34

def name
  @name
end

#textinputRDF::Vocabulary::Term (readonly)

An RSS text input.

Returns:

  • (RDF::Vocabulary::Term)


18
19
20
# File 'lib/rdf/vocab/rss.rb', line 18

def textinput
  @textinput
end

#titleRDF::Vocabulary::Term (readonly)

A descriptive title for the channel.

Returns:

  • (RDF::Vocabulary::Term)


38
39
40
# File 'lib/rdf/vocab/rss.rb', line 38

def title
  @title
end

#urlRDF::Vocabulary::Term (readonly)

The URL of the image to used in the ‘src’ attribute of the channel’s image tag when rendered as HTML.

Returns:

  • (RDF::Vocabulary::Term)


42
43
44
# File 'lib/rdf/vocab/rss.rb', line 42

def url
  @url
end