Author Topic: [module] Google sitemap.xml Generator  (Read 146583 times)

Sgt.Nops

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #175 on: October 02, 2010, 11:36:28 PM »
Strange using version 1.5.4 from AMASP  everything is ok.
Using 1.6 the one thats postted a few posts above i simply get an empty screen ??

Btw. still using topics 0.4.

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #176 on: October 02, 2010, 11:53:20 PM »
A lot of changes were made between topics 0.4 and 0.6.
The sitemap will not work for v0.4.

If you want to modify your own version, look at the two required files in the topics part of the sitemap script. (lines 158 and 159)
These files were named different in older versions.
Locate the same files in your version, and it might work.

Sgt.Nops

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #177 on: October 02, 2010, 11:56:50 PM »
Nah, thats ok.
I just need to find the time to do full backups before upgrading to topic 0.6.
Thx for quick answer.

Sgt.Nops

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #178 on: October 03, 2010, 12:51:10 AM »
Ok , just updated to topics 0.6 and everything is ok :-)

Sgt.Nops

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #179 on: October 03, 2010, 10:17:02 AM »
Asking myself if it does make sense to add a ping function like the one in the this sitemap function i attached.

Here is the function so you dont have to search for it:
Code: [Select]
//notifies services like google, bing, yahoo, ask and moreover about your site map update
public function ping($sitemap_url, $title ="", $siteurl = ""){
// for curl handlers
$curl_handlers = array();

$sitemap_url = trim($sitemap_url);
if(strpos($sitemap_url, "http") !== 0)
{
$sitemap_url = "http://".$sitemap_url;
}
$site = explode("//", $sitemap_url);
$start = $site[0];
$site = explode("/", $site[1]);
$middle = $site[0];
if(trim($title) == "")
{
$title = $middle;
}
if(trim($siteurl) == "")
{
$siteurl = $start."//".$middle;
}
//urls to ping
$urls[0] = "http://www.google.com/webmasters/tools/ping?sitemap=".urlencode($sitemap_url);
$urls[1] = "http://www.bing.com/webmaster/ping.aspx?siteMap=".urlencode($sitemap_url);
$urls[2] = "http://search.yahooapis.com/SiteExplorerService/V1/updateNotification".
"?appid=YahooDemo&url=".urlencode($sitemap_url);
$urls[3] = "http://submissions.ask.com/ping?sitemap=".urlencode($sitemap_url);
$urls[4] = "http://rpc.weblogs.com/pingSiteForm?name=".urlencode($title).
"&url=".urlencode($siteurl)."&changesURL=".urlencode($sitemap_url);

//setting curl handlers
foreach ($urls as $url)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURL_HTTP_VERSION_1_1, 1);
$curl_handlers[] = $curl;
}
//initiating multi handler
$multi_curl_handler = curl_multi_init();

// adding all the single handler to a multi handler
foreach($curl_handlers as $key => $curl)
{
curl_multi_add_handle($multi_curl_handler,$curl);
}

// executing the multi handler
do
{
$multi_curl = curl_multi_exec($multi_curl_handler, $active);
}
while ($multi_curl == CURLM_CALL_MULTI_PERFORM  || $active);

// check if there any error
$submitted = true;
foreach($curl_handlers as $key => $curl)
{
//you may use curl_multi_getcontent($curl); for getting content
//and curl_error($curl); for getting errors
if(curl_errno($curl) != CURLE_OK)
{
$submitted = false;
}
}
curl_multi_close($multi_curl_handler);
return $submitted;
}

So maybe if you call the sitemap whith
www.yourdomain.com/google_sitemap.php?ping=1

You can Ping that services Manually.
I guess thats usefull if you site is not listed in those services or if you have done some updates.

It may be even more usefull if you use your page like a blog, as there are lots of services you can ping.

[gelöscht durch Administrator]
« Last Edit: October 03, 2010, 10:22:31 AM by Sgt.Nops »

daydreamer

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #180 on: October 11, 2010, 11:28:33 AM »
Hi,

Do you install this as a normal module or just upload to public_html and submit to google ?

Thanks

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #181 on: October 11, 2010, 11:58:22 AM »
Just put is in the same location as your config.php, name it as you like (with the extension .php) and submit it to google.

