commit f5ce4cb018a5d05ef55e3720973a6b747f940228
parent 843c551810f868d72eda011c286229635fbee4a9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 16 May 2015 15:12:36 +0200
update README
Diffstat:
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/README b/README
@@ -117,7 +117,7 @@ Usage
Find RSS/Atom feed urls from a webpage:
- url="codemadness.org"; wget -L -q -O - "$url" | sfeed_web "$url"
+ url="codemadness.org"; curl -L -s "$url" | sfeed_web "$url"
output:
application/rss+xml http://codemadness.org/blog/rss.xml
diff --git a/README.xml b/README.xml
@@ -34,23 +34,22 @@ Caveats
called multiple times for the same tag if the data size is bigger than the
internal buffer size (sizeof(XMLParser.data)). To differentiate between new
calls for data you can use the xml*start and xml*end handlers.
-- If the xmlattrentity or xmldataentity handler is NULL it will pass the data
- to the xmlattr and xmldata handler.
- There is no table of (HTML / XML) named entities you should handle this with
the XMLParser.xmldataentity handler yourself.
-- The XML is not checked for errors so it will happily continue parsing invalid
- XML data, this is by design.
+- The XML is not checked for errors so it will continue parsing invalid XML
+ data, this is by design.
Files used
----------
+
xml.c and xml.h
Interface / API
---------------
-Should be straightforward, see xml.{c,h} and the examples below.
+Should be trivial, see xml.c and xml.h and the examples below.
Examples
@@ -61,5 +60,5 @@ sfeed_opml_import.c or sfeed_web.c or sfeed_xmlenc.c
License
-------
-Same as sfeed, see LICENSE file.
+See LICENSE file.