| 
 | |||||||
|  | 
|  | Thread Tools | Search this Thread | 
|  03-17-2023, 04:27 PM | #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 | 
|   |   | 
|  03-17-2023, 10:59 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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 | |
|  | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| fetch article url from facebook feed | knowledgecrawler | Recipes | 1 | 08-22-2014 03:07 AM | 
| How to insert article URL? | Mixx | Recipes | 4 | 01-09-2014 01:26 PM | 
| New York Times - Link to article URL? | gianfri | Recipes | 2 | 11-09-2013 09:53 PM | 
| Get article URL in postprocess_html | rmflight | Recipes | 5 | 11-29-2012 11:37 AM | 
| Trying to strip the date from an article URL | Finbar127 | Recipes | 1 | 02-17-2011 03:02 PM |