Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-30-2007 17:50:47

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

XML Sitemap - Which generating program works well with CCP6?

I have used generating programs before or the ATS XML mod on ccp5.1, just wondering what is best to do with CCP6?

Offline

 

#2 02-05-2007 10:58:26

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19951
Website

Re: XML Sitemap - Which generating program works well with CCP6?

We will be releasing a marketing module in late February / early March that includes google sitemaps as well as a number of other exports.  Please stay tuned.


Nick Hendler

Offline

 

#3 03-23-2007 10:00:20

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

I take it this will be in the forthcoming update?

Offline

 

#4 03-23-2007 20:24:34

grcauto
Member
From: Bloomsburg, PA
Registered: 09-11-2006
Posts: 128
Website

Re: XML Sitemap - Which generating program works well with CCP6?

I have a script that will build the XML file for you. It does an excellent job. I can't remember where I got it but it's free under the GNU license.
It listed over a thousand URLS from our site and Google liked it. It also submits the site map to Google, Yahoo and MSN.
Your server will need to have Python 2.2 or later.
Let me know it your interested and I can send it to you.

Last edited by grcauto (03-23-2007 20:28:47)

Offline

 

#5 03-25-2007 11:14:00

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

I've been hesitant to post anything here but I've completed an extension to CCP that includes a site map that may be included as a link on your site, either in the Store Menu or as a link anyplace you'd like.  The extension also builds and writes a XML site map that is built specifically to the Google site map specifications and will validate with Google.  I have a note in to Nick to see if he will give it his stamp of approval and include it in the distribution since it has all of the necessary XML installation files and doesn't interfere with any of the basic KHXC or CCP functions.

Here are some screen shots showing what it will produce and how it can fit into a site.  All of the samples were created using the default sample store that comes with CCP.

