Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-15-2014, 09:56 AM   #2941
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
On fimfiction.net commas are appearing as "’" when the description is downloaded and set as the stories comment. http://www.fimfiction.net/story/122954/ is a story that has 2 examples.
AndersW is offline  
Old 06-15-2014, 10:48 AM   #2942
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Quote:
Originally Posted by Tanjamuse View Post
Now, it pick up the first link, I would love to have to avoid the copy-paste of the rest. If there is that function, I haven't found it
I hope this clarifies:

I've checked the box marked: Take URLS from clipboard? (as you can see)

But it only works for the first link, not the next ones.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2014-06-15 16.46.58.png
Views:	210
Size:	72.0 KB
ID:	124203  
Tanjamuse is offline  
Old 06-15-2014, 11:20 AM   #2943
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
That's strange, it should work for every link. But I didn't do anything regarding the GUI, you'll have to wait for Jimm to answer.

@AndersW same for you -- I didn't write this adapter and there's some funky encoding going on somehow.
cryzed is offline  
Old 06-15-2014, 12:45 PM   #2944
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JimmXinu View Post
Definitely buggy.

...

I have some ideas I'm going to pursue, but I thought I'd report back my progress now that I actually understand what's going on.
Attached is a test version that (I believe) fixes the problems mentioned before with splitting values, infinite recursions and handling \, correctly for custom columns vs tags.

Last edited by JimmXinu; 06-18-2014 at 08:21 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 06-15-2014, 12:49 PM   #2945
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by AndersW View Post
On fimfiction.net commas are appearing as "’" when the description is downloaded and set as the stories comment. http://www.fimfiction.net/story/122954/ is a story that has 2 examples.
That sounds like an encoding issue. And I'm not seeing it happen.

I'm running out of battery, so I'll have to look at that and Tanjamuse's issue later.
JimmXinu is offline  
Old 06-15-2014, 06:45 PM   #2946
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by cryzed View Post
Oh, good to know. I suppose Jimm left in the "{{,}}" for backwards compatibility.
Actually, no the "{{,}}" didn't work.
Amalthia is offline  
Old 06-15-2014, 06:57 PM   #2947
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi,

I have a Yes/No custom column for unread/read stories. Is it possible to automatically update this column when I download new stories into Calibre?

I also have a custom columns for Warnings at A03, using the "Comma separated text, like tags, shown in the tag browser" option.

Some authors are using the option "Author Chose Not To Use Archive Warnings," is it possible to have these not added to the Warnings custom column?

Thanks,
Amalthia
Amalthia is offline  
Old 06-15-2014, 07:35 PM   #2948
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I have a Yes/No custom column for unread/read stories. Is it possible to automatically update this column when I download new stories into Calibre?
FFDL can add new/updated stories to a 'To Read' list in the Reading List plugin. That plugin can update a custom column. I use that because then I can also add it to 'Send to Devices' lists that are configured to automatically update my devices when I connect them.

You can also set it directly from FFDL by adding a static custom_columns_settings line:

Code:
custom_columns_settings:
  "True"=>#read
If you want to apply it to all sites, but also want to control other columns separate per site, use this:
Code:
[defaults]
add_to_custom_columns_settings:
  "True"=>#read
Quote:
Originally Posted by Amalthia View Post
I also have a custom columns for Warnings at A03, using the "Comma separated text, like tags, shown in the tag browser" option.

Some authors are using the option "Author Chose Not To Use Archive Warnings," is it possible to have these not added to the Warnings custom column?
Yep:

Code:
[archiveofourown.org]
exclude_metadata_pre:
 warnings==Author Chose Not To Use Archive Warnings
JimmXinu is offline  
Old 06-15-2014, 07:39 PM   #2949
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
I hope this clarifies:

I've checked the box marked: Take URLS from clipboard? (as you can see)

But it only works for the first link, not the next ones.
This is still working fine for me on Win8. That code hasn't been touched in some time.

