Lascorbe / CocoaConferences

List of Cocoa conferences for iOS & macOS developers
http://cocoaconferences.com
1.11k stars 134 forks source link

RSS feed of conferences #253

Open jeroenleenarts opened 3 years ago

jeroenleenarts commented 3 years ago

Would it be an idea to generate a list of conferences for RSS?

It should relatively another rendering of the current yaml file.

I'd say everytime the site gets updated, the rss is generated as well only containing upcoming conference.

I am not familiar enough with Jekyll to quickly hash out an rss page myself.

davedelong commented 3 years ago

You're right that this should be a relative straight-forward addition. The big question in my mind is what should be in the feed?

If you'd be willing to dig up the XML you'd like to see for a conference listed in the feed, I'd be happy to get that in for you.

jeroenleenarts commented 3 years ago

How about something like:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Cocoa Conferences</title>
   <link>https://cocoaconferences.com</link>
   <updated>[date last generated]</updated>

   <author>
      <name>Cocoa Conferences</name>
   </author>

   <id>https://cocoaconferences.com</id>

   <entry>
      <title>NSSpain 2020 Remote Edition</title>
      <link>https://remote.nsspain.com/</link>
      <id>https://remote.nsspain.com/</id><!-- Maybe make id more unique by appending begin and/or end data -->

      <updated><!-- Not sure what to put in here. Maybe annotate an updated line into the yml file?--></updated>
      <summary>A somewhat formatted summary containing info like on the website.</summary>
   </entry>

</feed>

Entries that are in the past should not be listed in the RSS feed.