Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Static pages generation is fully automated

  • Loading branch information...
commit e20825676bf27127a6ef1878ad8884a0d072d1a9 1 parent 8b3cdca
@eyedol eyedol authored
View
182 genwebsite/doc.mkd
@@ -1,83 +1,62 @@
<div class="page-header">
- <h1>Documentation <small>This documents how to integrate SMSSync into your project.</small></h1>
- </div>
- <div class="row">
- <div class="span8 columns">
- <h2>Instructions</h2>
- <ul>
- <li>
- SMSSync uses the <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">
- HTTP</a> and <a href="http://en.wikipedia.org/wiki/HTTPS">
- HTTPS</a> protocols for communication.
- <p>To start the SMSSync Gateway, you'll need to specify a callback URL.
- This URL is where all incoming SMS will be transmitted to.
- Remember to enter the full URL including the filename. A
- typical example will be <code>http://somedomain.com/index.php</code></p></li>
- <li>
- For security you can specify a secret key at the callback URL. If
- the secret key doesn't match, the callback URL will ignore
- the transmission.
- </li>
- <li>
- Additionally, you can specify keywords with which to filter
- incoming SMS. Only matching SMS will be sent to
- the SMSSync Gateway URL.
- </li>
- <li>
- SMSSync uses the following variables to transmit the incoming SMS via the POST method:
- <ul>
- <li><strong>from</strong> -- the number that sent the SMS</li>
- <li><strong>message</strong> -- the SMS sent</strong></li>
- <li><strong>message_id</strong> -- the unique ID of the SMS</li>
- <li><strong>sent_to</strong> -- the phone number the SMS was sent to</li>
-
- <li><strong>secret</strong> -- the secret key set on the app</li>
- <li><strong>sent_timestamp</strong> -- the timestamp the SMS was sent.
- In the format, mm-dd-yy-hh:mm Eg. 11-27-11-07:11</strong></li>
- </ul>
- </li>
- </ul>
- <p>
- In order for SMSSync to account for perfect transmission, the callback URL
- needs to give back a formatted JSON string such as its shown below to
- indicate if it received the message or not.
- <br /><br />
- <strong>Succeeded</strong>
+<h1>Documentation <small>This documents how to integrate SMSSync into your project.</small></h1>
+</div>
+<div class="row">
+<div class="span8 columns">
+<h2>Instructions</h2>
+<ul>
+<li>
+SMSSync uses the <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> and <a href="http://en.wikipedia.org/wiki/HTTPS">HTTPS</a> protocols for communication.
+ <p>To start the SMSSync Gateway, you'll need to specify a callback URL. This URL is where all incoming SMS will be transmitted to.
+ Remember to enter the full URL including the filename. A typical example will be <code>http://somedomain.com/index.php</code></p></li>
+<li>
+For security you can specify a secret key at the callback URL. If the secret key doesn't match, the callback URL will ignore the transmission.
+</li>
+<li>
+Additionally, you can specify keywords with which to filter incoming SMS. Only matching SMS will be sent to the SMSSync Gateway URL.
+</li>
+<li>
+SMSSync uses the following variables to transmit the incoming SMS via the POST method:
+<ul>
+<li><strong>from</strong> -- the number that sent the SMS</li>
+<li><strong>message</strong> -- the SMS sent</strong></li>
+<li><strong>message_id</strong> -- the unique ID of the SMS</li>
+<li><strong>sent_to</strong> -- the phone number the SMS was sent to</li>
+
+<li><strong>secret</strong> -- the secret key set on the app</li>
+<li><strong>sent_timestamp</strong> -- the timestamp the SMS was sent. In the format, mm-dd-yy-hh:mm Eg. 11-27-11-07:11</strong></li>
+</ul>
+</li>
+</ul>
+<p>
+In order for SMSSync to account for perfect transmission, the callback URL needs to give back a formatted JSON string such as its shown below to indicate if it received the message or not.
+<br /><br />
+<strong>Succeeded</strong>
<pre class="prettyprint linenums">
{
payload: {
success: "true"
}
}</pre>
-
- <br /><br />
- <strong>Failed</strong>
- <br /><br />
+<br /><br />
+<strong>Failed</strong>
+<br /><br />
<pre class="prettyprint linenums">{
payload: {
success: "false"
}
}</pre>
- </p>
- <p>&nbsp;</p>
- <strong>Response from server</strong>
- <p>
- SMSSync allows auto response to be configured on the app itself or to be
- retrieved from the server. When the app makes an HTTP Post request to sync the
- incoming SMS to the configured URL, it can send a JSON string that has
- messages in it as opposed to sending a success or failed JSON string as
- stated above. The app then sends the messages as SMS to users phone.
- <p>
- This makes it possible to have an instant response via SMS when an HTTP Post
- request is made. To leverage this feature, a JSON formatted string like the one
- below needs to be returned by the configured URL after the app makes the
- HTTP Post request.
- </p>
- <p>
- Also, make sure <strong>*Get Reply From Server*</strong> is checked on
- SMSSync otherwise it will fail to send the SMS.<p>
-
- <strong>Response JSON data from the callback URL</strong>
+</p>
+<p>&nbsp;</p>
+<strong>Response from server</strong>
+<p>
+SMSSync allows auto response to be configured on the app itself or to be retrieved from the server. When the app makes an HTTP Post request to sync the incoming SMS to the configured URL, it can send a JSON string that has messages in it as opposed to sending a success or failed JSON string as stated above. The app then sends the messages as SMS to users phone.
+<p>
+This makes it possible to have an instant response via SMS when an HTTP Post request is made. To leverage this feature, a JSON formatted string like the one below needs to be returned by the configured URL after the app makes the HTTP Post request.
+</p>
+<p>
+Also, make sure <strong>*Get Reply From Server*</strong> is checked on SMSSync otherwise it will fail to send the SMS.<p>
+<strong>Response JSON data from the callback URL</strong>
<pre class="prettyprint linenums">{
"payload": {
"success": "true",
@@ -98,23 +77,15 @@
]
}
}</pre>
- </p>
- <p>&nbsp;</p>
- <strong>Task</strong>
- <p>
- SMSSync supports execution of task sent from the configured callback URL. At
- the moment, it supports sending of messages sent from the callback URL as SMS.
- This feature is targeted towards developers. If you are a developer and you want
- SMSSync to send an SMS, send a JSON formatted string as shown below to
- SMSSync with the variable task=send. When SMSSync does an HTTP GET request with
- a sample URL like this one, <code>http://callback_url/smssync?task=send</code>, it
- should bring back a JSON string below.</p>
- <br /><br />
- <p><strong>Note:</strong> The secret key has to match the secret key
- configured with SMSSync, otherwise, SMSSync will not execute the task. To
- play it safe, add the country code to the phone number. Eg. +254700709142</p>
-
- <p><strong>Response JSON data from the callback URL</strong></p>
+</p>
+<p>&nbsp;</p>
+<strong>Task</strong>
+<p>
+SMSSync supports execution of task sent from the configured callback URL. At the moment, it supports sending of messages sent from the callback URL as SMS. This feature is targeted towards developers. If you are a developer and you want SMSSync to send an SMS, send a JSON formatted string as shown below to SMSSync with the variable task=send. When SMSSync does an HTTP GET request with a sample URL like this one, <code>http://callback_url/smssync?task=send</code>, it should bring back a JSON string below.</p>
+<br /><br />
+<p><strong>Note:</strong> The secret key has to match the secret key configured with SMSSync, otherwise, SMSSync will not execute the task. To play it safe, add the country code to the phone number. Eg. +254700709142</p>
+
+<p><strong>Response JSON data from the callback URL</strong></p>
<pre class="prettyprint linenums">{
"payload": {
@@ -136,12 +107,10 @@
]
}
}</pre>
-
- </div>
- <div class="span8 columns">
- <h2>A sample web service</h2>
- <p>This is a sample PHP script to demonstrate how to write a webservice to
- successfully communicate with SMSSync.</p>
+</div>
+<div class="span8 columns">
+<h2>A sample web service</h2>
+<p>This is a sample PHP script to demonstrate how to write a webservice to successfully communicate with SMSSync.</p>
<pre class="prettyprint linenums">
/**
* get the phone number that sent the SMS.
@@ -212,17 +181,9 @@ if ((strlen($from) > 0) AND (strlen($message) > 0) AND
if ( ! ( $secret == '123456'))
{
$success = "false";
- }
- else
- {
- echo "Secret: ".$secret;
}
-
- /**
- * now let's write the info sent by SMSSync
- * to a file called test.txt
- */
-
+ // now let's write the info sent by SMSSync
+ //to a file called test.txt
$string = "From: ".$from."\n";
$string .= "Message: ".$message."\n";
$string .= "Timestamp: ".$sent_timestamp."\n";
@@ -233,8 +194,6 @@ if ((strlen($from) > 0) AND (strlen($message) > 0) AND
@fwrite($fh, $string);
@fclose($fh);
-
-
}
else
{
@@ -263,12 +222,11 @@ echo json_encode(array("payload"=>array(
* echo json_encode(array("payload"=>array("success"=>$success,"task"=>"send","messages"=>array_values($reply))));
*/
</pre>
- <p>
- For a complete web service application, look at Ushahidi's <a href="https://github.com/ushahidi/Ushahidi_Web/tree/master/plugins/smssync">SMSSync plugin</a>.
- It utilizes most of SMSSync features.
- </p>
-
- <p>
- There is also SMSSync webservice for Django that implements most of the features of SMSSync. You can download it from <a href="https://github.com/cwanjau/SMSsync-Python-Django-webservice">github.com</a>. Thanks to <a href="https://github.com/cwanjau">Caine Wanjau</a>
- </p>
- </div>
+<p>
+For a complete web service application, look at Ushahidi's <a href="https://github.com/ushahidi/Ushahidi_Web/tree/master/plugins/smssync">SMSSync plugin</a>.It utilizes most of SMSSync features.
+</p>
+<p>
+There is also SMSSync webservice for Django that implements most of the features of SMSSync. You can download it from <a href="https://github.com/cwanjau/SMSsync-Python-Django-webservice">github.com</a>. Thanks to <a href="https://github.com/cwanjau">Caine Wanjau</a>
+</p>
+</div>
+</div>
View
32 genwebsite/download.mkd
@@ -1,17 +1,15 @@
- <div class="page-header">
- <h1>Downloads <small>Where to download the app.</small></h1>
- </div>
- <div class="row">
- <div class="span8 columns">
- <h2>QR Code</h2>
- <p><strong>Scan the QR below to install SMSSync on your Android powered phone</strong></p>
- <p><img src="http://qrcode.kaywa.com/img.php?s=6&#038;d=http%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dorg.addhen.smssync" alt="qrcode" />
- </div>
- <div class="span8 columns">
- <h2>Android market</h2>
- <p><strong>The app is available today on the Android market. You can download it on your phone by clicking on the image on the left or scanning the QR code on the right. Enjoy!</strong></p>
- <p><a href="https://market.android.com/details?id=org.addhen.smssync"><img class="size-thumbnail wp-image-4527 " title="ushahidi_android_on_the_market" src="http://blog.ushahidi.com/wp-content/uploads/2011/07/ushahidi_android_on_the_market-150x150.png" alt="Android market" width="200" height="200" /></a>
- </div>
-
- </div>
-
+<div class="page-header">
+<h1>Downloads <small>Where to download the app.</small></h1>
+</div>
+<div class="row">
+<div class="span8 columns">
+<h2>QR Code</h2>
+<p><strong>Scan the QR below to install SMSSync on your Android powered phone</strong></p>
+<p><img src="http://qrcode.kaywa.com/img.php?s=6&#038;d=http%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dorg.addhen.smssync" alt="qrcode" />
+</div>
+<div class="span8 columns">
+<h2>Android market</h2>
+<p><strong>The app is available today on the Android market. You can download it on your phone by clicking on the image on the left or scanning the QR code on the right. Enjoy!</strong></p>
+<p><a href="https://market.android.com/details?id=org.addhen.smssync"><img class="size-thumbnail wp-image-4527 " title="ushahidi_android_on_the_market" src="http://blog.ushahidi.com/wp-content/uploads/2011/07/ushahidi_android_on_the_market-150x150.png" alt="Android market" width="200" height="200" /></a>
+</div>
+</div>
View
44 genwebsite/index.mkd
@@ -1,11 +1,11 @@
<div class="container">
- <!-- About SMSSync -->
- <section id="about">
- <div class="page-header">
- <h1>About</h1>
- </div>
- <div class="row"><!--start row-->
- <div class="span-one-third">
+<!-- About SMSSync -->
+<section id="about">
+ <div class="page-header">
+ <h1>About</h1>
+ </div>
+ <div class="row"><!--start row-->
+ <div class="span-one-third">
<h3>What is it</h3>
<p>
SMSSync is a simple, yet powerful SMS to HTTP sync utility,that turns any Android phone into a local SMS gateway by sending incoming messages(SMS) to a configured URL(web service).
@@ -22,15 +22,9 @@
</div>
<div class="span-one-third">
<h3>Participation</h3>
- <p>
- There are a variety of ways to actively participate in the project.
- These range from writing documentation for the project to
- translating the app into various
- other languages. If you are a developer and want to help write code
- for the project, feel free to browse through our <a href="https://github.com/ushahidi/SMSSync/issues/">issue
- tracker</a> on github.
- </p>
- </div>
+ <p>There are a variety of ways to actively participate in the project. These range from writing documentation for the project to translating the app into various other languages. If you are a developer and want to help write code for the project, feel free to browse through our <a href="https://github.com/ushahidi/SMSSync/issues/">issue tracker</a> on github.
+ </p>
+ </div>
</div><!--end row-->
</section>
<section id="project-status">
@@ -41,8 +35,8 @@
<strong>Public release:</strong>
<ul>
<li>Released December 12, 2011</li>
- <li>Revision r11</li>
- <li>Version 1.1.9</li>
+ <li>Revision <a href"https://github.com/ushahidi/SMSSync/tree/v1.1.9">r11</a></li>
+ <li>Version <a href="https://github.com/ushahidi/SMSSync/zipball/v1.1.9">1.1.9</a></li>
</ul>
<strong>Stable branch:</strong>
<ul>
@@ -52,7 +46,7 @@
<ul>
<li><a href="https://github.com/ushahidi/SMSsync/">master branch</a> open for commit/contributions for SMSSync 1.1.10</li>
</ul>
- <a href="http://dev.ushahidi.com/projects/SMSSync/news">More</a>
+ <a href="../releases/">More</a>
</p>
</div>
<div class="span-one-third">
@@ -64,16 +58,13 @@
<p>
It uses <a href="http://github.com">Github</a>
for project management and for tracking
- <a href="https://github.com/ushahidi/SMSSync/issues/">bugs and issues</a>.
- Transifex, the free and open source localization tool, is used for translations.
+ <a href="https://github.com/ushahidi/SMSSync/issues/">bugs and issues</a>. Transifex, the free and open source localization tool, is used for translations.
</p>
- </div>
+ </div>
<div class="span-one-third">
- <h3>Translations</h3>
+ <h3>Translations</h3>
<p>
- SMSSync, as of now, has been completely translated into 5 languages. We use
- transifex for hosting our strings and to make translation much easier.
-
+ SMSSync, as of now, has been completely translated into 5 languages. We use transifex for hosting our strings and to make translation much easier.
<p>To help translate SMSSync into other languages, simply headover to
<a href="https://www.transifex.net/projects/p/smssync/resource/stringsxml/">transifex.net</a>,
add a language if it's not there or contribute to the uncompleted
@@ -81,6 +72,5 @@
</p>
</div>
</div><!--end row-->
-
</section>
</div>
View
6 genwebsite/releases.mkd
@@ -3,9 +3,9 @@
</div>
# Current release
-* Released %release%
-* Revision [%revision%](https://github.com/ushahidi/SMSSync/tree/v1.1.9)
-* Version [%version%](https://github.com/ushahidi/SMSSync/zipball/v1.1.9)
+* Released December 12, 2011
+* Revision [r12](https://github.com/ushahidi/SMSSync/tree/v1.1.9)
+* Version [1.1.9](https://github.com/ushahidi/SMSSync/zipball/v1.1.9)
### Changelog
* Bug:
View
12 genwebsite/screenshot.mkd
@@ -1,26 +1,26 @@
## Screenshots
<table class="screenshots">
<tr><td>
-<a rel="screenshots_group" href="images/screenshots/auto_reply.png" title="Auto Reply"><img alt="Auto Reply" src="images/screenshots/auto_reply.png" width="150" height="221" /></a>
+<a rel="screenshots_group" href="../images/screenshots/auto_reply.png" title="Auto Reply"><img alt="Auto Reply" src="../images/screenshots/auto_reply.png" width="150" height="221" /></a>
<br/>Auto Reply
</td><td>
- <a rel="screenshots_group" href="images/screenshots/auto_sync.png" title="Auto Sync"><img alt="Auto Sync" src="images/screenshots/auto_sync.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/auto_sync.png" title="Auto Sync"><img alt="Auto Sync" src="../images/screenshots/auto_sync.png" width="150" height="221" /></a>
<br/>Auto Sync
</td><td>
- <a rel="screenshots_group" href="images/screenshots/filter_by_keyword.png" title="Filter By Keywords"><img alt="Filter By Keywords" src="images/screenshots/filter_by_keyword.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/filter_by_keyword.png" title="Filter By Keywords"><img alt="Filter By Keywords" src="../images/screenshots/filter_by_keyword.png" width="150" height="221" /></a>
<br/>Filter By keyword
</td></tr>
<tr><td>
- <a rel="screenshots_group" href="images/screenshots/no_pending_msgs.png" title="No pending Messages"><img alt="Filter By Keywords" src="images/screenshots/no_pending_msgs.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/no_pending_msgs.png" title="No pending Messages"><img alt="Filter By Keywords" src="../images/screenshots/no_pending_msgs.png" width="150" height="221" /></a>
<br/>No Pending Messages
</td><td>
- <a rel="screenshots_group" href="images/screenshots/pending_messages.png" title="Pending Messages"><img alt="Pending Messages" src="images/screenshots/pending_messages.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/pending_messages.png" title="Pending Messages"><img alt="Pending Messages" src="../images/screenshots/pending_messages.png" width="150" height="221" /></a>
<br/>Pending Messages
</td><td>
- <a rel="screenshots_group" href="images/screenshots/settings.png" title="Settings"><img alt="Settings" src="images/screenshots/settings.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/settings.png" title="Settings"><img alt="Settings" src="../images/screenshots/settings.png" width="150" height="221" /></a>
<br/>Settings
</td></tr>
</table>
View
21 genwebsite/site_footer.html
@@ -6,21 +6,18 @@
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
<p>#Date Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+</div>
</footer>
</div>
<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
</script>
</body>
</html>
View
27 genwebsite/site_header.html
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
View
266 smssync.ushahidi.com/doc.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -43,90 +42,69 @@
</div>
<div class="container">
<div class="page-header">
- <h1>Documentation <small>This documents how to integrate SMSSync into your project.</small></h1>
- </div>
+<h1>Documentation <small>This documents how to integrate SMSSync into your project.</small></h1>
+</div>
+
+<div class="row">
+<div class="span8 columns">
+<h2>Instructions</h2>
+<ul>
+<li>
+SMSSync uses the <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> and <a href="http://en.wikipedia.org/wiki/HTTPS">HTTPS</a> protocols for communication.
+ <p>To start the SMSSync Gateway, you'll need to specify a callback URL. This URL is where all incoming SMS will be transmitted to.
+ Remember to enter the full URL including the filename. A typical example will be <code>http://somedomain.com/index.php</code></p></li>
+<li>
+For security you can specify a secret key at the callback URL. If the secret key doesn't match, the callback URL will ignore the transmission.
+</li>
+<li>
+Additionally, you can specify keywords with which to filter incoming SMS. Only matching SMS will be sent to the SMSSync Gateway URL.
+</li>
+<li>
+SMSSync uses the following variables to transmit the incoming SMS via the POST method:
+<ul>
+<li><strong>from</strong> -- the number that sent the SMS</li>
+<li><strong>message</strong> -- the SMS sent</strong></li>
+<li><strong>message_id</strong> -- the unique ID of the SMS</li>
+<li><strong>sent_to</strong> -- the phone number the SMS was sent to</li>
-<pre><code>&lt;div class="row"&gt;
- &lt;div class="span8 columns"&gt;
- &lt;h2&gt;Instructions&lt;/h2&gt;
- &lt;ul&gt;
- &lt;li&gt;
- SMSSync uses the &lt;a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"&gt;
- HTTP&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/HTTPS"&gt;
- HTTPS&lt;/a&gt; protocols for communication.
- &lt;p&gt;To start the SMSSync Gateway, you'll need to specify a callback URL.
- This URL is where all incoming SMS will be transmitted to.
- Remember to enter the full URL including the filename. A
- typical example will be &lt;code&gt;http://somedomain.com/index.php&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
- &lt;li&gt;
- For security you can specify a secret key at the callback URL. If
- the secret key doesn't match, the callback URL will ignore
- the transmission.
- &lt;/li&gt;
- &lt;li&gt;
- Additionally, you can specify keywords with which to filter
- incoming SMS. Only matching SMS will be sent to
- the SMSSync Gateway URL.
- &lt;/li&gt;
- &lt;li&gt;
- SMSSync uses the following variables to transmit the incoming SMS via the POST method:
- &lt;ul&gt;
- &lt;li&gt;&lt;strong&gt;from&lt;/strong&gt; -- the number that sent the SMS&lt;/li&gt;
- &lt;li&gt;&lt;strong&gt;message&lt;/strong&gt; -- the SMS sent&lt;/strong&gt;&lt;/li&gt;
- &lt;li&gt;&lt;strong&gt;message_id&lt;/strong&gt; -- the unique ID of the SMS&lt;/li&gt;
- &lt;li&gt;&lt;strong&gt;sent_to&lt;/strong&gt; -- the phone number the SMS was sent to&lt;/li&gt;
+<li><strong>secret</strong> -- the secret key set on the app</li>
+<li><strong>sent_timestamp</strong> -- the timestamp the SMS was sent. In the format, mm-dd-yy-hh:mm Eg. 11-27-11-07:11</strong></li>
+</ul>
+</li>
-&lt;li&gt;&lt;strong&gt;secret&lt;/strong&gt; -- the secret key set on the app&lt;/li&gt;
- &lt;li&gt;&lt;strong&gt;sent_timestamp&lt;/strong&gt; -- the timestamp the SMS was sent.
- In the format, mm-dd-yy-hh:mm Eg. 11-27-11-07:11&lt;/strong&gt;&lt;/li&gt;
- &lt;/ul&gt;
- &lt;/li&gt;
- &lt;/ul&gt;
- &lt;p&gt;
- In order for SMSSync to account for perfect transmission, the callback URL
- needs to give back a formatted JSON string such as its shown below to
- indicate if it received the message or not.
- &lt;br /&gt;&lt;br /&gt;
- &lt;strong&gt;Succeeded&lt;/strong&gt;
-</code></pre>
-<p><pre class="prettyprint linenums">
+<p></ul>
+<p>
+In order for SMSSync to account for perfect transmission, the callback URL needs to give back a formatted JSON string such as its shown below to indicate if it received the message or not.
+<br /><br />
+<strong>Succeeded</strong>
+<pre class="prettyprint linenums">
{
payload: {
success: "true"
}
-}</pre></p>
-<pre><code> &lt;br /&gt;&lt;br /&gt;
- &lt;strong&gt;Failed&lt;/strong&gt;
- &lt;br /&gt;&lt;br /&gt;
-</code></pre>
-<p><pre class="prettyprint linenums">{
+}</pre>
+<br /><br />
+<strong>Failed</strong>
+<br /><br />
+<pre class="prettyprint linenums">{
payload: {
success: "false"
}
}</pre>
- </p>
- &nbsp;
+</p>
-<pre><code> &lt;strong&gt;Response from server&lt;/strong&gt;
- &lt;p&gt;
- SMSSync allows auto response to be configured on the app itself or to be
- retrieved from the server. When the app makes an HTTP Post request to sync the
- incoming SMS to the configured URL, it can send a JSON string that has
- messages in it as opposed to sending a success or failed JSON string as
- stated above. The app then sends the messages as SMS to users phone.
- &lt;p&gt;
- This makes it possible to have an instant response via SMS when an HTTP Post
- request is made. To leverage this feature, a JSON formatted string like the one
- below needs to be returned by the configured URL after the app makes the
- HTTP Post request.
- &lt;/p&gt;
- &lt;p&gt;
- Also, make sure &lt;strong&gt;&lt;em&gt;Get Reply From Server&lt;/em&gt;&lt;/strong&gt; is checked on
- SMSSync otherwise it will fail to send the SMS.&lt;p&gt;&lt;/p&gt;
-</code></pre>
-<p><pre><code> &lt;strong&gt;Response JSON data from the callback URL&lt;/strong&gt;
-</code></pre>
-<p><pre class="prettyprint linenums">{
+&nbsp;
+
+<p><strong>Response from server</strong>
+<p>
+SMSSync allows auto response to be configured on the app itself or to be retrieved from the server. When the app makes an HTTP Post request to sync the incoming SMS to the configured URL, it can send a JSON string that has messages in it as opposed to sending a success or failed JSON string as stated above. The app then sends the messages as SMS to users phone.
+<p>
+This makes it possible to have an instant response via SMS when an HTTP Post request is made. To leverage this feature, a JSON formatted string like the one below needs to be returned by the configured URL after the app makes the HTTP Post request.
+</p>
+<p>
+Also, make sure <strong><em>Get Reply From Server</em></strong> is checked on SMSSync otherwise it will fail to send the SMS.<p>
+<strong>Response JSON data from the callback URL</strong>
+<pre class="prettyprint linenums">{
"payload": {
"success": "true",
"task": "send",
@@ -146,24 +124,14 @@
]
}
}</pre>
- </p>
- &nbsp;</p>
-<pre><code>&lt;strong&gt;Task&lt;/strong&gt;
-&lt;p&gt;
-SMSSync supports execution of task sent from the configured callback URL. At
-the moment, it supports sending of messages sent from the callback URL as SMS.
-This feature is targeted towards developers. If you are a developer and you want
-SMSSync to send an SMS, send a JSON formatted string as shown below to
-SMSSync with the variable task=send. When SMSSync does an HTTP GET request with
-a sample URL like this one, &lt;code&gt;http://callback_url/smssync?task=send&lt;/code&gt;, it
-should bring back a JSON string below.&lt;/p&gt;
-&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;
-&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The secret key has to match the secret key
-configured with SMSSync, otherwise, SMSSync will not execute the task. To
-play it safe, add the country code to the phone number. Eg. +254700709142&lt;/p&gt;&lt;/p&gt;
-</code></pre>
-<p><pre><code>&lt;p&gt;&lt;strong&gt;Response JSON data from the callback URL&lt;/strong&gt;&lt;/p&gt;
-</code></pre>
+</p>
+&nbsp;</p>
+<p><strong>Task</strong>
+<p>
+SMSSync supports execution of task sent from the configured callback URL. At the moment, it supports sending of messages sent from the callback URL as SMS. This feature is targeted towards developers. If you are a developer and you want SMSSync to send an SMS, send a JSON formatted string as shown below to SMSSync with the variable task=send. When SMSSync does an HTTP GET request with a sample URL like this one, <code>http://callback_url/smssync?task=send</code>, it should bring back a JSON string below.</p>
+<br /><br /> <br />
+<p><strong>Note:</strong> The secret key has to match the secret key configured with SMSSync, otherwise, SMSSync will not execute the task. To play it safe, add the country code to the phone number. Eg. +254700709142</p></p>
+<p><strong>Response JSON data from the callback URL</strong></p></p>
<pre class="prettyprint linenums">{
"payload": {
"task": "send",
@@ -183,15 +151,13 @@
}
]
}
-}</pre></p>
-<pre><code>&lt;/div&gt;
-&lt;div class="span8 columns"&gt;
- &lt;h2&gt;A sample web service&lt;/h2&gt;
- &lt;p&gt;This is a sample PHP script to demonstrate how to write a webservice to
- successfully communicate with SMSSync.&lt;/p&gt;
-</code></pre>
+}</pre>
-<p><pre class="prettyprint linenums">
+<p></div>
+<div class="span8 columns">
+<h2>A sample web service</h2>
+<p>This is a sample PHP script to demonstrate how to write a webservice to successfully communicate with SMSSync.</p>
+<pre class="prettyprint linenums">
/*<em>
* get the phone number that sent the SMS.
</em>/
@@ -252,27 +218,18 @@
if ( ! ( $secret == '123456'))
{
$success = "false";
- }
- else
- {
- echo "Secret: ".$secret;
- }</p>
-
-<pre><code>/**
- * now let's write the info sent by SMSSync
- * to a file called test.txt
- */
-
-$string = "From: ".$from."\n";
-$string .= "Message: ".$message."\n";
-$string .= "Timestamp: ".$sent_timestamp."\n";
-$string .= "Messages Id:" .$message_id."\n";
-$string .= "Sent to: ".$sent_to."\n\n\n";
-$myFile = "test.txt";
-$fh = fopen($myFile, 'a') or die("can't open file");
-@fwrite($fh, $string);
-@fclose($fh);
-</code></pre>
+ }
+ // now let's write the info sent by SMSSync
+ //to a file called test.txt
+ $string = "From: ".$from."n";
+ $string .= "Message: ".$message."n";
+ $string .= "Timestamp: ".$sent_timestamp."n";
+ $string .= "Messages Id:" .$message_id."n";
+ $string .= "Sent to: ".$sent_to."nnn";
+ $myFile = "test.txt";
+ $fh = fopen($myFile, 'a') or die("can't open file");
+ @fwrite($fh, $string);
+ @fclose($fh);</p>
<p>}
else
{
@@ -298,35 +255,34 @@
* echo json_encode(array("payload"=&gt;array("success"=&gt;$success,"task"=&gt;"send","messages"=&gt;array_values($reply))));
</em>/
</pre>
- <p>
- For a complete web service application, look at Ushahidi's <a href="https://github.com/ushahidi/Ushahidi_Web/tree/master/plugins/smssync">SMSSync plugin</a>.
- It utilizes most of SMSSync features.
- </p></p>
-<pre><code>&lt;p&gt;
- There is also SMSSync webservice for Django that implements most of the features of SMSSync. You can download it from &lt;a href="https://github.com/cwanjau/SMSsync-Python-Django-webservice"&gt;github.com&lt;/a&gt;. Thanks to &lt;a href="https://github.com/cwanjau"&gt;Caine Wanjau&lt;/a&gt;
-&lt;/p&gt;
-&lt;/div&gt;
-</code></pre></div>
+<p>
+For a complete web service application, look at Ushahidi's <a href="https://github.com/ushahidi/Ushahidi_Web/tree/master/plugins/smssync">SMSSync plugin</a>.It utilizes most of SMSSync features.
+</p>
+<p>
+There is also SMSSync webservice for Django that implements most of the features of SMSSync. You can download it from <a href="https://github.com/cwanjau/SMSsync-Python-Django-webservice">github.com</a>. Thanks to <a href="https://github.com/cwanjau">Caine Wanjau</a>
+</p>
+</div>
+</div></p></div>
<div class="container">
<footer class="footer">
<div class="container">
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+
+<p></div>
</footer>
</div>
<script type="text/javascript">
-
-<p>var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);</p>
-<p>(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();</p>
-<p></script>
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
</body>
</html></p>
View
78 smssync.ushahidi.com/download.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -42,45 +41,40 @@
</div>
</div>
<div class="container">
-<pre><code>&lt;div class="page-header"&gt;
- &lt;h1&gt;Downloads &lt;small&gt;Where to download the app.&lt;/small&gt;&lt;/h1&gt;
-&lt;/div&gt;
-&lt;div class="row"&gt;
- &lt;div class="span8 columns"&gt;
- &lt;h2&gt;QR Code&lt;/h2&gt;
- &lt;p&gt;&lt;strong&gt;Scan the QR below to install SMSSync on your Android powered phone&lt;/strong&gt;&lt;/p&gt;
-&lt;p&gt;&lt;img src="http://qrcode.kaywa.com/img.php?s=6&amp;#038;d=http%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dorg.addhen.smssync" alt="qrcode" /&gt;
- &lt;/div&gt;
- &lt;div class="span8 columns"&gt;
- &lt;h2&gt;Android market&lt;/h2&gt;
- &lt;p&gt;&lt;strong&gt;The app is available today on the Android market. You can download it on your phone by clicking on the image on the left or scanning the QR code on the right. Enjoy!&lt;/strong&gt;&lt;/p&gt;
-&lt;p&gt;&lt;a href="https://market.android.com/details?id=org.addhen.smssync"&gt;&lt;img class="size-thumbnail wp-image-4527 " title="ushahidi_android_on_the_market" src="http://blog.ushahidi.com/wp-content/uploads/2011/07/ushahidi_android_on_the_market-150x150.png" alt="Android market" width="200" height="200" /&gt;&lt;/a&gt;
- &lt;/div&gt;
-
-&lt;/div&gt;
-</code></pre></div>
+<div class="page-header">
+<h1>Downloads <small>Where to download the app.</small></h1>
+</div>
+<div class="row">
+<div class="span8 columns">
+<h2>QR Code</h2>
+<p><strong>Scan the QR below to install SMSSync on your Android powered phone</strong></p>
+<p><img src="http://qrcode.kaywa.com/img.php?s=6&#038;d=http%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dorg.addhen.smssync" alt="qrcode" />
+</div>
+<div class="span8 columns">
+<h2>Android market</h2>
+<p><strong>The app is available today on the Android market. You can download it on your phone by clicking on the image on the left or scanning the QR code on the right. Enjoy!</strong></p>
+<p><a href="https://market.android.com/details?id=org.addhen.smssync"><img class="size-thumbnail wp-image-4527 " title="ushahidi_android_on_the_market" src="http://blog.ushahidi.com/wp-content/uploads/2011/07/ushahidi_android_on_the_market-150x150.png" alt="Android market" width="200" height="200" /></a>
+</div>
+</div></div>
<div class="container">
<footer class="footer">
<div class="container">
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+</div>
</footer>
</div>
<script type="text/javascript">
-
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);
-
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
</script>
</body>
</html>
View
51 smssync.ushahidi.com/features.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -73,19 +72,19 @@
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+</div>
</footer>
</div>
-<script type="text/javascript"></p>
-<p>var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);</p>
-<p>(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();</p>
-<p></script>
+<script type="text/javascript">
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
</body>
</html></p>
View
116 smssync.ushahidi.com/index.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -43,13 +42,13 @@
</div>
<div class="container">
<div class="container">
- <!-- About SMSSync -->
- <section id="about">
- <div class="page-header">
- <h1>About</h1>
- </div>
- <div class="row"><!--start row-->
- <div class="span-one-third">
+<!-- About SMSSync -->
+<section id="about">
+ <div class="page-header">
+ <h1>About</h1>
+ </div>
+ <div class="row"><!--start row-->
+ <div class="span-one-third">
<h3>What is it</h3>
<p>
SMSSync is a simple, yet powerful SMS to HTTP sync utility,that turns any Android phone into a local SMS gateway by sending incoming messages(SMS) to a configured URL(web service).
@@ -66,15 +65,9 @@
</div>
<div class="span-one-third">
<h3>Participation</h3>
- <p>
- There are a variety of ways to actively participate in the project.
- These range from writing documentation for the project to
- translating the app into various
- other languages. If you are a developer and want to help write code
- for the project, feel free to browse through our <a href="https://github.com/ushahidi/SMSSync/issues/">issue
- tracker</a> on github.
- </p>
- </div>
+ <p>There are a variety of ways to actively participate in the project. These range from writing documentation for the project to translating the app into various other languages. If you are a developer and want to help write code for the project, feel free to browse through our <a href="https://github.com/ushahidi/SMSSync/issues/">issue tracker</a> on github.
+ </p>
+ </div>
</div><!--end row-->
</section>
<section id="project-status">
@@ -85,8 +78,8 @@
<strong>Public release:</strong>
<ul>
<li>Released December 12, 2011</li>
- <li>Revision r11</li>
- <li>Version 1.1.9</li>
+ <li>Revision <a href"https://github.com/ushahidi/SMSSync/tree/v1.1.9">r11</a></li>
+ <li>Version <a href="https://github.com/ushahidi/SMSSync/zipball/v1.1.9">1.1.9</a></li>
</ul>
<strong>Stable branch:</strong>
<ul>
@@ -96,7 +89,7 @@
<ul>
<li><a href="https://github.com/ushahidi/SMSsync/">master branch</a> open for commit/contributions for SMSSync 1.1.10</li>
</ul>
- <a href="http://dev.ushahidi.com/projects/SMSSync/news">More</a>
+ <a href="../releases/">More</a>
</p>
</div>
<div class="span-one-third">
@@ -108,27 +101,21 @@
<p>
It uses <a href="http://github.com">Github</a>
for project management and for tracking
- <a href="https://github.com/ushahidi/SMSSync/issues/">bugs and issues</a>.
- Transifex, the free and open source localization tool, is used for translations.
+ <a href="https://github.com/ushahidi/SMSSync/issues/">bugs and issues</a>. Transifex, the free and open source localization tool, is used for translations.
</p>
</div>
-
-<pre><code> &lt;div class="span-one-third"&gt;
- &lt;h3&gt;Translations&lt;/h3&gt;
- &lt;p&gt;
- SMSSync, as of now, has been completely translated into 5 languages. We use
- transifex for hosting our strings and to make translation much easier.
-
-&lt;p&gt;To help translate SMSSync into other languages, simply headover to
- &lt;a href="https://www.transifex.net/projects/p/smssync/resource/stringsxml/"&gt;transifex.net&lt;/a&gt;,
- add a language if it's not there or contribute to the uncompleted
- translations.
- &lt;/p&gt;
- &lt;/div&gt;
- &lt;/div&gt;&lt;!--end row--&gt;
-
-&lt;/section&gt;
-</code></pre>
+ <div class="span-one-third">
+ <h3>Translations</h3>
+ <p>
+ SMSSync, as of now, has been completely translated into 5 languages. We use transifex for hosting our strings and to make translation much easier.
+ <p>To help translate SMSSync into other languages, simply headover to
+ <a href="https://www.transifex.net/projects/p/smssync/resource/stringsxml/">transifex.net</a>,
+ add a language if it's not there or contribute to the uncompleted
+ translations.
+ </p>
+ </div>
+ </div><!--end row-->
+ </section>
</div></div>
<div class="container">
<footer class="footer">
@@ -136,20 +123,19 @@
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+</div>
</footer>
</div>
<script type="text/javascript">
-
-<p>var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);</p>
-<p>(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();</p>
-<p></script>
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
</body>
-</html></p>
+</html>
View
57 smssync.ushahidi.com/releases.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -48,9 +47,9 @@
<h1>Current release</h1>
<ul>
-<li>Released %release%</li>
-<li>Revision <a href="https://github.com/ushahidi/SMSSync/tree/v1.1.9">%revision%</a></li>
-<li>Version <a href="https://github.com/ushahidi/SMSSync/zipball/v1.1.9">%version%</a></li>
+<li>Released December 12, 2011</li>
+<li>Revision <a href="https://github.com/ushahidi/SMSSync/tree/v1.1.9">r12</a></li>
+<li>Version <a href="https://github.com/ushahidi/SMSSync/zipball/v1.1.9">1.1.9</a></li>
</ul>
<h3>Changelog</h3>
<ul>
@@ -205,19 +204,19 @@
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+</div>
</footer>
</div>
-<script type="text/javascript"></p>
-<p>var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);</p>
-<p>(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();</p>
-<p></script>
+<script type="text/javascript">
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
+(function() {
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
+</script>
</body>
</html></p>
View
58 smssync.ushahidi.com/screenshots.php
@@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SMSSync by Ushahidi</title>
<meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-<link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>
-<link href="css/styles.css" rel="stylesheet" type="text/css" />
-<link href="libs/js/google-code-prettify/prettify.css" rel="stylesheet">
-<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
+<link href="../css/bootstrap.css" rel="stylesheet" type="text/css"/>
+<link href="../css/styles.css" rel="stylesheet" type="text/css" />
+<link href="../libs/js/google-code-prettify/prettify.css" rel="stylesheet">
+<link rel="stylesheet" type="text/css" href="../js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
-<script type="text/javascript" src="js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
-<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<script type="text/javascript" src="js/screenshots.js"></script>
+<script type="text/javascript" src="../js/fancybox/query.mousewheel-3.0.4.pack.js"></script>
+<script type="text/javascript" src="../js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<script type="text/javascript" src="../js/screenshots.js"></script>
<script src="libs/js/google-code-prettify/prettify.js"></script>
</head>
<body style="padding-top:40px;" onload="prettyPrint()">
@@ -24,14 +24,13 @@
</h3>
</div>
<ul class="nav">
- <li class="active"><a href="index/">Home</a></li>
- <li><a href="releases/">Releases</a></li>
- <li><a href="download/">Download</a></li>
- <li><a href="doc/">Documentation</a></li>
- <li><a href="features/">Features</a></li>
- <li><a href="screenshots/">Screenshots</a></li>
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="../releases/">Releases</a></li>
+ <li><a href="../download/">Download</a></li>
+ <li><a href="../doc/">Documentation</a></li>
+ <li><a href="../features/">Features</a></li>
+ <li><a href="../screenshots/">Screenshots</a></li>
<li><a href="http://forums.ushahidi.com/forum/ushahidi-apps">Support</a></li>
- <li><a href="contact/">Contact</a></li>
</ul>
</div>
</div>
@@ -45,24 +44,24 @@
<h2>Screenshots</h2>
<p><table class="screenshots">
<tr><td>
-<a rel="screenshots_group" href="images/screenshots/auto_reply.png" title="Auto Reply"><img alt="Auto Reply" src="images/screenshots/auto_reply.png" width="150" height="221" /></a>
+<a rel="screenshots_group" href="../images/screenshots/auto_reply.png" title="Auto Reply"><img alt="Auto Reply" src="../images/screenshots/auto_reply.png" width="150" height="221" /></a>
<br/>Auto Reply</p>
<p></td><td>
- <a rel="screenshots_group" href="images/screenshots/auto_sync.png" title="Auto Sync"><img alt="Auto Sync" src="images/screenshots/auto_sync.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/auto_sync.png" title="Auto Sync"><img alt="Auto Sync" src="../images/screenshots/auto_sync.png" width="150" height="221" /></a>
<br/>Auto Sync
</td><td>
- <a rel="screenshots_group" href="images/screenshots/filter_by_keyword.png" title="Filter By Keywords"><img alt="Filter By Keywords" src="images/screenshots/filter_by_keyword.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/filter_by_keyword.png" title="Filter By Keywords"><img alt="Filter By Keywords" src="../images/screenshots/filter_by_keyword.png" width="150" height="221" /></a>
<br/>Filter By keyword
</td></tr></p>
<tr><td>
- <a rel="screenshots_group" href="images/screenshots/no_pending_msgs.png" title="No pending Messages"><img alt="Filter By Keywords" src="images/screenshots/no_pending_msgs.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/no_pending_msgs.png" title="No pending Messages"><img alt="Filter By Keywords" src="../images/screenshots/no_pending_msgs.png" width="150" height="221" /></a>
<br/>No Pending Messages
</td><td>
- <a rel="screenshots_group" href="images/screenshots/pending_messages.png" title="Pending Messages"><img alt="Pending Messages" src="images/screenshots/pending_messages.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/pending_messages.png" title="Pending Messages"><img alt="Pending Messages" src="../images/screenshots/pending_messages.png" width="150" height="221" /></a>
<br/>Pending Messages
</td><td>
- <a rel="screenshots_group" href="images/screenshots/settings.png" title="Settings"><img alt="Settings" src="images/screenshots/settings.png" width="150" height="221" /></a>
+ <a rel="screenshots_group" href="../images/screenshots/settings.png" title="Settings"><img alt="Settings" src="../images/screenshots/settings.png" width="150" height="221" /></a>
<br/>Settings
</td></tr>
</table></div>
@@ -72,22 +71,19 @@
<div class="pull-right">
powered by <a href="http://www.ushahidi.com">Ushahidi</a>
</div>
- <p>Generated: 01-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
- </div>
+ <p>Generated: 02-02-2012 Copyright &copy; 2010 - 2012 <a href="http://www.ushahidi.com">Ushahidi.com</a></p>
+</div>
</footer>
</div>
<script type="text/javascript">
-
var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-12063676-22']);
- _gaq.push(['_trackPageview']);
-
+_gaq.push(['_setAccount', 'UA-12063676-22']);
+_gaq.push(['_trackPageview']);
(function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+})();
</script>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.