Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2018, 08:21 AM   #1
Ramana
Enthusiast
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 33
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
How to access the url string in preprocess_html function?

I want to access the article url for which proprocess_html will be called. Could any one tell how to access the url ?
Ramana is offline   Reply With Quote
Old 12-07-2018, 10:12 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: 33,735
Karma: 10215946
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use preprocess_raw_html instead, it takes the article url as a parameter.
kovidgoyal is offline   Reply With Quote
Old 12-10-2018, 10:15 AM   #3
Ramana
Enthusiast
Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.Ramana can self-interpret dreams as they happen.
 
Posts: 33
Karma: 20728
Join Date: May 2015
Device: Onyx Boox i86 Hdml plus
Quote:
Originally Posted by kovidgoyal View Post
use preprocess_raw_html instead, it takes the article url as a parameter.
Thank you Kovid
Ramana is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Correct URL to access Calibre remotely: requires username password searcygr Related Tools 1 08-20-2018 01:16 AM
Print friendly url unrelated to regular url (and javascript) sleepless Recipes 3 12-03-2011 11:43 AM
Mathch a string while ignoring some character in that string? ElMiko Sigil 12 12-01-2011 11:05 PM
Article object in preprocess_html stuartweinstein Recipes 1 11-18-2010 12:53 PM
Kindle 2.0.2 -- URL function suddenly won't work zipzip Amazon Kindle 3 03-22-2009 08:38 AM


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


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