From: Don Malcolm <email@example.com> - 2006-03-27 03:29:47
As I understand the discussion regarding caching so far. Liferea
supports two rendering engines. One is gtkhtml2, and the other Mozilla.
There is possibility of future additional rendering engines.
Currently Mozilla handles caching, and gtkhtml2 does not. Mozilla has an
off-line mode that can be turned on.
Some feeds use formats other than HTML, such as SVG and MathML. I expect
that gtkhtml2 only handles the HTML format. To quote freshmeat.net:
"GtkHTML is a HTML rendering/editing library. It is not designed to be
the ultimate HTML browser/editor; instead, it is designed to be easily
embedded into applications that require lightweight HTML functionality".
When anyone wishes to render formats other than HTML, they may have to
configure Liferea to use Mozilla.
The task of providing off-line reading of messages with the display of
images etc. can be split into three projects:
1) Turn on off-line caching for Mozilla.
1) In the Preferences menu item, add a configuration preference to turn
on, and off, pre-caching (of images etc).
2) In the place in the code when updating the feed (in feed_parse
function after call to download_process in file feed.c) add rendering of
the retrieved HTML message in a hidden window. Only do the rendering
when running Mozilla, and pre-caching preference is selected.
1) Add caching to Liferea in the gtkhtml2 branch. This would be added
following a branch in the code that selects gtkhtml2 or Mozilla specific
rendering, and before going into the gtkhtml2 code.
2) In the place in the code when updating the feed, allow hidden
rendering to take place for both Mozilla, and gtkhtml2.
Once projects A and B, have been completed, when someone wants to read
the feed messages off-line, they can setup Liferea to use Mozilla, and
turn on the pre-caching preference.
With all three projects complete, when off-line reading of messages,
images etc. will be available independent of renderer.
Get latest updates about Open Source Projects, Conferences and News.