]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/blogging.mdwn
web commit by JamesWestby
[ikiwiki.git] / doc / todo / blogging.mdwn
1 - Add Discussion and Edit links at the bottom of each inlined post.
2 - It would be possible to support rss enclosures for eg, podcasts, pretty easily. 
3
4 Here is the last of those items. Using the meta plugin you can give the appropriate 
5 info, and the enclosure will be added to the entry. It will also add a <link /> tag
6 at the top, but I don't know if this is necessary. It also includes a fix for
7 when make is used without PREFIX. 
8
9 <http://jameswestby.net/scratch/podcast.diff>
10
11 -- JamesWestby
12
13 > Hmm. Not quite how I'd envisioned podcasts would work, my idea was
14 > more that the sound files would be kept inside the wiki, and the
15 > inline plugin could be told to eg, inline *.mp3, and would add
16 > those to the rss feed as enclosures. Maybe you'd also inline some
17 > regular blog pages to describe the files or the like.
18
19 > Do you think that would work or that it's worth pursuing that
20 > approach? I haven't looked at podcasts enough to know if that
21 > method would be technically feasable; for one thing it would limit
22 > the blog items for podcasts to just having an enclosure but no
23 > description.
24
25 > Even if that doesn't work and pages are needed to desribe the items
26 > like you did, it still seems better to keep the podcast items in
27 > the wiki..
28
29 > --[[Joey]]
30
31 That's fair enough. I'm a little unsure of how it all works, so I just did the
32 simplest thing I could. 
33
34 You don't need a description for podcasts it seems. So there's nothing stopping
35 you there. 
36
37 I have another patch that I think does what you want. It only supports .mp3 files,
38 .ogg or similar could be added easily. 
39
40 It has the disadvantage that the filename is all there is to go on, as I can't
41 think of a way to associate any information with the mp3 file. I don't 
42 want to add a dependency on a IDv3 tag library. You could add another file
43 .mp3.info with the title/description in. 
44
45 It's obviously up to you which way you want to go.
46
47 <http://jameswestby.net/scratch/podcast2.diff>
48
49 -- JamesWestby
50
51 > Hmm, this could be taken a step further, and assume that if
52 > IkiWiki::pagetype doesn't return a defined page type for the page
53 > in the blog, then no matter the extension it should be fed into the
54 > rss feed in an enclosure. This would allow for not only podcasting,
55 > but vidcasting and a form of photo blogging. Or even an rss feed
56 > containing the source of ikiwiki. ;-)
57
58 > --[[Joey]]
59
60 Yes I agree that this would be great, but rss2 spec says that enclosure
61 must have mime-type. How about I use the File::MimeInfo trick from the 
62 first patch to do this? I don't know why I didn't do this before.
63 This will probably clean the code up a little as well. 
64
65 What do you think of the change that when using raw, if the filetype is not
66 known it adds an entry anyway? I did this so that the entries appear if
67 this mode is used. It might be that this is not necessary, as can we assume
68 that people wont use raw if they want to pod/vid/whatevercast?
69
70 -- JamesWestby
71
72 > Using File::Mimeinfo makes sense to me.
73
74 > I think it probably makes sense to make the (html) blog page
75 > add an entry with a link to the file that's in the enclosure in the
76 > rss feed. Whether or not raw is being used.
77
78 > Note: I'm still unsure about whether podcasts should support
79 > descriptions for the enclosures or not. Here's an early podcast
80 > that did use descriptions:
81 > <http://static.userland.com/gems/backend/gratefulDead.xml>
82 > Here's a contemporary podcast, which also uses descriptions:
83 > <http://www.lugradio.org/episodes.rss>
84
85 > The podcast client I use certianly doesn't care about the
86 > descriptions. But it's podracer, probably not the thing most
87 > podcast users use. :-)
88
89 > --[[Joey]]
90
91 I tested with amarok, and that also ignored the description.
92 I am thinking of those where you have a mixed feed, and people
93 using clients that ignore enclsures get pretty much a blank post,
94 with just the filename, and the html page, which also just displays
95 the filename.
96
97 I don't think this is a big issue though, so I guess it's just which
98 you think is the cleaner interface.
99
100 I have also added the first of your ideas as well (though you seem to have
101 removed it). It adds a parameter to inline `archive_after` which limits
102 showing full entries to that number.
103
104 <http://jameswestby.net/scratch/limit.diff>
105
106 -- JamesWestby