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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2018, 03:24 PM   #1
desk7
Zealot
desk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toys
 
Posts: 119
Karma: 5678
Join Date: May 2016
Device: Kindle Paperwhite, Onyx Boox Max
Lightbulb Automatically importing images when copy-paste from a web page

When I copy some pieces of a web page and paste them into Sigil, even if I don't paste it as simple text, images are not visible and there are placeholders instead.
Is it possible to add the feature to automatically import images and add them to Images folder?
desk7 is offline   Reply With Quote
Old 12-09-2018, 04:45 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 19,331
Karma: 99454782
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's a pretty tall order. When copying web content, there's almost never any actual images in the mimedata contained in the clipboard. There's merely urls. So Sigil would need to intercept all paste signals, parse the clipboard's mimedata for urls, determine which urls are images, download those images to Sigil's scratch/Images directory, and finally update the urls in the clipboard's mimedata with the new local filepath. That's a lot of effort when web content can often be easily saved locally and then imported.

Last edited by DiapDealer; 12-09-2018 at 04:48 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 12-10-2018, 03:39 PM   #3
desk7
Zealot
desk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toys
 
Posts: 119
Karma: 5678
Join Date: May 2016
Device: Kindle Paperwhite, Onyx Boox Max
Quote:
Originally Posted by DiapDealer View Post
That's a pretty tall order. When copying web content, there's almost never any actual images in the mimedata contained in the clipboard. There's merely urls. So Sigil would need to intercept all paste signals, parse the clipboard's mimedata for urls, determine which urls are images, download those images to Sigil's scratch/Images directory, and finally update the urls in the clipboard's mimedata with the new local filepath. That's a lot of effort when web content can often be easily saved locally and then imported.
You're right but when you import saved html webpages, then you have to manually remove banners etc.
That's why I asked for that solution
desk7 is offline   Reply With Quote
Old 12-10-2018, 04:08 PM   #4
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,108
Karma: 1931746
Join Date: Nov 2009
Device: many
I really do not think we want Sigil in the web slurping business. It seems to me you can use many other pieces of software (curl etc) to download a website and then import it getting all of the images and pieces. Open that slurped site and select what you want to import into Sigil.

If you want to automate that process,then a custom plugin would be your best bet.

Quote:
Originally Posted by desk7 View Post
You're right but when you import saved html webpages, then you have to manually remove banners etc.
That's why I asked for that solution
KevinH is offline   Reply With Quote
Old 12-10-2018, 04:10 PM   #5
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,344
Karma: 14300083
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by desk7 View Post
You're right but when you import saved html webpages, then you have to manually remove banners etc.
That's why I asked for that solution
There are a browser extensions that all allow you to save websites as epubs. For example, dotepub and GrabMyBooks.
Doitsu is offline   Reply With Quote
Advert
Old 12-10-2018, 05:15 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 19,331
Karma: 99454782
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
I really do not think we want Sigil in the web slurping business. It seems to me you can use many other pieces of software (curl etc) to download a website and then import it getting all of the images and pieces. Open that slurped site and select what you want to import into Sigil.

If you want to automate that process,then a custom plugin would be your best bet.
I tend to agree. I don't really want Sigil trying to connect to websites (not to mention downloading files) when pasting content copied from the web.

If someone doesn't want the whole page or site, another workaround is to paste the copied content into Word. It will download images when pasting. That can then be exported and imported into Sigil in numerous ways.
DiapDealer is offline   Reply With Quote
Old 12-10-2018, 07:03 PM   #7
desk7
Zealot
desk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toysdesk7 shares his or her toys
 
Posts: 119
Karma: 5678
Join Date: May 2016
Device: Kindle Paperwhite, Onyx Boox Max
Quote:
Originally Posted by KevinH View Post
I really do not think we want Sigil in the web slurping business. It seems to me you can use many other pieces of software (curl etc) to download a website and then import it getting all of the images and pieces. Open that slurped site and select what you want to import into Sigil.

If you want to automate that process,then a custom plugin would be your best bet.
Quote:
Originally Posted by Doitsu View Post
There are a browser extensions that all allow you to save websites as epubs. For example, dotepub and GrabMyBooks.
Quote:
Originally Posted by DiapDealer View Post
I tend to agree. I don't really want Sigil trying to connect to websites (not to mention downloading files) when pasting content copied from the web.

If someone doesn't want the whole page or site, another workaround is to paste the copied content into Word. It will download images when pasting. That can then be exported and imported into Sigil in numerous ways.
Thank you for your suggestions!
desk7 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
Copy and paste Alpha o Calibre 29 05-06-2016 07:28 AM
Copy PAste Fizzyfi Calibre 2 04-10-2015 03:55 PM
Copy/Paste PalingB Sigil 10 10-15-2014 04:17 PM
Cannot copy and paste faniediv Calibre 12 09-07-2014 07:18 PM
Copy and Paste JDavid Sigil 4 08-23-2012 05:02 PM


All times are GMT -4. The time now is 02:11 AM.


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