Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...sitemap.aspx on DNN5.0sitemap.aspx on DNN5.0
Previous
 
Next
New Post
5/21/2009 7:41 AM
 

IQTech wrote

Finally got it working on DNN5.0.

You need to make two small changes in SiteMap.aspx.vb to make it valid

on line 82 replace

Dim sb As New StringBuilder(1024)

on

Dim sb As New System.IO.MemoryStream

and on line 116 you need to change

Return sb.ToString

to

Return Encoding.UTF8.GetString(sb.ToArray())

you can check updated sitemap at www.lotteryuniverse.com/sitemap.aspx

IE shows it correctly now and http://www.validome.org/google/validate validated it as well.

Still waiting when google approves it though.

Did you submit your enahncement to the public issue tracker at Support.Dotnetnuke.com ? Thank you!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/22/2009 1:02 PM
 

I am not having the issue with encoding. mine is set to utf-8 with an install of 5.0.1. The issue I am having is the urlset node. For some reasone DNN 5.0.1 is putting a "url" attribute inside this node which Google say it doe not conform to the sitemaps.org schema. According to sitemaps.org, the urlset node should be set like this;

<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
         xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">.

However DNN 5.0.1 puts a "url" attribute iinside this node like this, (marked in red);

<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9" url="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

this should not be there and is what is causing Google to error out of the SiteMap submition. Below is the Google error showing this error.

Warnings 2
Invalid XML attribute
The XML attribute of this tag was not recognized. Please fix it and resubmit.
Tag: urlset
Attribute: url
Problem detected on: Jul 20, 2009

 
New Post
7/22/2009 1:41 PM
 

Please upgrade to 5.1.0 (or 5.1.1 when released). Thankyou.



Alex Shirley


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...sitemap.aspx on DNN5.0sitemap.aspx on DNN5.0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out