~ubuntu-branches/ubuntu/feisty/elinks/feisty-updates

« back to all changes in this revision

Viewing changes to src/dom/sgml/rss/rss.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-30 08:57:43 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630085743-l81fgbw9dehvl1ds
Tags: 0.11.1-1ubuntu1
* Merge to Debian unstable.
* Removed gnutls12 porting, this is upstream now.
* Only Ubuntu changes left:
  - Killed type-handling.
  - Add X-Ubuntu-Gettext-Domain to .desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* RSS SGML info */
 
2
 
 
3
#ifdef HAVE_CONFIG_H
 
4
#include "config.h"
 
5
#endif
 
6
 
 
7
#include "elinks.h"
 
8
 
 
9
#include "dom/sgml/rss/rss.h"
 
10
#include "dom/sgml/sgml.h"
 
11
 
 
12
 
 
13
#define RSS_(node, name, id)    SGML_NODE_INFO(RSS, node, name, id)
 
14
 
 
15
static struct sgml_node_info rss_attributes[RSS_ATTRIBUTES] = {
 
16
        SGML_NODE_HEAD(RSS, ATTRIBUTE),
 
17
 
 
18
#include "dom/sgml/rss/attribute.inc"
 
19
};
 
20
 
 
21
static struct sgml_node_info rss_elements[RSS_ELEMENTS] = {
 
22
        SGML_NODE_HEAD(RSS, ELEMENT),
 
23
 
 
24
#include "dom/sgml/rss/element.inc"
 
25
};
 
26
 
 
27
 
 
28
struct sgml_info sgml_rss_info = {
 
29
        SGML_DOCTYPE_RSS,
 
30
        rss_attributes,
 
31
        rss_elements,
 
32
};