Permalink
Browse files

Adding donttrack.us and whatisdnt.com proper, still need tokenizing o…

…n donttrack.us
  • Loading branch information...
1 parent 1833b25 commit e15d9dbc146ef5fa7529cf0587ad9972ebde12ab @Getty Getty committed Feb 19, 2013
View
@@ -1,9 +1,22 @@
# Installation
-You require DDGC::Locale::DuckduckgoDuckduckgo, DDGC::Locale::DuckduckgoDontbubbleus and DDG
+You require the following libraries of https://duckpan.org/
+
+ - DDG
+ - DDGC::Locale::DuckduckgoDuckduckgo
+ - DDGC::Locale::DuckduckgoDontbubbleus
+ - DDGC::Locale::DuckduckgoDonttrackus
+ - DDGC::Locale::DuckduckgoWhatisdnt
+
+You can install App::DuckPAN of CPAN for this and then do the following command:
```
-duckpan DDGC::Locale::DuckduckgoDuckduckgo DDGC::Locale::DuckduckgoDontbubbleus DDG
+duckpan \
+ DDG \
+ DDGC::Locale::DuckduckgoDuckduckgo \
+ DDGC::Locale::DuckduckgoDontbubbleus \
+ DDGC::Locale::DuckduckgoDonttrackus \
+ DDGC::Locale::DuckduckgoWhatisdnt
```
# Publishing
@@ -12,9 +25,6 @@ Inside the repository do this:
```
perl -Ilib bin/ddg_publisher ~/test_publish
-
-# compressing html to one line without comments and unnecessary whitespaces
-perl -Ilib bin/ddg_publisher --no_compression ~/test_publish
```
The directory ~/test_publish will be generated and filled up with the results.
View
@@ -25,6 +25,8 @@ sub _build_site_classes {[qw(
Duckduckgo
Donttrackus
Dontbubbleus
+ Donttrackus
+ Whatisdnt
)]}
=attr extra_template_dirs
@@ -9,7 +9,9 @@ with qw(
sub path { '/' }
sub pages {{
+
index => sub {},
+
}}
1;
@@ -1,7 +1,7 @@
package DDG::Publisher::Site::Donttrackus;
use MooX;
-use DDGC::Locale::DuckduckgoDuckduckgo;
+use DDGC::Locale::DuckduckgoDonttrackus;
with qw(
DDG::Publisher::SiteRole
@@ -13,8 +13,8 @@ sub dirs_classes {qw(
Root
)}
-sub locale_package { 'DDGC::Locale::DuckduckgoDuckduckgo' }
-sub locale_dist { 'DDGC-Locale-DuckduckgoDuckduckgo' }
-sub locale_domain { 'duckduckgo-duckduckgo' }
+sub locale_package { 'DDGC::Locale::DuckduckgoDonttrackus' }
+sub locale_dist { 'DDGC-Locale-DuckduckgoDonttrackus' }
+sub locale_domain { 'duckduckgo-donttrackus' }
1;
@@ -9,7 +9,9 @@ with qw(
sub path { '/' }
sub pages {{
+
index => sub {},
+
}}
1;
@@ -0,0 +1,20 @@
+package DDG::Publisher::Site::Whatisdnt;
+
+use MooX;
+use DDGC::Locale::DuckduckgoWhatisdnt;
+
+with qw(
+ DDG::Publisher::SiteRole
+);
+
+sub default_hostname { 'whatisdnt.com' }
+
+sub dirs_classes {qw(
+ Root
+)}
+
+sub locale_package { 'DDGC::Locale::DuckduckgoWhatisdnt' }
+sub locale_dist { 'DDGC-Locale-DuckduckgoWhatisdnt' }
+sub locale_domain { 'duckduckgo-whatisdnt' }
+
+1;
@@ -0,0 +1,15 @@
+package DDG::Publisher::Site::Whatisdnt::Root;
+
+use MooX;
+
+with qw(
+ DDG::Publisher::DirRole
+);
+
+sub path { '/' }
+
+sub pages {{
+ index => sub {},
+}}
+
+1;
@@ -4,7 +4,7 @@
<!--[if IE 7]> <html class="ie7 lt-ie10 lt-ie9 lt-ie8" lang="<: $f.locale :>"> <![endif]-->
<!--[if IE 8]> <html class="ie8 lt-ie10 lt-ie9" lang="<: $f.locale :>"> <![endif]-->
<!--[if IE 9]> <html class="ie9 lt-ie10" lang="<: $f.locale :>"> <![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html lang="<: $f.locale :>"><!--<![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="<: $f.locale :>"><!--<![endif]-->
<head>
<: include "head.tx" :>
@@ -13,10 +13,13 @@
<div id="wrapper">
<div id="add_to_browser" class="add_to_browser"></div>
- <a name="top"></a>
+ <a name="top"></a>
+ <div id="header">
+ <span class="topmsg"><: l('Incognito Mode Also Tracks You') :></span>
+ <img src="images/dont-track-us.png" alt="DONT TRACK US" id="title" />
+ </div>
<div class="content-wrap">
- <div style="position:absolute;right:0;top:0;" class="daklang"></div>
- <div style="font-size:20px; text-align: center;" class="dakwak">
+ <div style="position:absolute;right:0;top:0;"></div>
<: include "header.tx" :>
<: include $maintemplate :>
<: include "share_footer.tx" :>
@@ -27,14 +30,6 @@
<: include "share_modal.tx" :>
<script src="js/plugins.js" type="text/javascript"></script>
<script src="js/script.js" type="text/javascript"></script>
-
- <script type="text/javascript" src="http://dakwak.com/dakwak.js?USkpEggLkCT"></script>
- <script type="text/javascript">
- if (typeof(Dakwak) == "object"){
- Dakwak.langs = {"languages":[{"language":"Afrikaans","value":"af"},{"language":"Albanian","value":"sq"},{"language":"Arabic","value":"ar"},{"language":"Armenian","value":"hy"},{"language":"Azerbaijani","value":"az"},{"language":"Basque","value":"eu"},{"language":"Belarusian","value":"be"},{"language":"Bulgarian","value":"bg"},{"language":"Burmese","value":"my"},{"language":"Catalan","value":"ca"},{"language":"Chinese","value":"zh"},{"language":"Croatian","value":"hr"},{"language":"Czech","value":"cs"},{"language":"Danish","value":"da"},{"language":"Dutch","value":"nl"},{"language":"English","value":"en"},{"language":"Estonian","value":"et"},{"language":"Filipino","value":"tl"},{"language":"Finnish","value":"fi"},{"language":"French","value":"fr"},{"language":"Galician","value":"gl"},{"language":"Georgian","value":"ka"},{"language":"German","value":"de"},{"language":"Greek","value":"el"},{"language":"Hebrew","value":"iw"},{"language":"Hindi","value":"hi"},{"language":"Hungarian","value":"hu"},{"language":"Icelandic","value":"is"},{"language":"Indonesian","value":"id"},{"language":"Irish","value":"ga"},{"language":"Italian","value":"it"},{"language":"Japanese","value":"ja"},{"language":"Korean","value":"ko"},{"language":"Laothian","value":"lo"},{"language":"Latvian","value":"lv"},{"language":"Lithuanian","value":"lt"},{"language":"Macedonian","value":"mk"},{"language":"Malay","value":"ms"},{"language":"Maltese","value":"mt"},{"language":"Norwegian","value":"no"},{"language":"Persian","value":"fa"},{"language":"Polish","value":"pl"},{"language":"Portuguese","value":"pt-PT"},{"language":"Romanian","value":"ro"},{"language":"Russian","value":"ru"},{"language":"Serbian","value":"sr"},{"language":"Slovak","value":"sk"},{"language":"Slovenian","value":"sl"},{"language":"Spanish","value":"es"},{"language":"Swahili","value":"sw"},{"language":"Swedish","value":"sv"},{"language":"Thai","value":"th"},{"language":"Turkish","value":"tr"},{"language":"Ukrainian","value":"uk"},{"language":"Urdu","value":"ur"},{"language":"Vietnamese","value":"vi"},{"language":"Welsh","value":"cy"},{"language":"Yiddish","value":"yi"}]};
- Dakwak.apikey = "4d3af47a0517b57dee0000054d3af42f0517b57dee000003";
- Dakwak.init();
- }
- </script>
+
</body>
</html>
@@ -1,27 +1,29 @@
- <title>Google tracks you. We don't. An illustrated guide.</title>
- <link rel="image_src" href="ddg/tools/google9.jpg"/>
- <link title="DuckDuckGo" type="application/opensearchdescription+xml" rel="search" href="ddg/opensearch.xml"><link title="DuckDuckGo (SSL)" type="application/opensearchdescription+xml" rel="search" href="ddg/opensearch_ssl.xml">
- <link rel="stylesheet" href="ddg/s458.css" type="text/css">
- <link rel="stylesheet" type="text/css" href="css/track.css?1" />
- <meta name="viewport" content="width=100%; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-
- <!--[if lte IE 9]><style>.frame, .frame input, .reveal-modal, .reveal-modal-bg, .pie { behavior: url(PIE.htc);} </style><![endif]-->
+<title><: l("Google tracks you. We don\'t. An illustrated guide.") :></title>
+<link rel="image_src" href="ddg/tools/google9.jpg"/>
+<link title="DuckDuckGo" type="application/opensearchdescription+xml" rel="search" href="ddg/opensearch.xml"><link title="DuckDuckGo (SSL)" type="application/opensearchdescription+xml" rel="search" href="ddg/opensearch_ssl.xml">
+<!-- <link rel="stylesheet" href="ddg/s515.css" type="text/css"> -->
+<link rel="stylesheet" type="text/css" href="css/track.css?1" />
+<meta name="viewport" content="width=100%; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
- <style type="text/css">
- #titleimg { margin: 0 auto; padding-top: 60px; }
+<!--[if lte IE 9]><style>.frame, .frame input, .reveal-modal, .reveal-modal-bg, .pie { behavior: url(PIE.htc);} </style><![endif]-->
- .ctd {
- padding-top:15px;
- padding-bottom:15px;
- font-size: 85%;
- }
- .ctd2 {
- padding-bottom:10px;
- font-size: 75%;
- }
- .ctd3 {
- padding-top:25px;
- }
+<style type="text/css">
- </style>
- <script src="ddg/d858.js" type="text/javascript"></script>
+.tableframe .clu {
+font-size: 85%;
+}
+.ctd {
+padding-top:15px;
+padding-bottom:15px;
+font-size: 85%;
+}
+.ctd2 {
+padding-bottom:10px;
+font-size: 75%;
+}
+.ctd3 {
+padding-top:25px;
+}
+</style>
+
+<script src="ddg/d923.js" type="text/javascript"></script>
View
4 share/site/donttrackus/header.tx 100755 → 100644
@@ -1 +1,3 @@
-<a href="https://duckduckgo.com/"><img src="http://i.duck.co/tools/google9.jpg" id="titleimg"></a>
+<a href="https://duckduckgo.com/">
+ <img src="http://i.duck.co/tools/google9.jpg" id="titleimg">
+</a>
@@ -0,0 +1 @@
+<: include $maintemplate :>
No changes.
View
@@ -4,5 +4,5 @@ use warnings;
use Test::LoadAllModules;
BEGIN {
-all_uses_ok( search_path => '' );
+ all_uses_ok( search_path => 'DDG::Publisher' );
}

0 comments on commit e15d9db

Please sign in to comment.