| 
	|||||||
![]()  | 
            
        
    
| 
             | 
        Thread Tools | Search this Thread | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Mar 2023 
				
				
				
				Device: Tolino Vision 6 
				
				
				 | 
	
	
	
		
		
			
			 
				
				News recipes: Is it possible to remove different tags, depending on the article URL?
			 
			
			
			When writing a recipe for a news site, one typically declares which HTML tags are to be removed, using e.g.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	remove_tags Code: 
	remove_tags Also, it is possible to combine different RSS feeds, using the Code: 
	feed Code: 
	remove_tags  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No you cant have different remove_tags per URL. If you need more advanced processing than remove_tags provides, implement preprocess_html in your recipe, then you can do whatever you like.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| fetch article url from facebook feed | knowledgecrawler | Recipes | 1 | 08-22-2014 04:07 AM | 
| How to insert article URL? | Mixx | Recipes | 4 | 01-09-2014 02:26 PM | 
| New York Times - Link to article URL? | gianfri | Recipes | 2 | 11-09-2013 10:53 PM | 
| Get article URL in postprocess_html | rmflight | Recipes | 5 | 11-29-2012 12:37 PM | 
| Trying to strip the date from an article URL | Finbar127 | Recipes | 1 | 02-17-2011 04:02 PM |