Web Forms :: How To Create A Dynamic Google SiteMap
May 25, 2010How I can to Create a dynamic Google SiteMap in ASP.NET 2 or higher??
now I can to Create Static dynamic Google SiteMap.
How I can to Create a dynamic Google SiteMap in ASP.NET 2 or higher??
now I can to Create Static dynamic Google SiteMap.
how to create dynamic google sitemap from my database?
View 4 Repliesi have a website that generates urls dynamicly.(?Department=1&Category=4&Page=2) then i rewrite the url to (Phone-d1/Sony-Ericsson-c4/)
I have hunderds of products so how do i create a sitemap for this, or should i doit only for the Departments, if so how would i do it.
Show google map with markers and list the address in listview.I have created 20 images of google marker numbered from 1 to 20(Example marker-1.jpg,marker-2.jpg....marker-20.jpg).If i want to display 20 locations in google map with makerimages numbered from 1-20,how can i set the url of the icon in the marker options?Here's the code i have written.
var markers = [
<asp:Repeater ID="rptMarkers" runat="server">
<ItemTemplate>
{
"title": '<%# Eval("Name") %>',
"lat": '<%# Eval("Latitude") %>',
"lng": '<%# Eval("Longitude") %>',
"description": '<%# Eval("Description") %>'
[code]...
I've got a custom menu navigation built from a web.sitemap file, the first line of this would be something like:
SiteMapNodeCollection topLevelNodes = SiteMap.RootNode.ChildNodes;
However, now I want to be able to create multiple web.sitemap files, and then programmatically determine which web.sitemap file to use, but I can't seem to find out how to do this. I'm assuming I could either create one custom SiteMapProvider that can perform the logic to determine which web.sitemap file to load, or I have multiple providers, each one with the SiteMapFile property set to a specific *.sitemap file, and then switch providers programmatically before I access SiteMap.RootNode.
Can you recommend any tools? Should we build our own? Should we create the sitemap manually?
View 8 RepliesI have a HttpHandler that generates a Google sitemap based on my asp.net web.sitemap. Fairly standard stuff. Except that it does some fairly heavy database work to auto-generate additional urls for Ajax tabs within pages.All this means our DB gets hit fairly heavily if the bot hits sitemap.axd.What we need, of course, is output caching. But how do you go about caching inside something that basically writes directly to a XmlTextWriter?
View 2 RepliesI need to make a sitemap with all the products i have in database.
I can make it easly in aspx web file, but is it better if i make it in Web.sitemap file? Would search engines find it?
And if is better to make it in Web.sitemap, how can i create siteMapNode for each product i have (and i add) in database?
I have a blog and my site has sitemap for google webmastertools. If my blog has 200 posts , how many should I place in the sitemap for google indexing, all, top 10, top 50 ??
View 2 RepliesI created a sitemap generated by a ContentResult however Google keeps telling me my namespace is incorrect. Any ideas?
My Code:public ContentResult Index()
{
//Build RSS for sitemap
XNamespace ns = "http://www.sitemaps.org/schemas/sitemap/0.9";
const string url = "http://www.openarmssoberliving.com/{0}"; [code]...
I would like to generate a dynamic sitemap to my website.It should be updated daily. Depends up on database user i have to generate.I am in initial stage of my website development.What are the things i have to take care. And how to develop a sitemap according to my requirement. I am using TeamSys 2008
View 3 RepliesHere is my web.sitemap code:
[Code]....
I wanna to show bread crumbs navigation like:
Home > Column1 > Content
the problem is: "~/Index.aspx" and "~/Column.aspx?ColumnId=1" are actual URLs and navigation bar: "Home > Column1" really works,
but "~/Content.aspx?ColumnId=1" is only the beginning part of actual dynamic URL, for example: it may be
~/Content.aspx?ColumnId=1&NewsId=12598 or ~/Content.aspx?ColumnId=1&NewsId=37215
all the previous Urls are articles of Column1 with same "~/Content.aspx?ColumnId=1" but are followed with different "&NewsId=number".
So, how can I realize this kind of navigation bar?
Home > Column1 > Content
How to write XML for the following Google Site Map.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
[Code].....
i want to build dynamic sitemap from database..even my menu items are also dynamic...and i want do display sitemap having categories and related menu items from database..
so i dont know how to build dynamic site and create dymanic links of that menus and categories..
I have a web application that contains a MasterPage and a Web.sitemap file for the navigation. I am loading the navigation into an <asp:Repeater> control and I associating it with <asp:LinkButton>; something like this:
[Code]....
I have two issues:
Setting Session Variables: I'd like to set some session variables when any menu item is clicked.Dynamic Url: Once the Session variables are set, I'd like to set the url dynamically after the Session variable is set The thing is, I'd like to use the same aspx file for two different menu items, and I'd also like to set some session variables at the time of menu selection. I am aware that I cannot use the same url when I define the url in the web.sitemap file.
I want to determine if the following could be implememted using a sitemap and menu control.
I have implemented the selection and navigation using tables and urls.
Each page request the querystring data, get the sql data and create the required selection and navigation urls.
Customers.aspx contains a list of customers with a url for each customer.
[code]....
Can I use a sitemap and menu or tree to provide the back navigation described in the scenario above.
Is it possible to modify the url for one or more sitemapnodes based on a user selection on a page?
Is it possible to add/remove sitemapnodes based on a user selection on a menu?
I have to create a sitemap for my website in asp.net 2.0.
Can anybody tell me the procedure for the same.I am totally new to this concept..
I want to make Sitemap for my website. How to create Sitemap in asp.net?
View 1 RepliesI have a web app with treeview based on a fairly simple sitemap. The only catch is that I want to be able to remove nodes based on a user's role. We are NOT using the asp.net security so I can't take advantage of the built-in function.When I put code in the master page load event (or anywhere else it seems), there seems to be nothing in the treeview object yet, so I can't make changes to it.
View 7 RepliesI want to create my menu, but something is not clear. I have:
-Default1.aspx
-Default2.aspx
-Web.sitemap
Default1.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Default2.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Web.sitemap:
<? xml version = "1.0" encoding = "utf-8"?>
<siteMap xmlns[URL]
<siteMapNode url="test" title="test" description="">
<siteMapNode url="" title="test" description="" />
<siteMapNode url="" title="" description="" />
</ siteMapNode>
</ sitemap>
Both the menu are the same. How to Default1.aspx create one menu, and how to create Default2.aspx second menu?
When I login to application, i want Button ad a Header menu like (Admin,Quote....2 button should visible).
If Login User is Admin/Quote then Click on that Button it should show all its child nodes must be as the button horizontally.
[Code]....
Even i have to write the code in the Code Behind of Site.Master. I think i need Repeter's OnItemCommand event but it does not run that methods and how can i filter the sitemap with Role in this Method? I can not able to Find the control in the Code Behind.. Is it possible to show these type of custom menus using SiteMap with Role Filteration?
I have a menu of products which are created at runtime from the database and populated into menu control.
But i need to also create a sitemap and display when the relevant menu or submenu item is selected
I have developed a colleg web applicaition. I have used my gmail account as my smtp server to send back to the client passwords from "Password recovery" link. The problem is that , I am able to send messages only from my gmail account. I want to know whether I can send messages using different e-mail addresses of the clients retrieved from the database instead of sending the mail using my own.
View 2 RepliesWe are getting this error message when we try to click the link in the menu to go to Report Server:
Source Error:
Line 31: <siteMapNode title="Reports" description="Reports">
Line 32:
Line 33: <siteMapNode url="https://ffxsqldgc01.ffx.co.fairfax.va.us/Reports/Pages/Folder.aspx?ItemPath=%2fDPZ&ViewMode=List" title="View Reports"
description="Click here to view the reports" />
Line 34: </siteMapNode>
Line 35:
I tried to add after the &, as it was suggested on one of the forum but it did not work. Any other ideas.
can anyone tell me how to create a sitemap dynamically from a database
cuz I have tried all the static generaors without any good result