daydreamer

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #182 on: October 11, 2010, 12:11:35 PM »
Thanks sorted, just was not sure if it was an actual module.

comfort

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #183 on: November 24, 2010, 12:39:51 PM »
Sorry, changed the copyright.
Can you help me now?
I still get http://www.site.com/.php
I downloaded the latest version for the sitemap ( version 1.6.0.20100917 (Ruud) )


This happends on a WB Version 2.8.1 Revision 1287
with Bakery v1.5.6 PHP5 en MySQL5

Please confirm your websites to the license you agreed on when you downloaded WebsiteBaker.
http://www.websitebaker2.org/en/download/license.php

Quote
* keeping copyright notices in the source code of all files distributed with WebsiteBaker unchanged
* keeping the link: "WebsiteBaker is released under the GNU General Public License" in the footer of the backend unchanged and visible
Quote
Any violation of the license terms is expressly prohibited by law, and may result in severe civil and criminal penalties.

This means you cannot put your own copyright on the backend of your website and the websites you are selling!

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #184 on: December 01, 2010, 10:16:07 AM »
My guess is that it is caused by not having a PAGES_DIRECTORY set in your website.

The script tries to remove any /pages from the bakery-link to allow the WB framework to generate the correct link.
Without the /pages (or any other directory) this stripping will probably fail (with an error).

Try removing this line:
Code: [Select]
$bakery['link'] = preg_replace('/^\\'.PAGES_DIRECTORY.'/', '', $bakery['link'], 1);

Offline sky writer

  • Posts: 926
Re: [module] Google sitemap.xml Generator
« Reply #185 on: February 23, 2012, 05:52:59 PM »
I use the google sitemap module, and it works great.  But I just noticed a BUG.
I have a private page containing News Module posts.  This page is not listed, but the posts are all listed in the google sitemap, which is not desired.  If you go to the listed link, it redirects to the home page, but still, it is not desired to list "hidden" pages with GOOGLE.

Any idea of why, and how to prevent this?

Offline nibz

  • Posts: 683
  • Gender: Male
Re: [module] Google sitemap.xml Generator
« Reply #186 on: May 29, 2012, 04:48:46 PM »
Hi ..

I use Ruuds SHORT URL, but in the sitemap the full url display can (or do we need to) it be changed?

I think it will be better for seo to be consistent.

Hope to hear :)

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: [module] Google sitemap.xml Generator
« Reply #187 on: May 29, 2012, 04:57:50 PM »
Already done and given in the ShortUrl tread, but might as well give it here

[gelöscht durch Administrator]
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline nibz

  • Posts: 683
  • Gender: Male
Re: [module] Google sitemap.xml Generator
« Reply #188 on: May 29, 2012, 05:02:53 PM »
Whoops... expected to find it in here so read these pages only...

Many thanks :) Thanks for the quick response!

Offline sky writer

  • Posts: 926
Re: [module] Google sitemap.xml Generator
« Reply #189 on: December 17, 2012, 07:00:27 AM »
I use the google sitemap module, and it works great.  But I just noticed a BUG.
I have a private page containing News Module posts.  This page is not listed, but the posts are all listed in the google sitemap, which is not desired.  If you go to the listed link, it redirects to the home page, but still, it is not desired to list "hidden" pages with GOOGLE.

Any idea of why, and how to prevent this?

This has become a problem with all of my sites.  Why is google_sitemap.php listing "Private" news posts?  Can this be prevented?

Offline sky writer

  • Posts: 926
Re: [module] Google sitemap.xml Generator
« Reply #190 on: December 19, 2012, 06:58:18 PM »
I really need help.  I've studied the code (below), and I think I know the problem, I just don't know how (or the best way) to fix it.

This snippet works great for "pages".  It only lists page info for "public" pages.

But for News sections, it lists ALL that are "active", and within their "published" dates (if there are any).
This is great, UNLESS your News section is on a "private", "hidden" or "registered" page.  Because the "News" section of the google_sitemap.php SELECT code does not look at the visibility of the Page that the News section is on.

This is a real problem if you are like me and:
  • you use "private" pages with News sections to display info to clients ONLY.  For instance, I post Tutorial Videos for clients, and these links all get listed by this snippet.  Which is bad, because the pages are private, so Google can't crawl them.
  • you set the visibility to "private" for pages with news sections, in development.

I am thinking there must be a fairly simple way to check the visibility of the "parent" page_id of the mod_news_posts, and only list the news post link if the "parent" visibility is set to "public".

I wonder if the same issue is happening for "Bakery", "Catalogue", "Portfolio" and "topics"?

I can't be the only one affected by this.  I'm not a coder, and have dozens of client sites affected, so if you want to PM me, I would be willing to pay for the time it takes to fix this.

Code: [Select]
<?php

/** ACKNOWLEDGMENTS ON BASED CODE AUTHOR AND MODS
 * Google Site Map
 * @author Karelkin Vladislav
 * @copyright 2007/2010 GPL
 
 version 1.6.0.20100917 (Ruud)
 - Added Topics module 
 
 version 1.5.4.20100520 (MurgtalNet on WB Forum)
 - Debugs on admin path

 version 1.5.3.20100514 (Olivier Labbe (a.k.a. VotreEspace))
 - Debugs on sql commands

 version 1.5.2.20091015 (Olivier Labbe (a.k.a. VotreEspace))
 - Debug on menulinks problems

 version 1.5.2.20090918 (Olivier Labbe (a.k.a. VotreEspace))
 - Add portfolio module possibilities
 
 version 1.5.1.20090725 (Olivier Labbe (a.k.a. VotreEspace))
 - Will not show outside links from menu link
 
 version 1.5 (Ruud, thanks to "Mike")
 - The homepage is now listed as the WB_URL (without /pages/home.php)
 
 version 1.4 (Christoph Marti)
 - Replaced the hardcoded page directory name /pages by the wb constant PAGES_DIRECTORY
 - Added feature to hide urls which contain unwanted words (eg. for web pages which are blocked by robots.txt)

 version 1.3 (Christoph Marti)
 - Added module auto detection.
 - Removed page title comment (Google ERROR with non utf-8 chars).

 version 1.21 (Ruud Eisinga)
 - Added htmlencoding to the url's listed.
 - Fixed external url's to be not included in the sitemap.

*/

// ------------------------------------------------------------------------------------------------------------------------------------------------

// Set configuration values. Priorities in sitemap should be 0.5 if not set. Google is happy when different priorities are set.

// Normal Pages
$page_priority      "0.5"; // Default priority for normal pages
$page_home_priority "1.0";   // Homepage priority
$page_root_priority "0.6";   // Toplevel menu pages priority
$page_frequency     "weekly"; // Update frequency of your pages. Allowed: always, hourly, daily, weekly, monthly, yearly, never
$exclude            = array();      // Array of unwanted words in the url, eg. array("privat", "do-not-enter", "keep-away")

// News Module
$module_names[]     = "news"; // Name of the module
$news_priority      "0.7"; // News posts of the last 4 weeks
$news_old_priority  "0.5"; // News posts older than 4 weeks
$news_frequency     "weekly";   // News posts update frequency

// Bakery Module
$module_names[]     = "bakery"; // Name of the module
$bakery_priority    "0.5"; //
$bakery_frequency   "weekly";   //

// Catalog Module
$module_names[]     = "catalogs"; // Name of the module
$catalog_priority   "0.5"; //
$catalog_frequency  "weekly";   // 

// Portfolio Module
$module_names[]     = "portfolio"; // Name of the module
$portfolio_priority    "0.5"; //
$portfolio_frequency   "weekly";   //

// Topics Module
$module_names[]     = "topics"; // Name of the module
$topics_priority    "0.5"; //
$topics_frequency   "weekly";   //

// ------------------------------------------------------------------------------------------------------------------------------------------------



// Include config file
require_once(dirname(__FILE__)."/config.php");

// Check if the config file has been set-up
if(!defined("WB_PATH")) {
header("Location: install/index.php");
exit(0);
}
require_once(
WB_PATH."/framework/class.frontend.php");
if(!
defined("VERSION")) {
require_once(ADMIN_PATH."/interface/version.php");
}

