View Single Post
Old 02-12-2016, 12:31 PM   #1021
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: 7,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by edeniz View Post
1) "Overwrite If Newer" does not seem to be working anymore when the format in question is "html". At least not on ffnet and ao3 both. The error message is,
Code:
Not Overwriting, web site is not newer.
...
If necessary, I could attach an example fic each for ffnet and ao3 or the debug log.
Yes. Please always include story URLs when reporting any problem. Debug log, when you have it, is also always a good idea.

Quote:
Originally Posted by edeniz View Post
2) tth seems to be on the fritz yet again.
...
And to clarify: I'm using the latest plugin version, but not the test version.
This continues to be a problem that doesn't happen when I try. The test version includes additional debug info that might help if you can capture a debug log while it happens.

Frankly, from the complete lack of debug logs showing the problem posted, I had assumed it had gone away. (And if what I suspect is happening is true, there isn't anything I can do about it...)

Quote:
Originally Posted by edeniz View Post
EDIT:
I forgot to mention something else as well, so better add it here instead of making another post, right?
I don't know what the official mobileread is policy on double posts, but I can tell you that I often don't see changes to past posts if I read them before they are changed. You got lucky this time.

Quote:
Originally Posted by edeniz View Post
exclude_metadata_post is supposed to be executed after replace_metadata, right? Well. It doesn't seem to work that way for me.

http://archiveofourown.org/works/246947[1]
The Jenny Code (Ch 1-1)
Authors: Domenika Marzione (domarzione)
...
Again, no idea if it is something new or if it's been this way for a while. It's not that it's supposed to be this way and I simply misunderstood what exclude_metadata_post is supposed to do, right?
The problem is that the order of application is in/exclude_pre, then replace_metadata, then in/exclude_pre per metadata entry.

So when the replace_metadata line for characters fetches the metadata for genre to check against 'Genii', it invokes in/exclude_pre, then replace_metadata, then in/exclude_pre for genre before doing the comparison.

Changing that now would involve a huge amount of testing that I'm not interested in doing for one corner case.

You can accomplish what you want with this instead:
Code:
[archiveofourown.org]

add_to_extra_valid_entries:,rawgenre
include_in_rawgenre:genre.NOREPL

replace_metadata:
 characters=>(.*)=>\1\,Genii&&rawgenre=>Genii

exclude_metadata_post:
 genre==Genii
If it's a common problem people are running into, I'm willing to consider adding code to allow for entry.NOREPL more widely to avoid having to add rawgenre.
JimmXinu is offline   Reply With Quote