clearSitemapCache [line 823]
Cleans out the cache folder.
void clearSitemapCache(
)
|
|
generateSitemapCacheFile [line 206]
Generates a sitemap file.
Parameters:
|
string |
$filename: |
How the file should be named. ".xml" is appended automatically |
|
string |
$data: |
The actual sitemap data as generated by the appropiate functions |
void generateSitemapCacheFile(
string $filename, string $data
)
|
|
generateSitemapIndexCacheFile [line 220]
Generates the sitemap index file that points to the individual sitemaps from the content of the sitemap cache.
It is always named "sitemapindex.xml"
void generateSitemapIndexCacheFile(
)
|
|
getSitemapAlbumList [line 370]
Enter description here ...
Parameters:
|
object |
$obj: |
the starting point |
|
array |
$albumlist: |
the container for the results |
|
string |
$gateway: |
name of validation function |
|
|
&$albumlist: |
|
void getSitemapAlbumList(
object $obj, &$albumlist, string $gateway, array $albumlist
)
|
|
getSitemapAlbums [line 409]
Places album and all of its album pages on one sitemap
Gets links to all albums incl. pagination and if the Google image video extension is enabled for images using this as well. This is independent from the images fetched by getSitemapImages().
NOTE: Using the Google extension is currently NOT recommended if you have a huge gallery.
string getSitemapAlbums(
)
|
|
getSitemapGoogleImageVideoExtras [line 585]
Helper function to get the image/video extra entries for albums if the Google video extension is enabled
Parameters:
|
|
$page: |
|
|
|
$loop_index: |
|
|
|
$albumobj: |
|
|
|
$images: |
|
string getSitemapGoogleImageVideoExtras(
$page, $loop_index, $albumobj, $images
)
|
|
getSitemapGoogleLoopIndex [line 566]
Helper function to get the loop index if the Google video extension is enabled
Parameters:
void getSitemapGoogleLoopIndex(
$imageCount, $pageCount
)
|
|
getSitemapImages [line 507]
currently this splitts only sitemaps for albums and its images. Spliting the images itself requires a major rework...
Gets links to all images for all albums (album by album)
string getSitemapImages(
)
|
|
getSitemapIndexLinks [line 315]
TODO index links are not splitted into several sitemaps yet
Gets the links to the index of a Zenphoto gallery incl. index pagination
string getSitemapIndexLinks(
)
|
|
getSitemapZenpageNewsArticles [line 725]
Gets 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 getSitemapZenpageNewsArticles(
[string $changefreq = One of the supported changefrequence values regarding sitemap.org. Default is empty or wrong is "daily".]
)
|
|
getSitemapZenpageNewsCategories [line 765]
Gets links to Zenpage news categories incl. pagination
string getSitemapZenpageNewsCategories(
)
|
|
getSitemapZenpageNewsIndex [line 674]
Gets links to the main Zenpage news index incl. pagination
string getSitemapZenpageNewsIndex(
)
|
|
getSitemapZenpagePages [line 633]
Gets links to all Zenpage pages
string getSitemapZenpagePages(
)
|
|
passAlbums [line 386]
gateway check for albums (no refinement of the criteria)
Parameters:
void passAlbums(
object $album
)
|
|
passImages [line 394]
gateway function for images (screens out dynamic albums and password protected albums)
Parameters:
void passImages(
object $album
)
|
|
sitemap_button [line 168]
creates the Utilities button to purge the static sitemap cache
Parameters:
array sitemap_button(
array $buttons
)
|
|
sitemap_echonl [line 195]
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 246]
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 271]
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_getDBLimit [line 299]
Gets the limit and offset for the db queries for sitemap splitting.
Parameters:
|
int |
$items_per_sitemap: |
Number of items per sitemap |
string sitemap_getDBLimit(
[int $items_per_sitemap = 2]
)
|
|
sitemap_getISO8601Date [line 853]
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 186]
Returns true if the site is set to "multilingual" and mod_rewrite and and the seo_locale plugin are enabled.
void sitemap_multilingual(
)
|
|