4d0e0fec72
opac-mymessages.pl and opac-mymessages.tmpl generate an RSS feed of a patron's messages from the message_queue. Some more methods in C4::Letters to let us pluck out the right entries in the queue. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
24 lines
813 B
XML
24 lines
813 B
XML
<?xml version="1.0"?>
|
|
<rss version="2.0">
|
|
<channel>
|
|
<title></title>
|
|
<link></link>
|
|
<description></description>
|
|
<language></language>
|
|
<pubDate></pubDate>
|
|
<lastBuildDate></lastBuildDate>
|
|
<docs></docs>
|
|
<generator></generator>
|
|
<managingEditor></managingEditor>
|
|
<webMaster></webMaster>
|
|
<!-- TMPL_LOOP NAME="message_list" -->
|
|
<item>
|
|
<title><!-- TMPL_VAR ESCAPE=HTML NAME="subject" --></title>
|
|
<link><!-- TMPL_VAR ESCAPE=HTML NAME="title" --></link>
|
|
<description><!-- TMPL_VAR ESCAPE=HTML NAME="content"--></description>
|
|
<pubDate><!-- TMPL_VAR ESCAPE=HTML NAME="time_queued" --></pubDate>
|
|
<guid><!-- TMPL_VAR ESCAPE=HTML NAME="title" --></guid>
|
|
</item>
|
|
<!-- /TMPL_LOOP -->
|
|
</channel>
|
|
</rss>
|