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 11-02-2024, 07:20 PM   #1
jma1
Connoisseur
jma1 began at the beginning.
 
Posts: 85
Karma: 10
Join Date: Dec 2015
Device: Kindle
Request for help with NY Post custom recipe

I am having difficulty removing two article elements in the attached NY Post recipe. This is not the builtin version as some cleanup is already incorporated.

First, adding formatting to article picture captions using preprocess_html for <figcaption> (as in this recipie) does nothing. It works elsewhere such as the Epoch Times recipe. Example article from website linked has pictures and captions.

Second, a popup box appears in the browser view of articles with text 'Start your day..' and then also appears in the article text on the feed output. Attached two files show the text in the feed output and the html associated with this popup. Have not been able to remove this tex from the output.

Would appreciate any help - thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	Start Your Day viewed within article mobi.JPG
Views:	82
Size:	38.1 KB
ID:	211810   Click image for larger version

Name:	Start your day inline box html.JPG
Views:	81
Size:	37.1 KB
ID:	211811  
Attached Files
File Type: recipe New York Post_1050.recipe (3.5 KB, 61 views)
jma1 is offline   Reply With Quote
Old 11-03-2024, 01:20 AM   #2
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
https://github.com/kovidgoyal/calibr...c3fc3004525baf
unkn0wn is offline   Reply With Quote
Advert
Old 11-04-2024, 08:10 AM   #3
jma1
Connoisseur
jma1 began at the beginning.
 
Posts: 85
Karma: 10
Join Date: Dec 2015
Device: Kindle
Absolutely perfect. Makes reading and comprehension so much improved - thanks.
jma1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe Request ezzieyguywuf Recipes 0 12-04-2012 08:15 PM
recipe request chell1948 Recipes 1 06-02-2011 01:23 PM
Recipe Request - South China Morning Post mobilewilier Calibre 1 05-02-2010 11:42 PM
Request for Recipe ddavtian Calibre 2 11-24-2008 02:43 AM
Request for recipe girlperson1 Calibre 2 11-13-2008 10:03 PM


All times are GMT -4. The time now is 03:37 AM.


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