shows the site map link in both the menu on the left under Online Store Menu and as a link in the text (it's right below the feedback link).

shows the site map with all of its options enabled.  The title at the top may say anything desired and whether or not to include the category descriptions, products and product descriptions are options also.

shows a portion of the XML site map file which meets the Google specs for a site map.  The XML file validates with Google so I'm confident it will be happy with it smile  I have not included the optional priority element as there is not, currently, any way to associate a priority with individual categories or products in CCP.

Any comments or suggestions are welcome and appreciated.

Offline

 

#6 03-25-2007 12:24:39

grcauto
Member
From: Bloomsburg, PA
Registered: 09-11-2006
Posts: 128
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Looks like you did a pretty good job with this.
The python script I used to build the XML file allows for setting priority/rank for all urls and it works within CCP. This is not a real concern as the default is in the middle and the search engine puts more relevancy on it's other criteria.
At any rate, Good job!

Offline

 

#7 03-25-2007 18:57:48

steveblueradio
Member
From: Belfast, Northern Ireland
Registered: 06-28-2004
Posts: 755
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Good job Dave smile


I'm Gene Hunt, Your DCI, And it's 1973, Nearly Dinner Time, I'm havin hoops........

Cheers,
Steve
-------------------

Offline

 

#8 03-26-2007 04:28:38

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Very nice job Dave.

In the mean time try http://www.auditmypc.com/free-sitemap-generator.asp

It's designed for Google. Runs straight off their page as a Javascript and I found it worked really well creating over 1300 URL's for our site.

Steve

Offline

 

#9 03-26-2007 04:45:30

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

Interesting site but I didn't see any JS on it.  They have a Java applet that you have to run manually though.

I'm sure tools like that will work quite well for crawling CCP sites but think it is better to have maps built from the actual data in the database.  Not only is it a lot faster but you know for a fact that everything is being included.

Offline

 

#10 03-26-2007 04:58:38

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Sorry, yeah Java applet. Trying to do too many things at once. lol

Yes I totally agree Dave. And it's much more convenient and easy to keep up to date.

In the meantime it’s an alternative.

I’ve a question for you. What’s the best way to link the site to the index page? I’m using a meta refresh at the moment but obviously it’s not a good method especially when it comes to search engines ranking and crawling the site.

Steve

Offline

 

#11 03-26-2007 05:18:11

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

Silk wrote:

What’s the best way to link the site to the index page? I’m using a meta refresh at the moment but obviously it’s not a good method especially when it comes to search engines ranking and crawling the site.

I'm not quite sure what you're asking Steve.  Your index page should be the "splash" page of CCP in a "normal" installation.  Index.php should be used when hitting your domain name with no file specified.

If you are saying that your site is going to index.html or index.htm you should simply be able to remove that index file and index.php should be used instead.  A good number of providers have the web server configured to serve index.html, index.htm or index.php and the first one found is the one that will be returned.  Removing index.html and index.htm should result in index.php being used which is probably what you want/need.

Offline

 

#12 03-26-2007 05:28:27

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Hi Dave,

When we did the default install the location of our index.php page is in the khxc directory, not at the root. Hence using a redirect from the root to feed the khxc/index.php page. Is there a proceedure to moving the index.php page out to the root of the site?

Offline

 

#13 03-26-2007 05:37:28

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

Silk wrote:

Is there a proceedure to moving the index.php page out to the root of the site?

Use the first method in  entry as well as  for another alternative (though the first method in both entries is your best choice IMO.

Probably won't take you 15 minutes total.

Last edited by djm0219 (03-26-2007 05:39:31)

Offline

 

#14 03-26-2007 06:31:36

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Dave,

Right, I changed the location of the files in the KHXC folder and ran the installer again changing all the /KHXC to /.

The Splash page now loads BUT I'm getting 404's on everything else. Help please! sad

Offline

 

#15 03-26-2007 06:35:28

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

Do you have SEO enabled and, if you do, did you also update your .htaccess file?

Based on the error I'm seeing it's probably .htaccess that's the problem.

Last edited by djm0219 (03-26-2007 06:37:16)

Offline

 

#16 03-26-2007 06:47:41

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Thanks Dave, Yes I did. I'll turn it off and try again later. I'm just re-uploading the site and putting it back as it was as we will be losing sales if I have the site down for long so need to enure it's up and fuctional.

Thanks

Steve

Offline

 

#17 03-26-2007 06:53:24

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

Based on your earlier post you said you had things installed in the khxc directory which meant your rewrite rules probably looked like this (if you're  using 1and1):

Code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]

After you move things to the root you only need to remove the 2 references to khxc in the rules for everything to work.  Here's what .htaccess needs to look like after the change:

Code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]

I've updated all of the Wiki entries related to move things to the root to include a link to the SEO section and added an example to the SEO section that shows how the rules need to be for running things in the root web directory.  For some reason that important bit of information wasn't there sad

I see that you've gotten things back to normal in /khxc Steve but do give it another go and avoid the redirect if you can.

Last edited by djm0219 (03-26-2007 07:06:20)

Offline

 

#18 03-26-2007 07:08:22

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

You're a star Dave. I'll have a play later this afternoon when potential sales will be slow.

Back to normal now thankfully. big_smile

Offline

 

#19 03-26-2007 07:09:58

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

"I see that you've gotten things back to normal in /khxc Steve but do give it another go and avoid the redirect if you can."

I will, I know how much a re-direct hurts regarding search engine traffic. Thanks for all your help Dave, very much appreicated.

Offline

 

#20 03-30-2007 04:58:53

Silk
Member
Registered: 07-31-2006
Posts: 211
Website

Re: XML Sitemap - Which generating program works well with CCP6?

Managed to find time to make the changes. It worked a treat. Thanks again Dave.

Offline

 

#21 03-30-2007 05:23:21

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

That's great.  Thanks for letting us know.

Offline

 

#22 05-31-2007 05:09:46

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: XML Sitemap - Which generating program works well with CCP6?

I don't think the marketing module made it into this update (maybe it has and I haven't found it yet).

Dave - did you ever release this mod for the sitemap?

Offline

 

#23 05-31-2007 05:18:46

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: XML Sitemap - Which generating program works well with CCP6?

The marketing additions Nick said will be an additional cost item.  It has not been released yet.  Nick has my site map function in his hands and told me he hopes to look at it before this week is out.

Offline

 

Board footer