text: import { getJobURL, RSSGenerator } from '.';
  
  const globalRSSGenerator = (drops) => {
    const items = drops
      .sort((a, b) => new Date(b.created_at) - new Date(a.created_at))
      .map(({ title, published_at, description, slug }) => ({
        title: `${title} | Drops | Beto Muniz`,
        description: description,
        link: `${process.env.NEXT_PUBLIC_SITE_URL}/drops/${slug}`,
        date: published_at,
        rawTitle: title,
      }));
  
    RSSGenerator(
      items,
      {
        title: 'RSS | Drops | Beto Muniz',
        description: `Content Drops created by Beto Muniz`,
        url: process.env.NEXT_PUBLIC_SITE_URL,
        path: '/rss/feed.xml',
      },
      'feed.xml'
    );
  };
  
  export default globalRSSGenerator;
  