Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2016, 07:20 PM   #1
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,543
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Change URL in "this article was downloaded from..."

Is there a way to set a different url for the link at bottom that says "this article was downloaded by calibre from (url)".

I want to set the url to a human friendly one. The url the recipe is downloading from returns a json, which is going to be confusing and unhelpful.

Barring that, is it possible to simply suppress that line?
Barty is offline   Reply With Quote
Old 10-03-2016, 10:15 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,268
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Implement print_version() in your recipe to return the json url while parse_index returns the human url. The article will be download from the url print_version returns, while the original url will be displayed in the footer.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About "this article was downloaded by" Dimsok Recipes 2 03-23-2016 09:58 AM
Yikes: "this article was downloaded by calibre" after every article sheygetz Calibre 11 05-29-2015 02:56 AM
how to change default dictionary to a newly downloaded one(e ink 6") china_108 Amazon Kindle 5 12-16-2013 08:58 AM
include "This article was downloaded by calibre from" for tablet profile Purple Lady Recipes 10 06-23-2013 01:28 AM
Remove "This article was downloaded by calibre from..." peonazerty Recipes 1 05-27-2013 08:40 AM


All times are GMT -4. The time now is 11:13 PM.


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