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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2016, 08:35 AM   #76
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,052
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Done, though I have given it only the most rudimentary testing.
kovidgoyal is offline   Reply With Quote
Old 06-21-2016, 06:13 AM   #77
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Excellent job. Thanks a lot.

Almost all incomplete references are corrected, only the links in the header section (<head>...</head>) and in the area-tags (<area href="...>) are still incomplete.

Thanks,

McDummy
mcdummy is offline   Reply With Quote
Advert
Old 06-25-2016, 05:16 PM   #78
Mixx
Zealot
Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.
 
Posts: 143
Karma: 387
Join Date: Sep 2010
Device: Kindle 3
Quote:
Originally Posted by OrganicJerk View Post

Also, another request, do you think it would be possible to have "parts" of the articles excluded? Being able to exclude things like Images, "See Also," "References," "External Links," and so on, would definitely be useful to many, let alone myself at the moment.

Again, thanks for the plugin!
Hello,

could I come back to this (now old) request? I am annoyed by the long list of "References" that I never need if I am reading on an e-reader. Could anyone please include an "exclude" (hah!) capability?

That would be very helpful.

Thanxx, Mixx
Mixx is offline   Reply With Quote
Old 07-05-2016, 06:38 AM   #79
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
WikiLivres

I hope it is not too complicated, but could the plugin be extended to WikiLivres?

http://wikilivres.ca

Regards,

McDummy
mcdummy is offline   Reply With Quote
Old 08-12-2016, 07:08 AM   #80
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Concerning the correction of incomplete (relative) references, it seems that the current version only corrects links in <a>-tags but not in <area> or <link>-tags.

The links in these tags could be corrected by adding

# <area> references
for area in soup.findAll('area', href=lambda x: x and x.startswith('/')):
href = area['href']
if href.startswith('//'):
area['href'] = 'https:' + href
elif url_prefix:
area['href'] = url_prefix + area['href']
# <link> references
for link in soup.findAll('link', href=lambda x: x and x.startswith('/')):
href = link['href']
if href.startswith('//'):
link['href'] = 'https:' + href
elif url_prefix:
link['href'] = url_prefix + link['href']

in wikipedia.recipe

after the code

for a in soup.findAll('a', href=lambda x: x and x.startswith('/')):
href = a['href']
if href.startswith('//'):
a['href'] = 'https:' + href
elif url_prefix:
a['href'] = url_prefix + a['href']

I guess the code could be simplified, but it is just a quick workaround for the time being.

McDummy
mcdummy is offline   Reply With Quote
Advert
Old 12-19-2016, 03:06 PM   #81
compukol
Junior Member
compukol began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2016
Device: none
Post Using Wiki Reader with Blog URL's

Hi I would like to use the Wiki Reader concept with a list of blog articles URL's. When I feed the URL's to Wiki Reader the result eBook contain only the links and not the content of the articles.
I am attaching the test output from trying to import few blog links.

Basically I am looking to use Calibre as a replacement to readlist.com from Readability that was shut down.

Any help would be greatly appreciated.
Attached Files
File Type: epub The Role of Branding in Your Ma - Wikipedia.epub (46.0 KB, 71 views)
compukol is offline   Reply With Quote
Old 12-19-2016, 11:03 PM   #82
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,052
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The Wiki Reader plugin uses the calibre recipe system (it has a recipe designed for extracting content from wikipedia). You cannot use it directly with arbitrary HTML pages. See https://manual.calibre-ebook.com/news.html for how the recipe system in calibre works.
kovidgoyal is offline   Reply With Quote
Old 11-06-2017, 02:29 AM   #83
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Wiki Reader does not download wiki-page

Hi,

when I try to create an ebook from

https://de.wikipedia.org/wiki/Hexe

Wiki Reader creates an empty epub. If I add this Wiki page to a collection of pages, this page is not included in the generated epub.

Is there a Problem in the plugin or in the page?

Thanks,

McDummy
mcdummy is offline   Reply With Quote
Old 02-15-2018, 09:39 AM   #84
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Removing improper characters from ids and references

Hi,

I've noticed that some writers on wiki articles use improper (not allowed) characters (such as, e.g., :,;()äöüß) in IDs and the corresponding references (href="..).

In the E-Books created by the Wiki Reader plugin, these characters are replaced in either the references or in the IDs (cannot remember which one) but not in both, which results in broken links.

Is there a simple way for replacing these characters in both the IDs and the reference? For instance in a pre-processing stage before calibre converts a Wiki-page to the final E-Book?

Regards,

McDummy
mcdummy is offline   Reply With Quote
Old 02-15-2018, 09:51 AM   #85
mcdummy
Enthusiast
mcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the roughmcdummy is a jewel in the rough
 
mcdummy's Avatar
 
Posts: 37
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Creating E-Books without Feed-navigation bars

Hi again,

When the Wiki Reader creates an E-Book, it places a (feed-)navigation bar at the beginning and the end of each Wiki article.

These navigation bars contain dead links and are not necessary.

Is there a simple way to prevent the plugin from creating these navigation bars?

Regards,

McDummy
mcdummy 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
[GUI Plugin] EpubSplit JimmXinu Plugins 242 07-03-2018 07:19 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 412 04-24-2018 06:07 PM
[GUI Plugin] Open With kiwidude Plugins 328 08-20-2017 11:34 PM
[GUI Plugin] Manage Sony x50 Reader Book List kpw Plugins 170 10-02-2014 08:23 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:22 PM.


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