Difference between revisions of "HSVevents Twitter"

From Makers Local 256
Jump to: navigation, search
(added a couple examples)
(mapped out some requirements to the examples, authours are now known as publishers)
Line 17: Line 17:
 
==Requirements==
 
==Requirements==
 
* Primary Requirements
 
* Primary Requirements
** Message format - Title Date Location Website(if available)
+
# Message format - Title Date Location other info
** Approved authors can direct message or @reply hsvevents to add events to the database
+
# Direct message or @hsvevents to add events to the database
** Scrape known sites for lists of events and add them to the database automatically
+
# Scrape known sites for lists of events and add them to the database automatically
** Send out a tweet at T-7 days, T-2 days, and T-0 days
+
# Send out a tweet at T-7 days, T-2 days, and T-0 days
** Through Twitter administration - admins(approve, silence, remove authors), authors(add, approve, remove events), normies(summit events)
+
# Through Twitter administration
** Send conformation
+
##Admins(approve, silence, remove publishers)
** webcal
+
##Publishers (summit, approve, remove events)
 +
##Normies(summit events)
 +
# Send conformation
 +
# webcal
 
* Secondary Requirements
 
* Secondary Requirements
** RSVP
+
# RSVP
** Movie Bot
+
# Movie Bot
  
 
==Flows==
 
==Flows==
  
 
==Examples==
 
==Examples==
* '''Normie/Author - Event Submitted is approved'''  
+
*'''PR.1''' (This format need to be worked out, example events)
#sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN)
+
** Phreaknic Oct. 24-26 2008 Nashville TN http://phreaknic.info - 80 characters
#event sent to random author for approval
+
** Taste of Hunstville Oct. 30 2008 Von Braun Center South Hall - 80 characters
#author responds with Ya
+
** Big Spring Jam Sep. 26-28 2008 Downtown HSV http://www.bigspringjam.org Tickets - $45 weekend, $25 a day - 104 characters
#post event to HSVevents
+
#sent a conformation to Normie
+
 
<br>
 
<br>
* '''Normie/Author - Event Submitted is not approved'''  
+
* '''Normie - Event Submitted is approved'''
#sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN)  
+
#sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN) '''''<- PR.2 & PR.5.3'''''
#event sent to random author for approval  
+
#event sent to random publisher for approval
#author responds with Na  
+
#publisher responds with Ya '''''<- PR.5.2'''''
#sent author's message back to Normie  
+
#adds event to database '''''<- PR.2'''''
 +
#sent a conformation to Normie '''''<- PR.6'''''
 +
<br>
 +
* '''Normie - Event Submitted is not approved'''  
 +
#sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN) '''''<- PR.2 & PR.5.3'''''
 +
#event sent to random publisher for approval  
 +
#publisher responds with Na and reason  '''''<- PR.5.2'''''
 +
#send publisher's reason back to Normie '''''<- PR.6'''''
 
#discard as not approved  
 
#discard as not approved  
 
<br>
 
<br>
 +
* '''Publisher - Event Submitted'''
 +
#sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN)
 +
#adds event to database '''''<- PR.2'''''
 +
#sent a conformation '''''<- PR.6'''''
  
 
[[Category:Twitter]]                                                  <!--MAKE AS MANY CATEGORIES AS YOU NEED-->
 
[[Category:Twitter]]                                                  <!--MAKE AS MANY CATEGORIES AS YOU NEED-->
 
[[Category:Bot]]
 
[[Category:Bot]]

Revision as of 10:51, 11 September 2008

Creator:
Jim Shoe
Status:
Planning
Born On:
16:11, 23 August 2008 (CDT)
Last Updated:
{{{Last Updated}}}

Overview

Project to automate the posting of tweets to @HSVevents.

Notes

  • MYSQL database
  • User whitelist, with on/off flags
  • Site scrapping of other sites
  • Use Twitter API, since XMPP isn't working right now.
  • Perl?

Requirements

  • Primary Requirements
  1. Message format - Title Date Location other info
  2. Direct message or @hsvevents to add events to the database
  3. Scrape known sites for lists of events and add them to the database automatically
  4. Send out a tweet at T-7 days, T-2 days, and T-0 days
  5. Through Twitter administration
    1. Admins(approve, silence, remove publishers)
    2. Publishers (summit, approve, remove events)
    3. Normies(summit events)
  6. Send conformation
  7. webcal
  • Secondary Requirements
  1. RSVP
  2. Movie Bot

Flows

Examples

  • PR.1 (This format need to be worked out, example events)
    • Phreaknic Oct. 24-26 2008 Nashville TN http://phreaknic.info - 80 characters
    • Taste of Hunstville Oct. 30 2008 Von Braun Center South Hall - 80 characters
    • Big Spring Jam Sep. 26-28 2008 Downtown HSV http://www.bigspringjam.org Tickets - $45 weekend, $25 a day - 104 characters


  • Normie - Event Submitted is approved
  1. sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN) <- PR.2 & PR.5.3
  2. event sent to random publisher for approval
  3. publisher responds with Ya <- PR.5.2
  4. adds event to database <- PR.2
  5. sent a conformation to Normie <- PR.6


  • Normie - Event Submitted is not approved
  1. sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN) <- PR.2 & PR.5.3
  2. event sent to random publisher for approval
  3. publisher responds with Na and reason <- PR.5.2
  4. send publisher's reason back to Normie <- PR.6
  5. discard as not approved


  • Publisher - Event Submitted
  1. sends event (Phreaknic Oct. 24 - 26 2008 Nashville TN)
  2. adds event to database <- PR.2
  3. sent a conformation <- PR.6