Skip to content

Create new DJs from volunteer XML feed #2

Open
kumar303 opened this Issue Oct 3, 2012 · 0 comments

2 participants

@kumar303
CHIRP Radio member
kumar303 commented Oct 3, 2012

The new CHIRP website will be a central location for entering volunteers. The Google App Engine site should check this URL periodically (maybe once a day from cron) and enter new DJs into the system from that feed.

We should first add an external unique ID to the Users model.

Whenever a new volunteers arrives through the feed that we don't already have an ID for, add them to the system and fill in all relevant User properties. The password should be blank which will force them to reset their password before logging in. Before we have all external IDs in sync we can use email address to link up existing members.

Here is an example of the XML feed.

<volunteer>
  <updated>20121001175054</updated>
  <name>
    <first>Joe</first>
    <last>Gibbs</last>
    <nick>DJ Joe Gibbs</nick>
  </name>
  <member_id>1</member_id>
  <email>person@chirpradio.org</email>
  <phone>
    <home></home>
    <cell></cell>
    <work></work>
  </phone>
  <avatar>http://volunteers.chirpradio.dev/_/i/volunteer_images/mikeg.jpeg</avatar>
  <urls>
    <twitter></twitter>
    <facebook></facebook>
    <website></website>
  </urls>
  <bio><![CDATA[
(DJ bio text).]]></bio>
</volunteer>
@asteinberger asteinberger was assigned Oct 18, 2012
@kumar303 kumar303 added a commit to kumar303/chirpradio that referenced this issue Dec 3, 2012
@kumar303 kumar303 Sync DJs via member API (issue #2, issue #3) da572bb
@kumar303 kumar303 was assigned Dec 4, 2012
@kumar303 kumar303 removed their assignment Apr 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.