clearSitemapCache [line 618]
Cleans out the cache folder.
void clearSitemapCache(
)
|
|
endSitemapCache [line 597]
Ends the static RSS caching.
printSitemapAlbumsAndImages [line 300]
Prints links to all albums incl. pagination and their images
Parameters:
|
array |
$albumsperpage: |
In case your theme performes custom option settings that are different from the admin option, use an array to set the number here for albums individudially. Example: $albumsperpage = array('<album1name>' => <desired albums per page>, '<album2name>' => <desired albums per page>); |
|
array |
$imagessperpage: |
In case your theme performes custom option settings that are different from the admin option, use an array to set the number here for albums individudially. (see example above) |
|
string |
$albumchangefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
|
string |
$imagechangefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
|
string |
$albumlastmod: |
"date or "mtime" |
|
string |
$imagelastmod: |
"date or "mtime" |
|
|
$imagesperpage: |
|
string printSitemapAlbumsAndImages(
[array $albumsperpage = ''], [ $imagesperpage = ''], [string $albumchangefreq = ''], [string $imagechangefreq = ''], [string $albumlastmod = ''], [string $imagelastmod = ''], array $imagessperpage
)
|
|
printSitemapIndexLinks [line 245]
Prints the links to the index of a Zenphoto gallery incl. pagination
Parameters:
|
int |
$albumsperpage: |
In case your theme performes custom option settings that are different from the admin option, set the number here. |
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
string printSitemapIndexLinks(
[int $albumsperpage = ''], [string $changefreq = '']
)
|
|
printSitemapZenpageNewsArticles [line 487]
Prints to the Zenpage news articles
Parameters:
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
string printSitemapZenpageNewsArticles(
[string $changefreq = '']
)
|
|
printSitemapZenpageNewsCategories [line 523]
Prints links to Zenpage news categories incl. pagination
Parameters:
|
array |
$albumsperpage: |
In case your theme performes custom option settings that are different from the admin option, use an array to set the number here for categories individudially. Example: $albumsperpage = array('<category1name>' => <desired articles per page>, '<category2name>' => <desired articles per page>); |
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
|
|
$articlesperpage: |
|
string printSitemapZenpageNewsCategories(
[ $articlesperpage = ''], [string $changefreq = ''], array $albumsperpage
)
|
|
printSitemapZenpageNewsIndex [line 445]
Prints links to the main Zenpage news index incl. pagination
Parameters:
|
int |
$articlesperpage: |
In case your theme performes custom option settings that are different from the admin option, set the number here. |
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
string printSitemapZenpageNewsIndex(
[int $articlesperpage = ''], [string $changefreq = '']
)
|
|
printSitemapZenpagePages [line 411]
Prints links to all Zenpage pages
Parameters:
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
string printSitemapZenpagePages(
[string $changefreq = '']
)
|
|
sitemap_cache_purgebutton [line 155]
creates the Utilities button to purge the static sitemap cache
Parameters:
array sitemap_cache_purgebutton(
array $buttons
)
|
|
sitemap_echonl [line 185]
Simple helper function which simply outputs a string and ends it of with a new-line.
Parameters:
|
string |
$string: |
text string |
string sitemap_echonl(
string $string
)
|
|
sitemap_getChangefreq [line 193]
Checks the changefreq value if entered manually and makes sure it is only one of the supported regarding sitemap.org
Parameters:
|
string |
$changefreq: |
One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily". |
string sitemap_getChangefreq(
[string $changefreq = '']
)
|
|
sitemap_getDateformat [line 217]
Gets the dateformat for images and albums only.
Parameters:
|
object |
$obj: |
image or album object |
|
string |
$option: |
"date" or "mtime". If "mtime" is discovered to be not set, the date values is taken instead so we don't get 1970-01-10 dates |
string sitemap_getDateformat(
object $obj, string $option
)
|
|
sitemap_getISO8601Date [line 648]
Returns an ISO-8601 compliant date/time string for the given date/time.
While PHP5 can use the date format constant DATE_ISO8601, this function is designed to allow PHP4 use as well. Eventually it can be deprecated, by:
- Replacing parameterless references to this function with date(DATE_ISO8601)
- Replacing references to this function in sitemap_getDateformat as documented there
Parameters:
void sitemap_getISO8601Date(
[ $date = '']
)
|
|
sitemap_multilingual [line 172]
Returns true if the site is set to "multilingual" and mod_rewrite and and the seo_locale plugin are enabled.
void sitemap_multilingual(
)
|
|
startSitemapCache [line 574]
Starts static sitemap caching
void startSitemapCache(
)
|
|