CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/27/2007 9:51:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 27 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
random0xff
Asp.Net User
SiteMap per laguage8/27/2007 9:51:09 AM

0/0

I have a hard time trying to figure out the best way to work with sitemaps in a multilingual website. The XmlSiteMapProvider can work with translated sitemaps, but the thing is that it will show nodes in the default language if a language specific translation is missing. Of course, that is not always the preferred way of doing it: translation can be time consuming, if a node is not yet translated, we'd like it to not be shown at all.

This leads me to a second way of doing things: multiple sitemaps per language.

What is your preferred way of doing it and what are some of the issues involved?

Will reward points to all suggestions and answers. Thanks!
 

deblendewim
Asp.Net User
Re: SiteMap per laguage8/27/2007 2:25:34 PM

0/0

 Hi random0xff,

http://www.codeproject.com/useritems/DynamicSitemapASPNET2.asp

 The above links to an article which implements a dynamic sitemap. Multi-language is also supported I guess.

Please read through the article and let me know if it meets your requirements.

 

Kind regards,
Wim


8 out of 10 questions are already answered! Google it!!
random0xff
Asp.Net User
Re: SiteMap per laguage8/28/2007 8:55:20 AM

0/0

Well the only thing I can take from that article, is that he has a sitemap for each language. So he doesn't use the localization features. I'm not sure how you'd figure out which sitemap to use at any given page though. I think it must be done on the basis of the url. Maybe fr.example.com would load the fr sitemap, but I've also seen (on Microsoft.com) the pattern www.example.com/en-us/page.aspx. I think the only way to do that is using some kind of dynamic url rewriting.

Rinze
Asp.Net User
Re: SiteMap per laguage11/19/2007 8:31:31 AM

0/0

When using a custom sitemap provider you could read the culture info (set in the web.config) and determine the datasource to load programmatically. This could propably also be done by using a control adapter onthe datasource control or the navigation control you are using. In the web.config you can define multiple providers pointing to different sitemap files.

When using virtual directories for the the different language sites, I think you can just use the web.config to define providers pointing to the language specific .sitemap files, and just point to that provider from your page using a datasource.

Hope this helps,

rinze


Hope this helps !
Rinze

---------
please select 'mark as answer' if this post helped you!
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Definitive Guide to Django: Web Development Done Right Authors: Adrian Holovaty, Jacob Kaplan-Moss, Pages: 447, Published: 2007
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Dreamweaver in a Nutshell: A Desktop Quick Reference Authors: Heather Williamson, Bruce A. Epstein, Pages: 470, Published: 2002
Practical Object Oriented Design Authors: Bhuvan Unhelkar, Pages: 236, Published: 2005
Let's Go 2008 Europe Authors: Let's Go, Inc., Ines Pacheco, Julian Arni, Pages: 1104, Published: 2007
Professional Search Engine Optimization with PHP: A Developer's Guide to SEO Authors: Jaimie Sirovich, Cristian Darie, Pages: 360, Published: 2007
Web Engineering: Principles and Techniques Authors: Woojong Suh, Pages: 364, Published: 2005
Let's Go Europe 2008 Authors: Let's Go, Pages: 1104, Published: 2007
Per la storia romana della provincia di Pesaro e Urbino Authors: Ulrico Agnati, Pages: 682, Published: 1999

Web:
Sitemap Generator Plugin for Wordpress · Dagon Design Jan 14, 2006 ... Language - Language files are located in /wp-content/plugins/sitemap-generator/ lang/; Items per page - Set to 0 for unlimited; Sitemap page ...
Italian language School - Torre di Babele's Site map Site map for Torre di Babele Italian Language School. ... Corsi per insegnanti di Italiano: corsi di formazione per insegnanti di Italiano come lingua ...
sitemaps for each language - i18n | drupal.org I believe this is a bug that is distinct from trying to have a different sitemap per language. Login or register to post comments ...
Linguistics Research Center: SiteMap SiteMap. The Linguistics Research Center (LRC) website, with thousands of pages, ... Early Indo-European Online (usually 10 lessons per language) ...
Web Content Accessibility Guidelines 1.0 When content developers mark up natural language changes in a document, ..... about the general layout of a site (e.g., a site map or table of contents). ...
English College London - English Courses in London - IELTS and ... Sitemap. School of English. ENGLISH SCHOOL LONDON. ... Diana Ayala. End of Summer Party. English Courses at the best English Language College in London. ...
Site Map for Exploring Abroad :> Foreign Language Courses for ... Site Map Info for Exploring Abroad, Study , Teach, Volunteer, ... use your cell phone and talk for as low as 3 cents per minute while in another country ...
IALC - Language Schools Worldwide - Learn a language abroad ... Study Travel · Language Learning · Sitemap. Members ... Informazioni per gli agenti · Informazioni per l'iscrizione · Informazioni per gli studenti ...
Sub Domains and Foreign Language Character Support - Sitemap ... Sub Domains and Foreign Language Character Support - Sitemap ... creator script is available now with unlimited number of URLs per sitemap! ...
Ethnologue report for Khoisan SITE SEARCH SITE MAP ... Articles for 6912 living languages; Index of 39491 language names; 208 color maps ... Language Family Trees. Khoisan. Khoisan (27) ...




Search This Site:










image upload problem

vb and c# question

page_unload()?

newsscript for asp.net wanted

runnig a flash movie from aspx page

using ip address instead of localhost

using web matrix to build login routine

explicit localization: error asp.net 2.0 beta 2

access public sub in server control

reflection help

how to save image on server and add image url to database for display on web page

datagridview error

system exception error

using 'include' in a web user control

request validation: how to make more friendly?

problem on using radiobuttons...

convert to int??

asp pages rendered | aspx pages are not!

where would i get example

browser question

how do i save data in a list box/text box to a current acess data base?

web application failing when running a long query

data access layers

for the love of god help me. help me now.

use of 'old school' includes

asp form error

sqlcommand error

using style builder

calling multiple httprequests simultaneously

smtp setting ???

  Privacy | Contact Us
All Times Are GMT