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 04-10-2022, 12:11 AM   #1
ashwinne
Junior Member
ashwinne began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2022
Device: Kobo Nia
NVIDIA Developer Blog recipe

It is an active blog with full length developer articles posted every week. Recipe attached in case folks are interested to ship the recipe with Calibre.
Attached Files
File Type: recipe NVIDIA Developer Blog_1004.recipe (384 Bytes, 126 views)
ashwinne is offline   Reply With Quote
Old 04-10-2022, 11:31 AM   #2
ashwinne
Junior Member
ashwinne began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2022
Device: Kobo Nia
The generated book of the blog posts looks fine, except that each individual chapter (or blog post) inside the book does not display the title at the beginning/top. The chapter titles are all there in the TOC, but they are just not displayed at the top of each chapter/post. I can see the title is there in the HTML returned by extract_readable_article().

Could someone experienced with recipes guide me what I need to be looking at to fix this?
ashwinne is offline   Reply With Quote
Advert
Old 04-10-2022, 10:15 PM   #3
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use keep_tags/remove_tags instead of automatic_cleanup. Or use automatic_cleanup_keep
kovidgoyal is offline   Reply With Quote
Old 04-10-2022, 11:34 PM   #4
ashwinne
Junior Member
ashwinne began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2022
Device: Kobo Nia
That worked! Setting auto_cleanup=False was enough to get the titles in the individual articles. ��
ashwinne is offline   Reply With Quote
Old 04-11-2022, 03:19 AM   #5
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 616
Karma: 85520
Join Date: May 2021
Device: kindle
but that would keep all unnecessary stuff from the page along with article title.

go through html tags and use remove_tags keep_tags feature.

https://github.com/kovidgoyal/calibr.../feeds/news.py

search here
unkn0wn is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a recipe for Blogspot blog BoundforPNG Recipes 1 07-24-2015 11:18 PM
Recipe request: In Vivo Blog miked378 Recipes 1 12-10-2011 03:01 PM
REQUEST: recipe for blog ayurazzz Recipes 0 03-25-2011 01:00 PM
Recipe for Flickr Blog rickydh Recipes 0 02-24-2011 12:59 PM
LRB BLOG - -RECIPE HELP JFS-NMF Recipes 0 01-28-2011 10:00 PM


All times are GMT -4. The time now is 11:49 AM.


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