Ticket #165 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Should list feed <enclosure>s in drop-down menu

Reported by: daniel Assigned to: fox
Priority: wishlist Milestone: 1.2.17
Component: interface Version:
Keywords: Cc:

Description

Many feeds contains audio, video, documents, BitTorrent? hashes, and other files attached as <enclosure> items. These items should be made available from a drop-down menu at the bottom of the news element.

The drop down menu should be labeled ‘Attachments’ or ‘Downloads’ or ‘Enclosure list’.

So a user might see ‘Downloads: * fileA.flac * fileB.ogm’

This would make Tiny Tiny RSS have another feature to be listed on the wiki front-page: Podcast support. (As the term ‘podcast’ is coined from ‘iPod’ and ‘broadcast’, I would support going for a more vendor nautral term like ‘feedcast’, short for ‘feed broadcasting’.)

Change History

11/17/07 16:00:24 changed by fox

  • status changed from new to assigned.
  • milestone set to 1.2.18.

That lingering for quite some time. Could you post some feeds with enclosures to serve as examples?

11/17/07 16:05:30 changed by daniel

11/17/07 16:31:35 changed by fox

OK. Can you give an example of a feed with multiple enclosures per item or multiple items per enclosure?

11/17/07 16:40:41 changed by daniel

There sure are examples of that in the wild. But you raised an interesting question: Is drop-down boxess really nessesacry when there usually is just one file?

Hmm... Maybe not? How about using ‘< p >< strong >Enclosure:< / strong > fileA.ogm< / p >’ and ‘< p >< strong >Enclosures:< / strong > fileA.ogm, fileB.flac, and fileC.torrent< / p >’ for plurals? (Note the trailing -s and comma use for plurals.)

Here is the Buzz Out Loud feed but with two day's enclosures combined into one item. (I just pasted the code below. Hope that is fine.)

<?xml version="1.0"?> <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

<channel>

<title>Buzz Out Loud from CNET</title> <itunes:author>CNET.com</itunes:author> <link>http://bol.cnet.com/</link> <copyright>2007 CNET.com</copyright> <description>Molly Wood and Tom Merritt give you their daily take on what's happening in tech news throughout the week. Listeners can email us at buzz@cnet.com or call 1-800-616-CNET to leave a message, and be a part of the show.</description> <managingEditor>buzz@cnet.com (BuzzOutLoud?)</managingEditor> <webMaster>buzz@cnet.com (BuzzOutLoud?)</webMaster> <language>en-us</language> <itunes:explicit>no</itunes:explicit> <itunes:subtitle>Buzz Out Loud from CNET gives you a unique take on what's happening in tech news this week.</itunes:subtitle> <itunes:summary>Molly Wood and Tom Merritt give you their daily take on what's happening in tech news throughout the week. Listeners can email us at buzz@cnet.com or call 1-800-616-CNET to leave a message, and be a part of the show.</itunes:summary> <itunes:image href="http://www.cnet.com/i/pod/image.jpg" /> <image> <url>http://www.cnet.com/i/pod/image_small.jpg</url> <title>Buzz Out Loud from CNET</title> <width>144</width> <height>144</height> <link>http://bol.cnet.com/</link> </image> <itunes:keywords>technology,bacn,gadget,internet,security,mp3,cell,camera,apple,microsoft,google,electronic</itunes:keywords> <category>Technology</category> <itunes:category text="Technology"> <itunes:category text="Tech News"/> <itunes:category text="Gadgets"/> <itunes:category text="Software How-To"/> </itunes:category> <itunes:owner> <itunes:name>CNET.com</itunes:name> <itunes:email>buzz@cnet.com</itunes:email> </itunes:owner> <lastBuildDate>Fri, 16 Nov 2007 19:20:51 GMT</lastBuildDate> <pubDate>Fri, 16 Nov 2007 19:20:51 GMT</pubDate> <docs>http://blogs.law.harvard.edu/tech/rss</docs>

