Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-28-2009, 04:32 PM   #1
enarchay
Zealot
enarchay began at the beginning.
 
Posts: 144
Karma: 10
Join Date: May 2009
Device: none
[Request Recipe(s)] (or tutorial?)

There are two blogs I’m trying to get Calibre to send to my ereader, but I don’t know how to customize the recipes (besides by putting the RSS feed link in and setting up a schedule).

The one blog looks fine on my ereader, but when you’re reading a post and get to “Read more,” the link is not active, so you can’t read whole posts. The other blog is functional, but the background is a dark grey so you can barely read it.

Could someone set me up a recipe for these blogs or else explain to me how to do it myself? Both would probably be nice, since I’m sure I’ll be encountering problems like this in the future.

Here are the links:

http://opensourcetheology.net/view/all/feed

http://feeds.christianitytoday.com/c...day/ctliveblog and http://feeds.christianitytoday.com/c...day/ctpolitics
enarchay is offline   Reply With Quote
Old 05-28-2009, 04:38 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Have you read the section of the User Manual on creating recipes?
kovidgoyal is online now   Reply With Quote
Advert
Old 05-28-2009, 06:05 PM   #3
enarchay
Zealot
enarchay began at the beginning.
 
Posts: 144
Karma: 10
Join Date: May 2009
Device: none
Disabling the CSS made it look worse and I can't figure out where the CSS is making the background turn out gray on my ereader. I don't see any directions to fix the "read more" thing either.
enarchay is offline   Reply With Quote
Old 05-28-2009, 06:47 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use postprocess_html to remove <style> tags. And use print_version to convert the article URLs to those of the full article
kovidgoyal is online now   Reply With Quote
Old 05-28-2009, 06:53 PM   #5
enarchay
Zealot
enarchay began at the beginning.
 
Posts: 144
Karma: 10
Join Date: May 2009
Device: none
Quote:
Originally Posted by kovidgoyal View Post
use postprocess_html to remove <style> tags. And use print_version to convert the article URLs to those of the full article
Woudn't removing the <style> tags result in the article losing all formatting?

As for print_version, I just add it to the recipe?
enarchay is offline   Reply With Quote
Advert
Old 05-28-2009, 10:50 PM   #6
enarchay
Zealot
enarchay began at the beginning.
 
Posts: 144
Karma: 10
Join Date: May 2009
Device: none
I tried print_version with this one blog and it didn't work. "Continue reading" still shows up.
enarchay is offline   Reply With Quote
Old 05-29-2009, 02:29 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to use print_version to transform the blog article url to the url pointing to the full story. If the mapping is simple you can just apply it to all urls blindly, otherwise you will have to download the atricle in the print_version function, parse it to get the url of the full article and return that
kovidgoyal is online now   Reply With Quote
Old 05-29-2009, 02:48 AM   #8
enarchay
Zealot
enarchay began at the beginning.
 
Posts: 144
Karma: 10
Join Date: May 2009
Device: none
I'm sort of confused. Can you explain this in a little more detail? Where exactly to I put print_version?
enarchay is offline   Reply With Quote
Old 05-29-2009, 12:09 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://calibre.kovidgoyal.net/user_m...n-of-bbc-co-uk
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for recipe exdream Calibre 3 04-24-2010 10:13 AM
Yet another Recipe request.. sherman Calibre 4 11-21-2008 04:42 AM
Request for Recipe girlperson1 Calibre 2 11-14-2008 10:43 PM
Request for Recipe girlperson1 Calibre 2 11-14-2008 07:59 AM
Request for recipe girlperson1 Calibre 2 11-13-2008 10:03 PM


All times are GMT -4. The time now is 10:35 AM.


MobileRead.com is a privately owned, operated and funded community.