Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 1 votes

Dynamic SiteMap


839 replies to this topic

#761 multimixer

  • Community Sponsor
  • 3,592 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 07 November 2008, 12:19

View PostAlwaysNewbie, on Aug 18 2008, 09:57 PM, said:

I did changes for STS users as it was suggested, when I run "submit" I got the page with links, but still file sitemaps.xml is old.


What kind of changes STS users should do?

I just installed version v3.5.6 and everything looks fine, no problem at all, .xml files are getting updated
Looking for a way to create your own osCommerce template ? click

#762 qwasha

  • Community Member
  • 12 posts
  • Real Name:Stepan

Posted 12 November 2008, 17:25

I have trouble which I am unable to resolve:

...
http://www.edn.czindex.php --> 2008-11-12T16:07:48-08:00
http://www.edn.czproducts_new.php --> 2007-06-14T00:52:00-08:00
http://www.edn.czprivacy.php --> 2006-03-27T19:49:00-08:00
...


As you see, there is a "/" missing in the path. I have tried to change the settings in configure.php, but without any success.
Any advice?




SOLVED. THANKS!

Edited by qwasha, 12 November 2008, 17:30.


#763 qwasha

  • Community Member
  • 12 posts
  • Real Name:Stepan

Posted 13 November 2008, 09:25

OK, so here is another one.

Upon installation of the header tags for novices contribution, the main stitemap does not show the name of php files, neither the time of the last update ...

...
http://www.edn.cz/ -->
http://www.edn.cz/ -->
http://www.edn.cz/ --> 
...

Any ideas?

Edited by qwasha, 13 November 2008, 09:27.


#764 sultanos

  • Community Member
  • 42 posts
  • Real Name:Javier
  • Gender:Male
  • Location:Spain

Posted 16 November 2008, 16:21

Hello i am having couple of issues, most probably they are becouse i am using a custom , oscommerce.
I have 3 questions.

1º-I have added SEO URL , is there any way to show them at the XML files?

2º-
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>smmain.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap>
<sitemap><loc>smcats.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap>
<sitemap><loc>smproducts.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap>
<sitemap><loc>smmfg.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap>
<sitemap><loc>smspecials.xml</loc><lastmod>2008-11-14T18:36:25+00:00</lastmod></sitemap>
</sitemapindex>
For some weird reason my xml files come out like this without path....


3º-Another questions refers to the sitemap at the web when i display it , the column at the right hand side gets two empty categories that have no link nor text, any idea why this happens ?

Thanks in advance to anyone that helps me with this matters.
If you are not part of the solution, you are part of the problem

#765 arrowmodels

  • Community Member
  • 25 posts
  • Real Name:Peter Muirhead

Posted 19 November 2008, 17:31

Hi Jack

Now that I have successfully got your Header Tags SEO contribution up and running, I then installed your Dynamic Sitemap contribution.

At this stage evrything appears to be OK but I have the following error message on my Site Map Maintenance page:

Catchable fatal error: Object of class box could not be converted to string in /home/arrowmod/public_html/admin/includes/functions/html_output.php on line 281

Any ideas please?

Best Regards
Peter
P.S. I think I owe you something for all your excellent contributions and the support. Please advise me of your Paypal account.

#766 arrowmodels

  • Community Member
  • 25 posts
  • Real Name:Peter Muirhead

Posted 19 November 2008, 22:23

View Postarrowmodels, on Nov 19 2008, 05:31 PM, said:

Hi Jack

Now that I have successfully got your Header Tags SEO contribution up and running, I then installed your Dynamic Sitemap contribution.

At this stage evrything appears to be OK but I have the following error message on my Site Map Maintenance page:

Catchable fatal error: Object of class box could not be converted to string in /home/arrowmod/public_html/admin/includes/functions/html_output.php on line 281

Any ideas please?

Best Regards
Peter
P.S. I think I owe you something for all your excellent contributions and the support. Please advise me of your Paypal account.

Hi Jack

Slowly worked my way through the support thread and found the answer to the problem.

Best Regards
Peter

#767 sultanos

  • Community Member
  • 42 posts
  • Real Name:Javier
  • Gender:Male
  • Location:Spain

Posted 21 November 2008, 17:40

3º-Another questions refers to the sitemap at the web when i display it , the column at the right hand side gets two empty categories that have no link nor text, any idea why this happens ?

SOLVED HERE PAGE 37 more or less

View Postthe bookworm, on Aug 5 2008, 01:57 PM, said:

a quick little bug fix, to the orphaned li tag (which shows as an extra bullet point) at the bottom of the pages list on the sitemap, if you have chosen to exclude all info boxes from the sitemap list
in dynamic_sitemap.php about line 273 change the box files section from
                // Box Files
                for ($b = 0; $b < count($boxHeading); ++$B)
                {
                    echo '<li>'.$boxHeading[$b]['heading'][$b];
                    $nb_elements = count($boxHeading[$b]['filename']);
                    if($nb_elements > 0)
                    {
                        if (tep_not_null($boxHeading[$b]['filename'][0]))
                        {
                        echo '<ul>';
                        for ($f = 0; $f < $nb_elements ; ++$f)
                            if (tep_not_null($boxHeading[$b]['filename'][$f]))
                                echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>';
                        echo '</ul>';
                        }
                    }
                    echo '</li>';
                }

to

                // Box Files
               for ($b = 0; $b < count($files['name']); ++$B)
                {
                    echo '<li><a title="'. $files['name'][$b] .'" href="' . tep_href_link($files['path'][$b]) . '">' . $files['name'][$b] . '</a></li>';
                }
                // Box Files
                for ($b = 0; $b < count($boxHeading); ++$B)
                {
                    $nb_elements = count($boxHeading[$b]['filename']);
                    if($nb_elements > 0)
                    {
	                    echo '<li>'.$boxHeading[$b]['heading'][$b];
                        if (tep_not_null($boxHeading[$b]['filename'][0]))
                        {
                        echo '<ul>';
                        for ($f = 0; $f < $nb_elements ; ++$f)
                            if (tep_not_null($boxHeading[$b]['filename'][$f]))
                                echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>';
                        echo '</ul>';
                        }
                    echo '</li>';
                    }
                }

If you are not part of the solution, you are part of the problem

#768 arrowmodels

  • Community Member
  • 25 posts
  • Real Name:Peter Muirhead

Posted 23 November 2008, 17:31

Hi

Can anyone advise me on this problem?

I inadvertently "included" tell_a_friend.php in "catalog boxes" in site map maintenance.

The button appeared on the shop's dynamic sitemap but no description along side it.

When I tried to exclude it from the list in catalog boxes I found that the name does not appear but there is a blank entry.

It is impossible to exclude this blank entry.

Anyone got any ideas as to how to fix?

Best Regards
Peter

#769 baddog

  • Community Member
  • 1,150 posts
  • Real Name:Dave
  • Gender:Male
  • Location:Columbus, Ohio

Posted 23 November 2008, 17:42

View Postarrowmodels, on Nov 23 2008, 12:31 PM, said:

Hi

Can anyone advise me on this problem?

I inadvertently "included" tell_a_friend.php in "catalog boxes" in site map maintenance.

The button appeared on the shop's dynamic sitemap but no description along side it.

When I tried to exclude it from the list in catalog boxes I found that the name does not appear but there is a blank entry.

It is impossible to exclude this blank entry.

Anyone got any ideas as to how to fix?

Best Regards
Peter
A quick-n-dirty fix would be to modify the database entry.

#770 arrowmodels

  • Community Member
  • 25 posts
  • Real Name:Peter Muirhead

Posted 23 November 2008, 18:11

Hi Dave

Many thanks for reply.

I'm a newbie to all this but I managed to work out the database entry and inserted tell_a_friend.php and it worked.

Best Regards
Peter

#771 arrowmodels

  • Community Member
  • 25 posts
  • Real Name:Peter Muirhead

Posted 27 November 2008, 20:42

View Postazbrat3, on Oct 13 2008, 05:42 AM, said:

Never mind, I fixed it. In catalog/admin/create_xml_sitemaps.php

