]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/blogging.mdwn
web commit by JamesWestby
[git.ikiwiki.info.git] / doc / todo / blogging.mdwn
index f14480c7901c0acc19952d6c535dcbb58652abe2..2451a571370ea52a11dc675f6bb86b72467646a9 100644 (file)
@@ -29,3 +29,44 @@ http://jameswestby.net/scratch/podcast.diff
        the wiki..
 
        --[[Joey]]
+
+That's fair enough. I'm a little unsure of how it all works, so I just did the
+simplest thing I could. 
+
+You don't need a description for podcasts it seems. So there's nothing stopping
+you there. 
+
+I have another patch that I think does what you want. It only supports .mp3 files,
+.ogg or similar could be added easily. 
+
+It has the disadvantage that the filename is all there is to go on, as I can't
+think of a way to associate any information with the mp3 file. I don't 
+want to add a dependency on a IDv3 tag library. You could add another file
+.mp3.info with the title/description in. 
+
+It's obviously up to you which way you want to go.
+
+http://jameswestby.net/scratch/podcast2.diff
+
+-- JamesWestby
+
+       Hmm, this could be taken a step further, and assume that if
+       IkiWiki::pagetype doesn't return a defined page type for the page
+       in the blog, then no matter the extension it should be fed into the
+       rss feed in an enclosure. This would allow for not only podcasting,
+       but vidcasting and a form of photo blogging. Or even an rss feed
+       containing the source of ikiwiki. ;-)
+       
+       --[[Joey]]
+
+Yes I agree that this would be great, but rss2 spec says that enclosure
+must have mime-type. How about I use the File::MimeInfo trick from the 
+first patch to do this? I don't know why I didn't do this before.
+This will probably clean the code up a little as well. 
+
+What do you think of the change that when using raw, if the filetype is not
+known it adds an entry anyway? I did this so that the entries appear if
+this mode is used. It might be that this is not necessary, as can we assume
+that people wont use raw if they want to pod/vid/whatevercast?
+
+-- JamesWestby