rss

Constant summary
*rss* (s-xml:parse-xml-string *rss-source* :output-type :sxml)
*rss-source* "<?xml version='1.0' encoding='utf-8' ?> <rdf:RDF xmlns='http://purl.org/rss/1.0/' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <channel rdf:about=''> <title></title> <link></link> <description></description> <dc:language>ja</dc:language> <dc:date></dc:date> <items> <rdf:Seq> <rdf:li rdf:resource='' /> </rdf:Seq> </items> </channel> <item rdf:about=''> <title></title> <link></link> <description></description> <dc:date></dc:date> </item> </rdf:RDF>"
Function summary
app-date x
app-description x
app-name x
app-url x
channel title url description lang date apps
item name url description date
item-list apps
items apps
rss title url description lang date apps
Macro summary
attr-rdf
name-about
name-channel
name-date
name-description
name-item
name-item-about
name-item-date
name-item-description
name-item-link
name-item-title
name-items
name-language
name-li
name-link
name-rdf
name-resource
name-seq
name-title
*rss-source*   "<?xml version='1.0' encoding='utf-8' ?> <rdf:RDF xmlns='http://purl.org/rss/1.0/' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <channel rdf:about=''> <title></title> <link></link> <description></description> <dc:language>ja</dc:language> <dc:date></dc:date> <items> <rdf:Seq> <rdf:li rdf:resource='' /> </rdf:Seq> </items> </channel> <item rdf:about=''> <title></title> <link></link> <description></description> <dc:date></dc:date> </item> </rdf:RDF>"  [Constant]

rssの雛形。

*rss*   (s-xml:parse-xml-string *rss-source* :output-type :sxml)  [Constant]

rssの雛形をparseしたsxml形式データ。 xmlのネームスペースがsxmlでどのように表現されるかきちんと理解していないので、雛形を元にrssを構築するようにしています。

*ni-view-title*    [Variable]
*ni-view-url*    [Variable]
*ni-view-description*    [Variable]
rss   title url description lang date apps  [Function]

rssをsxml形式で構築します。

    ;; 使い方 
     (rss "チャンネルのタイトル" 
          "対象とするサイトのURI" 
          "チャンネルの内容" 
          "言語" 
          "更新日時" 
          '(("app1-name" "app1-url" "app1-description" "app1-date") 
            ("リソースのタイトル" "リソースのURI" "リソースの要約" "リソースの更新日時") 
            ... )) 

channel   title url description lang date apps  [Function]

channel要素を構築します。

items   apps  [Function]

items要素を構築します。

app-name   x  [Function]

nameを取得します。

app-url   x  [Function]

urlを取得します。

app-description   x  [Function]

descriptionを取得します。

app-date   x  [Function]

dateを取得します。

item-list   apps  [Function]

item要素を構築します。

item   name url description date  [Function]

item要素を構築します。

name-rdf    [Macro]

要素名を取得します。rdf:RDF

attr-rdf    [Macro]

属性を取得します。

name-channel    [Macro]

要素名を取得します。channel

name-about    [Macro]

属性名を取得します。rdf:about

name-title    [Macro]

要素名を取得します。title

name-link    [Macro]

要素名を取得します。link

name-description    [Macro]

要素名を取得します。description

name-language    [Macro]

要素名を取得します。dc:language

name-date    [Macro]

要素名を取得します。dc:date

name-items    [Macro]

要素名を取得します。items

name-seq    [Macro]

要素名を取得します。rdf:Seq

name-li    [Macro]

要素名を取得します。rdf:li

name-resource    [Macro]

属性名を取得します。rdf:resource

name-item    [Macro]

要素名を取得します。item

name-item-about    [Macro]

属性名を取得します。rdf:about

name-item-title    [Macro]

要素名を取得します。title

name-item-link    [Macro]

要素名を取得します。link

name-item-description    [Macro]

要素名を取得します。description

name-item-date    [Macro]

要素名を取得します。dc:date