ELinks 0.16.1.1
rss.c File Reference
#include "elinks.h"
#include "document/css/css.h"
#include "document/css/parser.h"
#include "document/css/stylesheet.h"
#include "document/document.h"
#include "document/dom/util.h"
#include "document/dom/rss.h"
#include "dom/sgml/rss/rss.h"
#include "dom/node.h"
#include "dom/stack.h"
#include "intl/charsets.h"
#include "util/error.h"
#include "util/memory.h"
Include dependency graph for rss.c:

Data Structures

struct  rss_renderer

Enumerations

enum  rss_style {
  RSS_STYLE_TITLE , RSS_STYLE_AUTHOR , RSS_STYLE_AUTHOR_DATE_SEP , RSS_STYLE_DATE ,
  RSS_STYLES
}

Functions

static struct dom_stringget_rss_text (struct dom_node *node, enum rss_element_type type)
static void render_rss_item (struct dom_renderer *renderer, struct dom_node *item)
static void flush_rss_item (struct dom_renderer *renderer, struct rss_renderer *rss)
static enum dom_code dom_rss_push_element (struct dom_stack *stack, struct dom_node *node, void *xxx)
static enum dom_code dom_rss_pop_element (struct dom_stack *stack, struct dom_node *node, void *xxx)
static enum dom_code dom_rss_push_document (struct dom_stack *stack, struct dom_node *root, void *xxx)
static enum dom_code dom_rss_pop_document (struct dom_stack *stack, struct dom_node *root, void *xxx)

Variables

struct dom_stack_context_info dom_rss_renderer_context_info

Enumeration Type Documentation

◆ rss_style

enum rss_style
Enumerator
RSS_STYLE_TITLE 
RSS_STYLE_AUTHOR 
RSS_STYLE_AUTHOR_DATE_SEP 
RSS_STYLE_DATE 
RSS_STYLES 

Function Documentation

◆ dom_rss_pop_document()

enum dom_code dom_rss_pop_document ( struct dom_stack * stack,
struct dom_node * root,
void * xxx )
static

◆ dom_rss_pop_element()

enum dom_code dom_rss_pop_element ( struct dom_stack * stack,
struct dom_node * node,
void * xxx )
static

◆ dom_rss_push_document()

enum dom_code dom_rss_push_document ( struct dom_stack * stack,
struct dom_node * root,
void * xxx )
static

◆ dom_rss_push_element()

enum dom_code dom_rss_push_element ( struct dom_stack * stack,
struct dom_node * node,
void * xxx )
static

◆ flush_rss_item()

void flush_rss_item ( struct dom_renderer * renderer,
struct rss_renderer * rss )
static

◆ get_rss_text()

struct dom_string * get_rss_text ( struct dom_node * node,
enum rss_element_type type )
static

◆ render_rss_item()

void render_rss_item ( struct dom_renderer * renderer,
struct dom_node * item )
static

Variable Documentation

◆ dom_rss_renderer_context_info

struct dom_stack_context_info dom_rss_renderer_context_info