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: 31,534
Karma: 8685410
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
Advert
Old 06-21-2016, 06:13 AM   #77
mcdummy
Member
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: 20
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
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
Member
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: 20
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
Member
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: 20
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, 45 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: 31,534
Karma: 8685410
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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 328 08-20-2017 11:34 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 403 07-29-2017 01:19 PM
[GUI Plugin] EpubSplit JimmXinu Plugins 197 07-25-2017 12:30 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 08:16 AM.


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