01-13-2018, 03:41 PM | #241 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Yes, but it updates only Custom Columns. See the posts starting from Oct 13, 2017, some of which include examples. Also read the MCS ToolTips.
If you want to change Comments itself, simply update an appropriate CC and the copy it to Comments using Bulk Edit Search and Replace. Then empty that CC. DaltonST |
01-13-2018, 10:56 PM | #242 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Awesome. Thanks! Managed to get it working using the following regex:
Code:
Summary[\s]+(.{0,2000}?)[\s]{3,} |
Advert | |
|
05-06-2019, 04:48 PM | #243 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
FF Text #Metadata Custom Column Extraction
Tanjamuse:
See the attached. You will need to revise your Full Text Search regular expression based variations in your first page of your TXT files. I have no idea what they really look like, and how standardized or non-standardized they might be. Regardless, the attached example shows you how to get started. DaltonST |
05-07-2019, 01:38 AM | #244 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I added the information to the metadata CC, but because it doesn't look like how FFF plugin creates it, it doesn't update any of the columns.
All the lines included in the txt query are lines constant. This is the non-html version of the metadata column: Spoiler:
|
05-09-2019, 03:40 PM | #245 | |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Running multiple regex saved searches should work, though. I have like 20+ of those for my AO3 direct downloaded fanfics (yes, I have a lot of custom columns). Hence, I usually wait to process stuff in batches of at least 10. It’s pretty quick to go through all the saved searches though. Just a continuous Load search/replace and click Apply, rinse and repeat until done. Either that or convert the metadata into a format that FFF will accept. |
|
Advert | |
|
05-10-2019, 01:15 AM | #246 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I was trying to add it to the saved metadata column and then have FFF update based on that column.
|
05-10-2019, 03:44 AM | #247 | |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Or perhaps you can request JimmXinu to add support for that layout in FFF saved metadata. |
|
05-10-2019, 06:53 AM | #248 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I tried changing it to only add the fandoms (category) to a column but I don't think I've done it correctly:
Code:
^Category[:]-Genre[:][ ] |
05-10-2019, 01:09 PM | #249 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
|
05-10-2019, 01:15 PM | #250 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I only want the line for category, is that possible? And if I add all the metadata in the columns where they belong can you create a tool that would let me create the saved metadata exactly the way FFF creates them (html included)?
|
05-15-2019, 02:10 PM | #251 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
MCS Full-Text Search Regular Expression Compile Option "Multiline"
See the attached image which shows how using a regular expression can isolate a very specific single line in a TXT format ebook due to the regular expression compile option "Multiline".
Pythex is a great tool for independently testing regular expressions using random sample text and then showing the selected text results, if any. DaltonST |
05-15-2019, 03:16 PM | #252 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
This is the MCS Full TXT search regex I use for extracting Additional Tags from AO3 direct downloaded epubs (converted to TXT using Calibre).
Spoiler:
Code:
(?<=\nAdditional Tags:)[\n]+([^\n]+?)[\n]{2,} As an example, for the following: Spoiler:
You would use this to extract fandom: Code:
(?<=\nFandoms:)[\n]+([^\n]+?)[\n] |
06-18-2019, 02:42 PM | #253 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
MCS for Py3 Beta #1 - Especially Fan Fiction Users
MCS needs a lot of testing of its changes for Python 3 before I can release it into the wild. Attached is the first beta test version.
If you frequently use MCS, and especially if you use it for anything FF-related, I would greatly appreciate the fine details of any anomalies you might find. Thanks in advance. DaltonSTShow Tooltip Last edited by DaltonST; 07-08-2019 at 11:29 AM. |
07-07-2019, 09:53 AM | #254 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
MCS for Py3 Beta #1 - Especially Fan Fiction Users
Any issues found by the 10 (thank you) people who have installed it?
DaltonST |
07-08-2019, 10:02 AM | #255 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.75 Python 3 Compatibility. Minimum Calibre Version 3.41.3.
Version 1.0.75 - 08 July 2019 Python 3 Compatibility. Minimum Calibre Version 3.41.3.
Upgrade Calibre first. DaltonST |
Tags |
columns, search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 434 | 09-30-2024 03:04 AM |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Walk Search History | kiwidude | Plugins | 38 | 03-17-2024 12:47 AM |
[GUI Plugin] Recoll Full Text Search | Satas | Plugins | 16 | 08-05-2016 03:54 AM |
[GUI Plugin] Full Text Search (SOLR) | peterpisljar | Plugins | 2 | 08-09-2015 08:16 AM |