Skip to content

Instantly share code, notes, and snippets.

@jsclayton
Last active September 25, 2015 04:48
Show Gist options
  • Save jsclayton/0568329413dcfc6a724e to your computer and use it in GitHub Desktop.
Save jsclayton/0568329413dcfc6a724e to your computer and use it in GitHub Desktop.
Arcade events feed
{
"name": "The name of the event",
"share_url": "This should be the URL used by the share button, i.e. to the page on arcadenw.org",
"event_types": [ "Array", "of", "event", "types" ],
"location": {
"name": "The name of the location",
"street_address": "The street address",
"city": "The city",
"state": "The state",
"zip": "The zip",
"map_url": "The url to google maps"
},
"dates": [{
"start_time": "ISO8601 or unix timestamp for the start date/time",
"end_time": "ISO8601 or unix timestamp for the end date/time"
}],
"hosts": [{
"name": "The host name",
"url": "The optional website to link to"
}],
"links": [{
"name": "The text to display for the link",
"url": "The website to link to"
}]
}

Assumptions

These are the assumptions made for the feed design. If these are not correct please let me know.

  1. Every event has either zero or one location.
  2. When there is a location it has a full address. The current XML feed only has a single address field, and it sometimes is just a street address, sometimes is a full, formatted address, sometimes it has formatted text like '(between Battery & Blanchard)', and sometimes is empty. If you only have a single address field in the CMS, or if you'd rather treat it like a text field straight from the CMS, then we can replace the address parts with just address.
  3. The system has a start and end time for dates, and that an event can have multiple dates.
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title>ARCADE | Latest events</title>
<link>http://arcadenw.org/index.php</link>
<description>Latest events from ARCADE</description>
<dc:language>en</dc:language>
<dc:creator>[email protected]</dc:creator>
<dc:rights>Copyright 2015 ARCADE</dc:rights>
<pubDate>Fri, 04 Sep 2015 19:31:49 GMT</pubDate>
<atom:link href="http://arcadenw.org/feeds/events-feed-mobile.rss" rel="self" type="application/rss+xml" />
<item>
<title>Get Gardening!</title>
<link>http://arcadenw.org/event/get-gardening</link>
<guid isPermaLink="false">http://arcadenw.org/article/get-gardening#id:2186#date:19:31</guid>
<event_types>
<event_type>Art/Exhibition</event_type>
</event_types>
<event_date>
<![CDATA[Saturday 12th Sep 2015
&ndash; Sunday 13th Sep 2015]]>
<event_start_time><![CDATA[10am &ndash; 5pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Occidental Mall/Park]]></event_location_name>
<event_location_address><![CDATA[300 Occidental Ave S, Seattle, WA 98104]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/300+Occidental+Ave+S,+Seattle,+WA+98104/@47.5999664,-122.3326583,17z/data=!3m1!4b1!4m2!3m1!1s0x54906aa4d2fd9e0f:0xa9a98a75bda1e7a2]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[Architects Without Borders]]></event_hosts_name>
<event_hosts_url><![CDATA[http://awb-seattle.org/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>View the entries of the Get Gardening! mobile urban garden design/build competition. Winner will be announced at the Seattle Design Festival.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More Info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://awb-seattle.org/projects/get-gardening/]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>Changemaker Showcase</title>
<link>http://arcadenw.org/event/changemaker-showcase</link>
<guid isPermaLink="false">http://arcadenw.org/article/changemaker-showcase#id:2185#date:18:52</guid>
<event_types>
<event_type>Social/Networking</event_type>
<event_type>Other</event_type>
</event_types>
<event_date>
<![CDATA[Wednesday 23rd Sep 2015]]>
<event_start_time><![CDATA[6:30&ndash;9pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Pike Place Atrium]]></event_location_name>
<event_location_address><![CDATA[1433 1st Avenue]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/1433+1st+Ave,+Seattle,+WA+98101/@47.6087863,-122.3399943,17z/data=!3m1!4b1!4m2!3m1!1s0x54906ab2f88d04ef:0x12df60d7809d4140]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[AIGA Seattle]]></event_hosts_name>
<event_hosts_url><![CDATA[http://seattle.aiga.org]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Project showcase of the Changemaker Series designed to enact social change addressing local food challenges.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[Tickets / More Info]]></event_info_link_label>
<event_info_link_url><![CDATA[https://www.eventbrite.com/e/changemaker-showcase-tickets-18221033602]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>14th Annual Wayzgoose</title>
<link>http://arcadenw.org/event/14th-annual-wayzgoose</link>
<guid isPermaLink="false">http://arcadenw.org/article/14th-annual-wayzgoose#id:2166#date:22:47</guid>
<event_types>
<event_type>Social/Networking</event_type>
</event_types>
<event_date>
<![CDATA[Saturday 19th Sep 2015]]>
<event_start_time><![CDATA[10am&ndash;4pm<br />]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[SVC]]></event_location_name>
<event_location_address><![CDATA[2300 7th Ave. Suite B
Seattle, WA 98121]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/dir//2300+7th+Ave,+Seattle,+WA+98121/@47.6177514,-122.3415988,17z/data=!4m13!1m4!3m3!1s0x549015490b0e6675:0x179090509e218df6!2s2300+7th+Ave,+Seattle,+WA+98121!3b1!4m7!1m0!1m5!1m1!1s0x549015490b0e6675:0x179090509e218df6!2m2!1d-122.3415988!2d47.6177514]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[SVC]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.svcseattle.com/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Party celebrating letterpress, with a letterpress marketplace, tours of SVC's of letterpress shop, letterpress swap, food, fun and more. Free!</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://www.svcseattle.com/classes/free-14th-annual-wayzgoose/]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>The Seattle-Havana-Tehran Poster Show (The Seattle-La Habana-تهران Poster Show)‏</title>
<link>http://arcadenw.org/event/the-seattle-havana-tehran-poster-show-the-seattle-la-habana-poster-show</link>
<guid isPermaLink="false">http://arcadenw.org/article/the-seattle-havana-tehran-poster-show-the-seattle-la-habana-poster-show#id:2157#date:19:59</guid>
<event_types>
<event_type>Art/Exhibition</event_type>
</event_types>
<event_date>
<![CDATA[Friday 4th Sep 2015
&ndash; Monday 7th Sep 2015]]>
<event_start_time><![CDATA[At Bumbershoot: Free public preview: Fri, 4 Sept, 3&ndash;8pm; Festival Ticket required Sat, 5 Sept&ndash;Mon, 7 Sept at festival<br />]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Seattle Center, International Fountain Pavilion,]]></event_location_name>
<event_location_address><![CDATA[305 Harrison St, Seatte, WA 98109]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/Seattle+Center/@47.6220384,-122.3520005,17z/data=!3m1!4b1!4m2!3m1!1s0x54901545d5e902b1:0x809dba0423e59752]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[Bumbershoot]]></event_hosts_name>
<event_hosts_url><![CDATA[http://bumbershoot.com/news/detail/bumbershoot_announces_visual_arts_theatre_and_dance_programming]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>An exhibition of recent, contemporary arts and culture posters from the US, Cuba, Iran, premiering at Seattle's Bumbershoot.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://www.shtshow.com]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>INawards 2015</title>
<link>http://arcadenw.org/event/inawards-2015</link>
<guid isPermaLink="false">http://arcadenw.org/article/inawards-2015#id:2156#date:19:51</guid>
<event_types>
<event_type>Other</event_type>
</event_types>
<event_date>
<![CDATA[Monday 26th Oct 2015]]>
<event_start_time><![CDATA[5:30&ndash;9pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Benaroya Hall]]></event_location_name>
<event_location_address />
<event_location_url />
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[IIDA NPC]]></event_hosts_name>
<event_hosts_url><![CDATA[http://iida-northernpacific.org/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Annual event put on by IIDA’s Northern Pacific Chapter to recognize projects from various categories by design leaders of the Northwest.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://http://iida-northernpacific.org/august-4-inawards15-call-for-entries-now-open/]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>InterUrban Happy Hour Kick-off</title>
<link>http://arcadenw.org/event/interurban-happy-hour-kick-off</link>
<guid isPermaLink="false">http://arcadenw.org/article/interurban-happy-hour-kick-off#id:2155#date:17:54</guid>
<event_types>
<event_type>Social/Networking</event_type>
</event_types>
<event_date>
<![CDATA[Tuesday 15th Sep 2015]]>
<event_start_time><![CDATA[5:30&ndash;8:30pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Friends of Georgetown History (FOGHi)]]></event_location_name>
<event_location_address><![CDATA[6206 Carleton Avenue S
Seattle, WA 98108]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/6206+Carleton+Ave+S,+Seattle,+WA+98108/@47.547036,-122.319925,17z/data=!3m1!4b1!4m2!3m1!1s0x549041eb67606425:0xfa159ef518d4a1bd]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[Historic Seattle]]></event_hosts_name>
<event_hosts_url><![CDATA[http://historicseattle.org]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[Friends of Georgetown History (FOGHi)]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.georgetownhistory.com/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Happy hour and kick-off of Historic Seattle's new "InterUrban" series, which connects historic preservation to urban planning and policy.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://historicseattle.org/interurban]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>2015 Seattle Design Festival: Design for Equity</title>
<link>http://arcadenw.org/event/2015-seattle-design-festival-design-for-equity</link>
<guid isPermaLink="false">http://arcadenw.org/article/2015-seattle-design-festival-design-for-equity#id:2154#date:18:40</guid>
<event_types>
<event_type>Other</event_type>
<event_type>Lecture/Panel Discussion</event_type>
<event_type>Social/Networking</event_type>
<event_type>Class/Workshop</event_type>
</event_types>
<event_date>
<![CDATA[Saturday 12th Sep 2015
&ndash; Friday 25th Sep 2015]]>
<event_start_time><![CDATA[See schedule for dates, times and locations]]></event_start_time>
</event_date>
<event_location />
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[Design in Public]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.designinpublic.org/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[Multiple Design Organizations and Businesses]]></event_hosts_name>
<event_hosts_url />
</event_host>
</event_hosts>
<event_description>Join DiP and multiple Seattle design organizations and businesses for this festival celebrating and exploring how design makes life better.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[Schedule / More Info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://www.designinpublic.org/program/seattle-design-festival-2015/]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>Sip &amp; Explore</title>
<link>http://arcadenw.org/event/sip-explore</link>
<guid isPermaLink="false">http://arcadenw.org/article/sip-explore#id:2147#date:18:22</guid>
<event_types>
<event_type>Social/Networking</event_type>
</event_types>
<event_date>
<![CDATA[Thursday 20th Aug 2015]]>
<event_start_time><![CDATA[5:30&ndash;9pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Object/BCAD, Suyama Peterson Deguchi + Peter Miller Books]]></event_location_name>
<event_location_address><![CDATA[2300 Block of 2nd Ave Belltown (between Battery & Blanchard)]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/2326+2nd+Ave,+Seattle,+WA+98121/@47.6148214,-122.3463662,17z/data=!3m1!4b1!4m2!3m1!1s0x5490154c2a384ce5:0x6e1351cc330ee4a2]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[IDSA]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.idsa.org/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[WKND Studio]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.wkndstudio.com/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[MOLD]]></event_hosts_name>
<event_hosts_url><![CDATA[https://thisismold.com/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[Object/BCAD]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.hereisobject.com/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[Peter Miller Books]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.petermiller.com/]]></event_hosts_url>
</event_host>
<event_host>
<event_hosts_name><![CDATA[Suyama Peterson Deguchi]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.suyamapetersondeguchi.com/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Storefront food/design experience along 2nd Ave in Belltown in conjunction with the IDSA International Conference 2015: Future of the Future.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[https://www.eventbrite.com/e/sip-and-explore-design-tickets-18232976323]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>Five years of Commercial Type</title>
<link>http://arcadenw.org/event/five-years-of-commercial-type</link>
<guid isPermaLink="false">http://arcadenw.org/article/five-years-of-commercial-type#id:2141#date:23:34</guid>
<event_types>
<event_type>Lecture/Panel Discussion</event_type>
</event_types>
<event_date>
<![CDATA[Thursday 3rd Sep 2015]]>
<event_start_time><![CDATA[6:30&ndash;8pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[School of Visual Concepts]]></event_location_name>
<event_location_address><![CDATA[2300 7th Ave. Suite B, Seattle, WA 98121]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/School+of+Visual+Concepts/@47.6178189,-122.3415289,15z/data=!4m2!3m1!1s0x0:0xba8e142b0770c1c2]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[AIGA Seattle]]></event_hosts_name>
<event_hosts_url><![CDATA[http://seattle.aiga.org/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Talk "It’s not just about the money, it’s not just about the art. Five years of Commercial Type" by type designers Paul Barnes + Christian Schwartz.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[http://seattle.aiga.org/event/its-not-just-about-the-money-its-not-just-about-the-art-five-years-of-commercial-type/]]></event_info_link_url>
<event_info_link_label><![CDATA[Tickets]]></event_info_link_label>
<event_info_link_url><![CDATA[http://www.eventbrite.com/e/its-not-just-about-the-money-its-not-just-about-the-art-five-years-of-commercial-type-tickets-17872660609?aff=es2]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
<item>
<title>EMPTY VASE</title>
<link>http://arcadenw.org/event/empty-vase</link>
<guid isPermaLink="false">http://arcadenw.org/article/empty-vase#id:2137#date:22:12</guid>
<event_types>
<event_type>Art/Exhibition</event_type>
<event_type>Social/Networking</event_type>
</event_types>
<event_date>
<![CDATA[Thursday 13th Aug 2015]]>
<event_start_time><![CDATA[6&ndash;9pm]]></event_start_time>
</event_date>
<event_location>
<event_location_name><![CDATA[Hybrid_Space]]></event_location_name>
<event_location_address><![CDATA[1205 E. Pike St. #2D, Seattle, WA 98122]]></event_location_address>
<event_location_url><![CDATA[https://www.google.com/maps/place/1205+E+Pike+St,+Seattle,+WA+98122/@47.6139314,-122.3164334,17z/data=!3m1!4b1!4m2!3m1!1s0x54906acdd1098297:0x80fa42b6c3b85bcd]]></event_location_url>
</event_location>
<event_hosts>
<event_host>
<event_hosts_name><![CDATA[HyBrid Architecture and Assembly]]></event_hosts_name>
<event_hosts_url><![CDATA[http://www.hybridarc.com/]]></event_hosts_url>
</event_host>
</event_hosts>
<event_description>Tony Archie Kim's installation, a delicate structure sewn into the space, like a spider establishing its web. Reception during Capitol Hill Art Walk.</event_description>
<event_info_links>
<event_info_link_label><![CDATA[More info]]></event_info_link_label>
<event_info_link_url><![CDATA[https://www.facebook.com/events/450758091777751/]]></event_info_link_url>
</event_info_links>
<pubDate />
</item>
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment