Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2008, 10:01 AM   #1
moggie
Enthusiast
moggie is on a distinguished road
 
moggie's Avatar
 
Posts: 34
Karma: 74
Join Date: Nov 2008
Location: Cambridge,UK
Device: sony 505
Questions about recipes

I have been building a recipe for a web site.

The issues I have are:

Setting an url for the cover seems to make everything fail, should it just be a string of an url of an image to be used on the cover ?

How can I set the metadata such as tags and author of the book generated by feeds2lrf from the recipe.

How can I feed in additional information such as a page reference so I can transform a user specified area ( should I over-ride the use of username for example ? )

How do I submit the recipe when I am happy with it ( even though Its the first python code I have done )
moggie is offline   Reply With Quote
Old 12-21-2008, 12:56 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: 45,269
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
cover_url = 'http://whatever'

You can't set metadata (the author is always set to calibre)

There is no mechanism for additional user specified information, the idea being that downloading news should be as simple as point and click. What is your use case for this? You can override the use of username if you want, but that is a hack

Either attach it to the custom recipes thread or attach it to a new ticket on the calibre website.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-21-2008, 01:00 PM   #3
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by moggie View Post
Setting an url for the cover seems to make everything fail, should it just be a string of an url of an image to be used on the cover ?
cover_url must be url that points to some image.

Quote:
Originally Posted by moggie View Post
How can I set the metadata such as tags and author of the book generated by feeds2lrf from the recipe.
For that you use html2lrf_options variable (see what options are available by executing html2lrf from command line)

For example:
Code:
    html2lrf_options = [ 
                         '--author', 'Authorname',
                         '--comment', 'somecoment',
                         '--category', 'somecategory'
                         '--publisher', 'somepublisher'
                       ]
Quote:
Originally Posted by moggie View Post
How can I feed in additional information such as a page reference so I can transform a user specified area ( should I over-ride the use of username for example ? )
This one I do not understand. Please clarify.

Quote:
Originally Posted by moggie View Post
How do I submit the recipe when I am happy with it ( even though Its the first python code I have done )
Use custom recipes sticky thread in this forum.
kiklop74 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipes and RSS feeds and organization questions flyash Calibre 13 06-11-2010 03:56 AM
Where my recipes are kept? bthoven Calibre 6 02-26-2010 12:20 AM
Help with RSS recipes fmma Calibre 1 06-15-2009 11:51 AM
Request for recipes mccande Calibre 4 12-26-2008 01:05 AM
Request for Recipes GPThomson Calibre 2 11-21-2008 12:19 PM


All times are GMT -4. The time now is 06:24 PM.


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