| 
			
			 | 
		#3001 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 57 
				Karma: 10 
				Join Date: Jul 2012 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#3002 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() More metadata is generally good. But it also depends on how hard it is to get. I'd probably want to add them as a separate site-specific metadata unless there was a clear correlation with one of the existing metadata slots. I'm not finding any 'keywords' doing some quick perusing of the site. Can you provide a link to a couple examples?  | 
|
| 
		 | 
	
	
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3003 | ||||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Code: 
	soup.find("meta", {"name":"keywords"})['content'].split(', ')
Quote: 
	
 Quote: 
	
 And I'm embarrassed to say that I have never noticed that at the end of the story there is a "Tags for this story" section. That has the same tags as in the keywords meta field. The keywords is a easier to handle and is available on the first page of a multi-page story.  | 
||||
| 
		 | 
	
	
| 
			
			 | 
		#3004 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 But I found parsing the 'tags' to be very easy. Attached is a version that adds the site specific metadatum 'eroticatags' for literotica.com only. Last edited by JimmXinu; 06-25-2014 at 09:21 PM. Reason: Remove obsolete beta versions  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#3005 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 The full code I have is: Code: 
	categories = soup.find("meta", {"name":"keywords"})['content'].split(', ')
categories = [c for c in categories if not self.story.getMetadata('title') in c]
if self.story.getMetadata('author') in categories:
    categories.remove(self.story.getMetadata('author'))
for category in categories:
    self.story.addToList('category', category.title())
 | 
||
| 
		 | 
	
	
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3006 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Alternative literotica adapter
			 
			
			
			With the discussion on the Literotica adapter, I figured I should pull out the full version I wrote some time ago. I have been keeping it up to date. I sometimes replace the supplied adapter with this if I am getting a multi-chapter story. 
		
	
		
		
			Apart from using the keywords as we've been discussing, the main difference is how it handles chapters. Rather than just use the title of that part, it will use "Chapter nn" or "Part nn". It does this by parsing the chapter title against the story title and working out the number and whether to use "Chapter" or "Part". It also adds the chapter description at the top of each chapter. There are a couple of other changes to the code generated. Overall, I think it produces a better looking epub. But, maybe others don't agree. If others do like it, I'll clean up the code and finally learn how to use the version control system that FFDL uses.  | 
| 
		 | 
	
	
| 
			
			 | 
		#3007 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#3008 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
			
			 
				
				New Version
			 
			
			
			Version 1.8.25 - 21 Jun 2014 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
  | 
| 
		 | 
	
	
| 
			
			 | 
		#3009 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Translations
			 
			
			
			With Kovid's gracious help, I've switched over to using Transifex for translations for my plugins. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	You can now help out by providing translations without having to install anything. All you need is to create an account on a web site and jump in to translating. The link to FFDL's translations specifically is here. Thanks!  | 
| 
		 | 
	
	
| 
			
			 | 
		#3010 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30 
				Karma: 100000 
				Join Date: Dec 2013 
				
				
				
				Device: Samsung 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi Jimm 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I can't d/l any stories from fictionpad, here are some I tried today https://fictionpad.com/author/StillD...504/Relentless https://fictionpad.com/author/Dishie...-Sex-is-Divine https://fictionpad.com/author/LovinR.../A-Bitter-Cold https://fictionpad.com/author/tufano...A-Ilha-do-Amor I get this message with all stories http://www.solidfiles.com/d/f4174a09f6/fictionpad.jpg Thanks for your help. Last edited by megme; 06-21-2014 at 04:30 PM.  | 
| 
		 | 
	
	
| 
			
			 | 
		#3011 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Attached is a version that force metadata values to be strings. It seems to work better. FYI, I don't know what's wrong with your IMG tag, but I don't see it in the post, only in the reply text as a tag. Last edited by JimmXinu; 06-25-2014 at 09:21 PM. Reason: Remove obsolete beta versions  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#3012 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30 
				Karma: 7286 
				Join Date: Mar 2011 
				
				
				
				Device: ZTE Grand Max + / HP Slate 7 HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't know if this is FF.net or the new version, but I went to update a story I'd downloaded just two days ago, because I saw that it'd been updated, and got a message saying:  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Bad Unknown Unknown 'NoneType' object is not iterable https://www.fanfiction.net/s/9859066/1/ It's not reading the words after the /, I think? It should say: https://www.fanfiction.net/s/9859066...lt-in-the-Silt  | 
| 
		 | 
	
	
| 
			
			 | 
		#3013 | |
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Can you run calibre in debug and post the output? Calibre now has an easy way to do that under the Preferences menu. FYI, the title in the URL is superfluous and isn't saved.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#3014 | 
| 
			
			
			
			 Plugin Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,136 
				Karma: 5005503 
				Join Date: Dec 2011 
				Location: Midwest USA 
				
				
				Device: Kobo Clara Colour running KOReader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Make sure you grab the latest test version posted above if you haven't.  That's what I'm testing againt.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| 
			
			 | 
		#3015 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30 
				Karma: 7286 
				Join Date: Mar 2011 
				
				
				
				Device: ZTE Grand Max + / HP Slate 7 HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ok, here's the file from it.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Count Pages | kiwidude | Plugins | 1874 | 10-17-2025 04:22 PM | 
| [GUI Plugin] Resize Cover | kiwidude | Plugins | 100 | 07-10-2025 09:50 AM | 
| [GUI Plugin] Find Duplicates | kiwidude | Plugins | 1124 | 04-18-2025 10:19 AM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |