MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Oct 07, 2008, 02:26 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Navigation & Tagging/Taxonomy
»
Support/Comments for sitemap
Pages: [
1
]
2
3
...
12
Go Down
« Previous topic
Next topic »
Print
Author
Topic: Support/Comments for sitemap (Read 33030 times)
0 Members and 2 Guests are viewing this topic.
grad
Coding Team
Posts: 139
Support/Comments for sitemap
«
on:
Jul 12, 2006, 04:57 PM »
This is an auto-generated support/comment thread for
SiteMap
. Use this forum to post any comments about this addition or any questions you have regarding its use.
Brief Description:
Outputs a machine-readable site map for search engines and robots. Outputs the following formats:
Sitemap Protocol
used by Google Sitemaps (XML)
URL list in text format (e.g. Yahoo! submission)
Author: Grzegorz Adamiak [grad]
Version: 1.0.2 @2006-07-21 15:03:04
License: LGPL
MODx: 0.9.2.1
History:
# 1.0.2
- Reworked fetching of template variable value to get INHERITED value.
# 1.0.1
- Reworked fetching of template variable value, now it gets computed value instead of nominal; however, still not the inherited value.
# 1.0
- First public release.
TODO:
- I'm not sure at the moment which way will it go...
Documentation is available in MODx wiki article
SiteMap: Google sitemaps in MODx
.
«
Last Edit: Oct 28, 2006, 04:01 PM by grad
»
Logged
Polish MODx Community/Polskie forum MODx
-
MODx, GPL i Ty
-
GetField
- the ultimate way to get any document content field
-
SiteMap
- Google sitemaps in MODx
-
PHP Markdown plugin
This is the Web. The only thing you know about who will come is that you do not know who will come.
openagate
Committed to MODx
Posts: 768
Re: Support/Comments for sitemap
«
Reply #1 on:
Jul 15, 2006, 07:28 PM »
o.k.
I try it...
but what about that:
we have template with chunks. for example, we do SE's Optimisation: we change chunks, template... and so... we change document, but we don't change editdone of document.
do you have statistic of how Google's bot goes through site, if lastmod date isn't changes?
Logged
Artima -- неуч!
Осторожно: преступная локализация -- modx-cms.ru
garryn
Coding Team
Posts: 1,138
Re: Support/Comments for sitemap
«
Reply #2 on:
Jul 15, 2006, 07:39 PM »
Hi openagate,
My knowledge of google sitemaps is that it doesn't matter what the editedon date is for a particular document. The update frequency specified within the sitemap XML (in this case, I believe it's set using a TV) is the important thing. For example, you can specify a page is updated weekly, monthly etc.
Hope that helps,
Garry
Logged
Search
|
Download Latest Release
|
General Support
About MODx
|
Documentation
|
Bugs/Wishlist
|
FORUM RULES
Garry Nutting
— http://www.immerse.me.uk - My Playground
|
My Amazon Wishlist
|
XBOX 360 Gamertag: webnerd
openagate
Committed to MODx
Posts: 768
Re: Support/Comments for sitemap
«
Reply #3 on:
Jul 15, 2006, 08:04 PM »
Thanx a lot, garryn!
btw, what about other search engines? now MODX doesn't send the lastmod date to the header. may be to add it to the wishlist?
Logged
Artima -- неуч!
Осторожно: преступная локализация -- modx-cms.ru
grad
Coding Team
Posts: 139
Re: Support/Comments for sitemap
«
Reply #4 on:
Jul 17, 2006, 05:23 AM »
Quote from: garryn
The update frequency specified within the sitemap XML (in this case, I believe it's set using a TV) is the important thing.
According to Sitemap Protocol documentation the 'changefreq' property is only informative and googlebot doesn't stick to it. However, IMO it may be assumed that it may have important influence on how often Google indexes the documents.
Google fetches sitemap automatically every day so the 'lastmod' property is far more important, as it actually tells google if the document has changed since last indexing.
Quote from: openagate
now MODX doesn't send the lastmod date to the header. may be to add it to the wishlist?
Apparently much needs to be done regarding response headers served by MODx:
status codes (error 404 especially) - AFAIK this is to be resolved in 0.9.5,
Expires - which seems to be always Thu, 19 Nov 1981 08:52:00 GMT,
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 and Pragma: no-cache - which require documents to be fetched from server with each display.
... to name a few.
Quote
what about other search engines?
The sitemap protocol is being developed and used by Google. However, search engines - including Google - also use sitemaps in ROR format which slightly differs from sitemap protocol. This is what I'm working on at the moment. If I have some spare time I'd like to publish a new version with ROR output in few days. So be patient
«
Last Edit: Sep 22, 2006, 09:12 AM by grad
»
Logged
Polish MODx Community/Polskie forum MODx
-
MODx, GPL i Ty
-
GetField
- the ultimate way to get any document content field
-
SiteMap
- Google sitemaps in MODx
-
PHP Markdown plugin
This is the Web. The only thing you know about who will come is that you do not know who will come.
davidm
Marketing & Design Team
Posts: 6,651
The best way to predict the future is to invent it
Re: Support/Comments for sitemap
«
Reply #5 on:
Jul 17, 2006, 05:51 AM »
Thanks grad this is a great snippet !
I'll go on and test it right away
Logged
blog.nodeo.net
:
Pour un web libre, moderne et ouvert!
:: |
! Nouveau !
Les forums modxcms.fr
:
Participez à l'élaboration du site MODx francophone !
! Nouveau !
:.
MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.
Config :
Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)
Réalisations sous MODx :
nodeo.net
|
gican.asso.fr
|
michelez-notaires.com
|
amadom.gerondicap.com
|
sworld.com
|
soleil.info
et 3 autres en cours de réalisation
openagate
Committed to MODx
Posts: 768
Re: Support/Comments for sitemap
«
Reply #6 on:
Jul 17, 2006, 07:51 AM »
Thanx, grad!
I can say exactly, after I have made sitemap, Google has nearly immediately added majority of the pages into index.
Logged
Artima -- неуч!
Осторожно: преступная локализация -- modx-cms.ru
mo
Jr. Member
Posts: 3
Re: Support/Comments for sitemap
«
Reply #7 on:
Sep 18, 2006, 07:54 AM »
hi,
Very flexible snippet, but I think there is still something to do.
In my site I've got web links with no template - (blank) - how to exclude them?
It will be usefull to add new argument 'excludeParent' for exclude all documents under given parent id.
Logged
grad
Coding Team
Posts: 139
Re: Support/Comments for sitemap
«
Reply #8 on:
Sep 18, 2006, 02:00 PM »
Quote from: mo on Sep 18, 2006, 07:54 AM
Very flexible snippet, but I think there is still something to do.
Always is
Quote
In my site I've got web links with no template - (blank) - how to exclude them?
Simply create an empty template and use it for documents/links you want to exclude.
Quote
It will be usefull to add new argument 'excludeParent' for exclude all documents under given parent id.
It can be easily achieved with use of @INHERIT binding.
Logged
Polish MODx Community/Polskie forum MODx
-
MODx, GPL i Ty
-
GetField
- the ultimate way to get any document content field
-
SiteMap
- Google sitemaps in MODx
-
PHP Markdown plugin
This is the Web. The only thing you know about who will come is that you do not know who will come.
arphaus
Full Member
Posts: 134
pizza!
Re: Support/Comments for sitemap
«
Reply #9 on:
Oct 22, 2006, 02:46 PM »
how does one use this snippet?
Logged
Sorry - not using ModX anymore 01/01/2007
grad
Coding Team
Posts: 139
Re: Support/Comments for sitemap
«
Reply #10 on:
Oct 23, 2006, 02:00 AM »
Quote from: arphaus on Oct 22, 2006, 02:46 PM
how does one use this snippet?
What you mean?
- How to make a sitemap document?
Usage instructions are included on the snippet's repository page. IMO they are detailed enough.
- What to use it for?
Check
Google Sitemaps
and you should get the idea.
- Something else?
Elaborate, please.
Logged
Polish MODx Community/Polskie forum MODx
-
MODx, GPL i Ty
-
GetField
- the ultimate way to get any document content field
-
SiteMap
- Google sitemaps in MODx
-
PHP Markdown plugin
This is the Web. The only thing you know about who will come is that you do not know who will come.
arphaus
Full Member
Posts: 134
pizza!
Re: Support/Comments for sitemap
«
Reply #11 on:
Oct 23, 2006, 11:21 AM »
the repository makes no sense to me - it doesn't say anything about what to do in terms of a step-by-step process. i'm not a programmer, by any definition.
Logged
Sorry - not using ModX anymore 01/01/2007
grad
Coding Team
Posts: 139
Re: Support/Comments for sitemap
«
Reply #12 on:
Oct 24, 2006, 03:45 PM »
Quote from: arphaus on Oct 23, 2006, 11:21 AM
the repository makes no sense to me - it doesn't say anything about what to do in terms of a step-by-step process. i'm not a programmer, by any definition.
You don't need to be a programmer to use it. It is just a snippet which means you need to call it from within a document to make it generate any output. However, you're right there is no step-by-step procedure. Thus I plan to make one and publish it in MODx wiki once I get some spare time.
Anyway here is the shortest possible how-to:
1) Create a document in the root level of the document tree, use a blank template, set the content type to 'txt/xml' and alias to 'sitemap.xml'.
2) In the document content field call the snippet:
Code:
[[sitemap? &format=`sp`]]
3) Log in to your Google sitemaps account and register your new sitemap file.
You can examine it at
http://yourdomain.com/sitemap.xml
. If you want to get a readable output, you have to get an XSL stylesheet as described in the repository entry. Once you downloaded it, simply duplicate your 'sitemap.xml' and paste the contents of the XSL into it. Then change the document alias to 'sitemap.xsl' and save. Now, you should be able to see it better
The sitemap you created includes
each and every
document from your site. This is not necessarily what you would want. To exclude documents from it follow instructions from the repository entry.
I hope this will help you to get started.
Logged
Polish MODx Community/Polskie forum MODx
-
MODx, GPL i Ty
-
GetField
- the ultimate way to get any document content field
-
SiteMap
- Google sitemaps in MODx
-
PHP Markdown plugin
This is the Web. The only thing you know about who will come is that you do not know who will come.
rthrash
Foundation
Posts: 9,269
Re: Support/Comments for sitemap
«
Reply #13 on:
Oct 24, 2006, 03:48 PM »
I'd assume it should probably be an uncached page too.
Logged
MODx
is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you
help us help you
,
read the wiki
, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @
Collabpad
work
productively.
work
intelligently.
work
together.
MODx
Current
|
Dev
|
SVN Root
|
JIRA (Bugs)
|
Confluence (097 Wiki)
|
Fisheye SVN Browser
arphaus
Full Member
Posts: 134
pizza!
Re: Support/Comments for sitemap
«
Reply #14 on:
Oct 24, 2006, 03:59 PM »
thanks very much - that i can understand.
ryan: i've taken to keeping my pages uncached by default since it seems like every page i make has a snippet, chunk or tv in it. cached pages are only for static content, right?
Logged
Sorry - not using ModX anymore 01/01/2007
Pages: [
1
]
2
3
...
12
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı