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 01-19-2016, 04:07 PM   #1
danhotchkiss
Member
danhotchkiss began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Kindle DX & Paperwhite
NY Times author information

When Calibre delivers the New York Times to my Kindle, it omits the information about the writer that appears at the bottom of each contributed op-ed article. For instance, the article that appears online at http://www.nytimes.com/2016/01/19/op...an-change.html contains the following when I view the source:

<footer class="story-footer story-content">
<div class="story-meta">
<div class="story-notes">
<p>Adel bin Ahmed Al-Jubeir is the foreign minister of the Kingdom of Saudi Arabia.</p>
</div>
</div><!-- close story-meta -->
</footer>

This is pretty important information! What change do I need to make to the NYTimes recipe to make it include this in the Kindle version?

Thanks much,
Dan
danhotchkiss is offline   Reply With Quote
Old 01-19-2016, 11: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: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There will likely be a remove_tags rule that is matching that block, Look for footer int he recipe.
kovidgoyal is online now   Reply With Quote
Advert
Old 01-20-2016, 06:12 PM   #3
danhotchkiss
Member
danhotchkiss began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Kindle DX & Paperwhite
Thanks, Kovid. Under remove_tags, I see lines containing articleFooter, story-footer-links, page-footer, footer promos clearfix, footer links clearfix, footer, and page-footer.

I plan to comment these out one by one and see what happens. Please let me know if I've misunderstood!

Dan
danhotchkiss is offline   Reply With Quote
Old 01-23-2016, 05:47 PM   #4
danhotchkiss
Member
danhotchkiss began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Kindle DX & Paperwhite
No luck. I've commented out the following lines Under "remove_tags = [" in my NYTimes recipe:

#'articleFooter',
#'rfd', 'story-footer-links', 'page-footer',
#'metaFootnote',
#'post-tools',
#'footer promos clearfix',
#'footer links clearfix',
#'footer',
#'page-footer',

And still the author bio does not appear. For example, in the article at http://www.nytimes.com/2016/01/23/op...t-hackers.html, the following text shows in the source, but does not appear on the Kindle:

<div class="story-meta">
<div class="story-notes">
<p><a href="https://inmoscowsshadows.wordpress.com/about/">Mark Galeotti</a> is a professor at the New York University School of Professional Studies’ Center for Global Affairs.</p>
</div>

I'm stumped! Any other ideas how I might get this important information to show?

Thanks,
Dan
danhotchkiss is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Author information judyni Library Management 4 05-24-2014 04:37 PM
Suggestion: Turn the Author Sort Meta Information Button into a Toggle Greg Waddell Calibre 2 04-15-2011 01:07 AM
Editing Author Information Metamorphosis Calibre 3 12-30-2009 11:26 AM
Author Sort Field in Edit Meta Information Window RoninTech Calibre 4 11-13-2008 04:08 AM
Edit rtf Author Information in Open Office? CCDMan Sony Reader 12 06-10-2007 01:48 AM


All times are GMT -4. The time now is 09:44 AM.


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