--- a/src/internfile/htmlparse.h
+++ b/src/internfile/htmlparse.h
@@ -31,16 +31,18 @@
using std::map;
class HtmlParser {
+ map<string, string> parameters;
protected:
virtual void decode_entities(string &s);
bool in_script;
string charset;
static map<string, unsigned int> named_ents;
+
+ bool get_parameter(const string & param, string & value) const;
public:
virtual void process_text(const string &/*text*/) { }
- virtual void opening_tag(const string &/*tag*/,
- const map<string,string> &/*p*/) { }
- virtual void closing_tag(const string &/*tag*/) { }
+ virtual bool opening_tag(const string &/*tag*/) { return true; }
+ virtual bool closing_tag(const string &/*tag*/) { return true; }
virtual void parse_html(const string &text);
virtual void do_eof() {}
HtmlParser();