[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
There are some famous mailing list manager (or archiver).
If you find out one of such mailing list managers' names in a web page
source when you analyze it in the step of See section 9.5.2 Getting web page and header information, you are very lucky(14). The
modules `sb-mailman.el', `sb-mhonarc.el', `sb-fml.el' and
`sb-mailarc.el' have the shimbun-get-headers
method, etc,
already, when you write small code that is not defined in such
`shimbun' modules, your new `sb-foobar.el' module works!
If you use the `sb-mailman.el' module, write the following S expressions to the top of the `sb-foobar.el' file:
(require 'shimbun) (require 'sb-mailman) (luna-define-class shimbun-foobar (shimbun-mailman) ()) |
Those above mean that `shimbun' module `shimbun-foobar' inherits shimbun-mailman class(15) and methods defined in the `sb-mailman.el' module will be used in `shimbun-foobar' by default. You can overwrite some of parent methods, if necessary.
See the `sb-pilot-mailsync.el' file as a sample that uses the `sb-mailman.el' module. You can feel how easy to create a new `shimbun' module by using such parent modules.
Note that there are some localized version of such mailing list manager, for examples, some of them show Date information in Japanese. The modules `sb-mailman.el', `sb-mhonarc.el', `sb-fml.el' and `sb-mailarc.el' assumes that mailing list managers are not localized.
If you want to read via `shimbun' a web site that uses localized mailing list manager, you may have to overwrite some methods in the parent module.