Logo

Mister Wong iconTechnorati iconDigg icondel.icio.us iconma.gnolia iconFurl iconNewsvine iconReddit iconYahoo MyWeb iconBlinkbits iconGoogle iconSimpy iconBlogmarks icon

  C-Zell-Karzinom e.V. - Hilfe zur Selbsthilfe Hello unlogged user | [ Register | Log in ]  
Search
Add to Google

Menu
|--> Home
|--> FAQ
|--> Suchen
|--> Forum

Mail Liste/Newsletter
You are currently not logged in, but you can still subscribe to our newsletter.




Sprachen
Sprache auswählen:

Deutsch English

Google page transl.
   

Credits & License Information

Back to main Credits page

Help for Google Sitemap version 1.3

Google sitemap module for PostNuke

Requirements
------------
This module requires at least PostNuke .762


Installation and Usage
----------------------

This module provides a dynamically generated google sitemap file out of a PostNuke site. Support is provided for many of the more popular postnuke modules. Additional plugins can be written for modules not supported out of the box.

Installation of this module follows the same procedure as any other PostNuke module. Copy the module directory into the modules directory of your PostNuke site. Login to your site using your admin account. From the modules admin panel regenerate the modules list then install and activtate the google sitemap module.

To see the output point your browser at index.php?module=googlesitemap. This is the URL you provide google with. You need to have signed up with google for it's sitemap service - see https://www.google.com/webmasters/sitemaps/login?hl=en.

Current modules supported
-------------------------

News, Topics, Stats, Members List, Downloads, Web Links, pnForum, PagerSetter, Photoshare, pnFlashGames, phpcomic, AmaZone, Books, pnZClassifieds.

Supporting new modules
----------------------

Writing a plugin for your favorite module depends very much on the module and how it's coded. All the work of calling the plugins is in the template (googlesitemap_user_main.htm). If the module is API compliant (i.e. type 2 in the db) then you'll most likely not require a plugin. Add something like the following (modified for your particuar module).

Code:

<!--[pnmodavailable modname=mymod assign=mymod]-->
<!--[if $mymod and $myitems]-->
<!--[pnmodapifunc modname=mymod func=getall assign=myitems]-->
<!--[if $myitems]-->
<!--[foreach from=$myitems item=myid]-->
<url>
<loc><!--[pnmodurl modname=mymod func=display myidvar=$myid]--></loc>
<changefreq>daily</changefreq>
</url>
<!--[/foreach]-->
<!--[/if]-->
<!--[/if]-->


If a module is non API compliant (i.e. type 1) then a custom plugin needs writing. No instructions can be given as to how to do this given the variability of coding of these type of modules. See the examples of the news and topics plugins for some examples.


Notes
-----

1) If upgrading from a pre-release build (v0.1) make sure to remove all module files before uploading the new module as not all files present in the official release are present in the pre-build. An overrwrite to leave files remaining from the pre-build.

 

| Allgemeine Nutzungsbedingungen | Datenschutzhinweis | Impressum
Diese WebSite wurde mit PostNuke erstellt - PostNuke ist als freie Software unter der GNU/GPL Lizenz erhältlich.

Website powered by PostNuke PHP Language Powered by PHPEdit Best viewed with OpenEyes Get Firefox!

Bad Behavior has blocked 2 access attempts in the last 7 days.

 
Register
Page created in 0.86823415756226 seconds.