Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2025, 06:40 AM   #10681
johansolo
Hero for hire
johansolo began at the beginning.
 
johansolo's Avatar
 
Posts: 11
Karma: 10
Join Date: Aug 2009
Location: Sol-3
Device: KOReader (in a Kobo Clara HD)
Deleting empty lines

When I download fics from many sites after most paragraphs there are empty lines.

Usually the code is:

Code:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p> </p>
<p>Nunc ac nunc feugiat, varius urna eget, facilisis elit.</p>
<p> </p>
<p>Curabitur vitae ex et neque auctor luctus sit amet et leo.</p>
<p> </p>
Can I add somethig to personal.ini to delete those "<p> </p>"?

I prefer no empty lines between spaces. I use indentation to notice the start of new paragraphs.

Thanks
johansolo is offline   Reply With Quote
Old 05-01-2025, 09:50 AM   #10682
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,828
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by w4tchdoge View Post
I'm trying out the
Code:
use_archiveofourown_gay:true
feature w/ the latest test version and while I don't get 525 errors anymore I do get the login popup that happens when FFF isnt able to login to the page. I've tried changing the username field to be my username instead of my email but i get the same error. I've also tried logging into archiveofourown.gay on a web browser which i can do. Do I have something set wrong in my ini file, or is it something else?
You have to turn use_browser_cache off. Login doesn't work through Browser Cache.
JimmXinu is offline   Reply With Quote
Old 05-01-2025, 09:53 AM   #10683
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,828
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by johansolo View Post
When I download fics from many sites after most paragraphs there are empty lines.
...
Can I add somethig to personal.ini to delete those "<p> </p>"?
From defaults.ini:
Code:
## Some sites/authors/stories (notably AO3/OTW) add empty p tags where
## they aren't intended by the author during document upload and not
## all authors know how/take the time to fix it.  This feature removes
## all "empty" <p> tags, ie, those containing only whitespace or <br>
## tags.  Literally: <p[^>]*>\s*(<br/>)*\s*</p>
#remove_empty_p: false
Put remove_empty_p:true in your personal.ini under the section you want.
JimmXinu is offline   Reply With Quote
Old 05-01-2025, 11:55 AM   #10684
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,828
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Version Released

