| 23 | | <div class="documentDescription" |
|---|
| 24 | | i18n:translate="description_plonegooglesitemaps"> |
|---|
| 25 | | Plone Google Sitemaps allows search engine to have better visibility of your |
|---|
| 26 | | <tal:url replace="portal_url" i18n:name="url">example.com</tal:url> |
|---|
| 27 | | Plone website. |
|---|
| | 20 | <li class=""> |
|---|
| | 21 | <a href="" |
|---|
| | 22 | tal:attributes="href string: prefs_verification" |
|---|
| | 23 | i18n:translate="label_properties">Verification</a> |
|---|
| | 24 | </li> |
|---|
| | 25 | |
|---|
| | 26 | <li class=""> |
|---|
| | 27 | <a href="" |
|---|
| | 28 | tal:attributes="href string: prefs_settings"> |
|---|
| | 29 | Settings</a> |
|---|
| | 30 | </li> |
|---|
| | 31 | |
|---|
| | 32 | <li class=""> |
|---|
| | 33 | <a href="" |
|---|
| | 34 | tal:attributes="href string: prefs_pinging" |
|---|
| | 35 | i18n:translate="label_logs">Pinging</a> |
|---|
| | 36 | </li> |
|---|
| | 37 | |
|---|
| | 38 | </ul> |
|---|
| | 39 | |
|---|
| | 40 | <div class="contentActions"> |
|---|
| | 41 | |
|---|
| | 42 | </div> |
|---|
| | 43 | <div class="documentContent"> |
|---|
| | 44 | <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> |
|---|
| | 45 | <a href="" |
|---|
| | 46 | class="link-parent" |
|---|
| | 47 | tal:attributes="href string: $portal_url/plone_control_panel" |
|---|
| | 48 | i18n:translate="label_up_to_plone_setup"> |
|---|
| | 49 | Up to Plone Setup |
|---|
| | 50 | </a> |
|---|
| | 51 | |
|---|
| | 52 | <div class="documentDescription" |
|---|
| | 53 | i18n:translate="description_plonegooglesitemaps"> |
|---|
| | 54 | Plone Google Sitemaps allows search engine to have better visibility of your |
|---|
| | 55 | <tal:url replace="portal_url" i18n:name="url">example.com</tal:url> |
|---|
| | 56 | Plone website. |
|---|
| | 57 | </div> |
|---|
| | 58 | |
|---|
| | 59 | <h2>Post-install instructions</h2> |
|---|
| | 60 | |
|---|
| | 61 | <p>Congratulations, you've installed Plone Google Sitemaps product from |
|---|
| | 62 | Quintagroup.</p> |
|---|
| | 63 | |
|---|
| | 64 | <!-- --> |
|---|
| | 65 | <dl> |
|---|
| | 66 | <dt>First step</dt> |
|---|
| | 67 | <dd>Your site is Google Sitemaps enabled already. Check |
|---|
| | 68 | <a href="google-sitemaps" |
|---|
| | 69 | tal:attributes="href string:$portal_url/google-sitemaps">sitemap XML</a> |
|---|
| | 70 | to see generated sitemap document of your website. It should contain URLs of |
|---|
| | 71 | all published objects. If you see something that should not be indexed by |
|---|
| | 72 | Google, retract objects or exclude sections with robots.txt (that GoogleBot |
|---|
| | 73 | obey). |
|---|
| | 74 | </dd> |
|---|
| | 75 | <dt>Second step</dt> |
|---|
| | 76 | <dd>Make Google know of your sitemap: |
|---|
| | 77 | <ol> |
|---|
| | 78 | <li>go to <a href="https://www.google.com/webmasters/sitemaps">Google |
|---|
| | 79 | Sitemaps Central</a> (logging in / signing up as necessary)</li> |
|---|
| | 80 | <li>add your sitemap URL: |
|---|
| | 81 | <code tal:content="string:$portal_url/google-sitemaps">http://example.com/google-sitemaps</code> |
|---|
| | 82 | </ol> |
|---|
| | 83 | It takes a while for your sitemap to be processed by Google. |
|---|
| | 84 | Usually within 24 hours it processes hte sitemap so do not expect your |
|---|
| | 85 | submission to be processed instantly. |
|---|
| | 86 | </dd> |
|---|
| | 87 | <dl> |
|---|
| | 88 | <h2>Helpful resources</h2> |
|---|
| | 89 | <dl> |
|---|
| | 90 | <dt><a href="http://groups-beta.google.com/group/google-sitemaps">google-sitemaps discussion group</a><dt> |
|---|
| | 91 | <dd>As Google Sitemaps is emerging technology, we are all learning from it. |
|---|
| | 92 | Google set up discussion group to find your ideas about it. You can find |
|---|
| | 93 | help from other webmasters as they usually found answers to questions that |
|---|
| | 94 | you have. If not you are free to ask, to praise and to ramble ;)</dd> |
|---|
| | 95 | <dt><a href="http://plone.org/products/qplonegooglesitemaps">Plone Google Sitemaps |
|---|
| | 96 | product page</a></dt> |
|---|
| | 97 | <dd>Stay tuned. We are preparing new and fresh releases. Product page will |
|---|
| | 98 | help you to keep informed about them.</dd> |
|---|
| | 99 | </dl> |
|---|
| | 100 | </div> |
|---|
| 29 | | |
|---|
| 30 | | <h2>Post-install instructions</h2> |
|---|
| 31 | | |
|---|
| 32 | | <p>Congratulations, you've installed Plone Google Sitemaps product from |
|---|
| 33 | | Quintagroup.</p> |
|---|
| 34 | | |
|---|
| 35 | | <form name="edit_form" |
|---|
| 36 | | action="." |
|---|
| 37 | | method="post" |
|---|
| 38 | | enctype="multipart/form-data" |
|---|
| 39 | | tal:attributes="action string:${here_url}/${template/getId}" > |
|---|
| 40 | | |
|---|
| 41 | | <fieldset tal:define="props portal/portal_properties/googlesitemap_properties; |
|---|
| 42 | | portal_types portal/portal_types;"> |
|---|
| 43 | | <legend i18n:translate="legend_plonesitemap_configuration_details"> |
|---|
| 44 | | Google SiteMap configuration |
|---|
| 45 | | </legend> |
|---|
| 46 | | |
|---|
| 47 | | |
|---|
| 48 | | <div class="field" |
|---|
| 49 | | tal:define="portalTypes props/portalTypes;"> |
|---|
| 50 | | <label for="portalTypes " |
|---|
| 51 | | i18n:translate="label_plonesitemap_metatypes_to_dig"> |
|---|
| 52 | | MetaTypes to dig |
|---|
| 53 | | </label> |
|---|
| 54 | | |
|---|
| 55 | | <div class="formHelp" |
|---|
| 56 | | i18n:translate="help_plonesitemap_metatypes_to_dig"> |
|---|
| 57 | | These meta types will be explored. |
|---|
| 58 | | </div> |
|---|
| 59 | | <select multiple="multiple" |
|---|
| 60 | | name="portalTypes" |
|---|
| 61 | | id="portalTypes" |
|---|
| 62 | | tal:attributes="tabindex tabindex/next;"> |
|---|
| 63 | | |
|---|
| 64 | | <tal:contenttypes repeat="type python:portal_types.listContentTypes()"> |
|---|
| 65 | | <option tal:define="type python:portal_types.getTypeInfo(type); |
|---|
| 66 | | type_name type/Title; |
|---|
| 67 | | portal_type type/getId" |
|---|
| 68 | | tal:attributes="value portal_type; |
|---|
| 69 | | selected python: test(portal_type in portalTypes, 'selected', None)" |
|---|
| 70 | | tal:content="type_name"> |
|---|
| 71 | | Article |
|---|
| 72 | | </option> |
|---|
| 73 | | </tal:contenttypes> |
|---|
| 74 | | </select> |
|---|
| 75 | | </div> |
|---|
| 76 | | |
|---|
| 77 | | <div class="field" |
|---|
| 78 | | tal:define="states props/states;"> |
|---|
| 79 | | <label for="states "> |
|---|
| 80 | | States |
|---|
| 81 | | </label> |
|---|
| 82 | | |
|---|
| 83 | | <div class="formHelp"> |
|---|
| 84 | | The objects with the given state are displayed. |
|---|
| 85 | | </div> |
|---|
| 86 | | |
|---|
| 87 | | <textarea name="states:lines" |
|---|
| 88 | | id="states" |
|---|
| 89 | | cols="20" |
|---|
| 90 | | rows="8" |
|---|
| 91 | | tabindex="" |
|---|
| 92 | | tal:attributes="tabindex tabindex/next;" |
|---|
| 93 | | tal:define="content python:modules['string'].join(states,'\n');" |
|---|
| 94 | | tal:content="content"> |
|---|
| 95 | | </textarea> |
|---|
| 96 | | </div> |
|---|
| 97 | | <div class="field" |
|---|
| 98 | | tal:define="blackout_list props/blackout_list;"> |
|---|
| 99 | | <label for="blackout_list "> |
|---|
| 100 | | Blackout entries |
|---|
| 101 | | </label> |
|---|
| 102 | | |
|---|
| 103 | | <div class="formHelp"> |
|---|
| 104 | | The objects with the given state are displayed. |
|---|
| 105 | | </div> |
|---|
| 106 | | |
|---|
| 107 | | <textarea name="blackout_list:lines" |
|---|
| 108 | | id="reg_exp" |
|---|
| 109 | | cols="20" |
|---|
| 110 | | rows="8" |
|---|
| 111 | | tabindex="" |
|---|
| 112 | | tal:attributes="tabindex tabindex/next;" |
|---|
| 113 | | tal:define="content python:modules['string'].join(blackout_list ,'\n');" |
|---|
| 114 | | tal:content="content"> |
|---|
| 115 | | </textarea> |
|---|
| 116 | | </div> |
|---|
| 117 | | <div class="field" |
|---|
| 118 | | tal:define="reg_exp props/reg_exp;"> |
|---|
| 119 | | <label for="reg_exp"> |
|---|
| 120 | | Regular Expression |
|---|
| 121 | | </label> |
|---|
| 122 | | |
|---|
| 123 | | <div class="formHelp"> |
|---|
| 124 | | Please, master regular expression in Perl syntax |
|---|
| 125 | | </div> |
|---|
| 126 | | |
|---|
| 127 | | <textarea name="reg_exp:lines" |
|---|
| 128 | | id="reg_exp" |
|---|
| 129 | | cols="20" |
|---|
| 130 | | rows="8" |
|---|
| 131 | | tabindex="" |
|---|
| 132 | | tal:attributes="tabindex tabindex/next;" |
|---|
| 133 | | tal:define="content python:modules['string'].join(reg_exp ,'\n');" |
|---|
| 134 | | tal:content="content"> |
|---|
| 135 | | </textarea> |
|---|
| 136 | | </div> |
|---|
| 137 | | |
|---|
| 138 | | <div class="field" |
|---|
| 139 | | tal:define="urls props/urls;"> |
|---|
| 140 | | <label for="urls"> |
|---|
| 141 | | Additional URLs |
|---|
| 142 | | </label> |
|---|
| 143 | | |
|---|
| 144 | | <div class="formHelp"> |
|---|
| 145 | | Add URLs that are not objects |
|---|
| 146 | | </div> |
|---|
| 147 | | |
|---|
| 148 | | <textarea name="urls:lines" |
|---|
| 149 | | id="urls" |
|---|
| 150 | | cols="20" |
|---|
| 151 | | rows="8" |
|---|
| 152 | | tabindex="" |
|---|
| 153 | | tal:attributes="tabindex tabindex/next;" |
|---|
| 154 | | tal:define="content python:modules['string'].join(urls ,'\n');" |
|---|
| 155 | | tal:content="content"> |
|---|
| 156 | | </textarea> |
|---|
| 157 | | </div> |
|---|
| 158 | | |
|---|
| 159 | | |
|---|
| 160 | | <div class="field" |
|---|
| 161 | | tal:define="portal_workflow portal/portal_workflow; |
|---|
| 162 | | getWorkflowTransitions python:modules['Products.qPloneGoogleSitemaps.utils'].getWorkflowTransitions"> |
|---|
| 163 | | <label for= "portal_workflow"> |
|---|
| 164 | | Workflows to ping |
|---|
| 165 | | </label> |
|---|
| 166 | | <div class="formHelp"> |
|---|
| 167 | | Transitions after which Google have been pinged |
|---|
| 168 | | </div> |
|---|
| 169 | | <fieldset class="workflow" |
|---|
| 170 | | tal:repeat="workflow portal_workflow/listWorkflows"> |
|---|
| 171 | | <legend tal:content="workflow">Workflow title (and id)</legend> |
|---|
| 172 | | <div class="field" |
|---|
| 173 | | tal:repeat="transition python:getWorkflowTransitions(context,workflow)"> |
|---|
| 174 | | <tal:transition define="enabled python:transition.after_script_name in ['', 'ping_googlesitemap']; |
|---|
| 175 | | name string:${workflow}#${transition/id}"> |
|---|
| 176 | | <input type="checkbox" |
|---|
| 177 | | name="transitions:list" |
|---|
| 178 | | tal:attributes="id name; |
|---|
| 179 | | value name; |
|---|
| 180 | | checked python:enabled and transition.after_script_name; |
|---|
| 181 | | disabled not:enabled"/> |
|---|
| 182 | | <label tal:content="string:${transition/getId}: ${transition/title_or_id}" |
|---|
| 183 | | tal:attributes="for name; |
|---|
| 184 | | class python:test(enabled, None, 'discreet')">Transition id</label> |
|---|
| 185 | | <span class="discreet" |
|---|
| 186 | | tal:condition="not:enabled" |
|---|
| 187 | | tal:content="string:(${transition/after_script_name})" /> |
|---|
| 188 | | </tal:transition> |
|---|
| 189 | | </div> |
|---|
| 190 | | </fieldset> |
|---|
| 191 | | </div> |
|---|
| 192 | | |
|---|
| 193 | | <div class="formControls" |
|---|
| 194 | | tal:define="process_creation request/process_creation|nothing;" |
|---|
| 195 | | i18n:domain="plone"> |
|---|
| 196 | | |
|---|
| 197 | | <input class="context" |
|---|
| 198 | | tabindex="" |
|---|
| 199 | | type="submit" |
|---|
| 200 | | name="form.button.Save" |
|---|
| 201 | | value="Save" |
|---|
| 202 | | i18n:attributes="value" |
|---|
| 203 | | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 204 | | |
|---|
| 205 | | </div> |
|---|
| 206 | | </fieldset> |
|---|
| 207 | | |
|---|
| 208 | | <input type="hidden" name="form.submitted" value="1" /> |
|---|
| 209 | | </form> |
|---|
| 210 | | |
|---|
| 211 | | <dl> |
|---|
| 212 | | <dt>First step</dt> |
|---|
| 213 | | <dd>Your site is Google Sitemaps enabled already. Check |
|---|
| 214 | | <a href="google-sitemaps" |
|---|
| 215 | | tal:attributes="href string:$portal_url/google-sitemaps">sitemap XML</a> |
|---|
| 216 | | to see generated sitemap document of your website. It should contain URLs of |
|---|
| 217 | | all published objects. If you see something that should not be indexed by |
|---|
| 218 | | Google, retract objects or exclude sections with robots.txt (that GoogleBot |
|---|
| 219 | | obey). |
|---|
| 220 | | </dd> |
|---|
| 221 | | <dt>Second step</dt> |
|---|
| 222 | | <dd>Make Google know of your sitemap: |
|---|
| 223 | | <ol> |
|---|
| 224 | | <li>go to <a href="https://www.google.com/webmasters/sitemaps">Google |
|---|
| 225 | | Sitemaps Central</a> (logging in / signing up as necessary)</li> |
|---|
| 226 | | <li>add your sitemap URL: |
|---|
| 227 | | <code tal:content="string:$portal_url/google-sitemaps">http://example.com/google-sitemaps</code> |
|---|
| 228 | | </ol> |
|---|
| 229 | | It takes a while for your sitemap to be processed by Google. |
|---|
| 230 | | Usually within 24 hours it processes hte sitemap so do not expect your |
|---|
| 231 | | submission to be processed instantly. |
|---|
| 232 | | </dd> |
|---|
| 233 | | <dt>Third step</dt> |
|---|
| 234 | | <dd><form> |
|---|
| 235 | | <fieldset> |
|---|
| 236 | | <legend>Google Ping</legend> |
|---|
| 237 | | <p>By pressing "Ping Google" button you inform Google that it |
|---|
| 238 | | should reread your sitemap as you did some modification on |
|---|
| 239 | | the site. Google usually rereads your sitemap with it's |
|---|
| 240 | | own schedule but you have possibility to hint it about best |
|---|
| 241 | | time to do that.</p> |
|---|
| 242 | | <div class="formControls"> |
|---|
| 243 | | <input class="context" |
|---|
| 244 | | tabindex="" |
|---|
| 245 | | type="submit" |
|---|
| 246 | | name="form.button.Ping" |
|---|
| 247 | | value="Ping Google" |
|---|
| 248 | | i18n:attributes="value" |
|---|
| 249 | | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 250 | | </div> |
|---|
| 251 | | </fieldset> |
|---|
| 252 | | <input type="hidden" name="form.submitted" value="1" /> |
|---|
| 253 | | </form> |
|---|
| 254 | | </dd> |
|---|
| 255 | | <dl> |
|---|
| 256 | | <h2>Helpful resources</h2> |
|---|
| 257 | | <dl> |
|---|
| 258 | | <dt><a href="http://groups-beta.google.com/group/google-sitemaps">google-sitemaps discussion group</a><dt> |
|---|
| 259 | | <dd>As Google Sitemaps is emerging technology, we are all learning from it. |
|---|
| 260 | | Google set up discussion group to find your ideas about it. You can find |
|---|
| 261 | | help from other webmasters as they usually found answers to questions that |
|---|
| 262 | | you have. If not you are free to ask, to praise and to ramble ;)</dd> |
|---|
| 263 | | <dt><a href="http://plone.org/products/qplonegooglesitemaps">Plone Google Sitemaps |
|---|
| 264 | | product page</a></dt> |
|---|
| 265 | | <dd>Stay tuned. We are preparing new and fresh releases. Product page will |
|---|
| 266 | | help you to keep informed about them.</dd> |
|---|
| 267 | | </dl> |
|---|