Generate some RSS for our rooms.
[RSS Mechanisms]


Functions

void display_rss_control (char *reply_to, char *subject)
 view rss Config menu
void display_rss (char *roomname, char *request_method)
 print the feed to the subscriber

Variables

time_t if_modified_since

Function Documentation

void display_rss_control ( char *  reply_to,
char *  subject 
)

view rss Config menu

Parameters:
reply_to the original author
subject the subject of the feed

Definition at line 20 of file rss.c.

References urlescputs(), and wprintf().

Referenced by display_rss().

void display_rss ( char *  roomname,
char *  request_method 
)

print the feed to the subscriber

Parameters:
roomname the room we sould print out as rss
request_method the way the rss is requested????

< Buffer of characters to be converted

< Buffer for converted characters

< Length of input buffer

< Length of output buffer

< Saved pointer to output buffer

Read time of last message immediately

Get room info for description

Read all messages and output as RSS items

Read message and output each as RSS item

screw it

Now the hard part, the message itself

Set up a character set conversion if we need to

Messages in legacy Citadel variformat get handled thusly...

Boring old 80-column fixed format text gets handled this way...

HTML is fun, but we've got to strip it first

Do RSS footer

Definition at line 44 of file rss.c.

References authorization_required(), ctdl_iconv_open(), display_rss_control(), escputs(), gotoroom(), if_modified_since, is_https, load_msg_ptrs(), lprintf(), output_html(), safestrncpy(), serv_getln(), serv_printf(), serv_puts(), url(), utf8ify_rfc822_string(), wDumpContent(), and wprintf().

Referenced by session_loop().


Variable Documentation

time_t if_modified_since

the last modified stamp

Definition at line 13 of file rss.c.

Referenced by context_loop(), and display_rss().


Generated on Wed Jun 20 23:13:13 2007 for webcit by  doxygen 1.5.2