$v explode(".",VERSION);
if (
$v[0] < || $v[1] < 7){
$wb27 false;    // To know if news uses published properties. Set false when using < WB 2.7
}else{
$wb27 true;    // To know if news uses published properties. Set false when using < WB 2.7
}

// Auto detect modules
$query_addons $database->query("SELECT type, directory FROM ".TABLE_PREFIX."addons WHERE type = 'module'");
if(
$query_addons->numRows() > 0) {
while($addons $query_addons->fetchRow()) {
$use[$addons['directory']] = true;
}
}

// Create new frontend object
$wb = new frontend();
// Collect general website settings
$wb->get_website_settings();

// check if there is menu links not to be shown
$checklink mysql_query("SELECT 1 FROM `" TABLE_PREFIX "mod_menu_link` LIMIT 1");
// Pages
if (mysql_num_rows($checklink)) {
$sql "SELECT `link`, `modified_when`, `parent`, `position` FROM `" TABLE_PREFIX "pages` WHERE `visibility` = 'public' AND `page_id` NOT IN (SELECT `page_id` FROM `" TABLE_PREFIX "mod_menu_link` WHERE `target_page_id` = '-1') ORDER BY `position` ASC";
} else {
$sql "SELECT `link`, `modified_when`, `parent`, `position` FROM `" TABLE_PREFIX "pages` WHERE `visibility` = 'public' ORDER BY `position` ASC";
}
$rs $database->query($sql);

// News
if (isset($use['news'])) {
if ($wb27) {
$t time();
$sql "SELECT link,posted_when,published_when FROM " TABLE_PREFIX "mod_news_posts WHERE active=1 AND (published_when = '0' OR published_when <= $t) AND (published_until = 0 OR published_until >= $t)";
} else {
$sql "SELECT link,posted_when,title FROM " TABLE_PREFIX "mod_news_posts WHERE active=1";
}
$rs_news $database->query($sql);
}

// Bakery
if (isset($use['bakery'])) {
$sql "SELECT link,modified_when FROM " TABLE_PREFIX "mod_bakery_items WHERE active=1";
$rs_bakery $database->query($sql);
}
// Catalog
if (isset($use['catalogs'])) {
$sql "SELECT link,modified_when FROM " TABLE_PREFIX "mod_catalogs_list WHERE active=1";
$rs_catalog $database->query($sql);
}

// Portfolio
if (isset($use['portfolio'])) {
$sql "SELECT section_id,alt FROM " TABLE_PREFIX "mod_portfolio_detail";
$rs_portfolio $database->query($sql);
}

// Topics
if (isset($use['topics'])) {
$mod 'topics';  //Change this if your topics module is renamed to a different directory
require(WB_PATH.'/modules/'.$mod.'/defaults/module_settings.default.php');
require(WB_PATH.'/modules/'.$mod.'/module_settings.php');
$t mktime ( (int) gmdate("H"), (int) gmdate("i"), (int) gmdate("s"), (int) gmdate("n"), (int) gmdate("j"), (int) gmdate("Y")) + DEFAULT_TIMEZONE;
$sql "SELECT link, posted_modified FROM " TABLE_PREFIX "mod_" $mod " WHERE (active > '3' OR active = '1') AND (published_when = '0' OR published_when < ".$t.") AND (published_until = '0' OR published_until > ".$t.") ORDER BY position DESC";
$rs_topics $database->query($sql);
}

############ output start ####################
@header("Content-Type: application/xml");
echo 
'<?xml version="1.0" encoding="UTF-8"?>
';
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
  if (
$rs && $rs->numRows() > 0) {
 
  // Pages
$freq $page_frequency;
$unwanted "\n";
while($page $rs->fetchRow()) {
$thePage $page['link'];
// Check for unwanted words in the url
$wanted true;
foreach($exclude as $value) {
if(strpos($thePage$value)) {
$wanted false;
$unwanted .= "{$thePage} contains $value and will not show up in the sitemap!\n";
}
}
// External links should not be added to a google_sitemap
if(strstr($thePage'://') == '' && $wanted) {
$pri $page_priority;
if ($page['parent'] == 0) {
if ($page['position'] == 1) {  
$pri $page_home_priority;   // Should be the homepage
$thePage WB_URL.'/';
} else {
$pri $page_root_priority;   // Root level pages
}
}

?>

<url>
<loc><?php echo htmlspecialchars($wb->page_link($thePage));  ?></loc>
<lastmod><?php echo gmdate("Y-m-d"$page['modified_when']+TIMEZONE); ?></lastmod>
<changefreq><?php echo $freq?></changefreq>
<priority><?php echo $pri?></priority>
</url>
<?php
}
}
}

