View Single Post
Old 11-20-2012, 11:04 PM   #1057
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.
 
Posts: 1,719
Karma: 509671
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Quote:
Originally Posted by Jade Aislin View Post
This did work fairly well. I was able to create a list of the reasons I usually give for rejecting and used the drop down list to choose one. I liked that it added to the reason to the end of the note which had the title and author in it. I did have to do each url seperately, but once I have gone through all the fics I already have, I doubt I have very many bulk rejections.
Exactly. This is designed for ease of adding small numbers at a time. The text add reject feature coupled with the get story URLs feature is probably where I'd steer people looking to add lots at once.
Quote:
Originally Posted by Jade Aislin View Post
I tried this out. It did add the url I wanted to the rejection list, but it had to be specific for it to actually reject the url.

For the url: http://m.fanfiction.net/s/8616602/1/...hattered-Glass

I tried these iterations (I was unsure whether it needed to be between ''):
http://m.fanfiction.net/s/8616602/1/...hattered-Glass, test 1
...
http://www.fanfiction.net/s/8616602/1/,test 6
...
'http://www.fanfiction.net/s/8616602/1/,test 8'

The only one that worked was test 6. Unfortunately, my URLs are probably going to be like test 1. So it seems to work, but is looking for very specific criteria when it checks for rejection urls.
Apparently as a coder, my intuitive assumptions about quotation marks are different. The quotes are not meant to be entered. I'll remove them from the label and tooltip and make it bold instead.

As for the different URLs, FFDL normalizes story URLs--it pretty much has to in order to use them as identifiers. I thought I could skip the extra complexity and assume that the rare users adding URLs by text would be using the normal forms. Apparently I was wrong.

The attached version will normalize the story URLs entered as text. It will also normalize existing URLs if you open and OK the edit reject list dialog. (But not those with quotes in--that's too obscure a case to add special code for.)

If the same (normalized) URL appears more than once, only one will be preserved.

UPDATE Nov 26, newer test or released version exists now.

Last edited by JimmXinu; 11-26-2012 at 05:12 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote