summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-05-16 15:12:36 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-05-16 15:12:36 +0200
commitf5ce4cb018a5d05ef55e3720973a6b747f940228 (patch)
treef9aaf7498bb6fc59c398766f71d3d8a2f301f1c9
parent843c551810f868d72eda011c286229635fbee4a9 (diff)
update README
-rw-r--r--README2
-rw-r--r--README.xml11
2 files changed, 6 insertions, 7 deletions
diff --git a/README b/README
index 9eb1ed3..c418d72 100644
--- 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
index 7f2d191..809360a 100644
--- 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.