Quote:
Originally Posted by poloman
Hi! I'd like to learn how do do some feeds - I've read the tutorial and the site I'm after doesn't quite work - are there any tips/examples for feed burner based feeds?
Ideally, I'd like to create a recipe for The Daily Mash : http://feeds.feedburner.com/thedailymash
Thanks for any help you can give!
|
Poloman, my tip is this. And I don't mean to come across as rude by saying this. Do like I'm doing. Jump in head first with it. Even though I have programmed in C# for years, the python scripting is different for me. None the less, take and look at the recipes that are already provided. On a windows based system they are in /program files/calibre2/resources/recipes (or along that path).
First when you get it pulling the feed, then you will be hey that's not how i want it to look. So then you do like I did and go hmmm how do I remove the stuff. So i started doing a search in the recipes for remove and came across remove_tags and remove_tags_after and so on. Then also keep_only. I then took and tried those methods and if they worked I patted myself on the back and if they didn't then i took and posted segments of my code or in some cases the whole code in spoiler and code tags and the good folks on this site will generally help you out in a timely manner given you put for the effort. I know Starson17 has helped me big time along with a few others..
Bottom line is yes it is complicated to learn (heck i'm still figuring it out), but once you start to get the basics. You develop and arsenal to attack almost any feed you are faced with.
I for one feel defeated when I work on something for hours and then someone comes along instead of explaining what they done and simply doing it. Yes I'm grateful that they do that, yet on the same token I feel let down because I haven't learned anything..
So give it a try and let us know where we can help.
Here take a look at this to give you an idea... This should work for you but read the comments in it so you can get a understand of how i went about it. The only thing that I can't figure out on this is how to remove the style tags to get rid of the digg links and so forth at the bottom..