![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 261
Karma: 134567
Join Date: Nov 2008
Device: Always in flux
|
The Economist-Format Question
What's the method for getting rid of the subsections throughout labeled "Related items" and "Related topics".
These are all hyperlinks that don't work and just take up space in the recipe. Not sure if it's possible, but it would be a nice improvement on an already great recipe. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: May 2008
Device: iLiad
|
I asked the same question a while ago and apparently there are some devices for whom those links work. Therefore the willingness to drop those elements is limited. I too would appreciate their removal.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
If you don't want them, modify the builtin recipe and create a custom recipe for your personal use that doesn't include them. |
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 261
Karma: 134567
Join Date: Nov 2008
Device: Always in flux
|
Thanks for the replies. If anyone can give some guidance on how to modify the recipe to get rid of these links, that would be much appreciated.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
Speaking of the Economist recipe, does anyone know why I don't see the first lines of the article in "Acticles view"?
I only see the title, which gives often no clue. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
http://calibre-ebook.com/user_manual/news.html#news and here: http://calibre-ebook.com/user_manual...ownloaded-html particularly remove_tags. |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I don't read it, but the summary in a recipe usually comes from the Universal Feed Parser and the feed itself. Does the feed have a summary?
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 57
Karma: 12
Join Date: Jan 2011
Device: Kindle
|
The Economist (RSS) comes with summeries, but The Economist not. The latter includes more articles but no summeries. Other than that I don't quite understand the difference between the two recipes.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,188
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The economist recipe uses http://www.economist.com/printedition/ which has no summaries.
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 1
Karma: 12
Join Date: May 2011
Device: Kindle
|
Quote:
Code:
dict(attrs={'class':['dblClkTrk', 'ec-article-info', 'share_inline_header']}), Code:
dict(attrs={'class':['dblClkTrk', 'ec-article-info', 'share_inline_header', 'related-items']}), |
|
![]() |
![]() |
![]() |
#11 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 261
Karma: 134567
Join Date: Nov 2008
Device: Always in flux
|
Thanks. Works like a charm.
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: kindle
|
You can also fix the headers so they look similar to the print edition by adding:
extra_css = '.headline {font-size: x-large;} \n h2 { font-size: x-small; } \n h1 { font-size: medium; }' |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Format Question | dkb | Sony Reader | 2 | 10-20-2010 09:25 PM |
Format Differences Question | AJ Starr | Astak EZReader | 14 | 04-20-2010 08:30 PM |
Kindle Format Question | DavidTurnbull | Amazon Kindle | 4 | 10-19-2009 03:40 PM |
Question about the best format(s). | morajelly | Sony Reader | 14 | 07-14-2009 10:44 PM |
Format Question | Panin | Bookeen | 10 | 02-18-2008 05:45 AM |