Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 138 lines (105 sloc) 3.649 kb
9b03a5e @nkuttler Add a changelog
authored
1 ======
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
2 README
9b03a5e @nkuttler Add a changelog
authored
3 ======
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
4
35c8d47 @nkuttler Release 0.2
authored
5 This application allows various webmaster tools to verify that a django site is
6 managed by you.
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
7
35c8d47 @nkuttler Release 0.2
authored
8 The only supported method of verification is by accessing a file on your
9 server.
1c6d3d8 Doc updates
Nicolas Kuttler authored
10
058c8cf Doc updates
Nicolas Kuttler authored
11 Supported services:
12
1c6d3d8 Doc updates
Nicolas Kuttler authored
13 - `Google Webmaster Tools <https://www.google.com/webmasters/tools/home>`_
14 - `Bing Webmaster Tools <https://ssl.bing.com/webmaster/Home/>`_
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
15 - `Yandex Webmaster Tools <http://webmaster.yandex.com/>`_
59e642a Add support for majestic seo
Nicolas Kuttler authored
16 - `Majestic SEO <https://www.majesticseo.com>`_
d643d87 @nkuttler Release 0.2.1
authored
17 - `Alexa <http://www.alexa.com>`_
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
18
a5b7cd2 @nkuttler Doc update and cleanup
authored
19 .. image:: https://api.travis-ci.org/nkuttler/django-webmaster-verification.png
20 :target: https://travis-ci.org/nkuttler/django-webmaster-verification
e41486f @nkuttler Doc update
authored
21
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
22 Usage
1a66925 @nkuttler Doc update
authored
23 =====
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
24
25 Get ``django-webmaster-verification`` into your python path::
26
27 pip install django-webmaster-verification
9b03a5e @nkuttler Add a changelog
authored
28
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
29 Add ``webmaster_verification`` to your INSTALLED_APPS in settings.py::
30
31 INSTALLED_APPS = (
c5b56ca Consistent punctuation
Nicolas Kuttler authored
32 ...,
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
33 'webmaster_verification',
c5b56ca Consistent punctuation
Nicolas Kuttler authored
34 ...,
e06bf8f Whitespace
Nicolas Kuttler authored
35 )
9b03a5e @nkuttler Add a changelog
authored
36
e8606c4 @nkuttler Typo
authored
37 Add ``webmaster_verification`` to your root urlconf (urls.py)::
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
38
39 urlpatterns = patterns('',
40 ...,
41 url(r'', include('webmaster_verification.urls')),
9b03a5e @nkuttler Add a changelog
authored
42 ...,
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
43 )
44
45 Add settings just as::
46
47 WEBMASTER_VERIFICATION = {
48 'bing': '<bing verification code>',
5120ef0 Document the config updates
Nicolas Kuttler authored
49 'google': '<google verification code>',
59e642a Add support for majestic seo
Nicolas Kuttler authored
50 'majestic': '<majestic verification code>',
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
51 'yandex': '<yandex verification code>',
d643d87 @nkuttler Release 0.2.1
authored
52 'alexa': '<alexa verification code>',
f58f2fd Add documentation and rename things properly
Nicolas Kuttler authored
53 }
5120ef0 Document the config updates
Nicolas Kuttler authored
54
8f6911e @nkuttler Doc update
authored
55 The codes are alphanumeric and don't include suffixes like 'html', e.g.
56 ``847e1f379a99c28a`` for google, not ``847e1f379a99c28a.html``.
57
d643d87 @nkuttler Release 0.2.1
authored
58 Multiple codes are supported as well, except for bing::
5120ef0 Document the config updates
Nicolas Kuttler authored
59
60 WEBMASTER_VERIFICATION = {
61 'bing': '<bing verification code>',
62 'google': (
63 '<google verification code 1>',
64 '<google verification code 2>',
65 ),
66 'majestic': (
67 '<majestic verification code 1>',
68 '<majestic verification code 2>',
69 ),
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
70 'yandex': (
71 '<yandex verification code 1>',
72 '<yandex verification code 2>',
73 ),
d643d87 @nkuttler Release 0.2.1
authored
74 'alexa': (
75 '<alexa verification code 1>',
76 '<alexa verification code 2>',
77 ),
5120ef0 Document the config updates
Nicolas Kuttler authored
78 }
79
2a6a9a5 @nkuttler Doc updates
authored
80 Notes
81 -----
82
0505480 @nkuttler Add docs for python 2.6 users, prepare release
authored
83 Python 2.6 users will have to install argparse and importlib manually. I'm
84 too lazy to add that logic to the setup script right now.
85
2a6a9a5 @nkuttler Doc updates
authored
86 As **Bing** always accesses the same verification file I'm not sure if it's
87 possible to support more than one code for it. Please let me know if yes, and
88 how, as I don't really use their tools.
9b03a5e @nkuttler Add a changelog
authored
89
2a6a9a5 @nkuttler Doc updates
authored
90 For **Yandex** only the `.txt` file method is supported, but adding support for
d643d87 @nkuttler Release 0.2.1
authored
91 `.html` should be trivial if you need it.
92
93 The **Alexa** codes I saw all had a length of 27 characters, so that's what this
94 app assumes is used. Please let me know if your codes differ and I need to
95 modify the app.
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
96
9b03a5e @nkuttler Add a changelog
authored
97 Changelog
98 =========
99
0505480 @nkuttler Add docs for python 2.6 users, prepare release
authored
100 0.2.4 (2015-02-26)
4b8e188 @nkuttler Test Django 1.8 beta
authored
101 ------------------
0505480 @nkuttler Add docs for python 2.6 users, prepare release
authored
102 - Add Django 1.8 (beta1) support and drop 1.5 tests
4b8e188 @nkuttler Test Django 1.8 beta
authored
103
68c86c0 @nkuttler Release 0.2.3 with tested Django 1.7 support
authored
104 0.2.3 (2014-04-13)
105 ------------------
106 - Django 1.7 (beta1) support
107
9ecd7b2 @nkuttler Release 0.2.2
authored
108 0.2.2 (2014-01-12)
52d34a8 @nkuttler Doc update
authored
109 ------------------
9ecd7b2 @nkuttler Release 0.2.2
authored
110 - Django 1.6 support
111 - Removed Python 2.5 testing
52d34a8 @nkuttler Doc update
authored
112
d643d87 @nkuttler Release 0.2.1
authored
113 0.2.1 (2013-03-25)
114 ------------------
115 - Add alexa support
0e7ff67 @nkuttler Doc update
authored
116 - Refactor the test project to use a different structure
663dcda @nkuttler Doc update
authored
117
35c8d47 @nkuttler Release 0.2
authored
118 0.2 (2013-02-16)
119 ----------------
120 - Python 3.2 support
121 - Integrate testing with travis
1a66925 @nkuttler Doc update
authored
122
f18203f @nkuttler Release 0.1.10
authored
123 0.1.10 (2012-12-21)
124 -------------------
125 - Fix test errors when running from a real project
126
2d28edf @nkuttler Repackage 0.1.8 as 0.1.9 for pypi release...
authored
127 0.1.9 (2012-12-19)
128 ------------------
129 - Pypi updates
d643d87 @nkuttler Release 0.2.1
authored
130
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
131 0.1.8 (2012-12-19)
132 ------------------
133 - Yandex Webmaster Tools support added.
134
9b03a5e @nkuttler Add a changelog
authored
135 0.1.7 (2012-05-07)
136 ------------------
27cebb3 @nkuttler Release 0.1.8 with Yandex support
authored
137 - Bugfix for multiple verification codes for one provider.
Something went wrong with that request. Please try again.