// News, uses published_when field when used
if(isset($rs_news) && $rs_news->numRows() > 0) {
$freq $news_frequency;
while($news $rs_news->fetchRow()){
$pri $news_priority;
if (@$news['link']) {
$lastweek time() - (24 60 60);
if ($news['posted_when'] < $lastweek) { 
$pri $news_old_priority;
}
if ($wb27 && $news['published_when'] > 0){
$lastmod gmdate("Y-m-d"$news['published_when']+TIMEZONE);
} else {
$lastmod gmdate("Y-m-d"$news['posted_when']+TIMEZONE);
}
?>

  <url>
    <loc><?php echo htmlspecialchars($wb->page_link($news['link']));  ?></loc>
    <lastmod><?php echo $lastmod?></lastmod>
<changefreq><?php echo $freq?></changefreq>
    <priority><?php echo $pri?></priority>
  </url>
<?php
  }
}
}

// Bakery
if(isset($rs_bakery) && $rs_bakery->numRows() > 0) {
$freq $bakery_frequency;
while($bakery $rs_bakery->fetchRow()){
$pri $bakery_priority;
if (@$bakery['link']) {
// Removes the leading PAGES_DIRECTORY

?>

<url>
<loc><?php echo htmlspecialchars($wb->page_link($bakery['link']));  ?></loc>
<lastmod><?php echo gmdate("Y-m-d"$bakery['modified_when']+TIMEZONE); ?></lastmod>
<changefreq><?php echo $freq?></changefreq>
<priority><?php echo $pri?></priority>
</url>
<?php
  }
}
}

// Catalog
if (isset($rs_catalog) && $rs_catalog->numRows() > 0) {
$freq $catalog_frequency;
while($cat $rs_catalog->fetchRow()){
$pri $catalog_priority;
if (@$cat['link']) {
?>

<url>
<loc><?php echo htmlspecialchars($wb->page_link($cat['link']));  ?></loc>
<lastmod><?php echo gmdate("Y-m-d"$cat['modified_when']+TIMEZONE); ?></lastmod>
<changefreq><?php echo $freq?></changefreq>
<priority><?php echo $pri?></priority>
</url>
<?php
}
}
}
// Show excluded urls set in the config var $exclude (Uncomment next line for testing)
// echo "<!-- \n Hidden page URLs of the Google sitemap set in the config var \$exclude:\n".$unwanted." --> \n";

// Portfolio
if(isset($rs_portfolio) && $rs_portfolio->numRows() > 0) {
/*SELECT  `link` FROM  `wb_pages` WHERE  `page_id` = (SELECT `page_id` FROM `wb_mod_portfolio_settings` LIMIT 1);*/
$sql "SELECT  `link` FROM  `" TABLE_PREFIX "pages` WHERE  `page_id` = (SELECT `page_id` FROM `" TABLE_PREFIX "mod_portfolio_settings` LIMIT 1);";
if(!$setting_portfolio $database->query($sql)) { die(mysql_error()); }
if($settings_p $setting_portfolio->fetchRow()) {
$freq $portfolio_frequency;
while($portfolio $rs_portfolio->fetchRow()){
$pri $portfolio_priority;
if (@$portfolio['section_id']) {
// Removes the leading PAGES_DIRECTORY
$portfolio['link'] = htmlspecialchars($wb->page_link(PAGES_DIRECTORY.$settings_p['link'])).'?item='.$portfolio['section_id'];
?>

<url>
<loc><?php echo $portfolio['link'];  ?></loc>
<lastmod><?php echo gmdate("Y-m-d"$bakery['modified_when']+TIMEZONE); ?></lastmod>
<changefreq><?php echo $freq?></changefreq>
<priority><?php echo $pri?></priority>
</url>
<?php
  }
}
}
}

