summaryrefslogtreecommitdiff
path: root/src/raptor_rss.h
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2009-02-25 03:55:42 +0000
committerDave Beckett <dave@dajobe.org>2009-02-25 03:55:42 +0000
commit06093f3d269c2d66a5a5b631231b023ef931fdf3 (patch)
treee5cacb7dfd63d17d1a166dce9027aeb762d2abcb /src/raptor_rss.h
parentdc7f35e5d304a294c5a91cc02f5ee5f85b865228 (diff)
downloadraptor-06093f3d269c2d66a5a5b631231b023ef931fdf3.tar.gz
Add RAPTOR_ATOM_LINK block type
Diffstat (limited to 'src/raptor_rss.h')
-rw-r--r--src/raptor_rss.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/raptor_rss.h b/src/raptor_rss.h
index c281cafc..ad093b4e 100644
--- a/src/raptor_rss.h
+++ b/src/raptor_rss.h
@@ -44,6 +44,8 @@ typedef enum {
/* atom author */
RAPTOR_ATOM_AUTHOR,
+ /* atom link */
+ RAPTOR_ATOM_LINK,
/* itunes owner */
RAPTOR_ITUNES_OWNER,
@@ -197,10 +199,16 @@ typedef enum {
RAPTOR_RSS_RDF_ATOM_AUTHOR_CLASS, /* In RDF output, not atom field */
RAPTOR_RSS_RDF_ATOM_CATEGORY_CLASS, /* In RDF output, not atom field */
+ RAPTOR_RSS_RDF_ATOM_LINK_CLASS, /* In RDF output, not atom field */
RAPTOR_RSS_FIELD_ATOM_LABEL, /* atom 1.0 attribute label */
RAPTOR_RSS_FIELD_ATOM_SCHEME, /* atom 1.0 attribute scheme */
RAPTOR_RSS_FIELD_ATOM_TERM, /* atom 1.0 attribute term */
+ RAPTOR_RSS_FIELD_ATOM_HREF, /* atom 1.0 attribute term */
+ RAPTOR_RSS_FIELD_ATOM_REL, /* atom 1.0 attribute term */
+ RAPTOR_RSS_FIELD_ATOM_TYPE, /* atom 1.0 attribute term */
+ RAPTOR_RSS_FIELD_ATOM_HREFLANG, /* atom 1.0 attribute term */
+ RAPTOR_RSS_FIELD_ATOM_LENGTH, /* atom 1.0 attribute term */
RAPTOR_RSS_FIELD_DC_TITLE, /* DC title */
RAPTOR_RSS_FIELD_DC_CONTRIBUTOR, /* DC contributor */
@@ -316,7 +324,7 @@ typedef struct {
extern const raptor_rss_item_info raptor_rss_items_info[RAPTOR_RSS_COMMON_SIZE+1];
-#define RAPTOR_RSS_BLOCKS_SIZE 10
+#define RAPTOR_RSS_BLOCKS_SIZE 16
/* Metadata blocks info */
typedef struct {
/* metadata block type it applies to */