The line of code:
fwrite($fh, utf8_encode('<url><loc>' . smspecialchars($fPath . $files[$b]['path']) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n"));

changed it to

fwrite($fh, utf8_encode('<url><loc>' . tep_href_link($files[$b]['path'],'','NONSSL',false) . '</loc><lastmod>' . $files[$b]['modified'] . '</lastmod></url>'."\n"));

Hi Tony

I got the same errors as you and tried your mod but got errors when I tried to create the sitemap. It didn't like the NONSSL part of the mod.

Any ideas? Unfortunately I am not a programmer.

Best Regards
Peter

#772 Tom-

  • Community Member
  • 15 posts
  • Real Name:Tom Davison

Posted 03 December 2008, 08:29

Just installed this and it works OK, but I've got "All Products" Contribution also installed and when attempting to apply the All Products fix, I have encountered an issue with finding the file to edit?

To quote from the Readme:

To make all products work with Dynamic sitemap:

[b]in customer service:[/b]

***FIND:
										 //BOF allprods modification
										 $info_box_contents[] = array('align' => 'center',
																	  'text'  => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>');
										 //EOF allprods modification	 

***REPLACE WITH:
										 //BOF allprods modification
										 '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>');
										 //EOF allprods modification

What the hell sort of file is "customer service" and where do I find it to apply the edit?

Your help is appreciated on this.

#773 artstyle

  • Community Member
  • 107 posts
  • Real Name:Alexandra

Posted 03 December 2008, 10:29

Hi,
I have installed dynamic sitemap v2.0. I am looking for the fix to eliminate the extra bullet that shows up. I don't have the same code as posted by a member a few posts up. My code has this part
Any help is greatly appreciated
Thanks

<ul class="sitemap">
<?php if (count($files['name']) > 0) {
for ($b = 0; $b < count($files['name']); ++$B) {
?>
<li><?php echo '<a title="'. $files['name'][$b] .'" href="' . tep_href_link($files['path'][$b]) . '">' . $files['name'][$b] . '</a>'; ?></li>
<?php
}
}
if (count($boxHeading) > 0) {
for ($b = 0; $b < count($boxHeading); ++$B) {
echo '<li>'.$boxHeading[$b]['heading'][$b].'</li>'; ?>

<ul><?php
for ($f = 0; $f < count($boxHeading[$b]['filename']); ++$f)
if (tep_not_null($boxHeading[$b]['filename'][$f]))
echo '<li><a title="'. $boxHeading[$b]['boxtext'][$f] .'" href="' . tep_href_link($boxHeading[$b]['filename'][$f]) . '">' . $boxHeading[$b]['boxtext'][$f] . '</a></li>';
?>
</ul>
<?php
}
}
?>
</ul>

#774 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 03 December 2008, 19:01

oops....that is a custom box I have. The edit needs to be applies to:catalog/includes/boxes/information.php.

AND DON'T FORGET:

This same basic step needs to be performed for any boxes where you want the all products link
to show in the sitemap.(note this only works on certain boxes, hopefully this will get more attention in the future)


lildog

View PostTom-, on Dec 3 2008, 12:29 AM, said:

Just installed this and it works OK, but I've got "All Products" Contribution also installed and when attempting to apply the All Products fix, I have encountered an issue with finding the file to edit?

To quote from the Readme:

To make all products work with Dynamic sitemap:

[b]in customer service:[/b]

***FIND:
										 //BOF allprods modification
										 $info_box_contents[] = array('align' => 'center',
																	  'text'  => '<font size=-2><a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a></font>');
										 //EOF allprods modification	 

***REPLACE WITH:
										 //BOF allprods modification
										 '<a href="' . tep_href_link(FILENAME_ALLPRODS, '', 'NONSSL') . '">' . BOX_INFORMATION_ALLPRODS . '</a>');
										 //EOF allprods modification

What the hell sort of file is "customer service" and where do I find it to apply the edit?

Your help is appreciated on this.


#775 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 03 December 2008, 19:55

I have posted a new version that includes the extra bullet fix above.

lildog

#776 maxemus

  • Community Member
  • 106 posts
  • Real Name:Raphael Muscarelle
  • Gender:Male

Posted 08 December 2008, 15:10

Anyone find a fix for the repeating pages? I do have page unlimited installed along with the code provided with the sitemap.

I get this everything seems to repeat except for the information pages

* Contact Us
* Shipping & Returns
* New Products
* Get Them While They're Hot!
* Log Off
* Cookie Usage
* Visitors Cart / Members Cart
* New Address Book Entry
* Product Notifications
* Privacy Notice
* My Personal Address Book
* Welcome, Please Sign In
* My Account Information
* I've Forgotten My Password!
* Let's See What We Have Here
* Security Check
* Read What Others Are Saying
* Newsletter Subscriptions
* What's In My Cart?
* Tell A Friend About ''
* Reviews
* My Order History
* Advanced Search
* My Password
* Order Information
* My Account Information
* Contact Us
* Shipping & Returns
* New Products
* Get Them While They're Hot!
* Log Off
* Cookie Usage
* Visitors Cart / Members Cart
* New Address Book Entry
* Product Notifications
* Privacy Notice
* My Personal Address Book
* Welcome, Please Sign In
* My Account Information
* I've Forgotten My Password!
* Let's See What We Have Here
* Security Check
* Read What Others Are Saying
* Newsletter Subscriptions
* What's In My Cart?
* Tell A Friend About ''
* Reviews
* My Order History
* Advanced Search
* My Password
* Order Information
* My Account Information
* Information
* About Us
* Shipping & Returns
* Privacy Notice
* Conditions of Use
* Our friends

#777 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 08 December 2008, 15:33

I just noticed this, I will look into it soon.

lildog

View Postmaxemus, on Dec 8 2008, 07:10 AM, said:

Anyone find a fix for the repeating pages? I do have page unlimited installed along with the code provided with the sitemap.

I get this everything seems to repeat except for the information pages

* Contact Us
* Shipping & Returns
* New Products
* Get Them While They're Hot!
* Log Off
* Cookie Usage
* Visitors Cart / Members Cart
* New Address Book Entry
* Product Notifications
* Privacy Notice
* My Personal Address Book
* Welcome, Please Sign In
* My Account Information
* I've Forgotten My Password!
* Let's See What We Have Here
* Security Check
* Read What Others Are Saying
* Newsletter Subscriptions
* What's In My Cart?
* Tell A Friend About ''
* Reviews
* My Order History
* Advanced Search
* My Password
* Order Information
* My Account Information
* Contact Us
* Shipping & Returns
* New Products
* Get Them While They're Hot!
* Log Off
* Cookie Usage
* Visitors Cart / Members Cart
* New Address Book Entry
* Product Notifications
* Privacy Notice
* My Personal Address Book
* Welcome, Please Sign In
* My Account Information
* I've Forgotten My Password!
* Let's See What We Have Here
* Security Check
* Read What Others Are Saying
* Newsletter Subscriptions
* What's In My Cart?
* Tell A Friend About ''
* Reviews
* My Order History
* Advanced Search
* My Password
* Order Information
* My Account Information
* Information
* About Us
* Shipping & Returns
* Privacy Notice
* Conditions of Use
* Our friends


#778 turquoi1

  • Community Member
  • 56 posts
  • Real Name:Larry

Posted 15 December 2008, 00:56

View Postlildog, on Dec 3 2008, 02:55 PM, said:

I have posted a new version that includes the extra bullet fix above.

lildog


IS the fix you're talking about part of v 3.5.8? I also am running Allprods. I have another issue thought that I am writting about. I have double checked everything including the SQL database, but I am getting the following error:

1146 - Table 'doubled1_osc01.TABLE_SITEMAP_EXCLUDE' doesn't exist

select exclude_file from TABLE_SITEMAP_EXCLUDE where exclude_type != "0" and is_box="0"

Can you help a rookie at this?

Thanks for the contribution.

#779 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 15 December 2008, 16:31

Looks like you missed the define in admin/icludes/database_tables.php


lildog

View Postturquoi1, on Dec 14 2008, 04:56 PM, said:

IS the fix you're talking about part of v 3.5.8? I also am running Allprods. I have another issue thought that I am writting about. I have double checked everything including the SQL database, but I am getting the following error:

1146 - Table 'doubled1_osc01.TABLE_SITEMAP_EXCLUDE' doesn't exist

select exclude_file from TABLE_SITEMAP_EXCLUDE where exclude_type != "0" and is_box="0"

Can you help a rookie at this?

Thanks for the contribution.


#780 Cyburg

  • Community Member
  • 67 posts
  • Real Name:Paul Burgess
  • Gender:Male
  • Location:Leicester

Posted 16 December 2008, 15:44

Hi all,

Does anyone have a fix for the duplicate (repeating) entries in the list of pages on the sitemap yet?

Cheers,
Paul