Introduction
Introduction Statistics Contact Development Disclaimer Help
README: small rewording in how to add new parsed tags and fields - sfeed - RSS …
git clone git://git.codemadness.org/sfeed
Log
Files
Refs
README
LICENSE
---
commit 3ee28da0f47d6a3b59d1c8493374df4e01bc0af4
parent aeb1398411ce245fa7982365640f7852d63b3d52
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 16 Feb 2023 20:29:22 +0100
README: small rewording in how to add new parsed tags and fields
Diffstat:
M README | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/README b/README
@@ -1077,6 +1077,8 @@ sfeed.c contains definitions to parse XML tags and map th…
fields. Parsed RSS and Atom tag names are first stored as a TagId, which is a
number. This TagId is then mapped to the output field index.
+Steps to modify the code:
+
* Add a new TagId enum for the tag.
* (optional) Add a new FeedField* enum for the new output field or you can map
@@ -1100,7 +1102,7 @@ number. This TagId is then mapped to the output field in…
* (optional) Print the new field in the printfields() function.
-Below is a patch example to add the MRSS "media:content" field as a new field:
+Below is a patch example to add the MRSS "media:content" tag as a new field:
diff --git a/sfeed.c b/sfeed.c
--- a/sfeed.c
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.