View Single Post
Old 08-01-2020, 08:39 PM   #4373
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: 11,149
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: AO3 lets authors link to images in the summaries (example here). FFF breaks this by changing the links to ffdl-#.jpg. Since the images usually get set as a cover anyways I thought I might as well use replace_metadata to remove them.

This regex tested okay but it didn't work:

Code:
replace_metadata: 
## Removes images from summaries
 description=><img src=\"images/ffdl-\d.jpg\">=>
Any idea what went wrong? I tried it in both replace_metadata and add_to. I also tried changing it to ffdl-0.jpg specifically but that didn't work either. (I also made sure it was a jpg file.)

Last edited by ownedbycats; 08-01-2020 at 08:55 PM.
ownedbycats is offline   Reply With Quote