[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: sb-atom-hash: deal with empty content



From: David Engster <deng@xxxxxxxxxxxxxxx> said
Subject: [emacs-w3m:10985] sb-atom-hash: deal with empty content
Message-ID: <m2r5vs569u.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Aug 2009 10:31:57 +0200

> I just had sb-atom-hash throwing an error due to a malformed feed which
> had an article with empty content (which leads to a call to
> shimbun-decode-entities-string with 'nil' as argument). While atom-hash
> is not really at fault here, I think it should still try to degrade
> gracefully in such cases. Please consider applying the attached patch,
> which circumvents this problem. With this patch, the article will still
> appear, but will be marked as expired/canceled when selected.
> 
> Changelog:
> 
> 2009-08-04  David Engster  <dengste@xxxxxx>
> 
> 	* sb-atom-hash.el (content-hash-update-items-impl): Deal with
>           missing content.

Just Installed.  Thanks!

-- 
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)