HTTrack Website Copier
Free software offline browser - FORUM
Subject: * * HTTrack 3.41-alpha-5 released
Author: Xavier Roche
Date: 06/05/2006 11:49
A new alpha version (alpha-5) of the upcoming 3.41 release is now available.

The biggest change since older alpha releases is the callback model, which has
been rewritten. If you have existing callbacks, please have a look at this

However, converting old callback code to new code is rather trivial:
- add the hts_plug() entry point, with callabck wrapping inside
- make all other functions static
- change slightly the callback prototypes to add two leading additional
parameters (the callback and option structures)

See the example given the end of <>

If you are having problems or questions regarding the new callback API, do not
hesitate to ask questions in this forum.

The new callback API allows:

* easier plugging of external callbacks, with an unique syntax:

httrack --wrapper <wrappername>
(with or wrappername.dll to be found in the library search

modules now plug themselves in the httrackp* structure, using macros.

* chained callbacks, allowing to make multiple processing in callbacks

Besides, two new callbacks were added: 'detect' and 'parse', allowing to parse
specific types. 

Note: both .class and .swf paser are now "real" plugins based on this model,
loaded at startup

Regarding the (yet another again) big changes in the code, please report bugs
(even obvious ones) or crashes in this very first *alpha* release, thank you!

Feel free to test the new version here:

All articles

Subject Author Date
* * HTTrack 3.41-alpha-5 released

06/05/2006 11:49


Created with FORUM 2.0.11