diff options
author | Dave Beckett <dave@dajobe.org> | 2008-06-05 06:27:02 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2008-06-05 06:27:02 +0000 |
commit | 6636ff8a222c96c431a62dcd9fc4873eb8c3b563 (patch) | |
tree | 19cf7310d49a9485d9d32d78ccfeb10c9e7c0bc1 /src/raptor_rss.h | |
parent | cec31888ad3359df47b516f1d5371609bbad0f47 (diff) | |
download | raptor-6636ff8a222c96c431a62dcd9fc4873eb8c3b563.tar.gz |
raptor_rss_field gains is_xml field. Added at:contentType / RAPTOR_RSS_FIELD_AT_CONTENT_TYPE field
Diffstat (limited to 'src/raptor_rss.h')
-rw-r--r-- | src/raptor_rss.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/raptor_rss.h b/src/raptor_rss.h index 0c076b43..e1689e06 100644 --- a/src/raptor_rss.h +++ b/src/raptor_rss.h @@ -209,6 +209,8 @@ typedef enum { RAPTOR_RSS_FIELD_CONTENT_ENCODED, /* rss 1.0 module content:encoded */ + RAPTOR_RSS_FIELD_AT_CONTENT_TYPE, /* at:contentType */ + RAPTOR_RSS_FIELD_UNKNOWN, RAPTOR_RSS_FIELD_NONE, @@ -243,10 +245,14 @@ struct raptor_rss_field_s raptor_uri* uri; struct raptor_rss_field_s* next; /* this field was mapped from another vocab */ - int is_mapped; + int is_mapped:1; + /* value is XML */ + int is_xml:1; }; typedef struct raptor_rss_field_s raptor_rss_field; +#define RAPTOR_RSS_FIELD_MAPPED + /* RSS items (instances of typed nodes) containing fields */ struct raptor_rss_item_s { |