├── README
├── needsoftheoccupiers
├── README
├── do_search.php
├── twitter_search.php
├── twitter_lookup.php
└── twitter_script.php
├── README.md
└── augmented_peoples_mic
├── twilio_version
├── incoming-call.xml
└── check-pin.php
├── gather.xml
├── lookup.php
├── gather_processing.php
├── process_poll.php
└── tropo_version
└── tropo_everything.php
/README:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/needsoftheoccupiers/README:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OWS-Globe-
2 |
3 | The Augmented People's Mic directory contains code to run People's Skype.
4 |
5 | The code is designed to run on both Twilio and Tropo SMS / Voice & Messaging platforms.
6 |
7 | The Needs of the Occupiers directory contains code to run Twitter Network Analysis:
8 |
9 |
--------------------------------------------------------------------------------
/augmented_peoples_mic/twilio_version/incoming-call.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Welcome to the people's mike. To start a new mike, press 1 and then pound, otherwise enter a four digit mike PIN.
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/augmented_peoples_mic/gather.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Welcome to people's mike. Press 1 to start a new mike, or enter a mike check number followed by the pound sign.
7 |
8 |
9 | We didn't get any input from you, talk to you later!
10 |
--------------------------------------------------------------------------------
/needsoftheoccupiers/do_search.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | find(array("need" => $_POST['search']));
24 |
25 | foreach ($cursor as $need) {
26 | echo "Occupy Location ".$need["location"] . "";
27 | echo "Tweeted by ".$need["user"]."";
28 | echo "Raw Tweet ".$need["rawtext"]."";
29 | echo "Needs ";
30 |
31 | foreach ($need["need"] as $needarray) {
32 | echo " ".$needarray." ";
33 | }
34 | echo "";
35 | }
36 |
37 |
38 | }
39 |
40 | ?>
--------------------------------------------------------------------------------
/augmented_peoples_mic/lookup.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Votes
7 | find();
28 |
29 | // $cursor = iterator_to_array($cursor);
30 |
31 | //var_dump($cursor);
32 |
33 |
34 | foreach ($cursor as $need) {
35 |
36 |
37 |
38 | //echo $value." ";
39 | echo $need."";
40 |
41 | }
42 |
43 |
44 |
45 | ?>
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/augmented_peoples_mic/gather_processing.php:
--------------------------------------------------------------------------------
1 | \n";
3 |
4 | if ($_REQUEST['Digits'] == '1') {
5 |
6 | echo "You started a new mike, your mike number is".rand(1000,9999)."";
7 |
8 | }
9 |
10 |
11 | else if ($_REQUEST['Digits'] == '2') {
12 | echo "Unsure";
13 | //---------------------------------------//
14 | }
15 |
16 | else if ($_REQUEST['Digits'] == '3') {
17 |
18 | echo "Disagree";
19 | //---------------------------------------//
20 | }
21 |
22 | else if ($_REQUEST['Digits'] == '4') {
23 |
24 | echo "Point of Process";
25 | //---------------------------------------//
26 | }
27 |
28 | else if ($_REQUEST['Digits'] == '5') {
29 |
30 | echo "Point of Information";
31 | //---------------------------------------//
32 | }
33 |
34 | else if ($_REQUEST['Digits'] == '6') {
35 |
36 | echo "Wrap it Up";
37 | //---------------------------------------//
38 | }
39 |
40 | else if ($_REQUEST['Digits'] == '7') {
41 |
42 | echo "Block";
43 | //---------------------------------------//
44 | }
45 |
46 |
47 | else {
48 |
49 | echo "You joined mike check number " . $_REQUEST['Digits'] . ". Press 1 to agree. 2 if unsure, 3 if disagree, 4 for point of process, 5 for point of information, 6 to wrap it up, 7 for block, 8 for current vote stats, 9 to leave this mic. 0 for help. Goodbye for now. ";
50 |
51 | }
52 | ?>
--------------------------------------------------------------------------------
/needsoftheoccupiers/twitter_search.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Need of the Occupiers
5 |
6 |
7 |
8 |
42 |
43 |
44 |
45 |
46 |
47 | What do you have to offer?
48 |
52 |
53 |
54 |
55 |
Search results for
56 |
58 |
59 |
60 |
61 |
62 |
63 |