Version 4.45.0 - 2025-05-01
- Transition finestories.com to new domain storyroom.com. Thanks, bpothier
- XF2: Add threadmarks_per_page setting
- Fix for alternatehistory.com changing threadmark date attr.
- adapter_literotica: get_urls_from_page - series have urls, thanks dbhmw
- Update translations.
- Remove base_xenforoforum_adapter, consolidate into base_xenforo2forum_adapter
- adapter_archiveofourownorg: Add use_archiveofourown_gay, allow archiveofourown.gay input for story URLs.
- adapter_fanfictionnet: Make get_urls_from_page work, thanks dbhmw
- adapter_ficbooknet: Add series collection & fix downloads, thanks dbhmw
- adapter_fictionmaniatv: Update for ancient stories
- adapter_fictionmaniatv: Updates for site change
- Reject HTML sites in no_convert_image - thanks dbhmw [#1186](https://github.com/JimmXinu/FanFicFare/pull/1186)
- base_xenforoforum: Add timeperiodtags and better handle unexpected typed tags
JimmXinu is offline   Reply With Quote
Old 05-01-2025, 01:19 PM   #10685
johansolo
Hero for hire
johansolo began at the beginning.
 
johansolo's Avatar
 
Posts: 11
Karma: 10
Join Date: Aug 2009
Location: Sol-3
Device: KOReader (in a Kobo Clara HD)
Quote:
Originally Posted by JimmXinu View Post
From defaults.ini:
...
Put remove_empty_p:true in your personal.ini under the section you want.
Thanks.

I feel stupid now. I have to study again defaults.ini. I completly miss that option.
johansolo is offline   Reply With Quote
Old 05-01-2025, 01:58 PM   #10686
riothamus
Connoisseur
riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!
 
Posts: 97
Karma: 100000
Join Date: Nov 2010
Device: KOA3, KV, KOA2
Quote:
Originally Posted by JimmXinu View Post
New Version Released

Version 4.45.0 - 2025-05-01
- adapter_archiveofourownorg: Add use_archiveofourown_gay, allow archiveofourown.gay input for story URLs.
Just to be clear, if I add this instead of using browser cache, do I need to modify the URLs to be archiveofourown.gay instead of .org for new stories and for stories I'm updating or does the plugin translate that for me?
riothamus is offline   Reply With Quote
Old 05-01-2025, 02:04 PM   #10687
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,634
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by riothamus View Post
Just to be clear, if I add this instead of using browser cache, do I need to modify the URLs to be archiveofourown.gay instead of .org for new stories and for stories I'm updating or does the plugin translate that for me?
If it's enabled, the .org links will work.
ownedbycats is offline   Reply With Quote
Old 05-01-2025, 02:53 PM   #10688
riothamus
Connoisseur
riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!
 
Posts: 97
Karma: 100000
Join Date: Nov 2010
Device: KOA3, KV, KOA2
Quote:
Originally Posted by ownedbycats View Post
If it's enabled, the .org links will work.
Great, thanks.
riothamus is offline   Reply With Quote
Old 05-01-2025, 05:13 PM   #10689
Ealdwulf
Enthusiast
Ealdwulf began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Jun 2012
Device: Nook
Quote:
Originally Posted by applegaa View Post
You can create a custom column for those errors if you want to retain them.

On the "Custom Columns" tab, there is a section at the bottom labeled "Special column:" and you want to create a column and add it to "Update/Overwrite Error Column:". I don't check the "Save All Errors" box, so I only see error messages if the last run failed. Granted, stories with no updates are listed as bad but have no error message, so you will only see them if you use the "View Log" button others have mentioned.

I wish that it had Good/Bad/No instead of just Good/Bad, but the current system works.

- Andrew
I actually do a bit of cheating. I have two columns for the errors. The first is for the error being reported (error_messages) and have that hidden in the tag browser. The second is a column built from that first one that behaves like tags (errors). then I use a programming template that takes the first few characters of the error message in the original column and have it identify its own error message for it.

the error about the bad update because there hasn't been an update translates to website current. Different sites seem to result in different messages, so multiple errors report the same. makes things a lot easier when I only have to look at a half dozen different errors

the 525 error occasionally thrown by A03 the last couple of months, I have it translate to "Too many requests", then I can go back later and select just the stories that threw that error and try to update them again.

want to see what has not thrown an error? just I click on errors twice so it gives a 'search' of #errors:false and get a list of what has thrown no errors since the last time a story was updated

It may not be the most elegant solution out there, but it works and that's what I care about
Ealdwulf is offline   Reply With Quote
Old 05-02-2025, 10:42 PM   #10690
SilentShadow123
Member
SilentShadow123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
Hello! I am using FanFicFare after a while, and I recently updated it to add fanfics from AO3. I am having this error "HTTP Error in FFF '525 Server Error:" and looking for solutions on resolving this. It's happening for both adult and non-adult fanfics. How should I modify the personal.ini? Any help is appreciated. Thank you!

Last edited by SilentShadow123; 05-02-2025 at 10:45 PM.
SilentShadow123 is offline   Reply With Quote
Old 05-02-2025, 10:57 PM   #10691
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,634
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by SilentShadow123 View Post
Hello! I am using FanFicFare after a while, and I recently updated it to add fanfics from AO3. I am having this error "HTTP Error in FFF '525 Server Error:" and looking for solutions on resolving this. It's happening for both adult and non-adult fanfics. How should I modify the personal.ini? Any help is appreciated. Thank you!
use_archiveofourown_gay:true

You can put under [defaults] or [archiveofourown.org]

more info: https://github.com/JimmXinu/FanFicFa...oblematicSites

Last edited by ownedbycats; 05-02-2025 at 11:00 PM.
ownedbycats is offline   Reply With Quote
Old 05-02-2025, 11:05 PM   #10692
SilentShadow123
Member
SilentShadow123 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jun 2021
Device: none
Quote:
Originally Posted by ownedbycats View Post
use_archiveofourown_gay:true

You can put under [defaults] or [archiveofourown.org]

more info: https://github.com/JimmXinu/FanFicFa...oblematicSites
Seems to work perfectly now. Thank you!
SilentShadow123 is offline   Reply With Quote
Old 05-03-2025, 12:23 PM   #10693
Tiggy626
Enthusiast
Tiggy626 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: May 2018
Device: none
I've inserted use_browser_cache:false into my personal.ini and changed to use_browser_cache:false, but I still have to type in my login information every time. What am I doing wrong?
Tiggy626 is offline   Reply With Quote
Old 05-03-2025, 03:08 PM   #10694
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,828
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Does it work after that? Because if you want to not have to enter those manually, you need to add username & password parameters, too.

Note that FFF doesn't do anything special to protect those in personal.ini.
JimmXinu is offline   Reply With Quote
Old 05-04-2025, 11:18 AM   #10695
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,828
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-05-04
- adapter_spiritfanfictioncom: Fix for author collection after site change. Thanks, kilandra
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 514 03-23-2025 10:26 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 03:20 PM.


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