RSS feed merged to main branch #1
@ -18,7 +18,9 @@
 | 
			
		||||
			const items = Array.from(xml.querySelectorAll('item')).map((item) => ({
 | 
			
		||||
				title: item.querySelector('title')?.textContent,
 | 
			
		||||
				link: item.querySelector('link')?.textContent,
 | 
			
		||||
				description: item.querySelector('description')?.textContent
 | 
			
		||||
				description: item.querySelector('description')?.textContent,
 | 
			
		||||
				published: item.querySelector('pubDate')?.textContent,
 | 
			
		||||
				author: item.querySelector('author')?.textContent
 | 
			
		||||
			}));
 | 
			
		||||
			feed = items;
 | 
			
		||||
		} catch (err) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user