// Topics
if (isset($rs_topics) && $rs_topics->numRows() > 0) {
$freq $topics_frequency;
while($topic $rs_topics->fetchRow()){
$pri $topics_priority;
if (@$topic['link']) {
?>

<url>
<loc><?php echo htmlspecialchars(WB_URL.$topics_directory.$topic['link'].PAGE_EXTENSION);  ?></loc>
<lastmod><?php echo gmdate("Y-m-d"$topic['posted_modified']+TIMEZONE); ?></lastmod>
<changefreq><?php echo $freq?></changefreq>
<priority><?php echo $pri?></priority>
</url>
<?php
}
}
}

?>

</urlset>

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #191 on: December 19, 2012, 11:10:03 PM »
This version should do it right, just for the news pages for now (not topics/bakery/etc)

Only posts that are made by 'public' pages will be listed.

Offline sky writer

  • Posts: 926
Re: [module] Google sitemap.xml Generator
« Reply #192 on: December 20, 2012, 03:10:35 AM »
I am deeply grateful.  All the best to you.

Offline casi

  • Posts: 106
Re: [module] Google sitemap.xml Generator
« Reply #193 on: January 08, 2013, 04:19:22 PM »
hi

when I use the latest google_sitemap.php file (version 1.7.0 Ruud) and link it with google webmaster tools I receive the following error message:

Quote
1 Errors, Unsupported file format, Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

Can someone help with this?

thanks Casi

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #194 on: January 08, 2013, 05:04:47 PM »
Can you share a link to the sitemap?

If not, try to view it with Internet Explorer.
If there is an error in the xml format, Internet explorer should show it.

Offline sky writer

  • Posts: 926
Re: [module] Google sitemap.xml Generator
« Reply #195 on: January 08, 2013, 05:40:21 PM »
This module works perfectly.  I also experienced this error, with one of my sites (I have many and they all worked with this module, without issue), but my feeling is it is a glitch with google webmaster tools.  I got this same message, and it went on to say my sitemap was an "html" file, which of course it is not.  I thought I must have done something wrong, and tried in vain to fix the problem.  But in the end, a day later google had accepted it.  I would suggest waiting a day or two and checking back.

Hope this helps.

hi

when I use the latest google_sitemap.php file (version 1.7.0 Ruud) and link it with google webmaster tools I receive the following error message:

Quote
1 Errors, Unsupported file format, Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

Can someone help with this?

thanks Casi

Offline freeSbee

  • Posts: 1117
    • BAKERY - Website Baker shop module
Re: [module] Google sitemap.xml Generator
« Reply #196 on: April 22, 2013, 10:17:28 PM »
Hi all

New Version of Google Sitemap:

 - Reworked some parts of the code
 - Only list pages and module pages if they have visiblity active or hidden
 - Only list sections if they are in-between publication dates
 - Fixed various small bugs
 - Added Showcase module

Find google_sitemap v1.8.0 attached to this post.

Please post your feedback and bug reports.

Christoph
« Last Edit: April 26, 2013, 09:57:28 PM by freeSbee »

Offline freeSbee

  • Posts: 1117
    • BAKERY - Website Baker shop module
Re: [module] Google sitemap.xml Generator
« Reply #197 on: April 26, 2013, 09:55:51 PM »
Hi all

New Version of Google Sitemap:

 - Relies on section_id instead of page_id to check module page visibility

Find google_sitemap v1.8.1 attached to this post.

Please post your feedback and bug reports.

Christoph

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #198 on: August 14, 2013, 10:33:19 AM »
Hi all,

New version of Google Sitemap.

 - Added support when shorturl is used
 - Prevent multiple listings when pages have multiple sections
 - Prevent "empty links" to be listed.

Version 1.8.2 attached.
Ruud

Offline Ruud

  • Posts: 3647
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #199 on: August 14, 2013, 11:50:27 PM »
Sorry,

v1.8.2 had a small bug causing a warning if the error reporting was set to E_ALL
Fixed in v1.8.3

Ruud

 

postern-length