Re: enclosure in gwene feeds
"Jose A. Ortega Ruiz" <[email protected]> Mon, 11 Jul 2022 21:13:21 +0100
| Newsgroups | gmane.discuss |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 11 2022, jao wrote:
> On Mon, Jul 11 2022, Andreas Schwab wrote:
>
>> In the gwene article, I mean.
>
> oh, i see. that's right. sometimes enclosures are images, so it sounds
> as an overgeneralization of the code extracting them, and thinking it's
> always going to be an image. for reference, rss2email just writes a
> line at the bottom saying:
>
> Enclosure: <url>
>
> i guess gwene could also simply put the URL in a link tag, as it does
> with with the "Link" one.
as a matter of fact, i see in the code it's trying to do exactly that,
with an anchor called Data:
https://github.com/larsmagne/gwene/blob/75c950865e2889d48828fbfa6d7127b5f0bbe2d7/fetch-rss#L393
but, for some reason, the enclosure tag is not being correctly (?) parsed.
jao
--
"It is easy to be blinded to the essential uselessness of computers by
the sense of accomplishment you get from getting them to work at all."
- Douglas Adams