What are your exact steps when you see a problem? What page and program are you copying from and how? What OS?

I do know that I can't drag more than one email out of Thunderbird onto the FFDL button at a time anymore, but that's a Thunderbird bug and they weren't interested when I reported it.
JimmXinu is offline  
Old 06-15-2014, 07:44 PM   #2950
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by AndersW View Post
On fimfiction.net commas are appearing as "’" when the description is downloaded and set as the stories comment. http://www.fimfiction.net/story/122954/ is a story that has 2 examples.
Nope, I'm not seeing any problem with that story with default settings.

But that sort of thing is classic for a wrong encoding setting. Do you have website_encodings set in your personal.ini for [defaults], [www.fimfiction.net] or [overrides]?
JimmXinu is offline  
Old 06-15-2014, 07:54 PM   #2951
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
You can also set it directly from FFDL by adding a static custom_columns_settings line:

Code:
custom_columns_settings:
  "True"=>#read
If you want to apply it to all sites, but also want to control other columns separate per site, use this:
Code:
[defaults]
add_to_custom_columns_settings:
  "True"=>#read

Yep:

Code:
[archiveofourown.org]
exclude_metadata_pre:
 warnings==Author Chose Not To Use Archive Warnings
Thank you! Both settings worked. I've never used the Reading List Plugin. I'll read up about it and see what I can do with it.

Best Regards,
Amalthia
Amalthia is offline  
Old 06-15-2014, 08:51 PM   #2952
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
Thank you! Both settings worked. I've never used the Reading List Plugin. I'll read up about it and see what I can do with it.
It's a bit dated, but I wrote some instructions for FFDL with Reading Lists.
JimmXinu is offline  
Old 06-15-2014, 09:42 PM   #2953
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is another test version, has all the same changes as the last one, but also will check story URLs with and without www. with both http and https now.

This was reported along with a patch for ffnet, but I implemented it more generally.

Last edited by JimmXinu; 06-18-2014 at 08:21 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 06-15-2014, 09:58 PM   #2954
AndersW
Connoisseur
AndersW began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Jun 2014
Device: none
Quote:
Originally Posted by JimmXinu View Post
Nope, I'm not seeing any problem with that story with default settings.

But that sort of thing is classic for a wrong encoding setting. Do you have website_encodings set in your personal.ini for [defaults], [www.fimfiction.net] or [overrides]?
One, I was an idiot and said comma instead of apostrophe in my original post. Sorry about that.

Two, I didn't have any website_encodings set. But after the first couple responses I went and fiddled with that to try and fix it. When I manually set the encodings to Windows-1252 the apostrophes don't appear at all. This is odd because when I look at the page source it lists the encodings as Utf-8. And even that setting doesn't fix the apostrophes for other stories like http://www.fimfiction.net/story/78582/.

Last edited by AndersW; 06-15-2014 at 10:00 PM.
AndersW is offline  
Old 06-15-2014, 11:28 PM   #2955
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by AndersW View Post
One, I was an idiot and said comma instead of apostrophe in my original post. Sorry about that.

Two, I didn't have any website_encodings set. But after the first couple responses I went and fiddled with that to try and fix it. When I manually set the encodings to Windows-1252 the apostrophes don't appear at all. This is odd because when I look at the page source it lists the encodings as Utf-8. And even that setting doesn't fix the apostrophes for other stories like http://www.fimfiction.net/story/78582/.
Sites aren't always good about forcing authors to upload to upload their content in the correct encoding. But these are two stories by different authors.

The exact mis-coding depends on what's around it. I do see "’" for http://www.fimfiction.net/story/78582/ (and Sombra’s for http://www.fimfiction.net/story/122954/)--but only if I force the encoding to Windows-1252 (ISO-8859-1 comes out slightly differently for 78582).

What's your OS? Do you use a US version or some other national localization?
JimmXinu is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1846 08-02-2025 10:44 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:53 AM.


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