Skip to content

Add Events RSS feed - #81

Open
Codesleuth wants to merge 3 commits into
AnnaDodson:masterfrom
Codesleuth:events-rss
Open

Add Events RSS feed#81
Codesleuth wants to merge 3 commits into
AnnaDodson:masterfrom
Codesleuth:events-rss

Conversation

@Codesleuth

@Codesleuth Codesleuth commented Oct 31, 2019

Copy link
Copy Markdown
Contributor

Example content from #79

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Hacktoberfest Website</title>
    <description>We built this site! This site is a community project to take part in Hacktoberfest. Let's celebrate all contributions to communitiies and make a community together.</description>
    <link>http://localhost:4000/</link>
    <atom:link href="http://localhost:4000/events/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 31 Oct 2019 22:30:22 +0000</pubDate>
    <lastBuildDate>Thu, 31 Oct 2019 22:30:22 +0000</lastBuildDate>
    <generator>Jekyll v3.8.6</generator>
    
      <item>
        <title>Homebrew Website Club (1/3)</title>
        <description>The Homebrew Website Club is a regular meeting for enthusiasts and hobbyist programmers who are building, or thinking of building, their personal websites. The meeting is an informal setting where you can talk with others,get inspiration, or quietly work on your site.
&lt;br&gt;&lt;br&gt;However, for the magic month of Hacktoberfest, Homebrew Website Club Nottingham is having a Hacktoberfest takeover!
</description>
        <pubDate>Wed, 02 Oct 2019 00:00:00 +0100</pubDate>
        <link>https://www.jvt.me/events/homebrew-website-club-nottingham/2019/10/02/</link>
        <guid isPermaLink="true">https://www.jvt.me/events/homebrew-website-club-nottingham/2019/10/02/</guid>
      </item>

@AnnaDodson

Copy link
Copy Markdown
Owner

Such a great idea to add rss for the events! Do you know what url the feed is available on? I've looked on the deploy preview and can't find it

https://deploy-preview-81--webuiltthisforhacktoberfest.netlify.com/

(the deploy preview link is under the merge 'checks' section on the PR)

@Codesleuth

Copy link
Copy Markdown
Contributor Author

The feed is here: https://deploy-preview-81--webuiltthisforhacktoberfest.netlify.com/feeds/events.rss

But it does seem to be missing data! Will take a look

@Codesleuth

Copy link
Copy Markdown
Contributor Author

Ah right, it needed the other PRs merging. Let me update and it should contain data.

@Codesleuth

Copy link
Copy Markdown
Contributor Author

@Codesleuth

Copy link
Copy Markdown
Contributor Author

I want to highlight that the GUIDs aren't ideal - integrations will get confused if we add multiple events sharing the same GUID. I'm not sure what solution we can apply to this aside from manually generating GUIDs in the data and print those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants