summaryrefslogtreecommitdiff
path: root/src/raptor_rss.h
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2006-02-21 07:10:37 +0000
committerDave Beckett <dave@dajobe.org>2006-02-21 07:10:37 +0000
commitca3b810c19cc960376096691443216a90cd88829 (patch)
treef6598ca05a685f8d7b0a7128208cb7da3e23b9d7 /src/raptor_rss.h
parent13cf7595830b2a4fa3e110f5050fc80036ca98fa (diff)
downloadraptor-ca3b810c19cc960376096691443216a90cd88829.tar.gz
Add RDF namespace for RSS use
Diffstat (limited to 'src/raptor_rss.h')
-rw-r--r--src/raptor_rss.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/raptor_rss.h b/src/raptor_rss.h
index b31c86a2..32914b4f 100644
--- a/src/raptor_rss.h
+++ b/src/raptor_rss.h
@@ -73,6 +73,7 @@ typedef enum {
#define RSS1_1_NAMESPACE_URI "http://purl.org/net/rss1.1#"
#define CONTENT_NAMESPACE_URI "http://web.resource.org/rss/1.0/modules/content/"
#define ATOM1_0_NAMESPACE_URI "http://www.w3.org/2005/Atom"
+#define RDF_NAMESPACE_URI "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
/* Old netscape namespace, turn into RSS 1.0 */
#define RSS0_9_NAMESPACE_URI "http://my.netscape.com/rdf/simple/0.9/"
@@ -91,8 +92,9 @@ typedef enum {
RSS1_1_NS = 8,
CONTENT_NS = 9,
ATOM1_0_NS = 10,
+ RDF_NS = 11,
- RAPTOR_RSS_NAMESPACES_SIZE = ATOM1_0_NS + 1
+ RAPTOR_RSS_NAMESPACES_SIZE = RDF_NS + 1
} rss_info_namespace;
@@ -275,6 +277,9 @@ typedef struct {
int items_count;
raptor_uri* concepts[RAPTOR_RSS_N_CONCEPTS];
+
+ raptor_namespace_stack *nstack;
+
} raptor_rss_model;