| 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
page:
<http://www.httrack.com/html/dev.html>
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 <http://www.httrack.com/html/plug.html>
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 libwrappername.so or wrappername.dll to be found in the library search
path)
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:
<http://www.httrack.com/page/2/#beta>
| |