Add privacy policy to sate Facebook.
authorAndrew Flegg <andrew@bleb.org>
Sun, 13 May 2012 08:26:24 +0000 (09:26 +0100)
committerAndrew Flegg <andrew@bleb.org>
Sun, 13 May 2012 08:26:24 +0000 (09:26 +0100)
www/index.html
www/js/jquery-1.3.1.min.js [changed mode: 0755->0644]
www/js/jquery.juitter.js [changed mode: 0755->0644]
www/js/system.js [changed mode: 0755->0644]
www/privacy.html [new file with mode: 0644]

index 1e8980f..de45b91 100644 (file)
@@ -135,7 +135,8 @@ $(document).ready(function() {
 
 <!-- Footer Content -->
 <div id="footer">
-    <p>Copyright &copy; <a href="mailto:andrew@bleb.org">Andrew Flegg</a> 2009. Released under the Artistic Licence.<br />Webpage design and Hermes graphics by <a href="http://samoff.com">Tim Samoff</a>.</p>
+    <p>Copyright &copy; <a href="mailto:andrew@bleb.org">Andrew Flegg</a> 2009-2012. Released under the Artistic Licence.<br />Webpage design and Hermes graphics by <a href="http://samoff.com">Tim Samoff</a>.<br />
+<a href="privacy.html">Privacy policy</a></p>
 </div>
 
 <!-- Google Analytics -->
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 53e29c0..9f12f69
@@ -16,7 +16,7 @@ The Juitter developer shall have no responsability for data loss or damage of an
                // YOU CAN CHANGE THE DYNAMIC VARS ON CALLING THE start method, see the system.js for more information about it.\r
 \r
                numMSG = 20; // set the number of messages to be show\r
-               containerDiv="tweets", // //Set a place holder DIV which will receive the list of tweets example <div id="juitterContainer"></div>\r
+               containerDiv="juitterContainer", // //Set a place holder DIV which will receive the list of tweets example <div id="juitterContainer"></div>\r
                loadMSG="Loading messages...", // Loading message, if you want to show an image, fill it with "image/gif" and go to the next variable to set which image you want to use on \r
                imgName="loader.gif", // Loading image, to enable it, go to the loadMSG var above and change it to "image/gif"\r
                readMore="Read it on Twitter", // read more message to be show after the tweet content\r
@@ -47,7 +47,7 @@ The Juitter developer shall have no responsability for data loss or damage of an
                        readMore=opt.readMore?opt.readMore:readMore;\r
                        fromID=opt.nameUser?opt.nameUser:nameUser;\r
                        filterWords=opt.filter;\r
-                       openLink=opt.openExternalLinks?"target='_self'":"";\r
+                       openLink=opt.openExternalLinks?"target='_blank'":"";\r
                },\r
                start: function(opt) {          \r
                        ultID=0;\r
@@ -113,7 +113,7 @@ The Juitter developer shall have no responsability for data loss or damage of an
                                                                tultID = item.id;\r
                                                                $("<ul></ul>")\r
                                                                        .attr('id', 'twittList'+ultID)\r
-                                                                       .attr('class','twittList rounded')\r
+                                                                       .attr('class','twittList')\r
                                                                        .prependTo("#"+contDiv);  \r
                                                        }\r
                                                        if (item.text != "undefined") {\r
@@ -121,8 +121,8 @@ The Juitter developer shall have no responsability for data loss or damage of an
                                                                \r
                                                                var tweet = $.Juitter.filter(item.text);\r
                                                                \r
-                                                               if(fromID=="image") mHTML="<a href='http://www.twitter.com/"+item.from_user+"'><img src='"+item.profile_image_url+"' alt='"+item.from_user+"' class='juitterAvatar' /></a> "+$.Juitter.textFormat(tweet)+" <a href='" + link + "' class='jRM' "+openLink+"><span class='time'>&raquo; "+item.created_at+"</span></a>";\r
-                                                               else mHTML="<a href='http://www.twitter.com/"+item.from_user+"'>@"+item.from_user+":</a> "+$.Juitter.textFormat(tweet)+" <a href='" + link + "' "+openLink+"><span class='time'>&raquo; "+item.created_at+"</span></a>";\r
+                                                               if(fromID=="image") mHTML="<a href='http://www.twitter.com/"+item.from_user+"'><img src='"+item.profile_image_url+"' alt='"+item.from_user+"' class='juitterAvatar' /></a> "+$.Juitter.textFormat(tweet)+" -| <span class='time'>"+item.created_at+"</span> |- <a href='" + link + "' class='JRM' "+openLink+">"+readMore+"</a>";\r
+                                                               else mHTML="<a href='http://www.twitter.com/"+item.from_user+"'>@"+item.from_user+":</a> "+$.Juitter.textFormat(tweet)+" -| <span class='time'>"+item.created_at+"</span> |-  <a href='" + link + "' "+openLink+">"+readMore+"</a>";\r
                                                                \r
                                                                $("<li></li>") \r
                                                                        .html(mHTML)  \r
@@ -172,7 +172,7 @@ The Juitter developer shall have no responsability for data loss or damage of an
                                arrParam = tempParam.split("+");\r
                                $.each(arrParam,function(i,item){                                       \r
                                        regExp=eval('/'+item+'/gi');\r
-                                       newString = new String(''+item+'');\r
+                                       newString = new String(' <b>'+item+'</b> ');\r
                                        texto = texto.replace(regExp, newString);                                         \r
                                });                             \r
                        }\r
old mode 100755 (executable)
new mode 100644 (file)
index bc234a6..e0fc6a2
@@ -1,23 +1,21 @@
-$(document).ready(function() {
-    \r
-       $.Juitter.start({
-          \r
+$(document).ready(function() {\r
+       $.Juitter.start({\r
                searchType:"searchWord", // needed, you can use "searchWord", "fromUser", "toUser"\r
-               searchObject:"maemohermes", // needed, you can insert a username here or a word to be searched for, if you wish multiple search, separate the words by comma.\r
+               searchObject:"iPhone,apple,ipod", // needed, you can insert a username here or a word to be searched for, if you wish multiple search, separate the words by comma.\r
 \r
                // The values below will overwrite the ones on the Juitter default configuration. \r
                // They are optional here.\r
                // I'm changing here as a example only\r
                lang:"en", // restricts the search by the given language\r
                live:"live-15", // the number after "live-" indicates the time in seconds to wait before request the Twitter API for updates.\r
-               placeHolder:"tweets", // Set a place holder DIV which will receive the list of tweets example <div id="juitterContainer"></div>\r
+               placeHolder:"juitterContainer", // Set a place holder DIV which will receive the list of tweets example <div id="juitterContainer"></div>\r
                loadMSG: "Loading messages...", // Loading message, if you want to show an image, fill it with "image/gif" and go to the next variable to set which image you want to use on \r
                imgName: "loader.gif", // Loading image, to enable it, go to the loadMSG var above and change it to "image/gif"\r
-               total: 10, // number of tweets to be show - max 100\r
+               total: 20, // number of tweets to be show - max 100\r
                readMore: "Read it on Twitter", // read more message to be show after the tweet content\r
                nameUser:"image", // insert "image" to show avatar of "text" to show the name of the user that sent the tweet \r
-               openExternalLinks:"sameWindow", // here you can choose how to open link to external websites, "newWindow" or "sameWindow"\r
-                filter:""  // insert the words you want to hide from the tweets followed by what you want to show instead example: "sex->censured" or "porn->BLOCKED WORD" you can define as many as you want, if you don't want to replace the word, simply remove it, just add the words you want separated like this "porn,sex,fuck"... Be aware that the tweets will still be showed, only the bad words will be removed\r
+               openExternalLinks:"newWindow", // here you can choose how to open link to external websites, "newWindow" or "sameWindow"\r
+                filter:"sex->*BAD word*,porn->*BAD word*,fuck->*BAD word*,shit->*BAD word*"  // insert the words you want to hide from the tweets followed by what you want to show instead example: "sex->censured" or "porn->BLOCKED WORD" you can define as many as you want, if you don't want to replace the word, simply remove it, just add the words you want separated like this "porn,sex,fuck"... Be aware that the tweets will still be showed, only the bad words will be removed\r
        });\r
        $("#aRodrigo").click(function(){\r
                $(".jLinks").removeClass("on");\r
@@ -56,7 +54,7 @@ $(document).ready(function() {
 \r
                        searchObject:$(".juitterSearch").val(),\r
                        live:"live-20", // it will be updated every 180 seconds/3 minutes\r
-                       filter:""\r
+                       filter:"sex->*BAD word*,porn->*BAD word*,fuck->*BAD word*,shit->*BAD word*"\r
                });\r
                 return false;\r
 \r
diff --git a/www/privacy.html b/www/privacy.html
new file mode 100644 (file)
index 0000000..df5f7fe
--- /dev/null
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!--
+hermes 1.0 by tim@samoff.com
+http://samoff.com
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>Hermes: Privacy Policy</title>
+<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
+<link rel="stylesheet" type="text/css" href="reset.css"/>
+<link rel="stylesheet" type="text/css" href="hermes.css"/>
+
+<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
+<script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
+<script src="js/jquery.corner.js" type="text/javascript"></script>
+<script src="js/jquery.juitter.js" type="text/javascript"></script>
+<script src="js/system.js" type="text/javascript"></script>
+
+<script type="text/javascript">
+$(document).ready(function() {
+    // Rounded Corners
+    $("div#content,div#devmenu").corner("round");
+});
+</script>
+
+</head>
+<body>
+<!-- Brand -->
+<div>
+    <img src="ui/bg.jpg" class="bg" alt="" />
+</div>
+
+<div id="header">
+    <h1><a href="index.htm">Hermes</a></h1>
+</div>
+
+<!-- Page Content -->
+<div id="content">
+
+    <h2>Privacy Policy</h2>
+
+    <p>Hermes downloads data from your social network accounts and uses it to enrich contacts on your mobile phone.</p>
+
+    <p>Hermes does <em>not</em> transmit any information from these services to any other service. Information is only
+    retrieved and stored on your local device</p>
+
+    <p>The information retrieved is the same as you can view on your friends through facebook.com, twitter.com etc.</p>
+
+    <p>Your contacts' information is not uploaded to any system. All the matching is done on your device by pulling
+    information from your social networks.</p>
+</div>
+
+<!-- Footer Content -->
+<div id="footer">
+    <p>Copyright &copy; <a href="mailto:andrew@bleb.org">Andrew Flegg</a> 2009-2012. Released under the Artistic Licence.<br />Webpage design and Hermes graphics by <a href="http://samoff.com">Tim Samoff</a>.<br />
+<a href="index.html">Hermes: Contacts Delivered</a></p>
+</div>
+
+<!-- Google Analytics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4946570-3");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
+</body>
+</html>