<item> <title>Buzz Out Loud 606: The Kindle is coming!</title> <link>http://chkpt.zdnet.com/chkpt/1pcast.bole.111607/http://podcast-files.cnet.com/podcast/cnet_buzzoutloud_111607.mp3</link> <author>buzz@cnet.com</author> <description>Oh, boy, kids. No, really. Get fired up. Amazon's e-book reader, the Kindle, may be arriving on Monday! I know, right!? Breathe. In other news, the anti-P2P college bill (you know, "the blackmail of our nation's universities, etc. etc.") has advanced in the House. So, yay for that. And Google might just get all crazy and buy that wireless spectrum after all. </description> <itunes:subtitle>Get fired up! Amazon's e-book reader is coming! Hot diggity! Plus: mind-reading for real.</itunes:subtitle> <itunes:summary>Oh, boy, kids. No, really. Get fired up. Amazon's e-book reader, the Kindle, may be arriving on Monday! I know, right!? Breathe. In other news, the anti-P2P college bill (you know, "the blackmail of our nation's universities, etc. etc.") has advanced in the House. So, yay for that. And Google might just get all crazy and buy that wireless spectrum after all. </itunes:summary> <itunes:explicit>No</itunes:explicit> <itunes:author>Tom Merritt and Molly Wood</itunes:author> <guid>http://podcast-files.cnet.com/podcast/cnet_buzzoutloud_111607.mp3</guid> <itunes:duration>43:17</itunes:duration> <itunes:keywords>cnet, p2p,azureus,vuze,bittorrent,google,firefox,zune,microsoft,wii,nintendo,vista,amazon,kindle,colossus,sierra,ghostbusters,holmes,toshiba,hd dvd</itunes:keywords> <enclosure url="http://chkpt.zdnet.com/chkpt/1pcast.bole.111607/http://podcast-files.cnet.com/podcast/cnet_buzzoutloud_111607.mp3" length="26039607" type="audio/mpeg" />

<category>Podcasts</category> <pubDate>Fri, 16 Nov 2007 19:20:51 GMT</pubDate>

<enclosure url="http://chkpt.zdnet.com/chkpt/1pcast.bole.111507/http://podcast-files.cnet.com/podcast/cnet_buzzoutloud_111507.mp3" length="19999355" type="audio/mpeg" /> </item> </channel> </rss>

11/17/07 18:08:52 changed by fox

  • milestone changed from 1.2.18 to 1.2.17.

11/17/07 18:14:12 changed by daniel

Yes. But I do not think it should be separated so clearly from the content. A line break should be surficial. It should not be presented with a smaller font either.

How about having some special icon near the title? As an indicator for feeds with attachments. (I am thinking about users who are not using the combined view.)

PS: Your MIME type seams very wrong for a MPEG-4 video.

11/17/07 18:22:10 changed by fox

Look: http://bah.org.ru/images/shots/2007-11-17_enclosure2.png

I thought about the icon, but titlebar is crowded already (I also have to think about non-combined view). This probably will be how it stays for the time being.

PS: Your MIME type seams very wrong for a MPEG-4 video.

I only use whatever authors put in the feed.

11/17/07 18:25:54 changed by daniel

Add anohter line break. Then it will be perfect!

That way it will be separated from the content by two clear lines; but still appear cclose to the content. A horizontal line is too much, but two clear lines will do the trick.

11/17/07 18:29:04 changed by fox

In combined mode: http://bah.org.ru/images/shots/2007-11-17_enclosure3.png

Looks good enough for me, without sacrificing too much vertical space (something I'd had an argument about recently).

11/17/07 18:30:20 changed by www-ttrss

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [2156]) [project @ add support for enclosures (closes #165)]

11/17/07 18:56:35 changed by daniel

  • status changed from closed to reopened.
  • resolution deleted.

The last attachment should, in the comma separated list, have an ‘and’ prefix. Like this:

Attachments: Something.mov, somethingelse.jpg, and somebits.torrent

When there are two attachments the comma should be dropped, leaving only ’and’. Like this: ‘Attachments: Something.mov and somebits.torrent’

And as I see you have done, drop the trailing -s when there is only one: ‘Attachment: Something.mov’

11/17/07 19:00:19 changed by www-ttrss

(In [2157]) [project @ show enclosures in CDM (refs #165)]

11/18/07 11:53:21 changed by fox

  • status changed from reopened to closed.
  • resolution set to fixed.

The last attachment should, in the comma separated list, have an ‘and’ prefix.

That's basically a lot of work and code clutter for nothing but purely aesthetic reasons and, well, for only one language. Sorry, but no way.

11/18/07 14:18:49 changed by daniel

That's basically a lot of work and code clutter for nothing but purely aesthetic reasons and, well, for only one language. Sorry, but no way.

Actually most Latin based have a word meaning ‘and’, which is used excactly as in English.

Is not aesthetic reasons good enough? It makes the presentation better. Your application is all about presenting content. I do think you should present it as best as possible. You know, to live up to what your application is supposed to do.