unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Tim Landscheidt <tim@tim-landscheidt.de>
Cc: 45477@debbugs.gnu.org
Subject: bug#45477: 27.1; RFE: Make full RSS fragments available for nnrss servers
Date: Mon, 28 Dec 2020 01:05:45 +0100	[thread overview]
Message-ID: <87lfdi6bhi.fsf@gnus.org> (raw)
In-Reply-To: <874kk7os1v.fsf@passepartout.tim-landscheidt.de> (Tim Landscheidt's message of "Sun, 27 Dec 2020 21:30:36 +0000")

Tim Landscheidt <tim@tim-landscheidt.de> writes:

> Some RSS feeds provide additional data in extra tags; for
> example, http://feeds.feedburner.com/DougLovesMovies (and
> others) includes information for/from iTunes:

[...]

> |       <itunes:title>Jimmy Pardo, Matt Belknap, Eliot Hochberg and
> | Garon Cockrell guest</itunes:title>
> |       <itunes:episodeType>full</itunes:episodeType>
> |       <itunes:episode>1286</itunes:episode>
> |       <itunes:summary>In a special holiday Doug Loves Movies-Never
> | Not Funny cross-over event, Doug welcomes Jimmy Pardo, Matt Belknap,
> | Eliot Hochberg and Garon Cockrell to the show.</itunes:summary>

This information?

> |       <content:encoded><![CDATA[<p>In a special holiday Doug Loves
> | Movies-Never Not Funny cross-over event, Doug welcomes Jimmy Pardo,
> | Matt Belknap, Eliot Hochberg and Garon Cockrell to the
> | show.</p>]]></content:encoded>

[...]

> |       <enclosure
> | url="http://feedproxy.google.com/~r/DougLovesMovies/~5/4ig02kQVqkQ/7d50103f-d685-4f0f-814e-b38fd2d643d8.mp3"
> | length="46292323" type="audio/mpeg"/>

I'm not very familiar with nnrss, but it looks like the itunes: info
mostly replicates the info in the other fields?

> It would be very useful to have this information available.
> A very simplistic solution would be to add item to the tuple
> that gets pushed to nnrss-group-data by nnrss-check-group so
> that it can be accessed via:
>
> | (nth 9 (alist-get
> |         (gnus-summary-article-number)
> |         nnrss-group-data))
>
> (This method, with 9 replaced by 2 or 6, already allows ac-
> cess to "pure" representations of title, URL & Co.)
>
> However it might be prudent to have a more stable inter-
> face :-).

Sure, I guess stashing it there would make sense, but it would require
people that want to use the info to write a bit of code, right?  Just
stashing all the info there seems a bit... odd to me somehow.  I don't
think any other backends do that?

So I'm wondering whether this could be fixed in some other way, that
would be useful to everybody without writing further code to use the
data.  So would it make sense just to include the data from the extra
fields here in the message body?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-12-28  0:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 21:30 bug#45477: 27.1; RFE: Make full RSS fragments available for nnrss servers Tim Landscheidt
2020-12-28  0:05 ` Lars Ingebrigtsen [this message]
2020-12-29 16:50   ` Tim Landscheidt
2020-12-30  3:02     ` Lars Ingebrigtsen
2020-12-30  8:22       ` Tim Landscheidt
2020-12-31  4:33         ` Lars Ingebrigtsen
2021-01-01 17:09           ` Tim Landscheidt
2021-01-02  5:52             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfdi6bhi.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45477@debbugs.gnu.org \
    --cc=tim@tim-landscheidt.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).