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 |
void display_rss_control | ( | char * | reply_to, | |
char * | subject | |||
) |
view rss Config menu
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
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().
time_t if_modified_since |
the last modified stamp
Definition at line 13 of file rss.c.
Referenced by context_loop(), and display_rss().