0

I can't understand the meaning of the word 'enclosure' in the context: "This client reads one or more RSS feeds, queues up the enclosures for download, and processes several downloads in parallel using threads.". Can you explain me please the meaning of it.

I read it in the python docs - https://pymotw.com/2/Queue/#using-queues-with-threads

1
  • The analogy is to an old-fashioned "snail mail" letter: In addition to the letter itself you might have several "enclosures" -- additional pages that are not part of the letter but are information the recipient might want to refer to while/after reading the letter.
    – Hot Licks
    May 14, 2016 at 21:30

1 Answer 1

1

In general, enclosure means more-or-less what it sounds like: something that is enclosed in something else. It usually referred to anything included in a letter or package. If you put a lock of hair in a love-note, the hair would be the enclosure.

In your example, it is a term of art specific to the definition of an RSS feed. An enclosure is a media-item (such as an image or a video) sent along with an entry in the feed.

3
  • Thank you for response, Malvolio. It helps me. I haven't enough rating to vote up your answer.
    – discort
    May 14, 2016 at 20:05
  • @discort -- we don't do it for the fame. You are quite welcome. May 14, 2016 at 20:09
  • @discort - I've given an upvote on your behalf! May 14, 2016 at 20:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.