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 08-10-2015, 07:11 AM   #61
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by anonymust View Post
Has this been updated, it doesnt seem to work for me.
What? Where? How?

May be here you find an answer!?

Last edited by chaot; 08-10-2015 at 07:15 AM.
chaot is offline   Reply With Quote
Old 08-10-2015, 11:05 AM   #62
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
@anonymust,

"doesn't seem to work" is rather vague. If you could provide details about how it is failing, that might help someone fix this.

Are you getting error messages? Are you getting mangled output? Are you getting NO output?

Anything odd showing up in the job logs?
eschwartz is offline   Reply With Quote
Advert
Old 08-22-2015, 05:04 PM   #63
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
This plugin seems to work very well and replaces the missing epub generator (and broken pdf generator) that wikipedia use to have.

Now if it could just accept the url of a book made with book creator instead of manually entering a bunch of urls... Even if all it did was ignore all the extra metadata and just grab the list of articles listed in a book, I'd be happy.

https://en.wikipedia.org/wiki/Help:Books
compurandom is offline   Reply With Quote
Old 08-23-2015, 01:46 AM   #64
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure, that is pretty easy to do.
kovidgoyal is offline   Reply With Quote
Old 08-23-2015, 08:43 AM   #65
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
That was quick! Cool!

However, it seems to read the first section and then give up.
For example, https://en.wikipedia.org/wiki/Book:3D_printing
only gets the first two articles, quitting before the second heading. Comparing it with the next book, my guess is that it got tripped up on a blank line between the sections and stopped there.

Trying a second book
https://en.wikipedia.org/wiki/Book:2...rricane_season
It looks like it got the whole thing except that it missed the last article (Otto) , replacing it with a second copy of the first article.


Books I tried that are in user space don't work at all. Those would have a URL format like
https ://en.wikipedia.org/wiki/User:USERNAME/Books/BOOKNAME
Looking at the debug output and comparing with one that actually generates an ebook, it gets the correct list of articles, and then dies with this:

Traceback (most recent call last):
File "site.py", line 63, in main
File "site-packages/calibre/utils/ipc/worker.py", line 193, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1042, in run
File "site-packages/calibre/customize/conversion.py", line 241, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 117, in convert
File "site-packages/calibre/web/feeds/news.py", line 1029, in download
File "site-packages/calibre/web/feeds/news.py", line 1202, in build_index
ValueError: No articles found, aborting

For example, I tested on
https://en.wikipedia.org/wiki/User:B.../_Black_Friday
which is a random book from https://en.wikipedia.org/wiki/Catego...8user_books%29

This article (not in user space) fails in the same pattern:
https://en.wikipedia.org/wiki/Book:Black_Hole_Physics

Last edited by compurandom; 08-23-2015 at 08:51 AM. Reason: found another
compurandom is offline   Reply With Quote
Advert
Old 08-23-2015, 09:03 AM   #66
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh, wikipedia and its inconsistent markup. Should be fine now. Note that if a book contains separate "articles" that point to different locations on the same URL, they will be duplicated in the download.
kovidgoyal is offline   Reply With Quote
Old 08-23-2015, 08:56 PM   #67
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by kovidgoyal View Post
Note that if a book contains separate "articles" that point to different locations on the same URL, they will be duplicated in the download.
I think that's reasonable -- it would be a bug in the book itself on the wikipedia side, not a bug in this tool.

This is great, it restores functionality I've missed badly since wikipedia removed it.
compurandom is offline   Reply With Quote
Old 08-28-2015, 02:54 PM   #68
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
This new feature is incredibly useful, thank you!

Cheers, Mixx
Mixx is offline   Reply With Quote
Old 08-31-2015, 08:56 AM   #69
mgrmgrde
Member
mgrmgrde began at the beginning.
 
mgrmgrde's Avatar
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Location: Northern Germany
Device: kindle 3 iPhone 6+, Kindle HDX 8.9, Kindle paperwhite
Hi,

I tried the plugin today with URL https://en.wikipedia.org/wiki/List_o...er-view_events

But as a result I only got a 2 page book with a title "ARTICLES"

???
mgrmgrde is offline   Reply With Quote
Old 08-31-2015, 09:17 AM   #70
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That is not a wikibook page. You need to use a wikibook page. For ordinary wikipedia articles, you paste the url into the main dialog and click OK
kovidgoyal is offline   Reply With Quote
Old 10-13-2015, 04:50 AM   #71
ekblom
Junior Member
ekblom began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2015
Device: Kobo Aura HD
Hi kovidgoyal,

It would be awesome if you could add this to wikipedia.recipe to get rid of those anying edit-links:

Code:
dict(name='span', attrs={'class': 'mw-editsection'})
Actually tested it myself and it worked fine.

Also, sometimes the enginge split the document right after a headline, resulting in an almost blank page, dont know if its easy to fix, but couldnt hurt to notify you. Attached an example. This was generated from https://sv.wikipedia.org/wiki/Allmän...tivitetsteorin

Regards,
Ekblom
Attached Files
File Type: epub Allmanna relativitetsteorin [ti - Wikipedia.epub (486.7 KB, 399 views)
ekblom is offline   Reply With Quote
Old 10-13-2015, 10:46 AM   #72
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: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure. As for page breaks, the conversion engine defaults to adding them before h1 and h2 tags. You can turn that off by adding

'page_breaks_before':'/'

to conversion_options in the recipe.
kovidgoyal is offline   Reply With Quote
Old 12-21-2015, 04:23 AM   #73
Popaul31
Junior Member
Popaul31 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2015
Device: pocketBook 626
Hello Krittika Goyal,

This application is a very good idea .
ebooks created with the application open very well in class but I have a blank page when I open my reading light ( PocketBook 626) .
could you help me please? Thanks in advance.

Is it possible to create the ebook without the links in the Wikipedia article ?

sorry for my bad English language.
Popaul31 is offline   Reply With Quote
Old 01-04-2016, 01:12 PM   #74
tiandijie
Member
tiandijie began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Sep 2015
Device: Kindle Voyage
looks like this terrific tool has not been updated for quite a long time......but still I want to know if there is any possibility for further tweak. The current version did everything well expcept the low-sesolution image quality. I love reading history wikis and I had to download the original image by myself to replace the grabbed image in html files

Last edited by tiandijie; 01-04-2016 at 01:16 PM.
tiandijie is offline   Reply With Quote
Old 06-16-2016, 07:11 AM   #75
mcdummy
Connoisseur
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: 56
Karma: 7130
Join Date: Apr 2015
Device: PRS-T3
Incomplete reference to web pages

Hi,

Wiki articles use incomplete references to other Wiki articles, which are copied as they are by the plugin.

For instance, references within wiki articles do not include "https:" and start with href="//..." or leave out the "https://en.wikipedia.org" and start with href="/wiki/" or href="/W/.

Since most readers are able to access the internet, it would be great if these references were correct to, e.g.,

href="https://

or

href="http://en.wikipedia.org

during the generation of the ebook.

In addition, in case an article makes reference to another article (or a section thereof) of the resulting ebook, it would be great if the original reference to the web page were replaced by the reference to the corresponding article in the ebook.

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 422 04-07-2024 04:10 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[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 06:27 AM.


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