Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Create new DJs from volunteer XML feed #2

Open
kumar303 opened this Issue · 0 comments

2 participants

@kumar303
Owner

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
@kumar303 kumar303 referenced this issue from a commit in kumar303/chirpradio
@kumar303 kumar303 Sync DJs via member API (issue #2, issue #3) da572bb
@kumar303 kumar303 was assigned
@kumar303 kumar303 removed their assignment
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.